Home
last modified time | relevance | path

Searched refs:cascade (Results 1 – 6 of 6) sorted by relevance

/sof-2.7.6/src/drivers/
Dinterrupt.c55 struct irq_cascade_desc **cascade; in interrupt_cascade_register() local
65 for (cascade = &root->list; *cascade; in interrupt_cascade_register()
66 cascade = &(*cascade)->next) { in interrupt_cascade_register()
67 if (!rstrcmp((*cascade)->name, tmpl->name)) { in interrupt_cascade_register()
75 *cascade = rzalloc(SOF_MEM_ZONE_SYS_SHARED, 0, SOF_MEM_CAPS_RAM, sizeof(**cascade)); in interrupt_cascade_register()
77 spinlock_init(&(*cascade)->lock); in interrupt_cascade_register()
80 list_init(&(*cascade)->child[i].list); in interrupt_cascade_register()
82 (*cascade)->name = tmpl->name; in interrupt_cascade_register()
83 (*cascade)->ops = tmpl->ops; in interrupt_cascade_register()
84 (*cascade)->global_mask = tmpl->global_mask; in interrupt_cascade_register()
[all …]
/sof-2.7.6/src/drivers/intel/cavs/
Dinterrupt.c58 struct irq_cascade_desc *cascade = container_of(parent, in irq_lvl2_handler() local
78 spin_lock(&cascade->lock); in irq_lvl2_handler()
81 list_for_item(clist, &cascade->child[bit].list) { in irq_lvl2_handler()
86 spin_unlock(&cascade->lock); in irq_lvl2_handler()
88 spin_lock(&cascade->lock); in irq_lvl2_handler()
95 spin_unlock(&cascade->lock); in irq_lvl2_handler()
164 struct irq_cascade_desc *cascade = interrupt_get_parent(irq); in interrupt_mask() local
166 if (cascade && cascade->ops->mask) in interrupt_mask()
167 cascade->ops->mask(&cascade->desc, irq - cascade->irq_base, in interrupt_mask()
174 struct irq_cascade_desc *cascade = interrupt_get_parent(irq); in interrupt_unmask() local
[all …]
/sof-2.7.6/src/drivers/imx/
Dinterrupt-irqsteer.c282 static inline void handle_irq_batch(struct irq_cascade_desc *cascade, in handle_irq_batch() argument
296 spin_lock(&cascade->lock); in handle_irq_batch()
299 list_for_item(clist, &cascade->child[bit].list) { in handle_irq_batch()
304 spin_unlock(&cascade->lock); in handle_irq_batch()
306 spin_lock(&cascade->lock); in handle_irq_batch()
313 spin_unlock(&cascade->lock); in handle_irq_batch()
327 struct irq_cascade_desc *cascade = in irq_handler() local
336 handle_irq_batch(cascade, line_index, status); in irq_handler()
474 struct irq_cascade_desc *cascade = interrupt_get_parent(irq); in interrupt_mask() local
476 if (cascade && cascade->ops->mask) in interrupt_mask()
[all …]
/sof-2.7.6/src/drivers/amd/renoir/
Dinterrupt.c93 static inline void acp_handle_irq(struct irq_cascade_desc *cascade, in acp_handle_irq() argument
107 spin_lock(&cascade->lock); in acp_handle_irq()
109 list_for_item(clist, &cascade->child[bit].list) { in acp_handle_irq()
118 spin_unlock(&cascade->lock); in acp_handle_irq()
131 struct irq_cascade_desc *cascade = in irq_handler() local
139 acp_handle_irq(cascade, line_index, status); in irq_handler()
/sof-2.7.6/src/include/sof/drivers/
Dinterrupt.h126 int mux_interrupt_get_irq(unsigned int irq, const char *cascade);
156 int interrupt_get_irq(unsigned int irq, const char *cascade);
/sof-2.7.6/zephyr/
Dwrapper.c331 int interrupt_get_irq(unsigned int irq, const char *cascade) in interrupt_get_irq() argument
338 if (cascade == irq_name_level2) in interrupt_get_irq()
340 if (cascade == irq_name_level5) in interrupt_get_irq()