Lines Matching refs:irq_data
39 static int hyperv_ir_set_affinity(struct irq_data *data, in hyperv_ir_set_affinity()
42 struct irq_data *parent = data->parent_data; in hyperv_ir_set_affinity()
70 struct irq_data *irq_data; in hyperv_irq_remapping_alloc() local
80 irq_data = irq_domain_get_irq_data(domain, virq); in hyperv_irq_remapping_alloc()
81 if (!irq_data) { in hyperv_irq_remapping_alloc()
86 irq_data->chip = &hyperv_ir_chip; in hyperv_irq_remapping_alloc()
92 irq_data_update_affinity(irq_data, &ioapic_max_cpumask); in hyperv_irq_remapping_alloc()
194 hyperv_root_ir_compose_msi_msg(struct irq_data *irq_data, struct msi_msg *msg) in hyperv_root_ir_compose_msi_msg() argument
203 struct hyperv_root_ir_data *data = irq_data->chip_data; in hyperv_root_ir_compose_msi_msg()
206 cfg = irqd_cfg(irq_data); in hyperv_root_ir_compose_msi_msg()
207 affinity = irq_data_get_effective_affinity_mask(irq_data); in hyperv_root_ir_compose_msi_msg()
249 static int hyperv_root_ir_set_affinity(struct irq_data *data, in hyperv_root_ir_set_affinity()
252 struct irq_data *parent = data->parent_data; in hyperv_root_ir_set_affinity()
277 struct irq_data *irq_data; in hyperv_root_irq_remapping_alloc() local
294 irq_data = irq_domain_get_irq_data(domain, virq); in hyperv_root_irq_remapping_alloc()
295 if (!irq_data) { in hyperv_root_irq_remapping_alloc()
304 irq_data->chip = &hyperv_root_ir_chip; in hyperv_root_irq_remapping_alloc()
305 irq_data->chip_data = data; in hyperv_root_irq_remapping_alloc()
313 struct irq_data *irq_data; in hyperv_root_irq_remapping_free() local
319 irq_data = irq_domain_get_irq_data(domain, virq + i); in hyperv_root_irq_remapping_free()
321 if (irq_data && irq_data->chip_data) { in hyperv_root_irq_remapping_free()
322 data = irq_data->chip_data; in hyperv_root_irq_remapping_free()