Lines Matching refs:data_reg
349 void __iomem *data_reg = d->hba.base_addr + LBA_PCI_CFG_DATA; in lba_rd_cfg() local
353 case 1: data = (u32) READ_REG8(data_reg + (reg & 3)); break; in lba_rd_cfg()
354 case 2: data = (u32) READ_REG16(data_reg+ (reg & 2)); break; in lba_rd_cfg()
355 case 4: data = READ_REG32(data_reg); break; in lba_rd_cfg()
368 void __iomem *data_reg = d->hba.base_addr + LBA_PCI_CFG_DATA; in elroy_cfg_read() local
395 case 1: *data = READ_REG8 (data_reg + (pos & 3)); break; in elroy_cfg_read()
396 case 2: *data = READ_REG16(data_reg + (pos & 2)); break; in elroy_cfg_read()
397 case 4: *data = READ_REG32(data_reg); break; in elroy_cfg_read()
411 void __iomem *data_reg = d->hba.base_addr + LBA_PCI_CFG_DATA; in lba_wr_cfg() local
416 case 1: WRITE_REG8 (data, data_reg + (reg & 3)); break; in lba_wr_cfg()
417 case 2: WRITE_REG16(data, data_reg + (reg & 2)); break; in lba_wr_cfg()
418 case 4: WRITE_REG32(data, data_reg); break; in lba_wr_cfg()
485 void __iomem *data_reg = d->hba.base_addr + LBA_PCI_CFG_DATA; in mercury_cfg_read() local
493 *data = READ_REG8(data_reg + (pos & 3)); in mercury_cfg_read()
496 *data = READ_REG16(data_reg + (pos & 2)); in mercury_cfg_read()
499 *data = READ_REG32(data_reg); break; in mercury_cfg_read()
515 void __iomem *data_reg = d->hba.base_addr + LBA_PCI_CFG_DATA; in mercury_cfg_write() local
527 WRITE_REG8 (data, data_reg + (pos & 3)); in mercury_cfg_write()
530 WRITE_REG16(data, data_reg + (pos & 2)); in mercury_cfg_write()
533 WRITE_REG32(data, data_reg); in mercury_cfg_write()