Lines Matching refs:soc_irq_cdata
358 static struct soctherm_oc_irq_chip_data soc_irq_cdata; variable
1026 if (oc1 && soc_irq_cdata.irq_enable & BIT(0)) in soctherm_edp_isr_thread()
1028 irq_find_mapping(soc_irq_cdata.domain, 0)); in soctherm_edp_isr_thread()
1030 if (oc2 && soc_irq_cdata.irq_enable & BIT(1)) in soctherm_edp_isr_thread()
1032 irq_find_mapping(soc_irq_cdata.domain, 1)); in soctherm_edp_isr_thread()
1034 if (oc3 && soc_irq_cdata.irq_enable & BIT(2)) in soctherm_edp_isr_thread()
1036 irq_find_mapping(soc_irq_cdata.domain, 2)); in soctherm_edp_isr_thread()
1038 if (oc4 && soc_irq_cdata.irq_enable & BIT(3)) in soctherm_edp_isr_thread()
1040 irq_find_mapping(soc_irq_cdata.domain, 3)); in soctherm_edp_isr_thread()
1228 mutex_init(&soc_irq_cdata.irq_lock); in soctherm_oc_int_init()
1229 soc_irq_cdata.irq_enable = 0; in soctherm_oc_int_init()
1231 soc_irq_cdata.irq_chip.name = "soc_therm_oc"; in soctherm_oc_int_init()
1232 soc_irq_cdata.irq_chip.irq_bus_lock = soctherm_oc_irq_lock; in soctherm_oc_int_init()
1233 soc_irq_cdata.irq_chip.irq_bus_sync_unlock = in soctherm_oc_int_init()
1235 soc_irq_cdata.irq_chip.irq_disable = soctherm_oc_irq_disable; in soctherm_oc_int_init()
1236 soc_irq_cdata.irq_chip.irq_enable = soctherm_oc_irq_enable; in soctherm_oc_int_init()
1237 soc_irq_cdata.irq_chip.irq_set_type = soctherm_oc_irq_set_type; in soctherm_oc_int_init()
1238 soc_irq_cdata.irq_chip.irq_set_wake = NULL; in soctherm_oc_int_init()
1240 soc_irq_cdata.domain = irq_domain_add_linear(np, num_irqs, in soctherm_oc_int_init()
1242 &soc_irq_cdata); in soctherm_oc_int_init()
1244 if (!soc_irq_cdata.domain) { in soctherm_oc_int_init()