Searched refs:irqd (Results 1 – 7 of 7) sorted by relevance
/arch/x86/kernel/apic/ |
D | vector.c | 78 static struct apic_chip_data *apic_chip_data(struct irq_data *irqd) in apic_chip_data() argument 80 if (!irqd) in apic_chip_data() 83 while (irqd->parent_data) in apic_chip_data() 84 irqd = irqd->parent_data; in apic_chip_data() 86 return irqd->chip_data; in apic_chip_data() 89 struct irq_cfg *irqd_cfg(struct irq_data *irqd) in irqd_cfg() argument 91 struct apic_chip_data *apicd = apic_chip_data(irqd); in irqd_cfg() 117 static void apic_update_irq_cfg(struct irq_data *irqd, unsigned int vector, in apic_update_irq_cfg() argument 120 struct apic_chip_data *apicd = apic_chip_data(irqd); in apic_update_irq_cfg() 126 irq_data_update_effective_affinity(irqd, cpumask_of(cpu)); in apic_update_irq_cfg() [all …]
|
D | msi.c | 53 static void irq_msi_update_msg(struct irq_data *irqd, struct irq_cfg *cfg) in irq_msi_update_msg() argument 58 irq_data_get_irq_chip(irqd)->irq_write_msi_msg(irqd, msg); in irq_msi_update_msg() 62 msi_set_affinity(struct irq_data *irqd, const struct cpumask *mask, bool force) in msi_set_affinity() argument 64 struct irq_cfg old_cfg, *cfg = irqd_cfg(irqd); in msi_set_affinity() 65 struct irq_data *parent = irqd->parent_data; in msi_set_affinity() 70 cpu = cpumask_first(irq_data_get_effective_affinity_mask(irqd)); in msi_set_affinity() 92 if (!irqd_msi_nomask_quirk(irqd) || in msi_set_affinity() 95 !irqd_is_started(irqd) || in msi_set_affinity() 97 irq_msi_update_msg(irqd, cfg); in msi_set_affinity() 106 irq_msi_update_msg(irqd, cfg); in msi_set_affinity() [all …]
|
D | io_apic.c | 1875 static void ioapic_configure_entry(struct irq_data *irqd) in ioapic_configure_entry() argument 1877 struct mp_chip_data *mpd = irqd->chip_data; in ioapic_configure_entry() 1878 struct irq_cfg *cfg = irqd_cfg(irqd); in ioapic_configure_entry() 1886 if (irqd->chip == &ioapic_chip) { in ioapic_configure_entry() 1924 static int ioapic_irq_get_chip_state(struct irq_data *irqd, in ioapic_irq_get_chip_state() argument 1928 struct mp_chip_data *mcd = irqd->chip_data; in ioapic_irq_get_chip_state()
|
/arch/mips/loongson64/loongson-3/ |
D | irq.c | 42 struct irq_data *irqd; in ht_irqdispatch() local 58 irqd = irq_get_irq_data(ht_irq[i]); in ht_irqdispatch() 59 cpumask_and(&affinity, irqd->common->affinity, cpu_active_mask); in ht_irqdispatch()
|
/arch/mips/sgi-ip27/ |
D | ip27-irq.c | 160 struct irq_data *irqd; in hub_domain_free() local 165 irqd = irq_domain_get_irq_data(domain, virq); in hub_domain_free() 166 if (irqd && irqd->chip_data) in hub_domain_free() 167 kfree(irqd->chip_data); in hub_domain_free()
|
/arch/mips/pci/ |
D | pci-xtalk-bridge.c | 336 struct irq_data *irqd = irq_domain_get_irq_data(domain, virq); in bridge_domain_free() local 341 kfree(irqd->chip_data); in bridge_domain_free() 346 struct irq_data *irqd, bool reserve) in bridge_domain_activate() argument 348 struct bridge_irq_chip_data *data = irqd->chip_data; in bridge_domain_activate() 350 int bit = irqd->parent_data->hwirq; in bridge_domain_activate() 351 int pin = irqd->hwirq; in bridge_domain_activate() 383 struct irq_data *irqd) in bridge_domain_deactivate() argument 385 struct bridge_irq_chip_data *data = irqd->chip_data; in bridge_domain_deactivate() 387 bridge_clr(data->bc, b_int_enable, (1 << irqd->hwirq)); in bridge_domain_deactivate()
|
/arch/powerpc/sysdev/ |
D | fsl_msi.c | 65 static void fsl_msi_print_chip(struct irq_data *irqd, struct seq_file *p) in fsl_msi_print_chip() argument 67 struct fsl_msi *msi_data = irqd->domain->host_data; in fsl_msi_print_chip() 68 irq_hw_number_t hwirq = irqd_to_hwirq(irqd); in fsl_msi_print_chip()
|