Home
last modified time | relevance | path

Searched refs:iosapic (Results 1 – 7 of 7) sorted by relevance

/arch/ia64/include/asm/
Diosapic.h71 __ia64_native_iosapic_read(char __iomem *iosapic, unsigned int reg) in __ia64_native_iosapic_read() argument
73 writel(reg, iosapic + IOSAPIC_REG_SELECT); in __ia64_native_iosapic_read()
74 return readl(iosapic + IOSAPIC_WINDOW); in __ia64_native_iosapic_read()
78 __ia64_native_iosapic_write(char __iomem *iosapic, unsigned int reg, u32 val) in __ia64_native_iosapic_write() argument
80 writel(reg, iosapic + IOSAPIC_REG_SELECT); in __ia64_native_iosapic_write()
81 writel(val, iosapic + IOSAPIC_WINDOW); in __ia64_native_iosapic_write()
84 static inline void iosapic_eoi(char __iomem *iosapic, u32 vector) in iosapic_eoi() argument
86 writel(vector, iosapic + IOSAPIC_EOI); in iosapic_eoi()
Dparavirt.h122 unsigned int (*__read)(char __iomem *iosapic, unsigned int reg);
123 void (*__write)(char __iomem *iosapic, unsigned int reg, u32 val);
142 __iosapic_read(char __iomem *iosapic, unsigned int reg) in __iosapic_read() argument
144 return pv_iosapic_ops.__read(iosapic, reg); in __iosapic_read()
148 __iosapic_write(char __iomem *iosapic, unsigned int reg, u32 val) in __iosapic_write() argument
150 return pv_iosapic_ops.__write(iosapic, reg, val); in __iosapic_write()
/arch/ia64/kernel/
Diosapic.c123 static struct iosapic { struct
139 struct iosapic *iosapic; argument
161 iosapic_write(struct iosapic *iosapic, unsigned int reg, u32 val) in iosapic_write() argument
165 spin_lock_irqsave(&iosapic->lock, flags); in iosapic_write()
166 __iosapic_write(iosapic->addr, reg, val); in iosapic_write()
167 spin_unlock_irqrestore(&iosapic->lock, flags); in iosapic_write()
196 if (rte->iosapic->gsi_base + rte->rte_index == gsi) in __gsi_to_irq()
219 if (rte->iosapic->gsi_base + rte->rte_index == gsi) in find_rte()
260 iosapic_write(rte->iosapic, IOSAPIC_RTE_HIGH(rte_index), high32); in set_rte()
261 iosapic_write(rte->iosapic, IOSAPIC_RTE_LOW(rte_index), low32); in set_rte()
[all …]
Dacpi.c266 struct acpi_madt_io_sapic *iosapic; in acpi_parse_iosapic() local
268 iosapic = (struct acpi_madt_io_sapic *)header; in acpi_parse_iosapic()
270 if (BAD_MADT_ENTRY(iosapic, end)) in acpi_parse_iosapic()
273 return iosapic_init(iosapic->address, iosapic->global_irq_base); in acpi_parse_iosapic()
964 struct acpi_madt_io_sapic *iosapic; in acpi_map_iosapic() local
977 obj->buffer.length < sizeof(*iosapic)) { in acpi_map_iosapic()
982 iosapic = (struct acpi_madt_io_sapic *)obj->buffer.pointer; in acpi_map_iosapic()
984 if (iosapic->header.type != ACPI_MADT_TYPE_IO_SAPIC) { in acpi_map_iosapic()
989 gsi_base = iosapic->global_irq_base; in acpi_map_iosapic()
Dparavirt.c322 ia64_native_iosapic_read(char __iomem *iosapic, unsigned int reg) in ia64_native_iosapic_read() argument
324 return __ia64_native_iosapic_read(iosapic, reg); in ia64_native_iosapic_read()
328 ia64_native_iosapic_write(char __iomem *iosapic, unsigned int reg, u32 val) in ia64_native_iosapic_write() argument
330 __ia64_native_iosapic_write(iosapic, reg, val); in ia64_native_iosapic_write()
DMakefile22 obj-$(CONFIG_IOSAPIC) += iosapic.o
/arch/ia64/xen/
Dxen_pv_ops.c314 xen_iosapic_read(char __iomem *iosapic, unsigned int reg) in xen_iosapic_read() argument
319 apic_op.apic_physbase = (unsigned long)iosapic - in xen_iosapic_read()
329 xen_iosapic_write(char __iomem *iosapic, unsigned int reg, u32 val) in xen_iosapic_write() argument
333 apic_op.apic_physbase = (unsigned long)iosapic - in xen_iosapic_write()