Searched refs:hw_inst (Results 1 – 1 of 1) sorted by relevance
135 u8 hw_inst; member310 regval = readl(par->reg_base + SPI_MST_CTL_REG_OFFSET(p->hw_inst)); in pci1xxxx_spi_set_cs()318 writel(regval, par->reg_base + SPI_MST_CTL_REG_OFFSET(p->hw_inst)); in pci1xxxx_spi_set_cs()348 if (!p->hw_inst) in pci1xxxx_spi_setup_dma_to_io()358 writel(lower_32_bits(SPI_PERI_ADDR_BASE + SPI_MST_CMD_BUF_OFFSET(p->hw_inst)), in pci1xxxx_spi_setup_dma_to_io()360 writel(upper_32_bits(SPI_PERI_ADDR_BASE + SPI_MST_CMD_BUF_OFFSET(p->hw_inst)), in pci1xxxx_spi_setup_dma_to_io()369 if (!p->hw_inst) in pci1xxxx_spi_setup_dma_from_io()378 writel(lower_32_bits(SPI_PERI_ADDR_BASE + SPI_MST_RSP_BUF_OFFSET(p->hw_inst)), in pci1xxxx_spi_setup_dma_from_io()380 writel(upper_32_bits(SPI_PERI_ADDR_BASE + SPI_MST_RSP_BUF_OFFSET(p->hw_inst)), in pci1xxxx_spi_setup_dma_from_io()384 static void pci1xxxx_spi_setup(struct pci1xxxx_spi *par, u8 hw_inst, u32 mode, in pci1xxxx_spi_setup() argument[all …]