Lines Matching refs:soc_irq_cdata
358 static struct soctherm_oc_irq_chip_data soc_irq_cdata; variable
1031 if (oc1 && soc_irq_cdata.irq_enable & BIT(0)) in soctherm_edp_isr_thread()
1033 irq_find_mapping(soc_irq_cdata.domain, 0)); in soctherm_edp_isr_thread()
1035 if (oc2 && soc_irq_cdata.irq_enable & BIT(1)) in soctherm_edp_isr_thread()
1037 irq_find_mapping(soc_irq_cdata.domain, 1)); in soctherm_edp_isr_thread()
1039 if (oc3 && soc_irq_cdata.irq_enable & BIT(2)) in soctherm_edp_isr_thread()
1041 irq_find_mapping(soc_irq_cdata.domain, 2)); in soctherm_edp_isr_thread()
1043 if (oc4 && soc_irq_cdata.irq_enable & BIT(3)) in soctherm_edp_isr_thread()
1045 irq_find_mapping(soc_irq_cdata.domain, 3)); in soctherm_edp_isr_thread()
1233 mutex_init(&soc_irq_cdata.irq_lock); in soctherm_oc_int_init()
1234 soc_irq_cdata.irq_enable = 0; in soctherm_oc_int_init()
1236 soc_irq_cdata.irq_chip.name = "soc_therm_oc"; in soctherm_oc_int_init()
1237 soc_irq_cdata.irq_chip.irq_bus_lock = soctherm_oc_irq_lock; in soctherm_oc_int_init()
1238 soc_irq_cdata.irq_chip.irq_bus_sync_unlock = in soctherm_oc_int_init()
1240 soc_irq_cdata.irq_chip.irq_disable = soctherm_oc_irq_disable; in soctherm_oc_int_init()
1241 soc_irq_cdata.irq_chip.irq_enable = soctherm_oc_irq_enable; in soctherm_oc_int_init()
1242 soc_irq_cdata.irq_chip.irq_set_type = soctherm_oc_irq_set_type; in soctherm_oc_int_init()
1243 soc_irq_cdata.irq_chip.irq_set_wake = NULL; in soctherm_oc_int_init()
1245 soc_irq_cdata.domain = irq_domain_add_linear(np, num_irqs, in soctherm_oc_int_init()
1247 &soc_irq_cdata); in soctherm_oc_int_init()
1249 if (!soc_irq_cdata.domain) { in soctherm_oc_int_init()