Lines Matching refs:api
56 const struct irq_next_level_api *api = in irq_enable_next_level() local
57 (const struct irq_next_level_api *)dev->api; in irq_enable_next_level()
59 api->intr_enable(dev, irq); in irq_enable_next_level()
73 const struct irq_next_level_api *api = in irq_disable_next_level() local
74 (const struct irq_next_level_api *)dev->api; in irq_disable_next_level()
76 api->intr_disable(dev, irq); in irq_disable_next_level()
91 const struct irq_next_level_api *api = in irq_is_enabled_next_level() local
92 (const struct irq_next_level_api *)dev->api; in irq_is_enabled_next_level()
94 return api->intr_get_state(dev); in irq_is_enabled_next_level()
112 const struct irq_next_level_api *api = in irq_set_priority_next_level() local
113 (const struct irq_next_level_api *)dev->api; in irq_set_priority_next_level()
115 if (api->intr_set_priority) in irq_set_priority_next_level()
116 api->intr_set_priority(dev, irq, prio, flags); in irq_set_priority_next_level()
132 const struct irq_next_level_api *api = in irq_line_is_enabled_next_level() local
133 (const struct irq_next_level_api *)dev->api; in irq_line_is_enabled_next_level()
135 return api->intr_get_line_state(dev, irq); in irq_line_is_enabled_next_level()