Lines Matching refs:WRITE_REG32
240 #define WRITE_REG32(value, addr) writel(value, addr) macro
345 WRITE_REG32(0x1, d->hba.base_addr + LBA_ARB_MASK); \
352 WRITE_REG32(error_config | LBA_SMART_MODE, d->hba.base_addr + LBA_ERROR_CONFIG); \
361 WRITE_REG32(tok | PCI_VENDOR_ID, (d)->hba.base_addr + LBA_PCI_CFG_ADDR);\
371 WRITE_REG32(~0, (d)->hba.base_addr + LBA_PCI_CFG_DATA); \
413 WRITE_REG32(status_control | CLEAR_ERRLOG_ENABLE, base + LBA_STAT_CTL); \
425 WRITE_REG32(status_control | CLEAR_ERRLOG, base + LBA_STAT_CTL); \
431 WRITE_REG32(((addr) & ~3), (d)->hba.base_addr + LBA_PCI_CFG_ADDR)
434 WRITE_REG32(((addr) & ~3), (d)->hba.base_addr + LBA_PCI_CFG_ADDR); \
450 WRITE_REG32(status_control, base + LBA_STAT_CTL); \
454 WRITE_REG32(error_config, base + LBA_ERROR_CONFIG); \
459 WRITE_REG32(arb_mask, base + LBA_ARB_MASK); \
576 WRITE_REG32(data, d->hba.base_addr + LBA_PCI_CFG_DATA); in lba_wr_cfg()
1240 WRITE_REG32(stat, d->hba.base_addr + LBA_ERROR_CONFIG); in lba_hw_init()
1245 WRITE_REG32(stat | HF_ENABLE, d->hba.base_addr + LBA_STAT_CTL); in lba_hw_init()
1266 WRITE_REG32(0x3, d->hba.base_addr + LBA_ARB_MASK); in lba_hw_init()
1461 WRITE_REG32( imask, base_addr + LBA_IMASK); in lba_set_iregs()
1462 WRITE_REG32( ibase, base_addr + LBA_IBASE); in lba_set_iregs()