Lines Matching refs:hw_inst

64 	u8 hw_inst;  member
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()
169 regval = readl(par->reg_base + SPI_MST_EVENT_REG_OFFSET(p->hw_inst)); in pci1xxxx_spi_transfer_one()
170 writel(regval, par->reg_base + SPI_MST_EVENT_REG_OFFSET(p->hw_inst)); in pci1xxxx_spi_transfer_one()
186 memcpy_toio(par->reg_base + SPI_MST_CMD_BUF_OFFSET(p->hw_inst), in pci1xxxx_spi_transfer_one()
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()
218 SPI_MST_RSP_BUF_OFFSET(p->hw_inst), len); in pci1xxxx_spi_transfer_one()
235 regval = readl(p->parent->reg_base + SPI_MST_EVENT_REG_OFFSET(p->hw_inst)); in pci1xxxx_spi_isr()
242 writel(regval, p->parent->reg_base + SPI_MST_EVENT_REG_OFFSET(p->hw_inst)); in pci1xxxx_spi_isr()
313 SPI_MST_EVENT_MASK_REG_OFFSET(spi_sub_ptr->hw_inst)); in pci1xxxx_spi_probe()
316 SPI_MST_EVENT_MASK_REG_OFFSET(spi_sub_ptr->hw_inst)); in pci1xxxx_spi_probe()
339 spi_sub_ptr->hw_inst = start++; in pci1xxxx_spi_probe()
345 SPI_MST_EVENT_MASK_REG_OFFSET(spi_sub_ptr->hw_inst)); in pci1xxxx_spi_probe()
348 SPI_MST_EVENT_MASK_REG_OFFSET(spi_sub_ptr->hw_inst)); in pci1xxxx_spi_probe()
393 SPI_MST_CTL_REG_OFFSET(spi_sub_ptr->hw_inst)); in store_restore_config()
397 SPI_PCI_CTRL_REG_OFFSET(spi_sub_ptr->hw_inst)); in store_restore_config()