Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\irq\generic-chip.c Create Date:2022-07-28 10:12:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__irq_get_domain_generic_chip

Proto:static struct irq_chip_generic *__irq_get_domain_generic_chip(struct irq_domain *d, unsigned int hw_irq)

Type:struct irq_chip_generic

Parameter:

TypeParameterName
struct irq_domain *d
unsigned inthw_irq
342  dgc = Pointer to a list of generic chips
345  If Not dgc Then Return ERR_PTR( - ENODEV)
347  idx = hw_irq / irqs_per_chip
348  If idx >= num_chips Then Return ERR_PTR( - EINVAL)
350  Return gc[idx]
Caller
NameDescribe
irq_get_domain_generic_chipq_get_domain_generic_chip - Get a pointer to the generic chip of a hw_irq*@d: irq domain pointer*@hw_irq: Hardware interrupt number
irq_map_generic_chipq_map_generic_chip - Map a generic chip for an irq domain