Home
last modified time | relevance | path

Searched refs:SPI_CFG (Results 1 – 4 of 4) sorted by relevance

/drivers/spi/
A Dspi_sifive.h18 #define SPI_CFG(dev) ((struct spi_sifive_cfg *) ((dev)->config)) macro
21 #define SPI_REG(dev, offset) ((mem_addr_t) (SPI_CFG(dev)->base + (offset)))
A Dspi_b91.c38 #define SPI_CFG(dev) ((struct spi_b91_cfg *) ((dev)->config)) macro
75 const struct spi_b91_cfg *b91_config = SPI_CFG(dev); in spi_b91_config_cs()
193 struct spi_b91_cfg *cfg = SPI_CFG(dev); in spi_b91_txrx()
301 struct spi_b91_cfg *b91_config = SPI_CFG(dev); in spi_b91_config()
A Dspi_sifive.c50 div = (SPI_CFG(dev)->f_sys / (frequency * 2U)) - 1; in spi_config()
A Dspi_cdns.c80 #define SPI_CFG(dev) ((struct spi_cdns_cfg *)(dev->config)) macro
81 #define SPI_REG(dev, offset) ((mem_addr_t)(SPI_CFG(dev)->base + (offset)))

Completed in 13 milliseconds