Home
last modified time | relevance | path

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

/openbmc/linux/drivers/spi/
H A Dspi-pci1xxxx.c41 #define SPI_MST_CTL_REG_OFFSET(x) (((x) * SPI_MST1_ADDR_BASE) + 0x400) macro
116 regval = readl(par->reg_base + SPI_MST_CTL_REG_OFFSET(p->hw_inst)); in pci1xxxx_spi_set_cs()
124 writel(regval, par->reg_base + SPI_MST_CTL_REG_OFFSET(p->hw_inst)); in pci1xxxx_spi_set_cs()
190 SPI_MST_CTL_REG_OFFSET(p->hw_inst)); in pci1xxxx_spi_transfer_one()
203 SPI_MST_CTL_REG_OFFSET(p->hw_inst)); in pci1xxxx_spi_transfer_one()
205 SPI_MST_CTL_REG_OFFSET(p->hw_inst)); in pci1xxxx_spi_transfer_one()
208 SPI_MST_CTL_REG_OFFSET(p->hw_inst)); in pci1xxxx_spi_transfer_one()
393 SPI_MST_CTL_REG_OFFSET(spi_sub_ptr->hw_inst)); in store_restore_config()
401 regval = readl(spi_ptr->reg_base + SPI_MST_CTL_REG_OFFSET(inst)); in store_restore_config()
405 spi_ptr->reg_base + SPI_MST_CTL_REG_OFFSET(inst)); in store_restore_config()