Lines Matching full:clients
49 struct shared_irq_runtime *clients = dev->data; in isr_register() local
54 if (!clients->client[i].isr_dev) { in isr_register()
55 clients->client[i].isr_dev = isr_dev; in isr_register()
56 clients->client[i].isr_func = isr_func; in isr_register()
71 struct shared_irq_runtime *clients = dev->data; in enable() local
76 if (clients->client[i].isr_dev == isr_dev) { in enable()
77 clients->client[i].enabled = 1U; in enable()
85 static int last_enabled_isr(struct shared_irq_runtime *clients, int count) in last_enabled_isr() argument
90 if (clients->client[i].enabled) { in last_enabled_isr()
104 struct shared_irq_runtime *clients = dev->data; in disable() local
109 if (clients->client[i].isr_dev == isr_dev) { in disable()
110 clients->client[i].enabled = 0U; in disable()
111 if (last_enabled_isr(clients, config->client_count)) { in disable()
122 struct shared_irq_runtime *clients = dev->data; in shared_irq_isr() local
127 if (clients->client[i].isr_dev) { in shared_irq_isr()
128 clients->client[i].isr_func(clients->client[i].isr_dev, config->irq_num); in shared_irq_isr()