Lines Matching +full:layer +full:- +full:depth
1 /* SPDX-License-Identifier: GPL-2.0 */
21 * struct irqstat - interrupt statistics
22 * @cnt: real-time interrupt count
33 * struct irq_desc - interrupt descriptor
36 * @handle_irq: highlevel irq-events handler
40 * @depth: disable-depth, for nested irq_disable() calls
41 * @wake_depth: enable depth, for multiple irq_set_irq_wake() callers
42 * @tot_count: stats field for non-percpu irqs
62 * @request_mutex: mutex to protect request/free before locking desc->lock
75 unsigned int depth; /* nested irq disables */ member
134 return desc->kstat_irqs ? per_cpu(desc->kstat_irqs->cnt, cpu) : 0; in irq_desc_kstat_cpu()
139 return container_of(data->common, struct irq_desc, irq_common_data); in irq_data_to_desc()
144 return desc->irq_data.irq; in irq_desc_get_irq()
149 return &desc->irq_data; in irq_desc_get_irq_data()
154 return desc->irq_data.chip; in irq_desc_get_chip()
159 return desc->irq_data.chip_data; in irq_desc_get_chip_data()
164 return desc->irq_common_data.handler_data; in irq_desc_get_handler_data()
168 * Architectures call this to let the generic IRQ layer
173 desc->handle_irq(desc); in generic_handle_irq_desc()
183 * and handle the result interrupt number. Return -EINVAL if
194 return desc && desc->action != NULL; in irq_desc_has_action()
198 * irq_set_handler_locked - Set irq handler from a locked region
212 desc->handle_irq = handler; in irq_set_handler_locked()
216 * irq_set_chip_handler_name_locked - Set chip, handler and name from a locked region
234 desc->handle_irq = handler; in irq_set_chip_handler_name_locked()
235 desc->name = name; in irq_set_chip_handler_name_locked()
236 data->chip = (struct irq_chip *)chip; in irq_set_chip_handler_name_locked()