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,
270 'struct spi_slave', so you can use that.
273 struct spi_slave slave;
356 int spi_claim_bus(struct spi_slave *slave)
358 struct exynos_spi_slave *spi_slave = to_exynos_spi(slave);
359 struct exynos_spi *regs = spi_slave->regs;
363 ret = set_spi_clk(spi_slave->periph_id,
364 spi_slave->freq);
370 exynos_pinmux_config(spi_slave->periph_id, PINMUX_FLAG_NONE);
377 if (spi_slave->mode & SPI_CPHA)
380 if (spi_slave->mode & SPI_CPOL)
508 void spi_cs_activate(struct spi_slave *slave)
510 struct exynos_spi_slave *spi_slave = to_exynos_spi(slave);
513 if (spi_slave->bus->deactivate_delay_us &&
514 spi_slave->last_transaction_us) {
516 delay_us = timer_get_us() - spi_slave->last_transaction_us;
517 if (delay_us < spi_slave->bus->deactivate_delay_us)
518 udelay(spi_slave->bus->deactivate_delay_us - delay_us);
521 clrbits_le32(&spi_slave->regs->cs_reg, SPI_SLAVE_SIG_INACT);
522 debug("Activate CS, bus %d\n", spi_slave->slave.bus);
523 spi_slave->skip_preamble = spi_slave->mode & SPI_PREAMBLE;
556 model change-over is in place, struct spi_slave is used to reference a
558 struct spi_slave is the device's child data. We need to make sure this space
559 is available. It is possible to allocate more space that struct spi_slave
564 .per_child_auto_alloc_size = sizeof(struct spi_slave),
602 struct spi_slave - this is device_get_parentdata(dev)
617 This sets up the mode and speed in struct spi_slave by
620 'struct spi_slave' around the place without needing a