Lines Matching refs:slave
169 spi_do_alloc_slave(offsetof(_struct, slave), \
208 void spi_free_slave(struct spi_slave *slave);
224 int spi_claim_bus(struct spi_slave *slave);
235 void spi_release_bus(struct spi_slave *slave);
247 int spi_set_wordlen(struct spi_slave *slave, unsigned int wordlen);
271 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, const void *dout,
290 int spi_write_then_read(struct spi_slave *slave, const u8 *opcode,
315 void spi_cs_activate(struct spi_slave *slave);
324 void spi_cs_deactivate(struct spi_slave *slave);
332 void spi_set_speed(struct spi_slave *slave, uint hz);
344 static inline int spi_w8r8(struct spi_slave *slave, unsigned char byte) in spi_w8r8() argument
353 ret = spi_xfer(slave, 16, dout, din, SPI_XFER_BEGIN | SPI_XFER_END); in spi_w8r8()
528 int (*xfer)(struct udevice *slave, unsigned int bitlen,
579 int spi_chip_select(struct udevice *slave);
635 struct udevice *bus, struct udevice *slave,