Searched refs:reg_base (Results 1 – 4 of 4) sorted by relevance
138 static int reg_base; variable189 hwif->INW(reg_base+1); in write_reg()190 hwif->INW(reg_base+1); in write_reg()191 hwif->OUTB(3, reg_base+2); in write_reg()192 hwif->OUTB(value, reg_base+reg); in write_reg()193 hwif->OUTB(0x83, reg_base+2); in write_reg()205 hwif->INW(reg_base+1); in read_reg()206 hwif->INW(reg_base+1); in read_reg()207 hwif->OUTB(3, reg_base+2); in read_reg()208 ret = hwif->INB(reg_base+reg); in read_reg()[all …]
785 unsigned long reg_base = iommu->sbus_control_reg - 0x2000UL; in sbus_build_irq() local804 imap += reg_base; in sbus_build_irq()819 iclr = reg_base + SYSIO_ICLR_SLOT0; in sbus_build_irq()822 iclr = reg_base + SYSIO_ICLR_SLOT1; in sbus_build_irq()825 iclr = reg_base + SYSIO_ICLR_SLOT2; in sbus_build_irq()829 iclr = reg_base + SYSIO_ICLR_SLOT3; in sbus_build_irq()856 unsigned long reg_base = iommu->sbus_control_reg - 0x2000UL; in sysio_ue_handler() local861 afsr_reg = reg_base + SYSIO_UE_AFSR; in sysio_ue_handler()862 afar_reg = reg_base + SYSIO_UE_AFAR; in sysio_ue_handler()926 unsigned long reg_base = iommu->sbus_control_reg - 0x2000UL; in sysio_ce_handler() local[all …]
27 void *reg_base; /* CSR base */ member
40 #define SMB_CSR(a,r) ((long)(a->reg_base + r))