Lines Matching refs:dev_cavs

28 	const struct device *dev_cavs;  in z_soc_irq_enable()  local
32 dev_cavs = DEVICE_DT_GET(CAVS_INTC_NODE(0)); in z_soc_irq_enable()
35 dev_cavs = DEVICE_DT_GET(CAVS_INTC_NODE(1)); in z_soc_irq_enable()
38 dev_cavs = DEVICE_DT_GET(CAVS_INTC_NODE(2)); in z_soc_irq_enable()
41 dev_cavs = DEVICE_DT_GET(CAVS_INTC_NODE(3)); in z_soc_irq_enable()
49 if (!device_is_ready(dev_cavs)) { in z_soc_irq_enable()
61 irq_enable_next_level(dev_cavs, CAVS_IRQ_NUMBER(irq)); in z_soc_irq_enable()
66 const struct device *dev_cavs; in z_soc_irq_disable() local
70 dev_cavs = DEVICE_DT_GET(CAVS_INTC_NODE(0)); in z_soc_irq_disable()
73 dev_cavs = DEVICE_DT_GET(CAVS_INTC_NODE(1)); in z_soc_irq_disable()
76 dev_cavs = DEVICE_DT_GET(CAVS_INTC_NODE(2)); in z_soc_irq_disable()
79 dev_cavs = DEVICE_DT_GET(CAVS_INTC_NODE(3)); in z_soc_irq_disable()
87 if (!device_is_ready(dev_cavs)) { in z_soc_irq_disable()
96 irq_disable_next_level(dev_cavs, CAVS_IRQ_NUMBER(irq)); in z_soc_irq_disable()
99 if (!irq_is_enabled_next_level(dev_cavs)) { in z_soc_irq_disable()
106 const struct device *dev_cavs; in z_soc_irq_is_enabled() local
111 dev_cavs = DEVICE_DT_GET(CAVS_INTC_NODE(0)); in z_soc_irq_is_enabled()
114 dev_cavs = DEVICE_DT_GET(CAVS_INTC_NODE(1)); in z_soc_irq_is_enabled()
117 dev_cavs = DEVICE_DT_GET(CAVS_INTC_NODE(2)); in z_soc_irq_is_enabled()
120 dev_cavs = DEVICE_DT_GET(CAVS_INTC_NODE(3)); in z_soc_irq_is_enabled()
128 if (!device_is_ready(dev_cavs)) { in z_soc_irq_is_enabled()
135 ret = irq_line_is_enabled_next_level(dev_cavs, CAVS_IRQ_NUMBER(irq)); in z_soc_irq_is_enabled()