Searched refs:irqd (Results 1 – 6 of 6) sorted by relevance
/kernel/irq/ |
D | pm.c | 73 struct irq_data *irqd = &desc->irq_data; in suspend_device_irq() local 79 if (irqd_is_wakeup_set(irqd)) { in suspend_device_irq() 80 irqd_set(irqd, IRQD_WAKEUP_ARMED); in suspend_device_irq() 83 irqd_irq_disabled(irqd)) { in suspend_device_irq() 90 irqd_set(irqd, IRQD_IRQ_ENABLED_ON_SUSPEND); in suspend_device_irq() 153 struct irq_data *irqd = &desc->irq_data; in resume_irq() local 155 irqd_clear(irqd, IRQD_WAKEUP_ARMED); in resume_irq() 157 if (irqd_is_enabled_on_suspend(irqd)) { in resume_irq() 164 irqd_clear(irqd, IRQD_IRQ_ENABLED_ON_SUSPEND); in resume_irq()
|
D | irqdomain.c | 1248 struct irq_data *irqd; in irq_domain_disconnect_hierarchy() local 1250 irqd = irq_domain_get_irq_data(domain, virq); in irq_domain_disconnect_hierarchy() 1251 if (!irqd) in irq_domain_disconnect_hierarchy() 1254 irqd->chip = ERR_PTR(-ENOTCONN); in irq_domain_disconnect_hierarchy() 1261 struct irq_data *tail, *irqd, *irq_data; in irq_domain_trim_hierarchy() local 1274 for (irqd = irq_data->parent_data; irqd; irq_data = irqd, irqd = irqd->parent_data) { in irq_domain_trim_hierarchy() 1276 if (irqd->chip && tail) in irq_domain_trim_hierarchy() 1280 if (!irqd->chip && !tail) in irq_domain_trim_hierarchy() 1283 if (IS_ERR(irqd->chip)) { in irq_domain_trim_hierarchy() 1285 if (PTR_ERR(irqd->chip) != -ENOTCONN) in irq_domain_trim_hierarchy() [all …]
|
D | irq_sim.c | 139 struct irq_data *irqd; in irq_sim_domain_unmap() local 141 irqd = irq_domain_get_irq_data(domain, virq); in irq_sim_domain_unmap() 142 irq_ctx = irq_data_get_irq_chip_data(irqd); in irq_sim_domain_unmap() 145 irq_domain_reset_irq_data(irqd); in irq_sim_domain_unmap()
|
D | msi.c | 1210 struct irq_data *irqd = irq_domain_get_irq_data(domain, virq); in msi_init_virq() local 1214 irqd_clr_can_reserve(irqd); in msi_init_virq() 1224 irqd_affinity_is_managed(irqd) && in msi_init_virq() 1225 !cpumask_intersects(irq_data_get_affinity_mask(irqd), in msi_init_virq() 1227 irqd_set_managed_shutdown(irqd); in msi_init_virq() 1235 ret = irq_domain_activate_irq(irqd, vflags & VIRQ_CAN_RESERVE); in msi_init_virq() 1243 irqd_clr_activated(irqd); in msi_init_virq() 1511 struct irq_data *irqd; in __msi_domain_free_irqs() local 1523 irqd = irq_domain_get_irq_data(domain, desc->irq + i); in __msi_domain_free_irqs() 1524 if (irqd && irqd_is_activated(irqd)) in __msi_domain_free_irqs() [all …]
|
D | internals.h | 485 static inline struct irq_data *irqd_get_parent_data(struct irq_data *irqd) in irqd_get_parent_data() argument 488 return irqd->parent_data; in irqd_get_parent_data()
|
D | manage.c | 40 struct irq_data *irqd = irq_desc_get_irq_data(desc); in __synchronize_hardirq() local 67 __irq_get_irqchip_state(irqd, IRQCHIP_STATE_ACTIVE, in __synchronize_hardirq()
|