Lines Matching refs:reg_offsets
141 const unsigned long *reg_offsets; member
157 return readb(bs->regs + bs->reg_offsets[offset]); in bcm_spi_readb()
164 return ioread16be(bs->regs + bs->reg_offsets[offset]); in bcm_spi_readw()
166 return readw(bs->regs + bs->reg_offsets[offset]); in bcm_spi_readw()
173 writeb(value, bs->regs + bs->reg_offsets[offset]); in bcm_spi_writeb()
180 iowrite16be(value, bs->regs + bs->reg_offsets[offset]); in bcm_spi_writew()
182 writew(value, bs->regs + bs->reg_offsets[offset]); in bcm_spi_writew()
558 bs->reg_offsets = bcm63xx_spireg; in bcm63xx_spi_probe()
559 bs->fifo_size = bs->reg_offsets[SPI_MSG_DATA_SIZE]; in bcm63xx_spi_probe()
577 bs->msg_type_shift = bs->reg_offsets[SPI_MSG_TYPE_SHIFT]; in bcm63xx_spi_probe()
578 bs->msg_ctl_width = bs->reg_offsets[SPI_MSG_CTL_WIDTH]; in bcm63xx_spi_probe()
579 bs->tx_io = (u8 *)(bs->regs + bs->reg_offsets[SPI_MSG_DATA]); in bcm63xx_spi_probe()
580 bs->rx_io = (const u8 *)(bs->regs + bs->reg_offsets[SPI_RX_DATA]); in bcm63xx_spi_probe()