Home
last modified time | relevance | path

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

/linux-6.6.21/arch/ia64/include/asm/
Diosapic.h66 __ia64_native_iosapic_read(char __iomem *iosapic, unsigned int reg) in __ia64_native_iosapic_read() argument
68 writel(reg, iosapic + IOSAPIC_REG_SELECT); in __ia64_native_iosapic_read()
69 return readl(iosapic + IOSAPIC_WINDOW); in __ia64_native_iosapic_read()
73 __ia64_native_iosapic_write(char __iomem *iosapic, unsigned int reg, u32 val) in __ia64_native_iosapic_write() argument
75 writel(reg, iosapic + IOSAPIC_REG_SELECT); in __ia64_native_iosapic_write()
76 writel(val, iosapic + IOSAPIC_WINDOW); in __ia64_native_iosapic_write()
79 static inline void iosapic_eoi(char __iomem *iosapic, u32 vector) in iosapic_eoi() argument
81 writel(vector, iosapic + IOSAPIC_EOI); in iosapic_eoi()
/linux-6.6.21/arch/ia64/kernel/
Diosapic.c117 static struct iosapic { struct
132 struct iosapic *iosapic; argument
151 iosapic_write(struct iosapic *iosapic, unsigned int reg, u32 val) in iosapic_write() argument
155 spin_lock_irqsave(&iosapic->lock, flags); in iosapic_write()
156 __iosapic_write(iosapic->addr, reg, val); in iosapic_write()
157 spin_unlock_irqrestore(&iosapic->lock, flags); in iosapic_write()
186 if (rte->iosapic->gsi_base + rte->rte_index == gsi) in __gsi_to_irq()
209 if (rte->iosapic->gsi_base + rte->rte_index == gsi) in find_rte()
250 iosapic_write(rte->iosapic, IOSAPIC_RTE_HIGH(rte_index), high32); in set_rte()
251 iosapic_write(rte->iosapic, IOSAPIC_RTE_LOW(rte_index), low32); in set_rte()
[all …]
Dacpi.c144 struct acpi_madt_io_sapic *iosapic; in acpi_parse_iosapic() local
146 iosapic = (struct acpi_madt_io_sapic *)header; in acpi_parse_iosapic()
148 if (BAD_MADT_ENTRY(iosapic, end)) in acpi_parse_iosapic()
151 return iosapic_init(iosapic->address, iosapic->global_irq_base); in acpi_parse_iosapic()
831 struct acpi_madt_io_sapic *iosapic; in acpi_map_iosapic() local
844 obj->buffer.length < sizeof(*iosapic)) { in acpi_map_iosapic()
849 iosapic = (struct acpi_madt_io_sapic *)obj->buffer.pointer; in acpi_map_iosapic()
851 if (iosapic->header.type != ACPI_MADT_TYPE_IO_SAPIC) { in acpi_map_iosapic()
856 gsi_base = iosapic->global_irq_base; in acpi_map_iosapic()
DMakefile15 unwind.o mca.o mca_asm.o topology.o dma-mapping.o iosapic.o acpi.o \
/linux-6.6.21/drivers/parisc/
Diosapic.c173 static inline unsigned int iosapic_read(void __iomem *iosapic, unsigned int reg) in iosapic_read() argument
175 writel(reg, iosapic + IOSAPIC_REG_SELECT); in iosapic_read()
176 return readl(iosapic + IOSAPIC_REG_WINDOW); in iosapic_read()
179 static inline void iosapic_write(void __iomem *iosapic, unsigned int reg, u32 val) in iosapic_write() argument
181 writel(reg, iosapic + IOSAPIC_REG_SELECT); in iosapic_write()
182 writel(val, iosapic + IOSAPIC_REG_WINDOW); in iosapic_write()
519 struct iosapic_info *isp = vi->iosapic; in iosapic_rd_irt_entry()
529 struct iosapic_info *isp = vi->iosapic; in iosapic_wr_irt_entry()
629 struct iosapic_info *isp = vi->iosapic; in iosapic_unmask_irq()
936 vip->iosapic = isi; in iosapic_register()
DMakefile12 obj-$(CONFIG_IOSAPIC) += iosapic.o
Diosapic_private.h119 struct iosapic_info *iosapic; /* I/O SAPIC this vector is on */ member