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
81 irq_data = irq_domain_get_irq_data(domain, virq); in hyperv_irq_remapping_alloc()
82 if (!irq_data) { in hyperv_irq_remapping_alloc()
87 irq_data->chip = &hyperv_ir_chip; in hyperv_irq_remapping_alloc()
93 desc = irq_data_to_desc(irq_data); in hyperv_irq_remapping_alloc()
191 hyperv_root_ir_compose_msi_msg(struct irq_data *irq_data, struct msi_msg *msg) in hyperv_root_ir_compose_msi_msg() argument
200 struct hyperv_root_ir_data *data = irq_data->chip_data; in hyperv_root_ir_compose_msi_msg()
203 cfg = irqd_cfg(irq_data); in hyperv_root_ir_compose_msi_msg()
204 affinity = irq_data_get_effective_affinity_mask(irq_data); in hyperv_root_ir_compose_msi_msg()
246 static int hyperv_root_ir_set_affinity(struct irq_data *data, in hyperv_root_ir_set_affinity()
249 struct irq_data *parent = data->parent_data; in hyperv_root_ir_set_affinity()
274 struct irq_data *irq_data; in hyperv_root_irq_remapping_alloc() local
291 irq_data = irq_domain_get_irq_data(domain, virq); in hyperv_root_irq_remapping_alloc()
292 if (!irq_data) { in hyperv_root_irq_remapping_alloc()
301 irq_data->chip = &hyperv_root_ir_chip; in hyperv_root_irq_remapping_alloc()
302 irq_data->chip_data = data; in hyperv_root_irq_remapping_alloc()
310 struct irq_data *irq_data; in hyperv_root_irq_remapping_free() local
316 irq_data = irq_domain_get_irq_data(domain, virq + i); in hyperv_root_irq_remapping_free()
318 if (irq_data && irq_data->chip_data) { in hyperv_root_irq_remapping_free()
319 data = irq_data->chip_data; in hyperv_root_irq_remapping_free()