Lines Matching refs:spi_slave
97 struct spi_slave { struct
159 spi_do_alloc_slave(0, sizeof(struct spi_slave), bus, cs)
177 struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs,
185 void spi_free_slave(struct spi_slave *slave);
201 int spi_claim_bus(struct spi_slave *slave);
212 void spi_release_bus(struct spi_slave *slave);
224 int spi_set_wordlen(struct spi_slave *slave, unsigned int wordlen);
248 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, const void *dout,
272 void spi_cs_activate(struct spi_slave *slave);
281 void spi_cs_deactivate(struct spi_slave *slave);
289 void spi_set_speed(struct spi_slave *slave, uint hz);
301 static inline int spi_w8r8(struct spi_slave *slave, unsigned char byte) in spi_w8r8()
518 struct udevice **busp, struct spi_slave **devp);