Lines Matching refs:slave
27 struct spi_slave slave; member
31 static inline struct soft_spi_slave *to_soft_spi(struct spi_slave *slave) in to_soft_spi() argument
33 return container_of(slave, struct soft_spi_slave, slave); in to_soft_spi()
63 return &ss->slave; in spi_setup_slave()
66 void spi_free_slave(struct spi_slave *slave) in spi_free_slave() argument
68 struct soft_spi_slave *ss = to_soft_spi(slave); in spi_free_slave()
73 int spi_claim_bus(struct spi_slave *slave) in spi_claim_bus() argument
78 struct soft_spi_slave *ss = to_soft_spi(slave); in spi_claim_bus()
92 void spi_release_bus(struct spi_slave *slave) in spi_release_bus() argument
109 int spi_xfer(struct spi_slave *slave, unsigned int bitlen, in spi_xfer() argument
115 struct soft_spi_slave *ss = to_soft_spi(slave); in spi_xfer()
125 slave->bus, slave->cs, *(uint *)txd, *(uint *)rxd, bitlen); in spi_xfer()
128 spi_cs_activate(slave); in spi_xfer()
173 spi_cs_deactivate(slave); in spi_xfer()