Lines Matching refs:READ_REG32
236 #define READ_REG32(addr) readl(addr) macro
329 error_config = READ_REG32(d->hba.base_addr + LBA_ERROR_CONFIG); \
332 status_control = READ_REG32(d->hba.base_addr + LBA_STAT_CTL); \
339 arb_mask = READ_REG32(d->hba.base_addr + LBA_ARB_MASK); \
366 lba_t32 = READ_REG32((d)->hba.base_addr + LBA_PCI_CFG_ADDR); \
376 lba_t32 = READ_REG32((d)->hba.base_addr + LBA_PCI_CFG_ADDR); \
414 error_status = READ_REG32(base + LBA_ERROR_STATUS); \
442 lba_t32 = READ_REG32((d)->hba.base_addr + LBA_PCI_CFG_ADDR); \
497 data = READ_REG32(d->hba.base_addr + LBA_PCI_CFG_DATA); in lba_rd_cfg()
617 lba_t32 = READ_REG32(d->hba.base_addr + LBA_PCI_CFG_ADDR); \
1111 lba_num = READ_REG32(pa_dev->hpa + LBA_FW_SCRATCH); in lba_legacy_resources()
1125 ((long) READ_REG32(pa_dev->hpa + LBA_LMMIO_BASE)) & ~1UL); in lba_legacy_resources()
1126 rsize = ~READ_REG32(pa_dev->hpa + LBA_LMMIO_MASK) + 1; in lba_legacy_resources()
1155 r->start = READ_REG32(pa_dev->hpa + LBA_ELMMIO_BASE); in lba_legacy_resources()
1166 r->end += ~READ_REG32(pa_dev->hpa + LBA_ELMMIO_MASK); in lba_legacy_resources()
1176 r->start = READ_REG32(pa_dev->hpa + LBA_IOS_BASE) & ~1L; in lba_legacy_resources()
1177 r->end = r->start + (READ_REG32(pa_dev->hpa + LBA_IOS_MASK) ^ (HBA_PORT_SPACE_SIZE - 1)); in lba_legacy_resources()
1231 bus_reset = READ_REG32(d->hba.base_addr + LBA_STAT_CTL + 4) & 1; in lba_hw_init()
1236 stat = READ_REG32(d->hba.base_addr + LBA_ERROR_CONFIG); in lba_hw_init()
1244 stat = READ_REG32(d->hba.base_addr + LBA_STAT_CTL); in lba_hw_init()
1255 if (0 == READ_REG32(d->hba.base_addr + LBA_ARB_MASK)) { in lba_hw_init()
1311 func_class = READ_REG32(dev->hpa + LBA_FCLASS); in lba_driver_callback()