Lines Matching refs:spi_slave
95 struct spi_slave { struct
164 spi_do_alloc_slave(0, sizeof(struct spi_slave), bus, cs)
182 struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs,
190 void spi_free_slave(struct spi_slave *slave);
206 int spi_claim_bus(struct spi_slave *slave);
217 void spi_release_bus(struct spi_slave *slave);
229 int spi_set_wordlen(struct spi_slave *slave, unsigned int wordlen);
253 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, const void *dout,
277 void spi_cs_activate(struct spi_slave *slave);
286 void spi_cs_deactivate(struct spi_slave *slave);
294 void spi_set_speed(struct spi_slave *slave, uint hz);
306 static inline int spi_w8r8(struct spi_slave *slave, unsigned char byte) in spi_w8r8()
511 struct udevice **busp, struct spi_slave **devp);