Searched refs:spi_slave (Results 1 – 2 of 2) sorted by relevance
24 struct spi_slave { struct31 static struct spi_slave spi_slave; argument40 if ((tx && (spi_slave.mode & (SPI_TX_DUAL | SPI_TX_QUAD)) != in spi_mem_check_buswidth_req()42 (!tx && (spi_slave.mode & (SPI_RX_DUAL | SPI_RX_QUAD)) != in spi_mem_check_buswidth_req()49 if ((tx && (spi_slave.mode & SPI_TX_QUAD) != 0U) || in spi_mem_check_buswidth_req()50 (!tx && (spi_slave.mode & SPI_RX_QUAD) != 0U)) { in spi_mem_check_buswidth_req()89 const struct spi_bus_ops *ops = spi_slave.ops; in spi_mem_set_speed_mode()92 ret = ops->set_speed(spi_slave.max_hz); in spi_mem_set_speed_mode()98 ret = ops->set_mode(spi_slave.mode); in spi_mem_set_speed_mode()150 const struct spi_bus_ops *ops = spi_slave.ops; in spi_mem_exec_op()[all …]
36 struct spi_slave *spi;