Lines Matching refs:spi_slave
12 contains 'struct spi_slave'. With driver model, 'struct spi_slave' still
21 struct spi_slave slave;
51 struct spi_slave *spi_setup_slave(unsigned int busnum, unsigned int cs,
57 struct spi_slave *spi_setup_slave_fdt(const void *blob, int slave_node,
275 'struct spi_slave', so you can use that.
278 struct spi_slave slave;
361 int spi_claim_bus(struct spi_slave *slave)
363 struct exynos_spi_slave *spi_slave = to_exynos_spi(slave);
364 struct exynos_spi *regs = spi_slave->regs;
368 ret = set_spi_clk(spi_slave->periph_id,
369 spi_slave->freq);
375 exynos_pinmux_config(spi_slave->periph_id, PINMUX_FLAG_NONE);
382 if (spi_slave->mode & SPI_CPHA)
385 if (spi_slave->mode & SPI_CPOL)
513 void spi_cs_activate(struct spi_slave *slave)
515 struct exynos_spi_slave *spi_slave = to_exynos_spi(slave);
518 if (spi_slave->bus->deactivate_delay_us &&
519 spi_slave->last_transaction_us) {
521 delay_us = timer_get_us() - spi_slave->last_transaction_us;
522 if (delay_us < spi_slave->bus->deactivate_delay_us)
523 udelay(spi_slave->bus->deactivate_delay_us - delay_us);
526 clrbits_le32(&spi_slave->regs->cs_reg, SPI_SLAVE_SIG_INACT);
527 debug("Activate CS, bus %d\n", spi_slave->slave.bus);
528 spi_slave->skip_preamble = spi_slave->mode & SPI_PREAMBLE;
561 model change-over is in place, struct spi_slave is used to reference a
563 struct spi_slave is the device's child data. We need to make sure this space
564 is available. It is possible to allocate more space that struct spi_slave
569 .per_child_auto_alloc_size = sizeof(struct spi_slave),
607 struct spi_slave - this is device_get_parentdata(dev)
622 This sets up the mode and speed in struct spi_slave by
625 'struct spi_slave' around the place without needing a