Lines Matching refs:reg
16 static unsigned int xen_io_apic_read(unsigned apic, unsigned reg)
22 apic_op.reg = reg;
28 if (reg == 0x1)
30 else if (reg == 0x0)
47 static u32 xen_apic_read(u32 reg)
61 if (reg == APIC_LVR)
63 if (reg != APIC_ID)
73 static void xen_apic_write(u32 reg, u32 val)
75 if (reg == APIC_LVTPC) {
76 (void)pmu_apic_update(reg);
81 WARN(1,"register: %x, value: %x\n", reg, val);