Home
last modified time | relevance | path

Searched refs:spi_slave (Results 1 – 2 of 2) sorted by relevance

/external/arm-trusted-firmware/drivers/mtd/spi-mem/
Dspi_mem.c24 struct spi_slave { struct
31 static struct spi_slave spi_slave; argument
40 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 …]
/external/arm-trusted-firmware/include/drivers/brcm/
Dsf.h36 struct spi_slave *spi;