Lines Matching refs:slave
187 spi_do_alloc_slave(offsetof(_struct, slave), \
226 void spi_free_slave(struct spi_slave *slave);
242 int spi_claim_bus(struct spi_slave *slave);
253 void spi_release_bus(struct spi_slave *slave);
265 int spi_set_wordlen(struct spi_slave *slave, unsigned int wordlen);
289 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, const void *dout,
308 int spi_write_then_read(struct spi_slave *slave, const u8 *opcode,
338 void spi_cs_activate(struct spi_slave *slave);
347 void spi_cs_deactivate(struct spi_slave *slave);
356 void spi_set_speed(struct spi_slave *slave, uint hz);
367 static inline int spi_w8r8(struct spi_slave *slave, unsigned char byte) in spi_w8r8() argument
376 ret = spi_xfer(slave, 16, dout, din, SPI_XFER_BEGIN | SPI_XFER_END); in spi_w8r8()
549 int (*xfer)(struct udevice *slave, unsigned int bitlen,
600 int spi_chip_select(struct udevice *slave);
655 struct udevice *bus, struct udevice *slave,