Home
last modified time | relevance | path

Searched refs:iosapic (Results 1 – 6 of 6) 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.h179 unsigned int (*__read)(char __iomem *iosapic, unsigned int reg);
180 void (*__write)(char __iomem *iosapic, unsigned int reg, u32 val);
199 __iosapic_read(char __iomem *iosapic, unsigned int reg) in __iosapic_read() argument
201 return pv_iosapic_ops.__read(iosapic, reg); in __iosapic_read()
205 __iosapic_write(char __iomem *iosapic, unsigned int reg, u32 val) in __iosapic_write() argument
207 return pv_iosapic_ops.__write(iosapic, reg, val); in __iosapic_write()
/arch/ia64/kernel/
Diosapic.c119 static struct iosapic { struct
134 struct iosapic *iosapic; member
153 iosapic_write(struct iosapic *iosapic, unsigned int reg, u32 val) in iosapic_write() argument
157 spin_lock_irqsave(&iosapic->lock, flags); in iosapic_write()
158 __iosapic_write(iosapic->addr, reg, val); in iosapic_write()
159 spin_unlock_irqrestore(&iosapic->lock, flags); in iosapic_write()
188 if (rte->iosapic->gsi_base + rte->rte_index == gsi) in __gsi_to_irq()
211 if (rte->iosapic->gsi_base + rte->rte_index == gsi) in find_rte()
252 iosapic_write(rte->iosapic, IOSAPIC_RTE_HIGH(rte_index), high32); in set_rte()
253 iosapic_write(rte->iosapic, IOSAPIC_RTE_LOW(rte_index), low32); in set_rte()
[all …]
Dacpi.c235 struct acpi_madt_io_sapic *iosapic; in acpi_parse_iosapic() local
237 iosapic = (struct acpi_madt_io_sapic *)header; in acpi_parse_iosapic()
239 if (BAD_MADT_ENTRY(iosapic, end)) in acpi_parse_iosapic()
242 return iosapic_init(iosapic->address, iosapic->global_irq_base); in acpi_parse_iosapic()
923 struct acpi_madt_io_sapic *iosapic; in acpi_map_iosapic() local
936 obj->buffer.length < sizeof(*iosapic)) { in acpi_map_iosapic()
941 iosapic = (struct acpi_madt_io_sapic *)obj->buffer.pointer; in acpi_map_iosapic()
943 if (iosapic->header.type != ACPI_MADT_TYPE_IO_SAPIC) { in acpi_map_iosapic()
948 gsi_base = iosapic->global_irq_base; in acpi_map_iosapic()
Dparavirt.c599 ia64_native_iosapic_read(char __iomem *iosapic, unsigned int reg) in ia64_native_iosapic_read() argument
601 return __ia64_native_iosapic_read(iosapic, reg); in ia64_native_iosapic_read()
605 ia64_native_iosapic_write(char __iomem *iosapic, unsigned int reg, u32 val) in ia64_native_iosapic_write() argument
607 __ia64_native_iosapic_write(iosapic, reg, val); in ia64_native_iosapic_write()
DMakefile20 obj-$(CONFIG_IOSAPIC) += iosapic.o