Searched refs:SPI_CFG (Results 1 – 4 of 4) sorted by relevance
18 #define SPI_CFG(dev) ((struct spi_sifive_cfg *) ((dev)->config)) macro21 #define SPI_REG(dev, offset) ((mem_addr_t) (SPI_CFG(dev)->base + (offset)))
38 #define SPI_CFG(dev) ((struct spi_b91_cfg *) ((dev)->config)) macro75 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()
50 div = (SPI_CFG(dev)->f_sys / (frequency * 2U)) - 1; in spi_config()
186 Example of SPI_CFG for 4MBit (spi_cfg_4MBit.txt) and 128MBit (spi_cfg_128MBit.txt)