Lines Matching refs:READ_REG32
140 #define READ_REG32(addr) readl(addr) macro
210 error_config = READ_REG32(d->hba.base_addr + LBA_ERROR_CONFIG); \
213 status_control = READ_REG32(d->hba.base_addr + LBA_STAT_CTL); \
219 arb_mask = READ_REG32(d->hba.base_addr + LBA_ARB_MASK); \
245 lba_t32 = READ_REG32((d)->hba.base_addr + LBA_PCI_CFG_ADDR); \
255 lba_t32 = READ_REG32((d)->hba.base_addr + LBA_PCI_CFG_ADDR); \
293 error_status = READ_REG32(base + LBA_ERROR_STATUS); \
318 lba_t32 = READ_REG32((d)->hba.base_addr + LBA_PCI_CFG_ADDR); \
358 case 4: data = READ_REG32(data_reg); break; in lba_rd_cfg()
400 case 4: *data = READ_REG32(data_reg); break; in elroy_cfg_read()
467 lba_t32 = READ_REG32(d->hba.base_addr + LBA_PCI_CFG_ADDR); in elroy_cfg_write()
502 *data = READ_REG32(data_reg); break; in mercury_cfg_read()
1086 lba_len = ~READ_REG32(lba_dev->hba.base_addr in lba_pat_resources()
1189 lba_num = READ_REG32(lba_dev->hba.base_addr + LBA_FW_SCRATCH); in lba_legacy_resources()
1271 r->start = READ_REG32(lba_dev->hba.base_addr + LBA_LMMIO_BASE); in lba_legacy_resources()
1279 rsize = ~ READ_REG32(lba_dev->hba.base_addr + LBA_LMMIO_MASK); in lba_legacy_resources()
1317 r->start = READ_REG32(lba_dev->hba.base_addr + LBA_ELMMIO_BASE); in lba_legacy_resources()
1325 rsize = READ_REG32(lba_dev->hba.base_addr + LBA_ELMMIO_MASK); in lba_legacy_resources()
1335 r->start = READ_REG32(lba_dev->hba.base_addr + LBA_IOS_BASE) & ~1L; in lba_legacy_resources()
1336 …r->end = r->start + (READ_REG32(lba_dev->hba.base_addr + LBA_IOS_MASK) ^ (HBA_PORT_SPACE_SIZE - … in lba_legacy_resources()
1394 bus_reset = READ_REG32(d->hba.base_addr + LBA_STAT_CTL + 4) & 1; in lba_hw_init()
1399 stat = READ_REG32(d->hba.base_addr + LBA_ERROR_CONFIG); in lba_hw_init()
1421 stat = READ_REG32(d->hba.base_addr + LBA_STAT_CTL); in lba_hw_init()
1436 if (0 == READ_REG32(d->hba.base_addr + LBA_ARB_MASK)) { in lba_hw_init()
1486 func_class = READ_REG32(addr + LBA_FCLASS); in lba_driver_probe()