Lines Matching refs:reg_offsets
141 const unsigned long *reg_offsets;
157 return readb(bs->regs + bs->reg_offsets[offset]);
163 writeb(value, bs->regs + bs->reg_offsets[offset]);
170 iowrite16be(value, bs->regs + bs->reg_offsets[offset]);
172 writew(value, bs->regs + bs->reg_offsets[offset]);
548 bs->reg_offsets = bcm63xx_spireg;
549 bs->fifo_size = bs->reg_offsets[SPI_MSG_DATA_SIZE];
567 bs->msg_type_shift = bs->reg_offsets[SPI_MSG_TYPE_SHIFT];
568 bs->msg_ctl_width = bs->reg_offsets[SPI_MSG_CTL_WIDTH];
569 bs->tx_io = (u8 *)(bs->regs + bs->reg_offsets[SPI_MSG_DATA]);
570 bs->rx_io = (const u8 *)(bs->regs + bs->reg_offsets[SPI_RX_DATA]);