sphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget+/translations/zh_CN/core-api/irq/irq-domainmodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget+/translations/zh_TW/core-api/irq/irq-domainmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget+/translations/it_IT/core-api/irq/irq-domainmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget+/translations/ja_JP/core-api/irq/irq-domainmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget+/translations/ko_KR/core-api/irq/irq-domainmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget+/translations/sp_SP/core-api/irq/irq-domainmodnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhsection)}(hhh](htitle)}(h/The irq_domain Interrupt Number Mapping Libraryh]h/The irq_domain Interrupt Number Mapping Library}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhE/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain.rsthKubh paragraph)}(hXXThe current design of the Linux kernel uses a single large number space where each separate IRQ source is assigned a unique number. This is simple when there is only one interrupt controller. But in systems with multiple interrupt controllers, the kernel must ensure that each one gets assigned non-overlapping allocations of Linux IRQ numbers.h]hXXThe current design of the Linux kernel uses a single large number space where each separate IRQ source is assigned a unique number. This is simple when there is only one interrupt controller. But in systems with multiple interrupt controllers, the kernel must ensure that each one gets assigned non-overlapping allocations of Linux IRQ numbers.}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hXKThe number of interrupt controllers registered as unique irqchips shows a rising tendency. For example, subdrivers of different kinds such as GPIO controllers avoid reimplementing identical callback mechanisms as the IRQ core system by modelling their interrupt handlers as irqchips. I.e. in effect cascading interrupt controllers.h]hXKThe number of interrupt controllers registered as unique irqchips shows a rising tendency. For example, subdrivers of different kinds such as GPIO controllers avoid reimplementing identical callback mechanisms as the IRQ core system by modelling their interrupt handlers as irqchips. I.e. in effect cascading interrupt controllers.}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hhhhubh)}(hX1So in the past, IRQ numbers could be chosen so that they match the hardware IRQ line into the root interrupt controller (i.e. the component actually firing the interrupt line to the CPU). Nowadays, this number is just a number and the number loose all kind of correspondence to hardware interrupt numbers.h]hX1So in the past, IRQ numbers could be chosen so that they match the hardware IRQ line into the root interrupt controller (i.e. the component actually firing the interrupt line to the CPU). Nowadays, this number is just a number and the number loose all kind of correspondence to hardware interrupt numbers.}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hFor this reason, we need a mechanism to separate controller-local interrupt numbers, called hardware IRQs, from Linux IRQ numbers.h]hFor this reason, we need a mechanism to separate controller-local interrupt numbers, called hardware IRQs, from Linux IRQ numbers.}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hThe irq_alloc_desc*() and irq_free_desc*() APIs provide allocation of IRQ numbers, but they don't provide any support for reverse mapping of the controller-local IRQ (hwirq) number into the Linux IRQ number space.h]hThe irq_alloc_desc*() and irq_free_desc*() APIs provide allocation of IRQ numbers, but they don’t provide any support for reverse mapping of the controller-local IRQ (hwirq) number into the Linux IRQ number space.}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hThe irq_domain library adds a mapping between hwirq and IRQ numbers on top of the irq_alloc_desc*() API. An irq_domain to manage the mapping is preferred over interrupt controller drivers open coding their own reverse mapping scheme.h]hThe irq_domain library adds a mapping between hwirq and IRQ numbers on top of the irq_alloc_desc*() API. An irq_domain to manage the mapping is preferred over interrupt controller drivers open coding their own reverse mapping scheme.}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hhhhubh)}(hX5irq_domain also implements a translation from an abstract struct irq_fwspec to hwirq numbers (Device Tree, non-DT firmware node, ACPI GSI, and software node so far), and can be easily extended to support other IRQ topology data sources. The implementation is performed without any extra platform support code.h]hX5irq_domain also implements a translation from an abstract struct irq_fwspec to hwirq numbers (Device Tree, non-DT firmware node, ACPI GSI, and software node so far), and can be easily extended to support other IRQ topology data sources. The implementation is performed without any extra platform support code.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK%hhhhubh)}(hhh](h)}(hirq_domain Usageh]hirq_domain Usage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhK,ubh)}(hXstruct irq_domain could be defined as an irq domain controller. That is, it handles the mapping between hardware and virtual interrupt numbers for a given interrupt domain. The domain structure is generally created by the PIC code for a given PIC instance (though a domain can cover more than one PIC if they have a flat number model). It is the domain callbacks that are responsible for setting the irq_chip on a given irq_desc after it has been mapped.h]hXstruct irq_domain could be defined as an irq domain controller. That is, it handles the mapping between hardware and virtual interrupt numbers for a given interrupt domain. The domain structure is generally created by the PIC code for a given PIC instance (though a domain can cover more than one PIC if they have a flat number model). It is the domain callbacks that are responsible for setting the irq_chip on a given irq_desc after it has been mapped.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK-hjhhubh)}(hXfThe host code and data structures use a fwnode_handle pointer to identify the domain. In some cases, and in order to preserve source code compatibility, this fwnode pointer is "upgraded" to a DT device_node. For those firmware infrastructures that do not provide a unique identifier for an interrupt controller, the irq_domain code offers a fwnode allocator.h]hXjThe host code and data structures use a fwnode_handle pointer to identify the domain. In some cases, and in order to preserve source code compatibility, this fwnode pointer is “upgraded” to a DT device_node. For those firmware infrastructures that do not provide a unique identifier for an interrupt controller, the irq_domain code offers a fwnode allocator.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK5hjhhubh)}(hXiAn interrupt controller driver creates and registers a struct irq_domain by calling one of the irq_domain_create_*() functions (each mapping method has a different allocator function, more on that later). The function will return a pointer to the struct irq_domain on success. The caller must provide the allocator function with a struct irq_domain_ops pointer.h]hXiAn interrupt controller driver creates and registers a struct irq_domain by calling one of the irq_domain_create_*() functions (each mapping method has a different allocator function, more on that later). The function will return a pointer to the struct irq_domain on success. The caller must provide the allocator function with a struct irq_domain_ops pointer.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK IOAPIC -> Interrupt remapping Controller -> Local APIC -> CPUh]hHDevice --> IOAPIC -> Interrupt remapping Controller -> Local APIC -> CPU}hjsbah}(h]h ]h"]h$]h&]jjuh1jhhhKhjhhubh)}(h/There are three interrupt controllers involved:h]h/There are three interrupt controllers involved:}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubhenumerated_list)}(hhh](j)}(hIOAPIC controllerh]h)}(hj@h]hIOAPIC controller}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj>ubah}(h]h ]h"]h$]h&]uh1jhj;hhhhhNubj)}(hInterrupt remapping controllerh]h)}(hjWh]hInterrupt remapping controller}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjUubah}(h]h ]h"]h$]h&]uh1jhj;hhhhhNubj)}(hLocal APIC controller h]h)}(hLocal APIC controllerh]hLocal APIC controller}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjlubah}(h]h ]h"]h$]h&]uh1jhj;hhhhhNubeh}(h]h ]h"]h$]h&]enumtypearabicprefixhsuffix)uh1j9hjhhhhhKubh)}(hXTo support such a hardware topology and make software architecture match hardware architecture, an irq_domain data structure is built for each interrupt controller and those irq_domains are organized into hierarchy. When building irq_domain hierarchy, the irq_domain near to the device is child and the irq_domain near to CPU is parent. So a hierarchy structure as below will be built for the example above::h]hXTo support such a hardware topology and make software architecture match hardware architecture, an irq_domain data structure is built for each interrupt controller and those irq_domains are organized into hierarchy. When building irq_domain hierarchy, the irq_domain near to the device is child and the irq_domain near to CPU is parent. So a hierarchy structure as below will be built for the example above:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubj)}(hCPU Vector irq_domain (root irq_domain to manage CPU vectors) ^ | Interrupt Remapping irq_domain (manage irq_remapping entries) ^ | IOAPIC irq_domain (manage IOAPIC delivery entries/pins)h]hCPU Vector irq_domain (root irq_domain to manage CPU vectors) ^ | Interrupt Remapping irq_domain (manage irq_remapping entries) ^ | IOAPIC irq_domain (manage IOAPIC delivery entries/pins)}hjsbah}(h]h ]h"]h$]h&]jjuh1jhhhKhjhhubh)}(hhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj8hK#hj;ubah}(h]h ]h"]h$]h&]uh1j9hjubeh}(h]h ]h"]h$]h&]uh1jhj8hK#hjubj)}(h5``param_count`` Number of device-specific parameters h](j )}(h``param_count``h]jc)}(hj^h]h param_count}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj\ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhK$hjXubj:)}(hhh]h)}(h$Number of device-specific parametersh]h$Number of device-specific parameters}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjshK$hjtubah}(h]h ]h"]h$]h&]uh1j9hjXubeh}(h]h ]h"]h$]h&]uh1jhjshK$hjubj)}(h$``param`` Device-specific parametersh](j )}(h ``param``h]jc)}(hjh]hparam}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhK$hjubj:)}(hhh]h)}(hDevice-specific parametersh]hDevice-specific parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhK%hjubah}(h]h ]h"]h$]h&]uh1j9hjubeh}(h]h ]h"]h$]h&]uh1jhjhK$hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhK(hj hhubh)}(hvThis structure, directly modeled after of_phandle_args, is used to pass a device-specific description of an interrupt.h]hvThis structure, directly modeled after of_phandle_args, is used to pass a device-specific description of an interrupt.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhK&hj hhubj+)}(hhh]h}(h]h ]h"]h$]h&]entries](j7irq_domain_ops (C struct)c.irq_domain_opshNtauh1j*hj hhhNhNubj<)}(hhh](jA)}(hirq_domain_opsh]jG)}(hstruct irq_domain_opsh](jM)}(hjPh]hstruct}(hj hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhj hhhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhK,ubj_)}(h h]h }(hj& hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj hhhj% hK,ubjp)}(hirq_domain_opsh]jv)}(hj h]hirq_domain_ops}(hj8 hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj4 ubah}(h]h ](jjeh"]h$]h&]jjuh1johj hhhj% hK,ubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhj hhhj% hK,ubah}(h]j ah ](jjeh"]h$]h&]jj)jhuh1j@hj% hK,hj hhubj)}(hhh]h)}(hMethods for irq_domain objectsh]hMethods for irq_domain objects}(hjZ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhK4hjW hhubah}(h]h ]h"]h$]h&]uh1jhj hhhj% hK,ubeh}(h]h ](jostructeh"]h$]h&]jjojjr jjr jjjuh1j;hhhj hNhNubj)}(hX **Definition**:: struct irq_domain_ops { int (*match)(struct irq_domain *d, struct device_node *node, enum irq_domain_bus_token bus_token); int (*select)(struct irq_domain *d, struct irq_fwspec *fwspec, enum irq_domain_bus_token bus_token); int (*map)(struct irq_domain *d, unsigned int virq, irq_hw_number_t hw); void (*unmap)(struct irq_domain *d, unsigned int virq); int (*xlate)(struct irq_domain *d, struct device_node *node,const u32 *intspec, unsigned int intsize, unsigned long *out_hwirq, unsigned int *out_type); #ifdef CONFIG_IRQ_DOMAIN_HIERARCHY; int (*alloc)(struct irq_domain *d, unsigned int virq, unsigned int nr_irqs, void *arg); void (*free)(struct irq_domain *d, unsigned int virq, unsigned int nr_irqs); int (*activate)(struct irq_domain *d, struct irq_data *irqd, bool reserve); void (*deactivate)(struct irq_domain *d, struct irq_data *irq_data); int (*translate)(struct irq_domain *d, struct irq_fwspec *fwspec, unsigned long *out_hwirq, unsigned int *out_type); #endif; #ifdef CONFIG_GENERIC_IRQ_DEBUGFS; void (*debug_show)(struct seq_file *m, struct irq_domain *d, struct irq_data *irqd, int ind); #endif; }; **Members** ``match`` Match an interrupt controller device node to a domain, returns 1 on a match ``select`` Match an interrupt controller fw specification. It is more generic than **match** as it receives a complete struct irq_fwspec. Therefore, **select** is preferred if provided. Returns 1 on a match. ``map`` Create or update a mapping between a virtual irq number and a hw irq number. This is called only once for a given mapping. ``unmap`` Dispose of such a mapping ``xlate`` Given a device tree node and interrupt specifier, decode the hardware irq number and linux irq type value. ``alloc`` Allocate **nr_irqs** interrupts starting from **virq**. ``free`` Free **nr_irqs** interrupts starting from **virq**. ``activate`` Activate one interrupt in HW (**irqd**). If **reserve** is set, only reserve the vector. If unset, assign the vector (called from request_irq()). ``deactivate`` Disarm one interrupt (**irqd**). ``translate`` Given **fwspec**, decode the hardware irq number (**out_hwirq**) and linux irq type value (**out_type**). This is a generalised **xlate** (over struct irq_fwspec) and is preferred if provided. ``debug_show`` For domains to show specific data for an interrupt in debugfs.h](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj~ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjz ubh:}(hjz hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhK8hjv ubj)}(hXstruct irq_domain_ops { int (*match)(struct irq_domain *d, struct device_node *node, enum irq_domain_bus_token bus_token); int (*select)(struct irq_domain *d, struct irq_fwspec *fwspec, enum irq_domain_bus_token bus_token); int (*map)(struct irq_domain *d, unsigned int virq, irq_hw_number_t hw); void (*unmap)(struct irq_domain *d, unsigned int virq); int (*xlate)(struct irq_domain *d, struct device_node *node,const u32 *intspec, unsigned int intsize, unsigned long *out_hwirq, unsigned int *out_type); #ifdef CONFIG_IRQ_DOMAIN_HIERARCHY; int (*alloc)(struct irq_domain *d, unsigned int virq, unsigned int nr_irqs, void *arg); void (*free)(struct irq_domain *d, unsigned int virq, unsigned int nr_irqs); int (*activate)(struct irq_domain *d, struct irq_data *irqd, bool reserve); void (*deactivate)(struct irq_domain *d, struct irq_data *irq_data); int (*translate)(struct irq_domain *d, struct irq_fwspec *fwspec, unsigned long *out_hwirq, unsigned int *out_type); #endif; #ifdef CONFIG_GENERIC_IRQ_DEBUGFS; void (*debug_show)(struct seq_file *m, struct irq_domain *d, struct irq_data *irqd, int ind); #endif; };h]hXstruct irq_domain_ops { int (*match)(struct irq_domain *d, struct device_node *node, enum irq_domain_bus_token bus_token); int (*select)(struct irq_domain *d, struct irq_fwspec *fwspec, enum irq_domain_bus_token bus_token); int (*map)(struct irq_domain *d, unsigned int virq, irq_hw_number_t hw); void (*unmap)(struct irq_domain *d, unsigned int virq); int (*xlate)(struct irq_domain *d, struct device_node *node,const u32 *intspec, unsigned int intsize, unsigned long *out_hwirq, unsigned int *out_type); #ifdef CONFIG_IRQ_DOMAIN_HIERARCHY; int (*alloc)(struct irq_domain *d, unsigned int virq, unsigned int nr_irqs, void *arg); void (*free)(struct irq_domain *d, unsigned int virq, unsigned int nr_irqs); int (*activate)(struct irq_domain *d, struct irq_data *irqd, bool reserve); void (*deactivate)(struct irq_domain *d, struct irq_data *irq_data); int (*translate)(struct irq_domain *d, struct irq_fwspec *fwspec, unsigned long *out_hwirq, unsigned int *out_type); #endif; #ifdef CONFIG_GENERIC_IRQ_DEBUGFS; void (*debug_show)(struct seq_file *m, struct irq_domain *d, struct irq_data *irqd, int ind); #endif; };}hj sbah}(h]h ]h"]h$]h&]jjuh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhK:hjv ubh)}(h **Members**h]j)}(hj h]hMembers}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKLhjv ubj)}(hhh](j)}(hV``match`` Match an interrupt controller device node to a domain, returns 1 on a match h](j )}(h ``match``h]jc)}(hj h]hmatch}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhK7hj ubj:)}(hhh]h)}(hKMatch an interrupt controller device node to a domain, returns 1 on a matchh]hKMatch an interrupt controller device node to a domain, returns 1 on a match}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhK6hj ubah}(h]h ]h"]h$]h&]uh1j9hj ubeh}(h]h ]h"]h$]h&]uh1jhj hK7hj ubj)}(h``select`` Match an interrupt controller fw specification. It is more generic than **match** as it receives a complete struct irq_fwspec. Therefore, **select** is preferred if provided. Returns 1 on a match. h](j )}(h ``select``h]jc)}(hj h]hselect}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhK:hj ubj:)}(hhh]h)}(hMatch an interrupt controller fw specification. It is more generic than **match** as it receives a complete struct irq_fwspec. Therefore, **select** is preferred if provided. Returns 1 on a match.h](hHMatch an interrupt controller fw specification. It is more generic than }(hj hhhNhNubj)}(h **match**h]hmatch}(hj" hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh9 as it receives a complete struct irq_fwspec. Therefore, }(hj hhhNhNubj)}(h **select**h]hselect}(hj4 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh0 is preferred if provided. Returns 1 on a match.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhK8hj ubah}(h]h ]h"]h$]h&]uh1j9hj ubeh}(h]h ]h"]h$]h&]uh1jhj hK:hj ubj)}(h``map`` Create or update a mapping between a virtual irq number and a hw irq number. This is called only once for a given mapping. h](j )}(h``map``h]jc)}(hj_ h]hmap}(hja hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj] ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKhj ubah}(h]h ]h"]h$]h&]uh1j9hj ubeh}(h]h ]h"]h$]h&]uh1jhj hK?hj ubj)}(hB``alloc`` Allocate **nr_irqs** interrupts starting from **virq**. h](j )}(h ``alloc``h]jc)}(hj h]halloc}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhK@hj ubj:)}(hhh]h)}(h7Allocate **nr_irqs** interrupts starting from **virq**.h](h Allocate }(hj% hhhNhNubj)}(h **nr_irqs**h]hnr_irqs}(hj- hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj% ubh interrupts starting from }(hj% hhhNhNubj)}(h**virq**h]hvirq}(hj? hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj% ubh.}(hj% hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj! hK@hj" ubah}(h]h ]h"]h$]h&]uh1j9hj ubeh}(h]h ]h"]h$]h&]uh1jhj! hK@hj ubj)}(h=``free`` Free **nr_irqs** interrupts starting from **virq**. h](j )}(h``free``h]jc)}(hji h]hfree}(hjk hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjg ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKAhjc ubj:)}(hhh]h)}(h3Free **nr_irqs** interrupts starting from **virq**.h](hFree }(hj hhhNhNubj)}(h **nr_irqs**h]hnr_irqs}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh interrupts starting from }(hj hhhNhNubj)}(h**virq**h]hvirq}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj~ hKAhj ubah}(h]h ]h"]h$]h&]uh1j9hjc ubeh}(h]h ]h"]h$]h&]uh1jhj~ hKAhj ubj)}(h``activate`` Activate one interrupt in HW (**irqd**). If **reserve** is set, only reserve the vector. If unset, assign the vector (called from request_irq()). h](j )}(h ``activate``h]jc)}(hj h]hactivate}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKDhj ubj:)}(hhh]h)}(hActivate one interrupt in HW (**irqd**). If **reserve** is set, only reserve the vector. If unset, assign the vector (called from request_irq()).h](hActivate one interrupt in HW (}(hj hhhNhNubj)}(h**irqd**h]hirqd}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh). If }(hj hhhNhNubj)}(h **reserve**h]hreserve}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhZ is set, only reserve the vector. If unset, assign the vector (called from request_irq()).}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKBhj ubah}(h]h ]h"]h$]h&]uh1j9hj ubeh}(h]h ]h"]h$]h&]uh1jhj hKDhj ubj)}(h0``deactivate`` Disarm one interrupt (**irqd**). h](j )}(h``deactivate``h]jc)}(hj$ h]h deactivate}(hj& hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj" ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKEhj ubj:)}(hhh]h)}(h Disarm one interrupt (**irqd**).h](hDisarm one interrupt (}(hj= hhhNhNubj)}(h**irqd**h]hirqd}(hjE hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj= ubh).}(hj= hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhj9 hKEhj: ubah}(h]h ]h"]h$]h&]uh1j9hj ubeh}(h]h ]h"]h$]h&]uh1jhj9 hKEhj ubj)}(h``translate`` Given **fwspec**, decode the hardware irq number (**out_hwirq**) and linux irq type value (**out_type**). This is a generalised **xlate** (over struct irq_fwspec) and is preferred if provided. h](j )}(h ``translate``h]jc)}(hjo h]h translate}(hjq hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjm ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKHhji ubj:)}(hhh]h)}(hGiven **fwspec**, decode the hardware irq number (**out_hwirq**) and linux irq type value (**out_type**). This is a generalised **xlate** (over struct irq_fwspec) and is preferred if provided.h](hGiven }(hj hhhNhNubj)}(h **fwspec**h]hfwspec}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh", decode the hardware irq number (}(hj hhhNhNubj)}(h **out_hwirq**h]h out_hwirq}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh) and linux irq type value (}(hj hhhNhNubj)}(h **out_type**h]hout_type}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh). This is a generalised }(hj hhhNhNubj)}(h **xlate**h]hxlate}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh7 (over struct irq_fwspec) and is preferred if provided.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKFhj ubah}(h]h ]h"]h$]h&]uh1j9hji ubeh}(h]h ]h"]h$]h&]uh1jhj hKHhj ubj)}(hM``debug_show`` For domains to show specific data for an interrupt in debugfs.h](j )}(h``debug_show``h]jc)}(hj h]h debug_show}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKHhj ubj:)}(hhh]h)}(h>For domains to show specific data for an interrupt in debugfs.h]h>For domains to show specific data for an interrupt in debugfs.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKIhj ubah}(h]h ]h"]h$]h&]uh1j9hj ubeh}(h]h ]h"]h$]h&]uh1jhj hKHhj ubeh}(h]h ]h"]h$]h&]uh1jhjv ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubh)}(h**Description**h]j)}(hj4 h]h Description}(hj6 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2 ubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKLhj hhubh)}(hXFunctions below are provided by the driver and called whenever a new mapping is created or an old mapping is disposed. The driver can then proceed to whatever internal data structures management is required. It also needs to setup the irq_desc when returning from map().h]hXFunctions below are provided by the driver and called whenever a new mapping is created or an old mapping is disposed. The driver can then proceed to whatever internal data structures management is required. It also needs to setup the irq_desc when returning from map().}(hjJ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKJhj hhubj+)}(hhh]h}(h]h ]h"]h$]h&]entries](j7irq_domain (C struct) c.irq_domainhNtauh1j*hj hhhNhNubj<)}(hhh](jA)}(h irq_domainh]jG)}(hstruct irq_domainh](jM)}(hjPh]hstruct}(hjr hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjn hhhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKRubj_)}(h h]h }(hj hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjn hhhj hKRubjp)}(h irq_domainh]jv)}(hjl h]h irq_domain}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj ubah}(h]h ](jjeh"]h$]h&]jjuh1johjn hhhj hKRubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhjj hhhj hKRubah}(h]je ah ](jjeh"]h$]h&]jj)jhuh1j@hj hKRhjg hhubj)}(hhh]h)}(h,Hardware interrupt number translation objecth]h,Hardware interrupt number translation object}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKohj hhubah}(h]h ]h"]h$]h&]uh1jhjg hhhj hKRubeh}(h]h ](jostructeh"]h$]h&]jjojj jj jjjuh1j;hhhj hNhNubj)}(hX **Definition**:: struct irq_domain { struct list_head link; const char *name; const struct irq_domain_ops *ops; void *host_data; unsigned int flags; unsigned int mapcount; struct mutex mutex; struct irq_domain *root; struct fwnode_handle *fwnode; enum irq_domain_bus_token bus_token; struct irq_domain_chip_generic *gc; struct device *dev; struct device *pm_dev; #ifdef CONFIG_IRQ_DOMAIN_HIERARCHY; struct irq_domain *parent; #endif; #ifdef CONFIG_GENERIC_MSI_IRQ; const struct msi_parent_ops *msi_parent_ops; #endif; void (*exit)(struct irq_domain *d); irq_hw_number_t hwirq_max; unsigned int revmap_size; struct radix_tree_root revmap_tree; struct irq_data __rcu *revmap[] ; }; **Members** ``link`` Element in global irq_domain list. ``name`` Name of interrupt domain ``ops`` Pointer to irq_domain methods ``host_data`` Private data pointer for use by owner. Not touched by irq_domain core code. ``flags`` Per irq_domain flags ``mapcount`` The number of mapped interrupts ``mutex`` Domain lock, hierarchical domains use root domain's lock ``root`` Pointer to root domain, or containing structure if non-hierarchical ``fwnode`` Pointer to firmware node associated with the irq_domain. Pretty easy to swap it for the of_node via the irq_domain_get_of_node accessor ``bus_token`` **fwnode**'s device_node might be used for several irq domains. But in connection with **bus_token**, the pair shall be unique in a system. ``gc`` Pointer to a list of generic chips. There is a helper function for setting up one or more generic chips for interrupt controllers drivers using the generic chip library which uses this pointer. ``dev`` Pointer to the device which instantiated the irqdomain With per device irq domains this is not necessarily the same as **pm_dev**. ``pm_dev`` Pointer to a device that can be utilized for power management purposes related to the irq domain. ``parent`` Pointer to parent irq_domain to support hierarchy irq_domains ``msi_parent_ops`` Pointer to MSI parent domain methods for per device domain init ``exit`` Function called when the domain is destroyed ``hwirq_max`` Top limit for the HW irq number. Especially to avoid conflicts/failures with reserved HW irqs. Can be ~0. ``revmap_size`` Size of the linear map table **revmap** ``revmap_tree`` Radix map tree for hwirqs that don't fit in the linear map ``revmap`` Linear table of irq_data pointersh](h)}(h**Definition**::h](j)}(h**Definition**h]h Definition}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh:}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKshj ubj)}(hXstruct irq_domain { struct list_head link; const char *name; const struct irq_domain_ops *ops; void *host_data; unsigned int flags; unsigned int mapcount; struct mutex mutex; struct irq_domain *root; struct fwnode_handle *fwnode; enum irq_domain_bus_token bus_token; struct irq_domain_chip_generic *gc; struct device *dev; struct device *pm_dev; #ifdef CONFIG_IRQ_DOMAIN_HIERARCHY; struct irq_domain *parent; #endif; #ifdef CONFIG_GENERIC_MSI_IRQ; const struct msi_parent_ops *msi_parent_ops; #endif; void (*exit)(struct irq_domain *d); irq_hw_number_t hwirq_max; unsigned int revmap_size; struct radix_tree_root revmap_tree; struct irq_data __rcu *revmap[] ; };h]hXstruct irq_domain { struct list_head link; const char *name; const struct irq_domain_ops *ops; void *host_data; unsigned int flags; unsigned int mapcount; struct mutex mutex; struct irq_domain *root; struct fwnode_handle *fwnode; enum irq_domain_bus_token bus_token; struct irq_domain_chip_generic *gc; struct device *dev; struct device *pm_dev; #ifdef CONFIG_IRQ_DOMAIN_HIERARCHY; struct irq_domain *parent; #endif; #ifdef CONFIG_GENERIC_MSI_IRQ; const struct msi_parent_ops *msi_parent_ops; #endif; void (*exit)(struct irq_domain *d); irq_hw_number_t hwirq_max; unsigned int revmap_size; struct radix_tree_root revmap_tree; struct irq_data __rcu *revmap[] ; };}hj sbah}(h]h ]h"]h$]h&]jjuh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKuhj ubh)}(h **Members**h]j)}(hjh]hMembers}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKhj ubj)}(hhh](j)}(h,``link`` Element in global irq_domain list. h](j )}(h``link``h]jc)}(hj!h]hlink}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKqhjubj:)}(hhh]h)}(h"Element in global irq_domain list.h]h"Element in global irq_domain list.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6hKqhj7ubah}(h]h ]h"]h$]h&]uh1j9hjubeh}(h]h ]h"]h$]h&]uh1jhj6hKqhjubj)}(h"``name`` Name of interrupt domain h](j )}(h``name``h]jc)}(hjZh]hname}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjXubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKrhjTubj:)}(hhh]h)}(hName of interrupt domainh]hName of interrupt domain}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhjohKrhjpubah}(h]h ]h"]h$]h&]uh1j9hjTubeh}(h]h ]h"]h$]h&]uh1jhjohKrhjubj)}(h&``ops`` Pointer to irq_domain methods h](j )}(h``ops``h]jc)}(hjh]hops}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKshjubj:)}(hhh]h)}(hPointer to irq_domain methodsh]hPointer to irq_domain methods}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKshjubah}(h]h ]h"]h$]h&]uh1j9hjubeh}(h]h ]h"]h$]h&]uh1jhjhKshjubj)}(h[``host_data`` Private data pointer for use by owner. Not touched by irq_domain core code. h](j )}(h ``host_data``h]jc)}(hjh]h host_data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKuhjubj:)}(hhh]h)}(hLPrivate data pointer for use by owner. Not touched by irq_domain core code.h]hLPrivate data pointer for use by owner. Not touched by irq_domain core code.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKthjubah}(h]h ]h"]h$]h&]uh1j9hjubeh}(h]h ]h"]h$]h&]uh1jhjhKuhjubj)}(h``flags`` Per irq_domain flags h](j )}(h ``flags``h]jc)}(hjh]hflags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKvhjubj:)}(hhh]h)}(hPer irq_domain flagsh]hPer irq_domain flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKvhjubah}(h]h ]h"]h$]h&]uh1j9hjubeh}(h]h ]h"]h$]h&]uh1jhjhKvhjubj)}(h-``mapcount`` The number of mapped interrupts h](j )}(h ``mapcount``h]jc)}(hj?h]hmapcount}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj=ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKwhj9ubj:)}(hhh]h)}(hThe number of mapped interruptsh]hThe number of mapped interrupts}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThKwhjUubah}(h]h ]h"]h$]h&]uh1j9hj9ubeh}(h]h ]h"]h$]h&]uh1jhjThKwhjubj)}(hC``mutex`` Domain lock, hierarchical domains use root domain's lock h](j )}(h ``mutex``h]jc)}(hjxh]hmutex}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjvubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKxhjrubj:)}(hhh]h)}(h8Domain lock, hierarchical domains use root domain's lockh]h:Domain lock, hierarchical domains use root domain’s lock}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKxhjubah}(h]h ]h"]h$]h&]uh1j9hjrubeh}(h]h ]h"]h$]h&]uh1jhjhKxhjubj)}(hM``root`` Pointer to root domain, or containing structure if non-hierarchical h](j )}(h``root``h]jc)}(hjh]hroot}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKyhjubj:)}(hhh]h)}(hCPointer to root domain, or containing structure if non-hierarchicalh]hCPointer to root domain, or containing structure if non-hierarchical}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKyhjubah}(h]h ]h"]h$]h&]uh1j9hjubeh}(h]h ]h"]h$]h&]uh1jhjhKyhjubj)}(h``fwnode`` Pointer to firmware node associated with the irq_domain. Pretty easy to swap it for the of_node via the irq_domain_get_of_node accessor h](j )}(h ``fwnode``h]jc)}(hjh]hfwnode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhK}hjubj:)}(hhh]h)}(hPointer to firmware node associated with the irq_domain. Pretty easy to swap it for the of_node via the irq_domain_get_of_node accessorh]hPointer to firmware node associated with the irq_domain. Pretty easy to swap it for the of_node via the irq_domain_get_of_node accessor}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhK|hjubah}(h]h ]h"]h$]h&]uh1j9hjubeh}(h]h ]h"]h$]h&]uh1jhjhK}hjubj)}(h``bus_token`` **fwnode**'s device_node might be used for several irq domains. But in connection with **bus_token**, the pair shall be unique in a system. h](j )}(h ``bus_token``h]jc)}(hj$h]h bus_token}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj"ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKhjubj:)}(hhh]h)}(h**fwnode**'s device_node might be used for several irq domains. But in connection with **bus_token**, the pair shall be unique in a system.h](j)}(h **fwnode**h]hfwnode}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubhO’s device_node might be used for several irq domains. But in connection with }(hj=hhhNhNubj)}(h **bus_token**h]h bus_token}(hjShhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubh', the pair shall be unique in a system.}(hj=hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhK~hj:ubah}(h]h ]h"]h$]h&]uh1j9hjubeh}(h]h ]h"]h$]h&]uh1jhj9hKhjubj)}(h``gc`` Pointer to a list of generic chips. There is a helper function for setting up one or more generic chips for interrupt controllers drivers using the generic chip library which uses this pointer. h](j )}(h``gc``h]jc)}(hj~h]hgc}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj|ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKhjxubj:)}(hhh]h)}(hPointer to a list of generic chips. There is a helper function for setting up one or more generic chips for interrupt controllers drivers using the generic chip library which uses this pointer.h]hPointer to a list of generic chips. There is a helper function for setting up one or more generic chips for interrupt controllers drivers using the generic chip library which uses this pointer.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKhjubah}(h]h ]h"]h$]h&]uh1j9hjxubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h``dev`` Pointer to the device which instantiated the irqdomain With per device irq domains this is not necessarily the same as **pm_dev**. h](j )}(h``dev``h]jc)}(hjh]hdev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKhjubj:)}(hhh]h)}(hPointer to the device which instantiated the irqdomain With per device irq domains this is not necessarily the same as **pm_dev**.h](hwPointer to the device which instantiated the irqdomain With per device irq domains this is not necessarily the same as }(hjhhhNhNubj)}(h **pm_dev**h]hpm_dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKhjubah}(h]h ]h"]h$]h&]uh1j9hjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hm``pm_dev`` Pointer to a device that can be utilized for power management purposes related to the irq domain. h](j )}(h ``pm_dev``h]jc)}(hjh]hpm_dev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKhjubj:)}(hhh]h)}(haPointer to a device that can be utilized for power management purposes related to the irq domain.h]haPointer to a device that can be utilized for power management purposes related to the irq domain.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKhjubah}(h]h ]h"]h$]h&]uh1j9hjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hI``parent`` Pointer to parent irq_domain to support hierarchy irq_domains h](j )}(h ``parent``h]jc)}(hj>h]hparent}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj<ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKhj8ubj:)}(hhh]h)}(h=Pointer to parent irq_domain to support hierarchy irq_domainsh]h=Pointer to parent irq_domain to support hierarchy irq_domains}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjShKhjTubah}(h]h ]h"]h$]h&]uh1j9hj8ubeh}(h]h ]h"]h$]h&]uh1jhjShKhjubj)}(hS``msi_parent_ops`` Pointer to MSI parent domain methods for per device domain init h](j )}(h``msi_parent_ops``h]jc)}(hjwh]hmsi_parent_ops}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjuubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKhjqubj:)}(hhh]h)}(h?Pointer to MSI parent domain methods for per device domain inith]h?Pointer to MSI parent domain methods for per device domain init}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1j9hjqubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h6``exit`` Function called when the domain is destroyed h](j )}(h``exit``h]jc)}(hjh]hexit}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKhjubj:)}(hhh]h)}(h,Function called when the domain is destroyedh]h,Function called when the domain is destroyed}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhKhjubah}(h]h ]h"]h$]h&]uh1j9hjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(hx``hwirq_max`` Top limit for the HW irq number. Especially to avoid conflicts/failures with reserved HW irqs. Can be ~0. h](j )}(h ``hwirq_max``h]jc)}(hjh]h hwirq_max}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKhjubj:)}(hhh]h)}(hiTop limit for the HW irq number. Especially to avoid conflicts/failures with reserved HW irqs. Can be ~0.h]hiTop limit for the HW irq number. Especially to avoid conflicts/failures with reserved HW irqs. Can be ~0.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKhjubah}(h]h ]h"]h$]h&]uh1j9hjubeh}(h]h ]h"]h$]h&]uh1jhjhKhjubj)}(h8``revmap_size`` Size of the linear map table **revmap** h](j )}(h``revmap_size``h]jc)}(hj#h]h revmap_size}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj!ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKhjubj:)}(hhh]h)}(h'Size of the linear map table **revmap**h](hSize of the linear map table }(hj<hhhNhNubj)}(h **revmap**h]hrevmap}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1hhj8hKhj9ubah}(h]h ]h"]h$]h&]uh1j9hjubeh}(h]h ]h"]h$]h&]uh1jhj8hKhjubj)}(hK``revmap_tree`` Radix map tree for hwirqs that don't fit in the linear map h](j )}(h``revmap_tree``h]jc)}(hjjh]h revmap_tree}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjhubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhKhjdubj:)}(hhh]h)}(h:Radix map tree for hwirqs that don't fit in the linear maph]h#ubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjC#modnameN classnameNjj)}j]j!c.irq_domain_create_hierarchyasbuh1hhj#ubj_)}(h h]h }(hj_#hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj#ubj)}(hjh]h*}(hjm#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubjv)}(hfwnodeh]hfwnode}(hjz#hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj#ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj "ubj)}(h const struct irq_domain_ops *opsh](jM)}(hjh]hconst}(hj#hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhj#ubj_)}(h h]h }(hj#hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj#ubjM)}(hjPh]hstruct}(hj#hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhj#ubj_)}(h h]h }(hj#hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj#ubh)}(hhh]jv)}(hirq_domain_opsh]hirq_domain_ops}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj#ubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetj#modnameN classnameNjj)}j]j!c.irq_domain_create_hierarchyasbuh1hhj#ubj_)}(h h]h }(hj#hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj#ubj)}(hjh]h*}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubjv)}(hopsh]hops}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj#ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj "ubj)}(hvoid *host_datah](jJ)}(hvoidh]hvoid}(hj$hhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhj$ubj_)}(h h]h }(hj,$hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj$ubj)}(hjh]h*}(hj:$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$ubjv)}(h host_datah]h host_data}(hjG$hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj$ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj "ubeh}(h]h ]h"]h$]h&]jjuh1jhj!hhhj!hM ubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhj!hhhj!hM ubah}(h]j!ah ](jjeh"]h$]h&]jj)jhuh1j@hj!hM hj!hhubj)}(hhh]h)}(h"Add a irqdomain into the hierarchyh]h"Add a irqdomain into the hierarchy}(hjq$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhM hjn$hhubah}(h]h ]h"]h$]h&]uh1jhj!hhhj!hM ubeh}(h]h ](jofunctioneh"]h$]h&]jjojj$jj$jjjuh1j;hhhj hNhNubj)}(hX**Parameters** ``struct irq_domain *parent`` Parent irq domain to associate with the new domain ``unsigned int flags`` Irq domain flags associated to the domain ``unsigned int size`` Size of the domain. See below ``struct fwnode_handle *fwnode`` Optional fwnode of the interrupt controller ``const struct irq_domain_ops *ops`` Pointer to the interrupt domain callbacks ``void *host_data`` Controller private data pointer **Description** If **size** is 0 a tree domain is created, otherwise a linear domain. If successful the parent is associated to the new domain and the domain flags are set. **Return** A pointer to IRQ domain, or ``NULL`` on failure.h](h)}(h**Parameters**h]j)}(hj$h]h Parameters}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhMhj$ubj)}(hhh](j)}(hQ``struct irq_domain *parent`` Parent irq domain to associate with the new domain h](j )}(h``struct irq_domain *parent``h]jc)}(hj$h]hstruct irq_domain *parent}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj$ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhMhj$ubj:)}(hhh]h)}(h2Parent irq domain to associate with the new domainh]h2Parent irq domain to associate with the new domain}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj$hMhj$ubah}(h]h ]h"]h$]h&]uh1j9hj$ubeh}(h]h ]h"]h$]h&]uh1jhj$hMhj$ubj)}(hA``unsigned int flags`` Irq domain flags associated to the domain h](j )}(h``unsigned int flags``h]jc)}(hj$h]hunsigned int flags}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj$ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhMhj$ubj:)}(hhh]h)}(h)Irq domain flags associated to the domainh]h)Irq domain flags associated to the domain}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%hMhj%ubah}(h]h ]h"]h$]h&]uh1j9hj$ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhj$ubj)}(h4``unsigned int size`` Size of the domain. See below h](j )}(h``unsigned int size``h]jc)}(hj$%h]hunsigned int size}(hj&%hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj"%ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhMhj%ubj:)}(hhh]h)}(hSize of the domain. See belowh]hSize of the domain. See below}(hj=%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj9%hMhj:%ubah}(h]h ]h"]h$]h&]uh1j9hj%ubeh}(h]h ]h"]h$]h&]uh1jhj9%hMhj$ubj)}(hM``struct fwnode_handle *fwnode`` Optional fwnode of the interrupt controller h](j )}(h ``struct fwnode_handle *fwnode``h]jc)}(hj]%h]hstruct fwnode_handle *fwnode}(hj_%hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj[%ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhMhjW%ubj:)}(hhh]h)}(h+Optional fwnode of the interrupt controllerh]h+Optional fwnode of the interrupt controller}(hjv%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjr%hMhjs%ubah}(h]h ]h"]h$]h&]uh1j9hjW%ubeh}(h]h ]h"]h$]h&]uh1jhjr%hMhj$ubj)}(hO``const struct irq_domain_ops *ops`` Pointer to the interrupt domain callbacks h](j )}(h$``const struct irq_domain_ops *ops``h]jc)}(hj%h]h const struct irq_domain_ops *ops}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj%ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhMhj%ubj:)}(hhh]h)}(h)Pointer to the interrupt domain callbacksh]h)Pointer to the interrupt domain callbacks}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%hMhj%ubah}(h]h ]h"]h$]h&]uh1j9hj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhj$ubj)}(h4``void *host_data`` Controller private data pointer h](j )}(h``void *host_data``h]jc)}(hj%h]hvoid *host_data}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj%ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhMhj%ubj:)}(hhh]h)}(hController private data pointerh]hController private data pointer}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%hMhj%ubah}(h]h ]h"]h$]h&]uh1j9hj%ubeh}(h]h ]h"]h$]h&]uh1jhj%hMhj$ubeh}(h]h ]h"]h$]h&]uh1jhj$ubh)}(h**Description**h]j)}(hj &h]h Description}(hj &hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhMhj$ubh)}(hEIf **size** is 0 a tree domain is created, otherwise a linear domain.h](hIf }(hj &hhhNhNubj)}(h**size**h]hsize}(hj(&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj &ubh: is 0 a tree domain is created, otherwise a linear domain.}(hj &hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhMhj$ubh)}(hVIf successful the parent is associated to the new domain and the domain flags are set.h]hVIf successful the parent is associated to the new domain and the domain flags are set.}(hjA&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhMhj$ubh)}(h **Return**h]j)}(hjR&h]hReturn}(hjT&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjP&ubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhMhj$ubh)}(h0A pointer to IRQ domain, or ``NULL`` on failure.h](hA pointer to IRQ domain, or }(hjh&hhhNhNubjc)}(h``NULL``h]hNULL}(hjp&hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjh&ubh on failure.}(hjh&hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhMhj$ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubj+)}(hhh]h}(h]h ]h"]h$]h&]entries](j7"irq_domain_alloc_irqs (C function)c.irq_domain_alloc_irqshNtauh1j*hj hhhNhNubj<)}(hhh](jA)}(h`int irq_domain_alloc_irqs (struct irq_domain *domain, unsigned int nr_irqs, int node, void *arg)h]jG)}(h_int irq_domain_alloc_irqs(struct irq_domain *domain, unsigned int nr_irqs, int node, void *arg)h](jJ)}(hinth]hint}(hj&hhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhj&hhhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhM8ubj_)}(h h]h }(hj&hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj&hhhj&hM8ubjp)}(hirq_domain_alloc_irqsh]jv)}(hirq_domain_alloc_irqsh]hirq_domain_alloc_irqs}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj&ubah}(h]h ](jjeh"]h$]h&]jjuh1johj&hhhj&hM8ubj)}(hF(struct irq_domain *domain, unsigned int nr_irqs, int node, void *arg)h](j)}(hstruct irq_domain *domainh](jM)}(hjPh]hstruct}(hj&hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhj&ubj_)}(h h]h }(hj&hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj&ubh)}(hhh]jv)}(h irq_domainh]h irq_domain}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj'ubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetj'modnameN classnameNjj)}j]j)}jj&sbc.irq_domain_alloc_irqsasbuh1hhj&ubj_)}(h h]h }(hj$'hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj&ubj)}(hjh]h*}(hj2'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&ubjv)}(hdomainh]hdomain}(hj?'hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj&ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj&ubj)}(hunsigned int nr_irqsh](jJ)}(hunsignedh]hunsigned}(hjX'hhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjT'ubj_)}(h h]h }(hjf'hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjT'ubjJ)}(hinth]hint}(hjt'hhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjT'ubj_)}(h h]h }(hj'hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjT'ubjv)}(hnr_irqsh]hnr_irqs}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjT'ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj&ubj)}(hint nodeh](jJ)}(hinth]hint}(hj'hhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhj'ubj_)}(h h]h }(hj'hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj'ubjv)}(hnodeh]hnode}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj'ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj&ubj)}(h void *argh](jJ)}(hvoidh]hvoid}(hj'hhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhj'ubj_)}(h h]h }(hj'hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj'ubj)}(hjh]h*}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubjv)}(hargh]harg}(hj(hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj'ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj&ubeh}(h]h ]h"]h$]h&]jjuh1jhj&hhhj&hM8ubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhj&hhhj&hM8ubah}(h]j&ah ](jjeh"]h$]h&]jj)jhuh1j@hj&hM8hj&hhubj)}(hhh]h)}(hAllocate IRQs from domainh]hAllocate IRQs from domain}(hj1(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhM8hj.(hhubah}(h]h ]h"]h$]h&]uh1jhj&hhhj&hM8ubeh}(h]h ](jofunctioneh"]h$]h&]jjojjI(jjI(jjjuh1j;hhhj hNhNubj)}(hX**Parameters** ``struct irq_domain *domain`` domain to allocate from ``unsigned int nr_irqs`` number of IRQs to allocate ``int node`` NUMA node id for memory allocation ``void *arg`` domain specific argument **Description** See __irq_domain_alloc_irqs()' documentation.h](h)}(h**Parameters**h]j)}(hjS(h]h Parameters}(hjU(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQ(ubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhM<hjM(ubj)}(hhh](j)}(h6``struct irq_domain *domain`` domain to allocate from h](j )}(h``struct irq_domain *domain``h]jc)}(hjr(h]hstruct irq_domain *domain}(hjt(hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjp(ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhM9hjl(ubj:)}(hhh]h)}(hdomain to allocate fromh]hdomain to allocate from}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(hM9hj(ubah}(h]h ]h"]h$]h&]uh1j9hjl(ubeh}(h]h ]h"]h$]h&]uh1jhj(hM9hji(ubj)}(h4``unsigned int nr_irqs`` number of IRQs to allocate h](j )}(h``unsigned int nr_irqs``h]jc)}(hj(h]hunsigned int nr_irqs}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj(ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhM:hj(ubj:)}(hhh]h)}(hnumber of IRQs to allocateh]hnumber of IRQs to allocate}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(hM:hj(ubah}(h]h ]h"]h$]h&]uh1j9hj(ubeh}(h]h ]h"]h$]h&]uh1jhj(hM:hji(ubj)}(h0``int node`` NUMA node id for memory allocation h](j )}(h ``int node``h]jc)}(hj(h]hint node}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj(ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhM;hj(ubj:)}(hhh]h)}(h"NUMA node id for memory allocationh]h"NUMA node id for memory allocation}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(hM;hj(ubah}(h]h ]h"]h$]h&]uh1j9hj(ubeh}(h]h ]h"]h$]h&]uh1jhj(hM;hji(ubj)}(h'``void *arg`` domain specific argument h](j )}(h ``void *arg``h]jc)}(hj)h]h void *arg}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj)ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhM<hj)ubj:)}(hhh]h)}(hdomain specific argumenth]hdomain specific argument}(hj6)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2)hM<hj3)ubah}(h]h ]h"]h$]h&]uh1j9hj)ubeh}(h]h ]h"]h$]h&]uh1jhj2)hM<hji(ubeh}(h]h ]h"]h$]h&]uh1jhjM(ubh)}(h**Description**h]j)}(hjX)h]h Description}(hjZ)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV)ubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhM>hjM(ubh)}(h-See __irq_domain_alloc_irqs()' documentation.h]h/See __irq_domain_alloc_irqs()’ documentation.}(hjn)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhM>hjM(ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubj+)}(hhh]h}(h]h ]h"]h$]h&]entries](j7&__irq_domain_alloc_fwnode (C function)c.__irq_domain_alloc_fwnodehNtauh1j*hj hhhNhNubj<)}(hhh](jA)}(hostruct fwnode_handle * __irq_domain_alloc_fwnode (unsigned int type, int id, const char *name, phys_addr_t *pa)h]jG)}(hmstruct fwnode_handle *__irq_domain_alloc_fwnode(unsigned int type, int id, const char *name, phys_addr_t *pa)h](jM)}(hjPh]hstruct}(hj)hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhj)hhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chK>ubj_)}(h h]h }(hj)hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj)hhhj)hK>ubh)}(hhh]jv)}(h fwnode_handleh]h fwnode_handle}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj)ubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetj)modnameN classnameNjj)}j]j)}j__irq_domain_alloc_fwnodesbc.__irq_domain_alloc_fwnodeasbuh1hhj)hhhj)hK>ubj_)}(h h]h }(hj)hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj)hhhj)hK>ubj)}(hjh]h*}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)hhhj)hK>ubjp)}(h__irq_domain_alloc_fwnodeh]jv)}(hj)h]h__irq_domain_alloc_fwnode}(hj)hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj)ubah}(h]h ](jjeh"]h$]h&]jjuh1johj)hhhj)hK>ubj)}(h>(unsigned int type, int id, const char *name, phys_addr_t *pa)h](j)}(hunsigned int typeh](jJ)}(hunsignedh]hunsigned}(hj*hhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhj*ubj_)}(h h]h }(hj%*hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj*ubjJ)}(hinth]hint}(hj3*hhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhj*ubj_)}(h h]h }(hjA*hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj*ubjv)}(htypeh]htype}(hjO*hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj*ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj*ubj)}(hint idh](jJ)}(hinth]hint}(hjh*hhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjd*ubj_)}(h h]h }(hjv*hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjd*ubjv)}(hidh]hid}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjd*ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj*ubj)}(hconst char *nameh](jM)}(hjh]hconst}(hj*hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhj*ubj_)}(h h]h }(hj*hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj*ubjJ)}(hcharh]hchar}(hj*hhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhj*ubj_)}(h h]h }(hj*hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj*ubj)}(hjh]h*}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubjv)}(hnameh]hname}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj*ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj*ubj)}(hphys_addr_t *pah](h)}(hhh]jv)}(h phys_addr_th]h phys_addr_t}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj*ubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetj*modnameN classnameNjj)}j]j)c.__irq_domain_alloc_fwnodeasbuh1hhj*ubj_)}(h h]h }(hj+hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj*ubj)}(hjh]h*}(hj)+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubjv)}(hpah]hpa}(hj6+hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj*ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj*ubeh}(h]h ]h"]h$]h&]jjuh1jhj)hhhj)hK>ubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhj)hhhj)hK>ubah}(h]j)ah ](jjeh"]h$]h&]jj)jhuh1j@hj)hK>hj)hhubj)}(hhh]h)}(h?Allocate a fwnode_handle suitable for identifying an irq domainh]h?Allocate a fwnode_handle suitable for identifying an irq domain}(hj`+hhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chK>hj]+hhubah}(h]h ]h"]h$]h&]uh1jhj)hhhj)hK>ubeh}(h]h ](jofunctioneh"]h$]h&]jjojjx+jjx+jjjuh1j;hhhj hNhNubj)}(hXc**Parameters** ``unsigned int type`` Type of irqchip_fwnode. See linux/irqdomain.h ``int id`` Optional user provided id if name != NULL ``const char *name`` Optional user provided domain name ``phys_addr_t *pa`` Optional user-provided physical address **Description** Allocate a struct irqchip_fwid, and return a pointer to the embedded fwnode_handle (or NULL on failure). **Note** The types IRQCHIP_FWNODE_NAMED and IRQCHIP_FWNODE_NAMED_ID are solely to transport name information to irqdomain creation code. The node is not stored. For other types the pointer is kept in the irq domain struct.h](h)}(h**Parameters**h]j)}(hj+h]h Parameters}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chKBhj|+ubj)}(hhh](j)}(hD``unsigned int type`` Type of irqchip_fwnode. See linux/irqdomain.h h](j )}(h``unsigned int type``h]jc)}(hj+h]hunsigned int type}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj+ubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chK@hj+ubj:)}(hhh]h)}(h-Type of irqchip_fwnode. See linux/irqdomain.hh]h-Type of irqchip_fwnode. See linux/irqdomain.h}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj+hK@hj+ubah}(h]h ]h"]h$]h&]uh1j9hj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hK@hj+ubj)}(h5``int id`` Optional user provided id if name != NULL h](j )}(h ``int id``h]jc)}(hj+h]hint id}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj+ubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chKAhj+ubj:)}(hhh]h)}(h)Optional user provided id if name != NULLh]h)Optional user provided id if name != NULL}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj+hKAhj+ubah}(h]h ]h"]h$]h&]uh1j9hj+ubeh}(h]h ]h"]h$]h&]uh1jhj+hKAhj+ubj)}(h8``const char *name`` Optional user provided domain name h](j )}(h``const char *name``h]jc)}(hj,h]hconst char *name}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj,ubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chKBhj ,ubj:)}(hhh]h)}(h"Optional user provided domain nameh]h"Optional user provided domain name}(hj,,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj(,hKBhj),ubah}(h]h ]h"]h$]h&]uh1j9hj ,ubeh}(h]h ]h"]h$]h&]uh1jhj(,hKBhj+ubj)}(h<``phys_addr_t *pa`` Optional user-provided physical address h](j )}(h``phys_addr_t *pa``h]jc)}(hjL,h]hphys_addr_t *pa}(hjN,hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjJ,ubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chKChjF,ubj:)}(hhh]h)}(h'Optional user-provided physical addressh]h'Optional user-provided physical address}(hje,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhja,hKChjb,ubah}(h]h ]h"]h$]h&]uh1j9hjF,ubeh}(h]h ]h"]h$]h&]uh1jhja,hKChj+ubeh}(h]h ]h"]h$]h&]uh1jhj|+ubh)}(h**Description**h]j)}(hj,h]h Description}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chKEhj|+ubh)}(hhAllocate a struct irqchip_fwid, and return a pointer to the embedded fwnode_handle (or NULL on failure).h]hhAllocate a struct irqchip_fwid, and return a pointer to the embedded fwnode_handle (or NULL on failure).}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chKEhj|+ubh)}(h**Note**h]j)}(hj,h]hNote}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chKHhj|+ubh)}(hThe types IRQCHIP_FWNODE_NAMED and IRQCHIP_FWNODE_NAMED_ID are solely to transport name information to irqdomain creation code. The node is not stored. For other types the pointer is kept in the irq domain struct.h]hThe types IRQCHIP_FWNODE_NAMED and IRQCHIP_FWNODE_NAMED_ID are solely to transport name information to irqdomain creation code. The node is not stored. For other types the pointer is kept in the irq domain struct.}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chKHhj|+ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubj+)}(hhh]h}(h]h ]h"]h$]h&]entries](j7#irq_domain_free_fwnode (C function)c.irq_domain_free_fwnodehNtauh1j*hj hhhNhNubj<)}(hhh](jA)}(h:void irq_domain_free_fwnode (struct fwnode_handle *fwnode)h]jG)}(h9void irq_domain_free_fwnode(struct fwnode_handle *fwnode)h](jJ)}(hvoidh]hvoid}(hj,hhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhj,hhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chKqubj_)}(h h]h }(hj-hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj,hhhj-hKqubjp)}(hirq_domain_free_fwnodeh]jv)}(hirq_domain_free_fwnodeh]hirq_domain_free_fwnode}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj-ubah}(h]h ](jjeh"]h$]h&]jjuh1johj,hhhj-hKqubj)}(h(struct fwnode_handle *fwnode)h]j)}(hstruct fwnode_handle *fwnodeh](jM)}(hjPh]hstruct}(hj0-hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhj,-ubj_)}(h h]h }(hj=-hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj,-ubh)}(hhh]jv)}(h fwnode_handleh]h fwnode_handle}(hjN-hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjK-ubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjP-modnameN classnameNjj)}j]j)}jj-sbc.irq_domain_free_fwnodeasbuh1hhj,-ubj_)}(h h]h }(hjn-hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj,-ubj)}(hjh]h*}(hj|-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,-ubjv)}(hfwnodeh]hfwnode}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj,-ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj(-ubah}(h]h ]h"]h$]h&]jjuh1jhj,hhhj-hKqubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhj,hhhj-hKqubah}(h]j,ah ](jjeh"]h$]h&]jj)jhuh1j@hj-hKqhj,hhubj)}(hhh]h)}(h"Free a non-OF-backed fwnode_handleh]h"Free a non-OF-backed fwnode_handle}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chKqhj-hhubah}(h]h ]h"]h$]h&]uh1jhj,hhhj-hKqubeh}(h]h ](jofunctioneh"]h$]h&]jjojj-jj-jjjuh1j;hhhj hNhNubj)}(h**Parameters** ``struct fwnode_handle *fwnode`` fwnode_handle to free **Description** Free a fwnode_handle allocated with irq_domain_alloc_fwnode.h](h)}(h**Parameters**h]j)}(hj-h]h Parameters}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chKuhj-ubj)}(hhh]j)}(h7``struct fwnode_handle *fwnode`` fwnode_handle to free h](j )}(h ``struct fwnode_handle *fwnode``h]jc)}(hj-h]hstruct fwnode_handle *fwnode}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj-ubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chKrhj-ubj:)}(hhh]h)}(hfwnode_handle to freeh]hfwnode_handle to free}(hj .hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj .hKrhj .ubah}(h]h ]h"]h$]h&]uh1j9hj-ubeh}(h]h ]h"]h$]h&]uh1jhj .hKrhj-ubah}(h]h ]h"]h$]h&]uh1jhj-ubh)}(h**Description**h]j)}(hj/.h]h Description}(hj1.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-.ubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chKthj-ubh)}(h0ah ](jjeh"]h$]h&]jj)jhuh1j@hjY0hMzhj@0hhubj)}(hhh]h)}(hRemove an irq domain.h]hRemove an irq domain.}(hj 1hhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMzhj1hhubah}(h]h ]h"]h$]h&]uh1jhj@0hhhjY0hMzubeh}(h]h ](jofunctioneh"]h$]h&]jjojj#1jj#1jjjuh1j;hhhj hNhNubj)}(h**Parameters** ``struct irq_domain *domain`` domain to remove **Description** This routine is used to remove an irq domain. The caller must ensure that all mappings within the domain have been disposed of prior to use, depending on the revmap type.h](h)}(h**Parameters**h]j)}(hj-1h]h Parameters}(hj/1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+1ubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM~hj'1ubj)}(hhh]j)}(h/``struct irq_domain *domain`` domain to remove h](j )}(h``struct irq_domain *domain``h]jc)}(hjL1h]hstruct irq_domain *domain}(hjN1hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjJ1ubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM{hjF1ubj:)}(hhh]h)}(hdomain to removeh]hdomain to remove}(hje1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhja1hM{hjb1ubah}(h]h ]h"]h$]h&]uh1j9hjF1ubeh}(h]h ]h"]h$]h&]uh1jhja1hM{hjC1ubah}(h]h ]h"]h$]h&]uh1jhj'1ubh)}(h**Description**h]j)}(hj1h]h Description}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM}hj'1ubh)}(hThis routine is used to remove an irq domain. The caller must ensure that all mappings within the domain have been disposed of prior to use, depending on the revmap type.h]hThis routine is used to remove an irq domain. The caller must ensure that all mappings within the domain have been disposed of prior to use, depending on the revmap type.}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM}hj'1ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubj+)}(hhh]h}(h]h ]h"]h$]h&]entries](j7%irq_domain_create_simple (C function)c.irq_domain_create_simplehNtauh1j*hj hhhNhNubj<)}(hhh](jA)}(hstruct irq_domain * irq_domain_create_simple (struct fwnode_handle *fwnode, unsigned int size, unsigned int first_irq, const struct irq_domain_ops *ops, void *host_data)h]jG)}(hstruct irq_domain *irq_domain_create_simple(struct fwnode_handle *fwnode, unsigned int size, unsigned int first_irq, const struct irq_domain_ops *ops, void *host_data)h](jM)}(hjPh]hstruct}(hj1hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhj1hhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMubj_)}(h h]h }(hj1hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj1hhhj1hMubh)}(hhh]jv)}(h irq_domainh]h irq_domain}(hj1hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj1ubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetj1modnameN classnameNjj)}j]j)}jirq_domain_create_simplesbc.irq_domain_create_simpleasbuh1hhj1hhhj1hMubj_)}(h h]h }(hj 2hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj1hhhj1hMubj)}(hjh]h*}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj1hhhj1hMubjp)}(hirq_domain_create_simpleh]jv)}(hj 2h]hirq_domain_create_simple}(hj+2hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj'2ubah}(h]h ](jjeh"]h$]h&]jjuh1johj1hhhj1hMubj)}(h|(struct fwnode_handle *fwnode, unsigned int size, unsigned int first_irq, const struct irq_domain_ops *ops, void *host_data)h](j)}(hstruct fwnode_handle *fwnodeh](jM)}(hjPh]hstruct}(hjF2hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjB2ubj_)}(h h]h }(hjS2hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjB2ubh)}(hhh]jv)}(h fwnode_handleh]h fwnode_handle}(hjd2hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhja2ubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjf2modnameN classnameNjj)}j]j2c.irq_domain_create_simpleasbuh1hhjB2ubj_)}(h h]h }(hj2hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjB2ubj)}(hjh]h*}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjB2ubjv)}(hfwnodeh]hfwnode}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjB2ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj>2ubj)}(hunsigned int sizeh](jJ)}(hunsignedh]hunsigned}(hj2hhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhj2ubj_)}(h h]h }(hj2hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj2ubjJ)}(hinth]hint}(hj2hhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhj2ubj_)}(h h]h }(hj2hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj2ubjv)}(hsizeh]hsize}(hj2hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj2ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj>2ubj)}(hunsigned int first_irqh](jJ)}(hunsignedh]hunsigned}(hj3hhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhj3ubj_)}(h h]h }(hj3hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj3ubjJ)}(hinth]hint}(hj#3hhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhj3ubj_)}(h h]h }(hj13hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj3ubjv)}(h first_irqh]h first_irq}(hj?3hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj3ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj>2ubj)}(h const struct irq_domain_ops *opsh](jM)}(hjh]hconst}(hjX3hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjT3ubj_)}(h h]h }(hje3hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjT3ubjM)}(hjPh]hstruct}(hjs3hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjT3ubj_)}(h h]h }(hj3hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjT3ubh)}(hhh]jv)}(hirq_domain_opsh]hirq_domain_ops}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj3ubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetj3modnameN classnameNjj)}j]j2c.irq_domain_create_simpleasbuh1hhjT3ubj_)}(h h]h }(hj3hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjT3ubj)}(hjh]h*}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjT3ubjv)}(hopsh]hops}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjT3ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj>2ubj)}(hvoid *host_datah](jJ)}(hvoidh]hvoid}(hj3hhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhj3ubj_)}(h h]h }(hj3hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj3ubj)}(hjh]h*}(hj3hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj3ubjv)}(h host_datah]h host_data}(hj 4hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj3ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj>2ubeh}(h]h ]h"]h$]h&]jjuh1jhj1hhhj1hMubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhj1hhhj1hMubah}(h]j1ah ](jjeh"]h$]h&]jj)jhuh1j@hj1hMhj1hhubj)}(hhh]h)}(h9Register an irq_domain and optionally map a range of irqsh]h9Register an irq_domain and optionally map a range of irqs}(hj64hhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj34hhubah}(h]h ]h"]h$]h&]uh1jhj1hhhj1hMubeh}(h]h ](jofunctioneh"]h$]h&]jjojjN4jjN4jjjuh1j;hhhj hNhNubj)}(hX**Parameters** ``struct fwnode_handle *fwnode`` firmware node for the interrupt controller ``unsigned int size`` total number of irqs in mapping ``unsigned int first_irq`` first number of irq block assigned to the domain, pass zero to assign irqs on-the-fly. If first_irq is non-zero, then pre-map all of the irqs in the domain to virqs starting at first_irq. ``const struct irq_domain_ops *ops`` domain callbacks ``void *host_data`` Controller private data pointer **Description** Allocates an irq_domain, and optionally if first_irq is positive then also allocate irq_descs and map all of the hwirqs to virqs starting at first_irq. This is intended to implement the expected behaviour for most interrupt controllers. If device tree is used, then first_irq will be 0 and irqs get mapped dynamically on the fly. However, if the controller requires static virq assignments (non-DT boot) then it will set that up correctly.h](h)}(h**Parameters**h]j)}(hjX4h]h Parameters}(hjZ4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjV4ubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjR4ubj)}(hhh](j)}(hL``struct fwnode_handle *fwnode`` firmware node for the interrupt controller h](j )}(h ``struct fwnode_handle *fwnode``h]jc)}(hjw4h]hstruct fwnode_handle *fwnode}(hjy4hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhju4ubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjq4ubj:)}(hhh]h)}(h*firmware node for the interrupt controllerh]h*firmware node for the interrupt controller}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4hMhj4ubah}(h]h ]h"]h$]h&]uh1j9hjq4ubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjn4ubj)}(h6``unsigned int size`` total number of irqs in mapping h](j )}(h``unsigned int size``h]jc)}(hj4h]hunsigned int size}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj4ubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj4ubj:)}(hhh]h)}(htotal number of irqs in mappingh]htotal number of irqs in mapping}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj4hMhj4ubah}(h]h ]h"]h$]h&]uh1j9hj4ubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjn4ubj)}(h``unsigned int first_irq`` first number of irq block assigned to the domain, pass zero to assign irqs on-the-fly. If first_irq is non-zero, then pre-map all of the irqs in the domain to virqs starting at first_irq. h](j )}(h``unsigned int first_irq``h]jc)}(hj4h]hunsigned int first_irq}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj4ubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj4ubj:)}(hhh]h)}(hfirst number of irq block assigned to the domain, pass zero to assign irqs on-the-fly. If first_irq is non-zero, then pre-map all of the irqs in the domain to virqs starting at first_irq.h]hfirst number of irq block assigned to the domain, pass zero to assign irqs on-the-fly. If first_irq is non-zero, then pre-map all of the irqs in the domain to virqs starting at first_irq.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj4ubah}(h]h ]h"]h$]h&]uh1j9hj4ubeh}(h]h ]h"]h$]h&]uh1jhj4hMhjn4ubj)}(h6``const struct irq_domain_ops *ops`` domain callbacks h](j )}(h$``const struct irq_domain_ops *ops``h]jc)}(hj#5h]h const struct irq_domain_ops *ops}(hj%5hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj!5ubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj5ubj:)}(hhh]h)}(hdomain callbacksh]hdomain callbacks}(hj<5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj85hMhj95ubah}(h]h ]h"]h$]h&]uh1j9hj5ubeh}(h]h ]h"]h$]h&]uh1jhj85hMhjn4ubj)}(h4``void *host_data`` Controller private data pointer h](j )}(h``void *host_data``h]jc)}(hj\5h]hvoid *host_data}(hj^5hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjZ5ubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjV5ubj:)}(hhh]h)}(hController private data pointerh]hController private data pointer}(hju5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjq5hMhjr5ubah}(h]h ]h"]h$]h&]uh1j9hjV5ubeh}(h]h ]h"]h$]h&]uh1jhjq5hMhjn4ubeh}(h]h ]h"]h$]h&]uh1jhjR4ubh)}(h**Description**h]j)}(hj5h]h Description}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjR4ubh)}(hAllocates an irq_domain, and optionally if first_irq is positive then also allocate irq_descs and map all of the hwirqs to virqs starting at first_irq.h]hAllocates an irq_domain, and optionally if first_irq is positive then also allocate irq_descs and map all of the hwirqs to virqs starting at first_irq.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjR4ubh)}(hXThis is intended to implement the expected behaviour for most interrupt controllers. If device tree is used, then first_irq will be 0 and irqs get mapped dynamically on the fly. However, if the controller requires static virq assignments (non-DT boot) then it will set that up correctly.h]hXThis is intended to implement the expected behaviour for most interrupt controllers. If device tree is used, then first_irq will be 0 and irqs get mapped dynamically on the fly. However, if the controller requires static virq assignments (non-DT boot) then it will set that up correctly.}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjR4ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubj+)}(hhh]h}(h]h ]h"]h$]h&]entries](j7%irq_find_matching_fwspec (C function)c.irq_find_matching_fwspechNtauh1j*hj hhhNhNubj<)}(hhh](jA)}(hmstruct irq_domain * irq_find_matching_fwspec (struct irq_fwspec *fwspec, enum irq_domain_bus_token bus_token)h]jG)}(hkstruct irq_domain *irq_find_matching_fwspec(struct irq_fwspec *fwspec, enum irq_domain_bus_token bus_token)h](jM)}(hjPh]hstruct}(hj5hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhj5hhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMubj_)}(h h]h }(hj5hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj5hhhj5hMubh)}(hhh]jv)}(h irq_domainh]h irq_domain}(hj 6hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj6ubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetj 6modnameN classnameNjj)}j]j)}jirq_find_matching_fwspecsbc.irq_find_matching_fwspecasbuh1hhj5hhhj5hMubj_)}(h h]h }(hj+6hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj5hhhj5hMubj)}(hjh]h*}(hj96hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj5hhhj5hMubjp)}(hirq_find_matching_fwspech]jv)}(hj(6h]hirq_find_matching_fwspec}(hjJ6hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjF6ubah}(h]h ](jjeh"]h$]h&]jjuh1johj5hhhj5hMubj)}(h@(struct irq_fwspec *fwspec, enum irq_domain_bus_token bus_token)h](j)}(hstruct irq_fwspec *fwspech](jM)}(hjPh]hstruct}(hje6hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhja6ubj_)}(h h]h }(hjr6hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hja6ubh)}(hhh]jv)}(h irq_fwspech]h irq_fwspec}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj6ubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetj6modnameN classnameNjj)}j]j&6c.irq_find_matching_fwspecasbuh1hhja6ubj_)}(h h]h }(hj6hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hja6ubj)}(hjh]h*}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhja6ubjv)}(hfwspech]hfwspec}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhja6ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj]6ubj)}(h#enum irq_domain_bus_token bus_tokenh](jM)}(henumh]henum}(hj6hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhj6ubj_)}(h h]h }(hj6hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj6ubh)}(hhh]jv)}(hirq_domain_bus_tokenh]hirq_domain_bus_token}(hj6hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj6ubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetj6modnameN classnameNjj)}j]j&6c.irq_find_matching_fwspecasbuh1hhj6ubj_)}(h h]h }(hj7hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj6ubjv)}(h bus_tokenh]h bus_token}(hj 7hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj6ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj]6ubeh}(h]h ]h"]h$]h&]jjuh1jhj5hhhj5hMubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhj5hhhj5hMubah}(h]j5ah ](jjeh"]h$]h&]jj)jhuh1j@hj5hMhj5hhubj)}(hhh]h)}(h#Locates a domain for a given fwspech]h#Locates a domain for a given fwspec}(hjJ7hhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjG7hhubah}(h]h ]h"]h$]h&]uh1jhj5hhhj5hMubeh}(h]h ](jofunctioneh"]h$]h&]jjojjb7jjb7jjjuh1j;hhhj hNhNubj)}(h**Parameters** ``struct irq_fwspec *fwspec`` FW specifier for an interrupt ``enum irq_domain_bus_token bus_token`` domain-specific datah](h)}(h**Parameters**h]j)}(hjl7h]h Parameters}(hjn7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjj7ubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjf7ubj)}(hhh](j)}(h<``struct irq_fwspec *fwspec`` FW specifier for an interrupt h](j )}(h``struct irq_fwspec *fwspec``h]jc)}(hj7h]hstruct irq_fwspec *fwspec}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj7ubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj7ubj:)}(hhh]h)}(hFW specifier for an interrupth]hFW specifier for an interrupt}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7hMhj7ubah}(h]h ]h"]h$]h&]uh1j9hj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hMhj7ubj)}(h<``enum irq_domain_bus_token bus_token`` domain-specific datah](j )}(h'``enum irq_domain_bus_token bus_token``h]jc)}(hj7h]h#enum irq_domain_bus_token bus_token}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj7ubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj7ubj:)}(hhh]h)}(hdomain-specific datah]hdomain-specific data}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj7ubah}(h]h ]h"]h$]h&]uh1j9hj7ubeh}(h]h ]h"]h$]h&]uh1jhj7hMhj7ubeh}(h]h ]h"]h$]h&]uh1jhjf7ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubj+)}(hhh]h}(h]h ]h"]h$]h&]entries](j7#irq_set_default_domain (C function)c.irq_set_default_domainhNtauh1j*hj hhhNhNubj<)}(hhh](jA)}(h7void irq_set_default_domain (struct irq_domain *domain)h]jG)}(h6void irq_set_default_domain(struct irq_domain *domain)h](jJ)}(hvoidh]hvoid}(hj8hhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhj8hhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM%ubj_)}(h h]h }(hj-8hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj8hhhj,8hM%ubjp)}(hirq_set_default_domainh]jv)}(hirq_set_default_domainh]hirq_set_default_domain}(hj?8hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj;8ubah}(h]h ](jjeh"]h$]h&]jjuh1johj8hhhj,8hM%ubj)}(h(struct irq_domain *domain)h]j)}(hstruct irq_domain *domainh](jM)}(hjPh]hstruct}(hj[8hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjW8ubj_)}(h h]h }(hjh8hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjW8ubh)}(hhh]jv)}(h irq_domainh]h irq_domain}(hjy8hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjv8ubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetj{8modnameN classnameNjj)}j]j)}jjA8sbc.irq_set_default_domainasbuh1hhjW8ubj_)}(h h]h }(hj8hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjW8ubj)}(hjh]h*}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjW8ubjv)}(hdomainh]hdomain}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjW8ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjS8ubah}(h]h ]h"]h$]h&]jjuh1jhj8hhhj,8hM%ubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhj8hhhj,8hM%ubah}(h]j8ah ](jjeh"]h$]h&]jj)jhuh1j@hj,8hM%hj8hhubj)}(hhh]h)}(hSet a "default" irq domainh]hSet a “default” irq domain}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM%hj8hhubah}(h]h ]h"]h$]h&]uh1jhj8hhhj,8hM%ubeh}(h]h ](jofunctioneh"]h$]h&]jjojj8jj8jjjuh1j;hhhj hNhNubj)}(hXg**Parameters** ``struct irq_domain *domain`` default domain pointer **Description** For convenience, it's possible to set a "default" domain that will be used whenever NULL is passed to irq_create_mapping(). It makes life easier for platforms that want to manipulate a few hard coded interrupt numbers that aren't properly represented in the device-tree.h](h)}(h**Parameters**h]j)}(hj9h]h Parameters}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM)hj8ubj)}(hhh]j)}(h5``struct irq_domain *domain`` default domain pointer h](j )}(h``struct irq_domain *domain``h]jc)}(hj9h]hstruct irq_domain *domain}(hj!9hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj9ubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM&hj9ubj:)}(hhh]h)}(hdefault domain pointerh]hdefault domain pointer}(hj89hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj49hM&hj59ubah}(h]h ]h"]h$]h&]uh1j9hj9ubeh}(h]h ]h"]h$]h&]uh1jhj49hM&hj9ubah}(h]h ]h"]h$]h&]uh1jhj8ubh)}(h**Description**h]j)}(hjZ9h]h Description}(hj\9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjX9ubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM(hj8ubh)}(hXFor convenience, it's possible to set a "default" domain that will be used whenever NULL is passed to irq_create_mapping(). It makes life easier for platforms that want to manipulate a few hard coded interrupt numbers that aren't properly represented in the device-tree.h]hXFor convenience, it’s possible to set a “default” domain that will be used whenever NULL is passed to irq_create_mapping(). It makes life easier for platforms that want to manipulate a few hard coded interrupt numbers that aren’t properly represented in the device-tree.}(hjp9hhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM(hj8ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubj+)}(hhh]h}(h]h ]h"]h$]h&]entries](j7#irq_get_default_domain (C function)c.irq_get_default_domainhNtauh1j*hj hhhNhNubj<)}(hhh](jA)}(h1struct irq_domain * irq_get_default_domain (void)h]jG)}(h/struct irq_domain *irq_get_default_domain(void)h](jM)}(hjPh]hstruct}(hj9hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhj9hhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM6ubj_)}(h h]h }(hj9hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj9hhhj9hM6ubh)}(hhh]jv)}(h irq_domainh]h irq_domain}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj9ubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetj9modnameN classnameNjj)}j]j)}jirq_get_default_domainsbc.irq_get_default_domainasbuh1hhj9hhhj9hM6ubj_)}(h h]h }(hj9hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj9hhhj9hM6ubj)}(hjh]h*}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9hhhj9hM6ubjp)}(hirq_get_default_domainh]jv)}(hj9h]hirq_get_default_domain}(hj9hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj9ubah}(h]h ](jjeh"]h$]h&]jjuh1johj9hhhj9hM6ubj)}(h(void)h]j)}(hvoidh]jJ)}(hvoidh]hvoid}(hj:hhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhj:ubah}(h]h ]h"]h$]h&]noemphjjuh1jhj:ubah}(h]h ]h"]h$]h&]jjuh1jhj9hhhj9hM6ubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhj9hhhj9hM6ubah}(h]j9ah ](jjeh"]h$]h&]jj)jhuh1j@hj9hM6hj9hhubj)}(hhh]h)}(h!Retrieve the "default" irq domainh]h%Retrieve the “default” irq domain}(hjC:hhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM6hj@:hhubah}(h]h ]h"]h$]h&]uh1jhj9hhhj9hM6ubeh}(h]h ](jofunctioneh"]h$]h&]jjojj[:jj[:jjjuh1j;hhhj hNhNubj)}(h**Parameters** ``void`` no arguments **Return** the default domain, if any. **Description** Modern code should never use this. This should only be used on systems that cannot implement a firmware->fwnode mapping (which both DT and ACPI provide).h](h)}(h**Parameters**h]j)}(hje:h]h Parameters}(hjg:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc:ubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM:hj_:ubj)}(hhh]j)}(h``void`` no arguments h](j )}(h``void``h]jc)}(hj:h]hvoid}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj:ubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chKhj~:ubj:)}(hhh]h)}(h no argumentsh]h no arguments}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj:hKhj:ubah}(h]h ]h"]h$]h&]uh1j9hj~:ubeh}(h]h ]h"]h$]h&]uh1jhj:hKhj{:ubah}(h]h ]h"]h$]h&]uh1jhj_:ubh)}(h **Return**h]j)}(hj:h]hReturn}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chKhj_:ubh)}(hthe default domain, if any.h]hthe default domain, if any.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM8hj_:ubh)}(h**Description**h]j)}(hj:h]h Description}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM:hj_:ubh)}(hModern code should never use this. This should only be used on systems that cannot implement a firmware->fwnode mapping (which both DT and ACPI provide).h]hModern code should never use this. This should only be used on systems that cannot implement a firmware->fwnode mapping (which both DT and ACPI provide).}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM:hj_:ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubj+)}(hhh]h}(h]h ]h"]h$]h&]entries](j7&irq_create_direct_mapping (C function)c.irq_create_direct_mappinghNtauh1j*hj hhhNhNubj<)}(hhh](jA)}(hBunsigned int irq_create_direct_mapping (struct irq_domain *domain)h]jG)}(hAunsigned int irq_create_direct_mapping(struct irq_domain *domain)h](jJ)}(hunsignedh]hunsigned}(hj+;hhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhj';hhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMubj_)}(h h]h }(hj:;hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj';hhhj9;hMubjJ)}(hinth]hint}(hjH;hhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhj';hhhj9;hMubj_)}(h h]h }(hjV;hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj';hhhj9;hMubjp)}(hirq_create_direct_mappingh]jv)}(hirq_create_direct_mappingh]hirq_create_direct_mapping}(hjh;hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjd;ubah}(h]h ](jjeh"]h$]h&]jjuh1johj';hhhj9;hMubj)}(h(struct irq_domain *domain)h]j)}(hstruct irq_domain *domainh](jM)}(hjPh]hstruct}(hj;hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhj;ubj_)}(h h]h }(hj;hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj;ubh)}(hhh]jv)}(h irq_domainh]h irq_domain}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj;ubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetj;modnameN classnameNjj)}j]j)}jjj;sbc.irq_create_direct_mappingasbuh1hhj;ubj_)}(h h]h }(hj;hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj;ubj)}(hjh]h*}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj;ubjv)}(hdomainh]hdomain}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj;ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj|;ubah}(h]h ]h"]h$]h&]jjuh1jhj';hhhj9;hMubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhj#;hhhj9;hMubah}(h]j;ah ](jjeh"]h$]h&]jj)jhuh1j@hj9;hMhj ;hhubj)}(hhh]h)}(h"Allocate an irq for direct mappingh]h"Allocate an irq for direct mapping}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj<hhubah}(h]h ]h"]h$]h&]uh1jhj ;hhhj9;hMubeh}(h]h ](jofunctioneh"]h$]h&]jjojj<jj<jjjuh1j;hhhj hNhNubj)}(hX**Parameters** ``struct irq_domain *domain`` domain to allocate the irq for or NULL for default domain **Description** This routine is used for irq controllers which can choose the hardware interrupt numbers they generate. In such a case it's simplest to use the linux irq as the hardware interrupt number. It still uses the linear or radix tree to store the mapping, but the irq controller can optimize the revmap path by using the hwirq directly.h](h)}(h**Parameters**h]j)}(hj)<h]h Parameters}(hj+<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'<ubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj#<ubj)}(hhh]j)}(hX``struct irq_domain *domain`` domain to allocate the irq for or NULL for default domain h](j )}(h``struct irq_domain *domain``h]jc)}(hjH<h]hstruct irq_domain *domain}(hjJ<hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjF<ubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjB<ubj:)}(hhh]h)}(h9domain to allocate the irq for or NULL for default domainh]h9domain to allocate the irq for or NULL for default domain}(hja<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]<hMhj^<ubah}(h]h ]h"]h$]h&]uh1j9hjB<ubeh}(h]h ]h"]h$]h&]uh1jhj]<hMhj?<ubah}(h]h ]h"]h$]h&]uh1jhj#<ubh)}(h**Description**h]j)}(hj<h]h Description}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj#<ubh)}(hXIThis routine is used for irq controllers which can choose the hardware interrupt numbers they generate. In such a case it's simplest to use the linux irq as the hardware interrupt number. It still uses the linear or radix tree to store the mapping, but the irq controller can optimize the revmap path by using the hwirq directly.h]hXKThis routine is used for irq controllers which can choose the hardware interrupt numbers they generate. In such a case it’s simplest to use the linux irq as the hardware interrupt number. It still uses the linear or radix tree to store the mapping, but the irq controller can optimize the revmap path by using the hwirq directly.}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj#<ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubj+)}(hhh]h}(h]h ]h"]h$]h&]entries](j7(irq_create_mapping_affinity (C function)c.irq_create_mapping_affinityhNtauh1j*hj hhhNhNubj<)}(hhh](jA)}(hunsigned int irq_create_mapping_affinity (struct irq_domain *domain, irq_hw_number_t hwirq, const struct irq_affinity_desc *affinity)h]jG)}(hunsigned int irq_create_mapping_affinity(struct irq_domain *domain, irq_hw_number_t hwirq, const struct irq_affinity_desc *affinity)h](jJ)}(hunsignedh]hunsigned}(hj<hhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhj<hhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMubj_)}(h h]h }(hj<hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj<hhhj<hMubjJ)}(hinth]hint}(hj<hhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhj<hhhj<hMubj_)}(h h]h }(hj<hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj<hhhj<hMubjp)}(hirq_create_mapping_affinityh]jv)}(hirq_create_mapping_affinityh]hirq_create_mapping_affinity}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj=ubah}(h]h ](jjeh"]h$]h&]jjuh1johj<hhhj<hMubj)}(h\(struct irq_domain *domain, irq_hw_number_t hwirq, const struct irq_affinity_desc *affinity)h](j)}(hstruct irq_domain *domainh](jM)}(hjPh]hstruct}(hj!=hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhj=ubj_)}(h h]h }(hj.=hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj=ubh)}(hhh]jv)}(h irq_domainh]h irq_domain}(hj?=hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj<=ubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjA=modnameN classnameNjj)}j]j)}jj=sbc.irq_create_mapping_affinityasbuh1hhj=ubj_)}(h h]h }(hj_=hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj=ubj)}(hjh]h*}(hjm=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubjv)}(hdomainh]hdomain}(hjz=hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj=ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj=ubj)}(hirq_hw_number_t hwirqh](h)}(hhh]jv)}(hirq_hw_number_th]hirq_hw_number_t}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj=ubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetj=modnameN classnameNjj)}j]j[=c.irq_create_mapping_affinityasbuh1hhj=ubj_)}(h h]h }(hj=hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj=ubjv)}(hhwirqh]hhwirq}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj=ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj=ubj)}(h(const struct irq_affinity_desc *affinityh](jM)}(hjh]hconst}(hj=hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhj=ubj_)}(h h]h }(hj=hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj=ubjM)}(hjPh]hstruct}(hj=hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhj=ubj_)}(h h]h }(hj>hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj=ubh)}(hhh]jv)}(hirq_affinity_desch]hirq_affinity_desc}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj>ubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetj>modnameN classnameNjj)}j]j[=c.irq_create_mapping_affinityasbuh1hhj=ubj_)}(h h]h }(hj2>hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj=ubj)}(hjh]h*}(hj@>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj=ubjv)}(haffinityh]haffinity}(hjM>hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj=ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj=ubeh}(h]h ]h"]h$]h&]jjuh1jhj<hhhj<hMubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhj<hhhj<hMubah}(h]j<ah ](jjeh"]h$]h&]jj)jhuh1j@hj<hMhj<hhubj)}(hhh]h)}(h-Map a hardware interrupt into linux irq spaceh]h-Map a hardware interrupt into linux irq space}(hjw>hhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjt>hhubah}(h]h ]h"]h$]h&]uh1jhj<hhhj<hMubeh}(h]h ](jofunctioneh"]h$]h&]jjojj>jj>jjjuh1j;hhhj hNhNubj)}(hX**Parameters** ``struct irq_domain *domain`` domain owning this hardware interrupt or NULL for default domain ``irq_hw_number_t hwirq`` hardware irq number in that domain space ``const struct irq_affinity_desc *affinity`` irq affinity **Description** Only one mapping per hardware interrupt is permitted. Returns a linux irq number. If the sense/trigger is to be specified, set_irq_type() should be called on the number returned from that call.h](h)}(h**Parameters**h]j)}(hj>h]h Parameters}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM!hj>ubj)}(hhh](j)}(h_``struct irq_domain *domain`` domain owning this hardware interrupt or NULL for default domain h](j )}(h``struct irq_domain *domain``h]jc)}(hj>h]hstruct irq_domain *domain}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj>ubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj>ubj:)}(hhh]h)}(h@domain owning this hardware interrupt or NULL for default domainh]h@domain owning this hardware interrupt or NULL for default domain}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj>hMhj>ubah}(h]h ]h"]h$]h&]uh1j9hj>ubeh}(h]h ]h"]h$]h&]uh1jhj>hMhj>ubj)}(hC``irq_hw_number_t hwirq`` hardware irq number in that domain space h](j )}(h``irq_hw_number_t hwirq``h]jc)}(hj>h]hirq_hw_number_t hwirq}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj>ubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj>ubj:)}(hhh]h)}(h(hardware irq number in that domain spaceh]h(hardware irq number in that domain space}(hj ?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj?hMhj?ubah}(h]h ]h"]h$]h&]uh1j9hj>ubeh}(h]h ]h"]h$]h&]uh1jhj?hMhj>ubj)}(h:``const struct irq_affinity_desc *affinity`` irq affinity h](j )}(h,``const struct irq_affinity_desc *affinity``h]jc)}(hj*?h]h(const struct irq_affinity_desc *affinity}(hj,?hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj(?ubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM hj$?ubj:)}(hhh]h)}(h irq affinityh]h irq affinity}(hjC?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj??hM hj@?ubah}(h]h ]h"]h$]h&]uh1j9hj$?ubeh}(h]h ]h"]h$]h&]uh1jhj??hM hj>ubeh}(h]h ]h"]h$]h&]uh1jhj>ubh)}(h**Description**h]j)}(hje?h]h Description}(hjg?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjc?ubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM"hj>ubh)}(hOnly one mapping per hardware interrupt is permitted. Returns a linux irq number. If the sense/trigger is to be specified, set_irq_type() should be called on the number returned from that call.h]hOnly one mapping per hardware interrupt is permitted. Returns a linux irq number. If the sense/trigger is to be specified, set_irq_type() should be called on the number returned from that call.}(hj{?hhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM"hj>ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubj+)}(hhh]h}(h]h ]h"]h$]h&]entries](j7 irq_dispose_mapping (C function)c.irq_dispose_mappinghNtauh1j*hj hhhNhNubj<)}(hhh](jA)}(h,void irq_dispose_mapping (unsigned int virq)h]jG)}(h+void irq_dispose_mapping(unsigned int virq)h](jJ)}(hvoidh]hvoid}(hj?hhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhj?hhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMubj_)}(h h]h }(hj?hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj?hhhj?hMubjp)}(hirq_dispose_mappingh]jv)}(hirq_dispose_mappingh]hirq_dispose_mapping}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj?ubah}(h]h ](jjeh"]h$]h&]jjuh1johj?hhhj?hMubj)}(h(unsigned int virq)h]j)}(hunsigned int virqh](jJ)}(hunsignedh]hunsigned}(hj?hhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhj?ubj_)}(h h]h }(hj?hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj?ubjJ)}(hinth]hint}(hj@hhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhj?ubj_)}(h h]h }(hj@hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj?ubjv)}(hvirqh]hvirq}(hj@hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj?ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj?ubah}(h]h ]h"]h$]h&]jjuh1jhj?hhhj?hMubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhj?hhhj?hMubah}(h]j?ah ](jjeh"]h$]h&]jj)jhuh1j@hj?hMhj?hhubj)}(hhh]h)}(hUnmap an interrupth]hUnmap an interrupt}(hjI@hhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjF@hhubah}(h]h ]h"]h$]h&]uh1jhj?hhhj?hMubeh}(h]h ](jofunctioneh"]h$]h&]jjojja@jja@jjjuh1j;hhhj hNhNubj)}(hR**Parameters** ``unsigned int virq`` linux irq number of the interrupt to unmaph](h)}(h**Parameters**h]j)}(hjk@h]h Parameters}(hjm@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhji@ubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhje@ubj)}(hhh]j)}(h@``unsigned int virq`` linux irq number of the interrupt to unmaph](j )}(h``unsigned int virq``h]jc)}(hj@h]hunsigned int virq}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj@ubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj@ubj:)}(hhh]h)}(h*linux irq number of the interrupt to unmaph]h*linux irq number of the interrupt to unmap}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj@ubah}(h]h ]h"]h$]h&]uh1j9hj@ubeh}(h]h ]h"]h$]h&]uh1jhj@hMhj@ubah}(h]h ]h"]h$]h&]uh1jhje@ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubj+)}(hhh]h}(h]h ]h"]h$]h&]entries](j7"__irq_resolve_mapping (C function)c.__irq_resolve_mappinghNtauh1j*hj hhhNhNubj<)}(hhh](jA)}(hmstruct irq_desc * __irq_resolve_mapping (struct irq_domain *domain, irq_hw_number_t hwirq, unsigned int *irq)h]jG)}(hkstruct irq_desc *__irq_resolve_mapping(struct irq_domain *domain, irq_hw_number_t hwirq, unsigned int *irq)h](jM)}(hjPh]hstruct}(hj@hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhj@hhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMubj_)}(h h]h }(hj@hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj@hhhj@hMubh)}(hhh]jv)}(hirq_desch]hirq_desc}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjAubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjAmodnameN classnameNjj)}j]j)}j__irq_resolve_mappingsbc.__irq_resolve_mappingasbuh1hhj@hhhj@hMubj_)}(h h]h }(hj$AhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj@hhhj@hMubj)}(hjh]h*}(hj2AhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj@hhhj@hMubjp)}(h__irq_resolve_mappingh]jv)}(hj!Ah]h__irq_resolve_mapping}(hjCAhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj?Aubah}(h]h ](jjeh"]h$]h&]jjuh1johj@hhhj@hMubj)}(hE(struct irq_domain *domain, irq_hw_number_t hwirq, unsigned int *irq)h](j)}(hstruct irq_domain *domainh](jM)}(hjPh]hstruct}(hj^AhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjZAubj_)}(h h]h }(hjkAhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjZAubh)}(hhh]jv)}(h irq_domainh]h irq_domain}(hj|AhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjyAubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetj~AmodnameN classnameNjj)}j]jAc.__irq_resolve_mappingasbuh1hhjZAubj_)}(h h]h }(hjAhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjZAubj)}(hjh]h*}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZAubjv)}(hdomainh]hdomain}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjZAubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjVAubj)}(hirq_hw_number_t hwirqh](h)}(hhh]jv)}(hirq_hw_number_th]hirq_hw_number_t}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjAubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjAmodnameN classnameNjj)}j]jAc.__irq_resolve_mappingasbuh1hhjAubj_)}(h h]h }(hjAhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjAubjv)}(hhwirqh]hhwirq}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjAubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjVAubj)}(hunsigned int *irqh](jJ)}(hunsignedh]hunsigned}(hjBhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjBubj_)}(h h]h }(hj$BhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjBubjJ)}(hinth]hint}(hj2BhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjBubj_)}(h h]h }(hj@BhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjBubj)}(hjh]h*}(hjNBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBubjv)}(hirqh]hirq}(hj[BhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjBubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjVAubeh}(h]h ]h"]h$]h&]jjuh1jhj@hhhj@hMubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhj@hhhj@hMubah}(h]j@ah ](jjeh"]h$]h&]jj)jhuh1j@hj@hMhj@hhubj)}(hhh]h)}(h&Find a linux irq from a hw irq number.h]h&Find a linux irq from a hw irq number.}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjBhhubah}(h]h ]h"]h$]h&]uh1jhj@hhhj@hMubeh}(h]h ](jofunctioneh"]h$]h&]jjojjBjjBjjjuh1j;hhhj hNhNubj)}(hX**Parameters** ``struct irq_domain *domain`` domain owning this hardware interrupt ``irq_hw_number_t hwirq`` hardware irq number in that domain space ``unsigned int *irq`` optional pointer to return the Linux irq if required **Description** Returns the interrupt descriptor.h](h)}(h**Parameters**h]j)}(hjBh]h Parameters}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjBubj)}(hhh](j)}(hD``struct irq_domain *domain`` domain owning this hardware interrupt h](j )}(h``struct irq_domain *domain``h]jc)}(hjBh]hstruct irq_domain *domain}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjBubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjBubj:)}(hhh]h)}(h%domain owning this hardware interrupth]h%domain owning this hardware interrupt}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBhMhjBubah}(h]h ]h"]h$]h&]uh1j9hjBubeh}(h]h ]h"]h$]h&]uh1jhjBhMhjBubj)}(hC``irq_hw_number_t hwirq`` hardware irq number in that domain space h](j )}(h``irq_hw_number_t hwirq``h]jc)}(hjBh]hirq_hw_number_t hwirq}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjBubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjBubj:)}(hhh]h)}(h(hardware irq number in that domain spaceh]h(hardware irq number in that domain space}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhjChMhjCubah}(h]h ]h"]h$]h&]uh1j9hjBubeh}(h]h ]h"]h$]h&]uh1jhjChMhjBubj)}(hK``unsigned int *irq`` optional pointer to return the Linux irq if required h](j )}(h``unsigned int *irq``h]jc)}(hj8Ch]hunsigned int *irq}(hj:ChhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj6Cubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj2Cubj:)}(hhh]h)}(h4optional pointer to return the Linux irq if requiredh]h4optional pointer to return the Linux irq if required}(hjQChhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMChMhjNCubah}(h]h ]h"]h$]h&]uh1j9hj2Cubeh}(h]h ]h"]h$]h&]uh1jhjMChMhjBubeh}(h]h ]h"]h$]h&]uh1jhjBubh)}(h**Description**h]j)}(hjsCh]h Description}(hjuChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqCubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjBubh)}(h!Returns the interrupt descriptor.h]h!Returns the interrupt descriptor.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjBubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubj+)}(hhh]h}(h]h ]h"]h$]h&]entries](j7%irq_domain_xlate_onecell (C function)c.irq_domain_xlate_onecellhNtauh1j*hj hhhNhNubj<)}(hhh](jA)}(hint irq_domain_xlate_onecell (struct irq_domain *d, struct device_node *ctrlr, const u32 *intspec, unsigned int intsize, unsigned long *out_hwirq, unsigned int *out_type)h]jG)}(hint irq_domain_xlate_onecell(struct irq_domain *d, struct device_node *ctrlr, const u32 *intspec, unsigned int intsize, unsigned long *out_hwirq, unsigned int *out_type)h](jJ)}(hinth]hint}(hjChhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjChhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM%ubj_)}(h h]h }(hjChhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjChhhjChM%ubjp)}(hirq_domain_xlate_onecellh]jv)}(hirq_domain_xlate_onecellh]hirq_domain_xlate_onecell}(hjChhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjCubah}(h]h ](jjeh"]h$]h&]jjuh1johjChhhjChM%ubj)}(h(struct irq_domain *d, struct device_node *ctrlr, const u32 *intspec, unsigned int intsize, unsigned long *out_hwirq, unsigned int *out_type)h](j)}(hstruct irq_domain *dh](jM)}(hjPh]hstruct}(hjChhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjCubj_)}(h h]h }(hjDhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjCubh)}(hhh]jv)}(h irq_domainh]h irq_domain}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjDubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjDmodnameN classnameNjj)}j]j)}jjCsbc.irq_domain_xlate_onecellasbuh1hhjCubj_)}(h h]h }(hj3DhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjCubj)}(hjh]h*}(hjADhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCubjv)}(hdh]hd}(hjNDhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjCubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjCubj)}(hstruct device_node *ctrlrh](jM)}(hjPh]hstruct}(hjgDhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjcDubj_)}(h h]h }(hjtDhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjcDubh)}(hhh]jv)}(h device_nodeh]h device_node}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjDubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjDmodnameN classnameNjj)}j]j/Dc.irq_domain_xlate_onecellasbuh1hhjcDubj_)}(h h]h }(hjDhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjcDubj)}(hjh]h*}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjcDubjv)}(hctrlrh]hctrlr}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjcDubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjCubj)}(hconst u32 *intspech](jM)}(hjh]hconst}(hjDhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjDubj_)}(h h]h }(hjDhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjDubh)}(hhh]jv)}(hu32h]hu32}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjDubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjDmodnameN classnameNjj)}j]j/Dc.irq_domain_xlate_onecellasbuh1hhjDubj_)}(h h]h }(hjEhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjDubj)}(hjh]h*}(hj!EhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubjv)}(hintspech]hintspec}(hj.EhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjDubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjCubj)}(hunsigned int intsizeh](jJ)}(hunsignedh]hunsigned}(hjGEhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjCEubj_)}(h h]h }(hjUEhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjCEubjJ)}(hinth]hint}(hjcEhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjCEubj_)}(h h]h }(hjqEhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjCEubjv)}(hintsizeh]hintsize}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjCEubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjCubj)}(hunsigned long *out_hwirqh](jJ)}(hunsignedh]hunsigned}(hjEhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjEubj_)}(h h]h }(hjEhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjEubjJ)}(hlongh]hlong}(hjEhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjEubj_)}(h h]h }(hjEhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjEubj)}(hjh]h*}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubjv)}(h out_hwirqh]h out_hwirq}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjEubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjCubj)}(hunsigned int *out_typeh](jJ)}(hunsignedh]hunsigned}(hjEhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjEubj_)}(h h]h }(hjFhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjEubjJ)}(hinth]hint}(hjFhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjEubj_)}(h h]h }(hj FhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjEubj)}(hjh]h*}(hj.FhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubjv)}(hout_typeh]hout_type}(hj;FhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjEubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjCubeh}(h]h ]h"]h$]h&]jjuh1jhjChhhjChM%ubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhjChhhjChM%ubah}(h]jCah ](jjeh"]h$]h&]jj)jhuh1j@hjChM%hjChhubj)}(hhh]h)}(h*Generic xlate for direct one cell bindingsh]h*Generic xlate for direct one cell bindings}(hjeFhhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM%hjbFhhubah}(h]h ]h"]h$]h&]uh1jhjChhhjChM%ubeh}(h]h ](jofunctioneh"]h$]h&]jjojj}Fjj}Fjjjuh1j;hhhj hNhNubj)}(hX**Parameters** ``struct irq_domain *d`` Interrupt domain involved in the translation ``struct device_node *ctrlr`` The device tree node for the device whose interrupt is translated ``const u32 *intspec`` The interrupt specifier data from the device tree ``unsigned int intsize`` The number of entries in **intspec** ``unsigned long *out_hwirq`` Pointer to storage for the hardware interrupt number ``unsigned int *out_type`` Pointer to storage for the interrupt type **Description** Device Tree IRQ specifier translation function which works with one cell bindings where the cell value maps directly to the hwirq number.h](h)}(h**Parameters**h]j)}(hjFh]h Parameters}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM)hjFubj)}(hhh](j)}(hF``struct irq_domain *d`` Interrupt domain involved in the translation h](j )}(h``struct irq_domain *d``h]jc)}(hjFh]hstruct irq_domain *d}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjFubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM&hjFubj:)}(hhh]h)}(h,Interrupt domain involved in the translationh]h,Interrupt domain involved in the translation}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFhM&hjFubah}(h]h ]h"]h$]h&]uh1j9hjFubeh}(h]h ]h"]h$]h&]uh1jhjFhM&hjFubj)}(h```struct device_node *ctrlr`` The device tree node for the device whose interrupt is translated h](j )}(h``struct device_node *ctrlr``h]jc)}(hjFh]hstruct device_node *ctrlr}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjFubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM'hjFubj:)}(hhh]h)}(hAThe device tree node for the device whose interrupt is translatedh]hAThe device tree node for the device whose interrupt is translated}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjFhM'hjFubah}(h]h ]h"]h$]h&]uh1j9hjFubeh}(h]h ]h"]h$]h&]uh1jhjFhM'hjFubj)}(hI``const u32 *intspec`` The interrupt specifier data from the device tree h](j )}(h``const u32 *intspec``h]jc)}(hjGh]hconst u32 *intspec}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjGubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM(hjGubj:)}(hhh]h)}(h1The interrupt specifier data from the device treeh]h1The interrupt specifier data from the device tree}(hj1GhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-GhM(hj.Gubah}(h]h ]h"]h$]h&]uh1j9hjGubeh}(h]h ]h"]h$]h&]uh1jhj-GhM(hjFubj)}(h>``unsigned int intsize`` The number of entries in **intspec** h](j )}(h``unsigned int intsize``h]jc)}(hjQGh]hunsigned int intsize}(hjSGhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjOGubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM)hjKGubj:)}(hhh]h)}(h$The number of entries in **intspec**h](hThe number of entries in }(hjjGhhhNhNubj)}(h **intspec**h]hintspec}(hjrGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjjGubeh}(h]h ]h"]h$]h&]uh1hhjfGhM)hjgGubah}(h]h ]h"]h$]h&]uh1j9hjKGubeh}(h]h ]h"]h$]h&]uh1jhjfGhM)hjFubj)}(hR``unsigned long *out_hwirq`` Pointer to storage for the hardware interrupt number h](j )}(h``unsigned long *out_hwirq``h]jc)}(hjGh]hunsigned long *out_hwirq}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjGubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM*hjGubj:)}(hhh]h)}(h4Pointer to storage for the hardware interrupt numberh]h4Pointer to storage for the hardware interrupt number}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGhM*hjGubah}(h]h ]h"]h$]h&]uh1j9hjGubeh}(h]h ]h"]h$]h&]uh1jhjGhM*hjFubj)}(hE``unsigned int *out_type`` Pointer to storage for the interrupt type h](j )}(h``unsigned int *out_type``h]jc)}(hjGh]hunsigned int *out_type}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjGubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM+hjGubj:)}(hhh]h)}(h)Pointer to storage for the interrupt typeh]h)Pointer to storage for the interrupt type}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGhM+hjGubah}(h]h ]h"]h$]h&]uh1j9hjGubeh}(h]h ]h"]h$]h&]uh1jhjGhM+hjFubeh}(h]h ]h"]h$]h&]uh1jhjFubh)}(h**Description**h]j)}(hj Hh]h Description}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Hubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM-hjFubh)}(hDevice Tree IRQ specifier translation function which works with one cell bindings where the cell value maps directly to the hwirq number.h]hDevice Tree IRQ specifier translation function which works with one cell bindings where the cell value maps directly to the hwirq number.}(hj"HhhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM-hjFubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubj+)}(hhh]h}(h]h ]h"]h$]h&]entries](j7%irq_domain_xlate_twocell (C function)c.irq_domain_xlate_twocellhNtauh1j*hj hhhNhNubj<)}(hhh](jA)}(hint irq_domain_xlate_twocell (struct irq_domain *d, struct device_node *ctrlr, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_type)h]jG)}(hint irq_domain_xlate_twocell(struct irq_domain *d, struct device_node *ctrlr, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_type)h](jJ)}(hinth]hint}(hjQHhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjMHhhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM=ubj_)}(h h]h }(hj`HhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjMHhhhj_HhM=ubjp)}(hirq_domain_xlate_twocellh]jv)}(hirq_domain_xlate_twocellh]hirq_domain_xlate_twocell}(hjrHhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjnHubah}(h]h ](jjeh"]h$]h&]jjuh1johjMHhhhj_HhM=ubj)}(h(struct irq_domain *d, struct device_node *ctrlr, const u32 *intspec, unsigned int intsize, irq_hw_number_t *out_hwirq, unsigned int *out_type)h](j)}(hstruct irq_domain *dh](jM)}(hjPh]hstruct}(hjHhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjHubj_)}(h h]h }(hjHhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjHubh)}(hhh]jv)}(h irq_domainh]h irq_domain}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjHubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjHmodnameN classnameNjj)}j]j)}jjtHsbc.irq_domain_xlate_twocellasbuh1hhjHubj_)}(h h]h }(hjHhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjHubj)}(hjh]h*}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubjv)}(hjPDh]hd}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjHubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjHubj)}(hstruct device_node *ctrlrh](jM)}(hjPh]hstruct}(hjHhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjHubj_)}(h h]h }(hj IhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjHubh)}(hhh]jv)}(h device_nodeh]h device_node}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjIubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjImodnameN classnameNjj)}j]jHc.irq_domain_xlate_twocellasbuh1hhjHubj_)}(h h]h }(hj;IhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjHubj)}(hjh]h*}(hjIIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubjv)}(hctrlrh]hctrlr}(hjVIhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjHubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjHubj)}(hconst u32 *intspech](jM)}(hjh]hconst}(hjoIhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjkIubj_)}(h h]h }(hj|IhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjkIubh)}(hhh]jv)}(hu32h]hu32}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjIubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjImodnameN classnameNjj)}j]jHc.irq_domain_xlate_twocellasbuh1hhjkIubj_)}(h h]h }(hjIhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjkIubj)}(hjh]h*}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkIubjv)}(hintspech]hintspec}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjkIubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjHubj)}(hunsigned int intsizeh](jJ)}(hunsignedh]hunsigned}(hjIhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjIubj_)}(h h]h }(hjIhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjIubjJ)}(hinth]hint}(hjIhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjIubj_)}(h h]h }(hj JhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjIubjv)}(hintsizeh]hintsize}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjIubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjHubj)}(hirq_hw_number_t *out_hwirqh](h)}(hhh]jv)}(hirq_hw_number_th]hirq_hw_number_t}(hj3JhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj0Jubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetj5JmodnameN classnameNjj)}j]jHc.irq_domain_xlate_twocellasbuh1hhj,Jubj_)}(h h]h }(hjQJhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj,Jubj)}(hjh]h*}(hj_JhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,Jubjv)}(h out_hwirqh]h out_hwirq}(hjlJhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj,Jubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjHubj)}(hunsigned int *out_typeh](jJ)}(hunsignedh]hunsigned}(hjJhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjJubj_)}(h h]h }(hjJhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjJubjJ)}(hinth]hint}(hjJhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjJubj_)}(h h]h }(hjJhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjJubj)}(hjh]h*}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubjv)}(hout_typeh]hout_type}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjJubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjHubeh}(h]h ]h"]h$]h&]jjuh1jhjMHhhhj_HhM=ubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhjIHhhhj_HhM=ubah}(h]jDHah ](jjeh"]h$]h&]jj)jhuh1j@hj_HhM=hjFHhhubj)}(hhh]h)}(h*Generic xlate for direct two cell bindingsh]h*Generic xlate for direct two cell bindings}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM=hjJhhubah}(h]h ]h"]h$]h&]uh1jhjFHhhhj_HhM=ubeh}(h]h ](jofunctioneh"]h$]h&]jjojj Kjj Kjjjuh1j;hhhj hNhNubj)}(hX**Parameters** ``struct irq_domain *d`` Interrupt domain involved in the translation ``struct device_node *ctrlr`` The device tree node for the device whose interrupt is translated ``const u32 *intspec`` The interrupt specifier data from the device tree ``unsigned int intsize`` The number of entries in **intspec** ``irq_hw_number_t *out_hwirq`` Pointer to storage for the hardware interrupt number ``unsigned int *out_type`` Pointer to storage for the interrupt type **Description** Device Tree IRQ specifier translation function which works with two cell bindings where the cell values map directly to the hwirq number and linux irq flags.h](h)}(h**Parameters**h]j)}(hjKh]h Parameters}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMAhjKubj)}(hhh](j)}(hF``struct irq_domain *d`` Interrupt domain involved in the translation h](j )}(h``struct irq_domain *d``h]jc)}(hj5Kh]hstruct irq_domain *d}(hj7KhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj3Kubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM>hj/Kubj:)}(hhh]h)}(h,Interrupt domain involved in the translationh]h,Interrupt domain involved in the translation}(hjNKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJKhM>hjKKubah}(h]h ]h"]h$]h&]uh1j9hj/Kubeh}(h]h ]h"]h$]h&]uh1jhjJKhM>hj,Kubj)}(h```struct device_node *ctrlr`` The device tree node for the device whose interrupt is translated h](j )}(h``struct device_node *ctrlr``h]jc)}(hjnKh]hstruct device_node *ctrlr}(hjpKhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjlKubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM?hjhKubj:)}(hhh]h)}(hAThe device tree node for the device whose interrupt is translatedh]hAThe device tree node for the device whose interrupt is translated}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjKhM?hjKubah}(h]h ]h"]h$]h&]uh1j9hjhKubeh}(h]h ]h"]h$]h&]uh1jhjKhM?hj,Kubj)}(hI``const u32 *intspec`` The interrupt specifier data from the device tree h](j )}(h``const u32 *intspec``h]jc)}(hjKh]hconst u32 *intspec}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjKubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM@hjKubj:)}(hhh]h)}(h1The interrupt specifier data from the device treeh]h1The interrupt specifier data from the device tree}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjKhM@hjKubah}(h]h ]h"]h$]h&]uh1j9hjKubeh}(h]h ]h"]h$]h&]uh1jhjKhM@hj,Kubj)}(h>``unsigned int intsize`` The number of entries in **intspec** h](j )}(h``unsigned int intsize``h]jc)}(hjKh]hunsigned int intsize}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjKubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMAhjKubj:)}(hhh]h)}(h$The number of entries in **intspec**h](hThe number of entries in }(hjKhhhNhNubj)}(h **intspec**h]hintspec}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubeh}(h]h ]h"]h$]h&]uh1hhjKhMAhjKubah}(h]h ]h"]h$]h&]uh1j9hjKubeh}(h]h ]h"]h$]h&]uh1jhjKhMAhj,Kubj)}(hT``irq_hw_number_t *out_hwirq`` Pointer to storage for the hardware interrupt number h](j )}(h``irq_hw_number_t *out_hwirq``h]jc)}(hj'Lh]hirq_hw_number_t *out_hwirq}(hj)LhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj%Lubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMBhj!Lubj:)}(hhh]h)}(h4Pointer to storage for the hardware interrupt numberh]h4Pointer to storage for the hardware interrupt number}(hj@LhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjOhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjOubj)}(hjh]h*}(hjLOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubjv)}(hout_typeh]hout_type}(hjYOhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjOubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjMubeh}(h]h ]h"]h$]h&]jjuh1jhjLhhhjLhMUubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhjLhhhjLhMUubah}(h]jLah ](jjeh"]h$]h&]jj)jhuh1j@hjLhMUhjLhhubj)}(hhh]h)}(h3Generic xlate for direct two or three cell bindingsh]h3Generic xlate for direct two or three cell bindings}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMUhjOhhubah}(h]h ]h"]h$]h&]uh1jhjLhhhjLhMUubeh}(h]h ](jofunctioneh"]h$]h&]jjojjOjjOjjjuh1j;hhhj hNhNubj)}(hX**Parameters** ``struct irq_domain *d`` Interrupt domain involved in the translation ``struct device_node *ctrlr`` The device tree node for the device whose interrupt is translated ``const u32 *intspec`` The interrupt specifier data from the device tree ``unsigned int intsize`` The number of entries in **intspec** ``irq_hw_number_t *out_hwirq`` Pointer to storage for the hardware interrupt number ``unsigned int *out_type`` Pointer to storage for the interrupt type **Description** Device Tree interrupt specifier translation function for two or three cell bindings, where the cell values map directly to the hardware interrupt number and the type specifier.h](h)}(h**Parameters**h]j)}(hjOh]h Parameters}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMYhjOubj)}(hhh](j)}(hF``struct irq_domain *d`` Interrupt domain involved in the translation h](j )}(h``struct irq_domain *d``h]jc)}(hjOh]hstruct irq_domain *d}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjOubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMVhjOubj:)}(hhh]h)}(h,Interrupt domain involved in the translationh]h,Interrupt domain involved in the translation}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjOhMVhjOubah}(h]h ]h"]h$]h&]uh1j9hjOubeh}(h]h ]h"]h$]h&]uh1jhjOhMVhjOubj)}(h```struct device_node *ctrlr`` The device tree node for the device whose interrupt is translated h](j )}(h``struct device_node *ctrlr``h]jc)}(hjOh]hstruct device_node *ctrlr}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjOubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMWhjOubj:)}(hhh]h)}(hAThe device tree node for the device whose interrupt is translatedh]hAThe device tree node for the device whose interrupt is translated}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjPhMWhjPubah}(h]h ]h"]h$]h&]uh1j9hjOubeh}(h]h ]h"]h$]h&]uh1jhjPhMWhjOubj)}(hI``const u32 *intspec`` The interrupt specifier data from the device tree h](j )}(h``const u32 *intspec``h]jc)}(hj6Ph]hconst u32 *intspec}(hj8PhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj4Pubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMXhj0Pubj:)}(hhh]h)}(h1The interrupt specifier data from the device treeh]h1The interrupt specifier data from the device tree}(hjOPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjKPhMXhjLPubah}(h]h ]h"]h$]h&]uh1j9hj0Pubeh}(h]h ]h"]h$]h&]uh1jhjKPhMXhjOubj)}(h>``unsigned int intsize`` The number of entries in **intspec** h](j )}(h``unsigned int intsize``h]jc)}(hjoPh]hunsigned int intsize}(hjqPhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjmPubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMYhjiPubj:)}(hhh]h)}(h$The number of entries in **intspec**h](hThe number of entries in }(hjPhhhNhNubj)}(h **intspec**h]hintspec}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1hhjPhMYhjPubah}(h]h ]h"]h$]h&]uh1j9hjiPubeh}(h]h ]h"]h$]h&]uh1jhjPhMYhjOubj)}(hT``irq_hw_number_t *out_hwirq`` Pointer to storage for the hardware interrupt number h](j )}(h``irq_hw_number_t *out_hwirq``h]jc)}(hjPh]hirq_hw_number_t *out_hwirq}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjPubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMZhjPubj:)}(hhh]h)}(h4Pointer to storage for the hardware interrupt numberh]h4Pointer to storage for the hardware interrupt number}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjPhMZhjPubah}(h]h ]h"]h$]h&]uh1j9hjPubeh}(h]h ]h"]h$]h&]uh1jhjPhMZhjOubj)}(hE``unsigned int *out_type`` Pointer to storage for the interrupt type h](j )}(h``unsigned int *out_type``h]jc)}(hjPh]hunsigned int *out_type}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjPubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM[hjPubj:)}(hhh]h)}(h)Pointer to storage for the interrupt typeh]h)Pointer to storage for the interrupt type}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQhM[hjQubah}(h]h ]h"]h$]h&]uh1j9hjPubeh}(h]h ]h"]h$]h&]uh1jhjQhM[hjOubeh}(h]h ]h"]h$]h&]uh1jhjOubh)}(h**Description**h]j)}(hj*Qh]h Description}(hj,QhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(Qubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM]hjOubh)}(hDevice Tree interrupt specifier translation function for two or three cell bindings, where the cell values map directly to the hardware interrupt number and the type specifier.h]hDevice Tree interrupt specifier translation function for two or three cell bindings, where the cell values map directly to the hardware interrupt number and the type specifier.}(hj@QhhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM]hjOubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubj+)}(hhh]h}(h]h ]h"]h$]h&]entries](j7(irq_domain_xlate_onetwocell (C function)c.irq_domain_xlate_onetwocellhNtauh1j*hj hhhNhNubj<)}(hhh](jA)}(hint irq_domain_xlate_onetwocell (struct irq_domain *d, struct device_node *ctrlr, const u32 *intspec, unsigned int intsize, unsigned long *out_hwirq, unsigned int *out_type)h]jG)}(hint irq_domain_xlate_onetwocell(struct irq_domain *d, struct device_node *ctrlr, const u32 *intspec, unsigned int intsize, unsigned long *out_hwirq, unsigned int *out_type)h](jJ)}(hinth]hint}(hjoQhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjkQhhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMnubj_)}(h h]h }(hj~QhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjkQhhhj}QhMnubjp)}(hirq_domain_xlate_onetwocellh]jv)}(hirq_domain_xlate_onetwocellh]hirq_domain_xlate_onetwocell}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjQubah}(h]h ](jjeh"]h$]h&]jjuh1johjkQhhhj}QhMnubj)}(h(struct irq_domain *d, struct device_node *ctrlr, const u32 *intspec, unsigned int intsize, unsigned long *out_hwirq, unsigned int *out_type)h](j)}(hstruct irq_domain *dh](jM)}(hjPh]hstruct}(hjQhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjQubj_)}(h h]h }(hjQhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjQubh)}(hhh]jv)}(h irq_domainh]h irq_domain}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjQubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjQmodnameN classnameNjj)}j]j)}jjQsbc.irq_domain_xlate_onetwocellasbuh1hhjQubj_)}(h h]h }(hjQhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjQubj)}(hjh]h*}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubjv)}(hjPDh]hd}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjQubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjQubj)}(hstruct device_node *ctrlrh](jM)}(hjPh]hstruct}(hjRhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjRubj_)}(h h]h }(hj*RhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjRubh)}(hhh]jv)}(h device_nodeh]h device_node}(hj;RhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj8Rubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetj=RmodnameN classnameNjj)}j]jQc.irq_domain_xlate_onetwocellasbuh1hhjRubj_)}(h h]h }(hjYRhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjRubj)}(hjh]h*}(hjgRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubjv)}(hctrlrh]hctrlr}(hjtRhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjRubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjQubj)}(hconst u32 *intspech](jM)}(hjh]hconst}(hjRhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjRubj_)}(h h]h }(hjRhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjRubh)}(hhh]jv)}(hu32h]hu32}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjRubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjRmodnameN classnameNjj)}j]jQc.irq_domain_xlate_onetwocellasbuh1hhjRubj_)}(h h]h }(hjRhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjRubj)}(hjh]h*}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubjv)}(hintspech]hintspec}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjRubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjQubj)}(hunsigned int intsizeh](jJ)}(hunsignedh]hunsigned}(hjRhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjRubj_)}(h h]h }(hj ShhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjRubjJ)}(hinth]hint}(hjShhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjRubj_)}(h h]h }(hj'ShhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjRubjv)}(hintsizeh]hintsize}(hj5ShhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjRubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjQubj)}(hunsigned long *out_hwirqh](jJ)}(hunsignedh]hunsigned}(hjNShhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjJSubj_)}(h h]h }(hj\ShhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjJSubjJ)}(hlongh]hlong}(hjjShhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjJSubj_)}(h h]h }(hjxShhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjJSubj)}(hjh]h*}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJSubjv)}(h out_hwirqh]h out_hwirq}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjJSubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjQubj)}(hunsigned int *out_typeh](jJ)}(hunsignedh]hunsigned}(hjShhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjSubj_)}(h h]h }(hjShhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjSubjJ)}(hinth]hint}(hjShhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjSubj_)}(h h]h }(hjShhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjSubj)}(hjh]h*}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubjv)}(hout_typeh]hout_type}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjSubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjQubeh}(h]h ]h"]h$]h&]jjuh1jhjkQhhhj}QhMnubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhjgQhhhj}QhMnubah}(h]jbQah ](jjeh"]h$]h&]jj)jhuh1j@hj}QhMnhjdQhhubj)}(hhh]h)}(h*Generic xlate for one or two cell bindingsh]h*Generic xlate for one or two cell bindings}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMnhjThhubah}(h]h ]h"]h$]h&]uh1jhjdQhhhj}QhMnubeh}(h]h ](jofunctioneh"]h$]h&]jjojj3Tjj3Tjjjuh1j;hhhj hNhNubj)}(hXw**Parameters** ``struct irq_domain *d`` Interrupt domain involved in the translation ``struct device_node *ctrlr`` The device tree node for the device whose interrupt is translated ``const u32 *intspec`` The interrupt specifier data from the device tree ``unsigned int intsize`` The number of entries in **intspec** ``unsigned long *out_hwirq`` Pointer to storage for the hardware interrupt number ``unsigned int *out_type`` Pointer to storage for the interrupt type **Description** Device Tree IRQ specifier translation function which works with either one or two cell bindings where the cell values map directly to the hwirq number and linux irq flags. **Note** don't use this function unless your interrupt controller explicitly supports both one and two cell bindings. For the majority of controllers the _onecell() or _twocell() variants above should be used.h](h)}(h**Parameters**h]j)}(hj=Th]h Parameters}(hj?ThhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;Tubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMrhj7Tubj)}(hhh](j)}(hF``struct irq_domain *d`` Interrupt domain involved in the translation h](j )}(h``struct irq_domain *d``h]jc)}(hj\Th]hstruct irq_domain *d}(hj^ThhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjZTubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMohjVTubj:)}(hhh]h)}(h,Interrupt domain involved in the translationh]h,Interrupt domain involved in the translation}(hjuThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjqThMohjrTubah}(h]h ]h"]h$]h&]uh1j9hjVTubeh}(h]h ]h"]h$]h&]uh1jhjqThMohjSTubj)}(h```struct device_node *ctrlr`` The device tree node for the device whose interrupt is translated h](j )}(h``struct device_node *ctrlr``h]jc)}(hjTh]hstruct device_node *ctrlr}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjTubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMphjTubj:)}(hhh]h)}(hAThe device tree node for the device whose interrupt is translatedh]hAThe device tree node for the device whose interrupt is translated}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThMphjTubah}(h]h ]h"]h$]h&]uh1j9hjTubeh}(h]h ]h"]h$]h&]uh1jhjThMphjSTubj)}(hI``const u32 *intspec`` The interrupt specifier data from the device tree h](j )}(h``const u32 *intspec``h]jc)}(hjTh]hconst u32 *intspec}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjTubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMqhjTubj:)}(hhh]h)}(h1The interrupt specifier data from the device treeh]h1The interrupt specifier data from the device tree}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThMqhjTubah}(h]h ]h"]h$]h&]uh1j9hjTubeh}(h]h ]h"]h$]h&]uh1jhjThMqhjSTubj)}(h>``unsigned int intsize`` The number of entries in **intspec** h](j )}(h``unsigned int intsize``h]jc)}(hjUh]hunsigned int intsize}(hj UhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjUubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMrhjUubj:)}(hhh]h)}(h$The number of entries in **intspec**h](hThe number of entries in }(hj UhhhNhNubj)}(h **intspec**h]hintspec}(hj(UhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj Uubeh}(h]h ]h"]h$]h&]uh1hhjUhMrhjUubah}(h]h ]h"]h$]h&]uh1j9hjUubeh}(h]h ]h"]h$]h&]uh1jhjUhMrhjSTubj)}(hR``unsigned long *out_hwirq`` Pointer to storage for the hardware interrupt number h](j )}(h``unsigned long *out_hwirq``h]jc)}(hjNUh]hunsigned long *out_hwirq}(hjPUhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjLUubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMshjHUubj:)}(hhh]h)}(h4Pointer to storage for the hardware interrupt numberh]h4Pointer to storage for the hardware interrupt number}(hjgUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjcUhMshjdUubah}(h]h ]h"]h$]h&]uh1j9hjHUubeh}(h]h ]h"]h$]h&]uh1jhjcUhMshjSTubj)}(hE``unsigned int *out_type`` Pointer to storage for the interrupt type h](j )}(h``unsigned int *out_type``h]jc)}(hjUh]hunsigned int *out_type}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjUubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMthjUubj:)}(hhh]h)}(h)Pointer to storage for the interrupt typeh]h)Pointer to storage for the interrupt type}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUhMthjUubah}(h]h ]h"]h$]h&]uh1j9hjUubeh}(h]h ]h"]h$]h&]uh1jhjUhMthjSTubeh}(h]h ]h"]h$]h&]uh1jhj7Tubh)}(h**Description**h]j)}(hjUh]h Description}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMvhj7Tubh)}(hDevice Tree IRQ specifier translation function which works with either one or two cell bindings where the cell values map directly to the hwirq number and linux irq flags.h]hDevice Tree IRQ specifier translation function which works with either one or two cell bindings where the cell values map directly to the hwirq number and linux irq flags.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMvhj7Tubh)}(h**Note**h]j)}(hjUh]hNote}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMzhj7Tubh)}(hdon't use this function unless your interrupt controller explicitly supports both one and two cell bindings. For the majority of controllers the _onecell() or _twocell() variants above should be used.h]hdon’t use this function unless your interrupt controller explicitly supports both one and two cell bindings. For the majority of controllers the _onecell() or _twocell() variants above should be used.}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMzhj7Tubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubj+)}(hhh]h}(h]h ]h"]h$]h&]entries](j7)irq_domain_translate_onecell (C function)c.irq_domain_translate_onecellhNtauh1j*hj hhhNhNubj<)}(hhh](jA)}(hint irq_domain_translate_onecell (struct irq_domain *d, struct irq_fwspec *fwspec, unsigned long *out_hwirq, unsigned int *out_type)h]jG)}(hint irq_domain_translate_onecell(struct irq_domain *d, struct irq_fwspec *fwspec, unsigned long *out_hwirq, unsigned int *out_type)h](jJ)}(hinth]hint}(hj.VhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhj*Vhhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMubj_)}(h h]h }(hj=VhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj*VhhhjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:cubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMThjbubh)}(hMarks the **virq** level belonging to **domain** as disconnected. Returns -EINVAL if **virq** doesn't have a valid irq_data pointing to **domain**.h](h Marks the }(hjRchhhNhNubj)}(h**virq**h]hvirq}(hjZchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRcubh level belonging to }(hjRchhhNhNubj)}(h **domain**h]hdomain}(hjlchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRcubh% as disconnected. Returns -EINVAL if }(hjRchhhNhNubj)}(h**virq**h]hvirq}(hj~chhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRcubh- doesn’t have a valid irq_data pointing to }(hjRchhhNhNubj)}(h **domain**h]hdomain}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRcubh.}(hjRchhhNhNubeh}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMThjbubh)}(hIts only use is to be able to trim levels of hierarchy that do not have any real meaning for this interrupt, and that the driver marks as such from its .alloc() callback.h]hIts only use is to be able to trim levels of hierarchy that do not have any real meaning for this interrupt, and that the driver marks as such from its .alloc() callback.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMXhjbubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubj+)}(hhh]h}(h]h ]h"]h$]h&]entries](j7$irq_domain_get_irq_data (C function)c.irq_domain_get_irq_datahNtauh1j*hj hhhNhNubj<)}(hhh](jA)}(hXstruct irq_data * irq_domain_get_irq_data (struct irq_domain *domain, unsigned int virq)h]jG)}(hVstruct irq_data *irq_domain_get_irq_data(struct irq_domain *domain, unsigned int virq)h](jM)}(hjPh]hstruct}(hjchhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjchhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMubj_)}(h h]h }(hjchhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjchhhjchMubh)}(hhh]jv)}(hirq_datah]hirq_data}(hjchhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjcubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjcmodnameN classnameNjj)}j]j)}jirq_domain_get_irq_datasbc.irq_domain_get_irq_dataasbuh1hhjchhhjchMubj_)}(h h]h }(hjdhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjchhhjchMubj)}(hjh]h*}(hj&dhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjchhhjchMubjp)}(hirq_domain_get_irq_datah]jv)}(hjdh]hirq_domain_get_irq_data}(hj7dhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj3dubah}(h]h ](jjeh"]h$]h&]jjuh1johjchhhjchMubj)}(h.(struct irq_domain *domain, unsigned int virq)h](j)}(hstruct irq_domain *domainh](jM)}(hjPh]hstruct}(hjRdhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjNdubj_)}(h h]h }(hj_dhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjNdubh)}(hhh]jv)}(h irq_domainh]h irq_domain}(hjpdhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjmdubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjrdmodnameN classnameNjj)}j]jdc.irq_domain_get_irq_dataasbuh1hhjNdubj_)}(h h]h }(hjdhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjNdubj)}(hjh]h*}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNdubjv)}(hdomainh]hdomain}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjNdubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjJdubj)}(hunsigned int virqh](jJ)}(hunsignedh]hunsigned}(hjdhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjdubj_)}(h h]h }(hjdhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjdubjJ)}(hinth]hint}(hjdhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjdubj_)}(h h]h }(hjdhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjdubjv)}(hvirqh]hvirq}(hjdhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjdubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjJdubeh}(h]h ]h"]h$]h&]jjuh1jhjchhhjchMubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhjchhhjchMubah}(h]jcah ](jjeh"]h$]h&]jj)jhuh1j@hjchMhjchhubj)}(hhh]h)}(h4Get irq_data associated with **virq** and **domain**h](hGet irq_data associated with }(hj$ehhhNhNubj)}(h**virq**h]hvirq}(hj,ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$eubh and }(hj$ehhhNhNubj)}(h **domain**h]hdomain}(hj>ehhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$eubeh}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj!ehhubah}(h]h ]h"]h$]h&]uh1jhjchhhjchMubeh}(h]h ](jofunctioneh"]h$]h&]jjojj\ejj\ejjjuh1j;hhhj hNhNubj)}(hs**Parameters** ``struct irq_domain *domain`` domain to match ``unsigned int virq`` IRQ number to get irq_datah](h)}(h**Parameters**h]j)}(hjfeh]h Parameters}(hjhehhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdeubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj`eubj)}(hhh](j)}(h.``struct irq_domain *domain`` domain to match h](j )}(h``struct irq_domain *domain``h]jc)}(hjeh]hstruct irq_domain *domain}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjeubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjeubj:)}(hhh]h)}(hdomain to matchh]hdomain to match}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhjehMhjeubah}(h]h ]h"]h$]h&]uh1j9hjeubeh}(h]h ]h"]h$]h&]uh1jhjehMhj|eubj)}(h0``unsigned int virq`` IRQ number to get irq_datah](j )}(h``unsigned int virq``h]jc)}(hjeh]hunsigned int virq}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjeubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjeubj:)}(hhh]h)}(hIRQ number to get irq_datah]hIRQ number to get irq_data}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjeubah}(h]h ]h"]h$]h&]uh1j9hjeubeh}(h]h ]h"]h$]h&]uh1jhjehMhj|eubeh}(h]h ]h"]h$]h&]uh1jhj`eubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubj+)}(hhh]h}(h]h ]h"]h$]h&]entries](j7*irq_domain_set_hwirq_and_chip (C function)c.irq_domain_set_hwirq_and_chiphNtauh1j*hj hhhNhNubj<)}(hhh](jA)}(hint irq_domain_set_hwirq_and_chip (struct irq_domain *domain, unsigned int virq, irq_hw_number_t hwirq, const struct irq_chip *chip, void *chip_data)h]jG)}(hint irq_domain_set_hwirq_and_chip(struct irq_domain *domain, unsigned int virq, irq_hw_number_t hwirq, const struct irq_chip *chip, void *chip_data)h](jJ)}(hinth]hint}(hjfhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjfhhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMubj_)}(h h]h }(hj'fhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjfhhhj&fhMubjp)}(hirq_domain_set_hwirq_and_chiph]jv)}(hirq_domain_set_hwirq_and_chiph]hirq_domain_set_hwirq_and_chip}(hj9fhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj5fubah}(h]h ](jjeh"]h$]h&]jjuh1johjfhhhj&fhMubj)}(hs(struct irq_domain *domain, unsigned int virq, irq_hw_number_t hwirq, const struct irq_chip *chip, void *chip_data)h](j)}(hstruct irq_domain *domainh](jM)}(hjPh]hstruct}(hjUfhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjQfubj_)}(h h]h }(hjbfhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjQfubh)}(hhh]jv)}(h irq_domainh]h irq_domain}(hjsfhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjpfubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjufmodnameN classnameNjj)}j]j)}jj;fsbc.irq_domain_set_hwirq_and_chipasbuh1hhjQfubj_)}(h h]h }(hjfhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjQfubj)}(hjh]h*}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQfubjv)}(hdomainh]hdomain}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjQfubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjMfubj)}(hunsigned int virqh](jJ)}(hunsignedh]hunsigned}(hjfhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjfubj_)}(h h]h }(hjfhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjfubjJ)}(hinth]hint}(hjfhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjfubj_)}(h h]h }(hjfhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjfubjv)}(hvirqh]hvirq}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjfubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjMfubj)}(hirq_hw_number_t hwirqh](h)}(hhh]jv)}(hirq_hw_number_th]hirq_hw_number_t}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjgubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjgmodnameN classnameNjj)}j]jfc.irq_domain_set_hwirq_and_chipasbuh1hhjgubj_)}(h h]h }(hj9ghhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjgubjv)}(hhwirqh]hhwirq}(hjGghhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjgubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjMfubj)}(hconst struct irq_chip *chiph](jM)}(hjh]hconst}(hj`ghhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhj\gubj_)}(h h]h }(hjmghhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj\gubjM)}(hjPh]hstruct}(hj{ghhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhj\gubj_)}(h h]h }(hjghhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj\gubh)}(hhh]jv)}(hirq_chiph]hirq_chip}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjgubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjgmodnameN classnameNjj)}j]jfc.irq_domain_set_hwirq_and_chipasbuh1hhj\gubj_)}(h h]h }(hjghhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj\gubj)}(hjh]h*}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\gubjv)}(hchiph]hchip}(hjghhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj\gubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjMfubj)}(hvoid *chip_datah](jJ)}(hvoidh]hvoid}(hjghhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjgubj_)}(h h]h }(hjghhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjgubj)}(hjh]h*}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjgubjv)}(h chip_datah]h chip_data}(hjhhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjgubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjMfubeh}(h]h ]h"]h$]h&]jjuh1jhjfhhhj&fhMubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhjfhhhj&fhMubah}(h]j fah ](jjeh"]h$]h&]jj)jhuh1j@hj&fhMhj fhhubj)}(hhh]h)}(h/Set hwirq and irqchip of **virq** at **domain**h](hSet hwirq and irqchip of }(hj>hhhhNhNubj)}(h**virq**h]hvirq}(hjFhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>hubh at }(hj>hhhhNhNubj)}(h **domain**h]hdomain}(hjXhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>hubeh}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj;hhhubah}(h]h ]h"]h$]h&]uh1jhj fhhhj&fhMubeh}(h]h ](jofunctioneh"]h$]h&]jjojjvhjjvhjjjuh1j;hhhj hNhNubj)}(hX **Parameters** ``struct irq_domain *domain`` Interrupt domain to match ``unsigned int virq`` IRQ number ``irq_hw_number_t hwirq`` The hwirq number ``const struct irq_chip *chip`` The associated interrupt chip ``void *chip_data`` The associated chip datah](h)}(h**Parameters**h]j)}(hjhh]h Parameters}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~hubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjzhubj)}(hhh](j)}(h8``struct irq_domain *domain`` Interrupt domain to match h](j )}(h``struct irq_domain *domain``h]jc)}(hjhh]hstruct irq_domain *domain}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjhubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjhubj:)}(hhh]h)}(hInterrupt domain to matchh]hInterrupt domain to match}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhMhjhubah}(h]h ]h"]h$]h&]uh1j9hjhubeh}(h]h ]h"]h$]h&]uh1jhjhhMhjhubj)}(h!``unsigned int virq`` IRQ number h](j )}(h``unsigned int virq``h]jc)}(hjhh]hunsigned int virq}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjhubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjhubj:)}(hhh]h)}(h IRQ numberh]h IRQ number}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhMhjhubah}(h]h ]h"]h$]h&]uh1j9hjhubeh}(h]h ]h"]h$]h&]uh1jhjhhMhjhubj)}(h+``irq_hw_number_t hwirq`` The hwirq number h](j )}(h``irq_hw_number_t hwirq``h]jc)}(hjih]hirq_hw_number_t hwirq}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjiubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj iubj:)}(hhh]h)}(hThe hwirq numberh]hThe hwirq number}(hj*ihhhNhNubah}(h]h ]h"]h$]h&]uh1hhj&ihMhj'iubah}(h]h ]h"]h$]h&]uh1j9hj iubeh}(h]h ]h"]h$]h&]uh1jhj&ihMhjhubj)}(h>``const struct irq_chip *chip`` The associated interrupt chip h](j )}(h``const struct irq_chip *chip``h]jc)}(hjJih]hconst struct irq_chip *chip}(hjLihhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjHiubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjDiubj:)}(hhh]h)}(hThe associated interrupt chiph]hThe associated interrupt chip}(hjcihhhNhNubah}(h]h ]h"]h$]h&]uh1hhj_ihMhj`iubah}(h]h ]h"]h$]h&]uh1j9hjDiubeh}(h]h ]h"]h$]h&]uh1jhj_ihMhjhubj)}(h,``void *chip_data`` The associated chip datah](j )}(h``void *chip_data``h]jc)}(hjih]hvoid *chip_data}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjiubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj}iubj:)}(hhh]h)}(hThe associated chip datah]hThe associated chip data}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjiubah}(h]h ]h"]h$]h&]uh1j9hj}iubeh}(h]h ]h"]h$]h&]uh1jhjihMhjhubeh}(h]h ]h"]h$]h&]uh1jhjzhubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubj+)}(hhh]h}(h]h ]h"]h$]h&]entries](j7 irq_domain_set_info (C function)c.irq_domain_set_infohNtauh1j*hj hhhNhNubj<)}(hhh](jA)}(hvoid irq_domain_set_info (struct irq_domain *domain, unsigned int virq, irq_hw_number_t hwirq, const struct irq_chip *chip, void *chip_data, irq_flow_handler_t handler, void *handler_data, const char *handler_name)h]jG)}(hvoid irq_domain_set_info(struct irq_domain *domain, unsigned int virq, irq_hw_number_t hwirq, const struct irq_chip *chip, void *chip_data, irq_flow_handler_t handler, void *handler_data, const char *handler_name)h](jJ)}(hvoidh]hvoid}(hjihhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjihhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMubj_)}(h h]h }(hjihhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjihhhjihMubjp)}(hirq_domain_set_infoh]jv)}(hirq_domain_set_infoh]hirq_domain_set_info}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjiubah}(h]h ](jjeh"]h$]h&]jjuh1johjihhhjihMubj)}(h(struct irq_domain *domain, unsigned int virq, irq_hw_number_t hwirq, const struct irq_chip *chip, void *chip_data, irq_flow_handler_t handler, void *handler_data, const char *handler_name)h](j)}(hstruct irq_domain *domainh](jM)}(hjPh]hstruct}(hjjhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjjubj_)}(h h]h }(hj'jhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjjubh)}(hhh]jv)}(h irq_domainh]h irq_domain}(hj8jhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj5jubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetj:jmodnameN classnameNjj)}j]j)}jjjsbc.irq_domain_set_infoasbuh1hhjjubj_)}(h h]h }(hjXjhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjjubj)}(hjh]h*}(hjfjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubjv)}(hdomainh]hdomain}(hjsjhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjjubj)}(hunsigned int virqh](jJ)}(hunsignedh]hunsigned}(hjjhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjjubj_)}(h h]h }(hjjhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjjubjJ)}(hinth]hint}(hjjhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjjubj_)}(h h]h }(hjjhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjjubjv)}(hvirqh]hvirq}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjjubj)}(hirq_hw_number_t hwirqh](h)}(hhh]jv)}(hirq_hw_number_th]hirq_hw_number_t}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjjubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjjmodnameN classnameNjj)}j]jTjc.irq_domain_set_infoasbuh1hhjjubj_)}(h h]h }(hjjhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjjubjv)}(hhwirqh]hhwirq}(hj khhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjjubj)}(hconst struct irq_chip *chiph](jM)}(hjh]hconst}(hj%khhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhj!kubj_)}(h h]h }(hj2khhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj!kubjM)}(hjPh]hstruct}(hj@khhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhj!kubj_)}(h h]h }(hjMkhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj!kubh)}(hhh]jv)}(hirq_chiph]hirq_chip}(hj^khhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj[kubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetj`kmodnameN classnameNjj)}j]jTjc.irq_domain_set_infoasbuh1hhj!kubj_)}(h h]h }(hj|khhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj!kubj)}(hjh]h*}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!kubjv)}(hchiph]hchip}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj!kubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjjubj)}(hvoid *chip_datah](jJ)}(hvoidh]hvoid}(hjkhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjkubj_)}(h h]h }(hjkhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjkubj)}(hjh]h*}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubjv)}(h chip_datah]h chip_data}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjkubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjjubj)}(hirq_flow_handler_t handlerh](h)}(hhh]jv)}(hirq_flow_handler_th]hirq_flow_handler_t}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjkubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjkmodnameN classnameNjj)}j]jTjc.irq_domain_set_infoasbuh1hhjkubj_)}(h h]h }(hjlhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjkubjv)}(hhandlerh]hhandler}(hj!lhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjkubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjjubj)}(hvoid *handler_datah](jJ)}(hvoidh]hvoid}(hj:lhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhj6lubj_)}(h h]h }(hjHlhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj6lubj)}(hjh]h*}(hjVlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj6lubjv)}(h handler_datah]h handler_data}(hjclhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj6lubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjjubj)}(hconst char *handler_nameh](jM)}(hjh]hconst}(hj|lhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjxlubj_)}(h h]h }(hjlhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjxlubjJ)}(hcharh]hchar}(hjlhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjxlubj_)}(h h]h }(hjlhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjxlubj)}(hjh]h*}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjxlubjv)}(h handler_nameh]h handler_name}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjxlubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjjubeh}(h]h ]h"]h$]h&]jjuh1jhjihhhjihMubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhjihhhjihMubah}(h]jiah ](jjeh"]h$]h&]jj)jhuh1j@hjihMhjihhubj)}(hhh]h)}(h2Set the complete data for a **virq** in **domain**h](hSet the complete data for a }(hjlhhhNhNubj)}(h**virq**h]hvirq}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubh in }(hjlhhhNhNubj)}(h **domain**h]hdomain}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubeh}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjlhhubah}(h]h ]h"]h$]h&]uh1jhjihhhjihMubeh}(h]h ](jofunctioneh"]h$]h&]jjojj"mjj"mjjjuh1j;hhhj hNhNubj)}(hX**Parameters** ``struct irq_domain *domain`` Interrupt domain to match ``unsigned int virq`` IRQ number ``irq_hw_number_t hwirq`` The hardware interrupt number ``const struct irq_chip *chip`` The associated interrupt chip ``void *chip_data`` The associated interrupt chip data ``irq_flow_handler_t handler`` The interrupt flow handler ``void *handler_data`` The interrupt flow handler data ``const char *handler_name`` The interrupt handler nameh](h)}(h**Parameters**h]j)}(hj,mh]h Parameters}(hj.mhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*mubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj&mubj)}(hhh](j)}(h8``struct irq_domain *domain`` Interrupt domain to match h](j )}(h``struct irq_domain *domain``h]jc)}(hjKmh]hstruct irq_domain *domain}(hjMmhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjImubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjEmubj:)}(hhh]h)}(hInterrupt domain to matchh]hInterrupt domain to match}(hjdmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj`mhMhjamubah}(h]h ]h"]h$]h&]uh1j9hjEmubeh}(h]h ]h"]h$]h&]uh1jhj`mhMhjBmubj)}(h!``unsigned int virq`` IRQ number h](j )}(h``unsigned int virq``h]jc)}(hjmh]hunsigned int virq}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjmubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj~mubj:)}(hhh]h)}(h IRQ numberh]h IRQ number}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhMhjmubah}(h]h ]h"]h$]h&]uh1j9hj~mubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjBmubj)}(h8``irq_hw_number_t hwirq`` The hardware interrupt number h](j )}(h``irq_hw_number_t hwirq``h]jc)}(hjmh]hirq_hw_number_t hwirq}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjmubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjmubj:)}(hhh]h)}(hThe hardware interrupt numberh]hThe hardware interrupt number}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhMhjmubah}(h]h ]h"]h$]h&]uh1j9hjmubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjBmubj)}(h>``const struct irq_chip *chip`` The associated interrupt chip h](j )}(h``const struct irq_chip *chip``h]jc)}(hjmh]hconst struct irq_chip *chip}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjmubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjmubj:)}(hhh]h)}(hThe associated interrupt chiph]hThe associated interrupt chip}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj nhMhj nubah}(h]h ]h"]h$]h&]uh1j9hjmubeh}(h]h ]h"]h$]h&]uh1jhj nhMhjBmubj)}(h7``void *chip_data`` The associated interrupt chip data h](j )}(h``void *chip_data``h]jc)}(hj/nh]hvoid *chip_data}(hj1nhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj-nubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj)nubj:)}(hhh]h)}(h"The associated interrupt chip datah]h"The associated interrupt chip data}(hjHnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjDnhMhjEnubah}(h]h ]h"]h$]h&]uh1j9hj)nubeh}(h]h ]h"]h$]h&]uh1jhjDnhMhjBmubj)}(h:``irq_flow_handler_t handler`` The interrupt flow handler h](j )}(h``irq_flow_handler_t handler``h]jc)}(hjhnh]hirq_flow_handler_t handler}(hjjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjfnubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjbnubj:)}(hhh]h)}(hThe interrupt flow handlerh]hThe interrupt flow handler}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}nhMhj~nubah}(h]h ]h"]h$]h&]uh1j9hjbnubeh}(h]h ]h"]h$]h&]uh1jhj}nhMhjBmubj)}(h7``void *handler_data`` The interrupt flow handler data h](j )}(h``void *handler_data``h]jc)}(hjnh]hvoid *handler_data}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjnubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjnubj:)}(hhh]h)}(hThe interrupt flow handler datah]hThe interrupt flow handler data}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjnhMhjnubah}(h]h ]h"]h$]h&]uh1j9hjnubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjBmubj)}(h7``const char *handler_name`` The interrupt handler nameh](j )}(h``const char *handler_name``h]jc)}(hjnh]hconst char *handler_name}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjnubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjnubj:)}(hhh]h)}(hThe interrupt handler nameh]hThe interrupt handler name}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjnubah}(h]h ]h"]h$]h&]uh1j9hjnubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjBmubeh}(h]h ]h"]h$]h&]uh1jhj&mubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubj+)}(hhh]h}(h]h ]h"]h$]h&]entries](j7(irq_domain_free_irqs_common (C function)c.irq_domain_free_irqs_commonhNtauh1j*hj hhhNhNubj<)}(hhh](jA)}(hevoid irq_domain_free_irqs_common (struct irq_domain *domain, unsigned int virq, unsigned int nr_irqs)h]jG)}(hdvoid irq_domain_free_irqs_common(struct irq_domain *domain, unsigned int virq, unsigned int nr_irqs)h](jJ)}(hvoidh]hvoid}(hj4ohhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhj0ohhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMubj_)}(h h]h }(hjCohhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj0ohhhjBohMubjp)}(hirq_domain_free_irqs_commonh]jv)}(hirq_domain_free_irqs_commonh]hirq_domain_free_irqs_common}(hjUohhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjQoubah}(h]h ](jjeh"]h$]h&]jjuh1johj0ohhhjBohMubj)}(hD(struct irq_domain *domain, unsigned int virq, unsigned int nr_irqs)h](j)}(hstruct irq_domain *domainh](jM)}(hjPh]hstruct}(hjqohhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjmoubj_)}(h h]h }(hj~ohhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjmoubh)}(hhh]jv)}(h irq_domainh]h irq_domain}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjoubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjomodnameN classnameNjj)}j]j)}jjWosbc.irq_domain_free_irqs_commonasbuh1hhjmoubj_)}(h h]h }(hjohhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjmoubj)}(hjh]h*}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmoubjv)}(hdomainh]hdomain}(hjohhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjmoubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjioubj)}(hunsigned int virqh](jJ)}(hunsignedh]hunsigned}(hjohhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjoubj_)}(h h]h }(hjohhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjoubjJ)}(hinth]hint}(hjohhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjoubj_)}(h h]h }(hj phhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjoubjv)}(hvirqh]hvirq}(hjphhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjoubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjioubj)}(hunsigned int nr_irqsh](jJ)}(hunsignedh]hunsigned}(hj4phhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhj0pubj_)}(h h]h }(hjBphhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj0pubjJ)}(hinth]hint}(hjPphhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhj0pubj_)}(h h]h }(hj^phhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj0pubjv)}(hnr_irqsh]hnr_irqs}(hjlphhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj0pubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjioubeh}(h]h ]h"]h$]h&]jjuh1jhj0ohhhjBohMubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhj,ohhhjBohMubah}(h]j'oah ](jjeh"]h$]h&]jj)jhuh1j@hjBohMhj)ohhubj)}(hhh]h)}(h"Clear irq_data and free the parenth]h"Clear irq_data and free the parent}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjphhubah}(h]h ]h"]h$]h&]uh1jhj)ohhhjBohMubeh}(h]h ](jofunctioneh"]h$]h&]jjojjpjjpjjjuh1j;hhhj hNhNubj)}(h**Parameters** ``struct irq_domain *domain`` Interrupt domain to match ``unsigned int virq`` IRQ number to start with ``unsigned int nr_irqs`` The number of irqs to freeh](h)}(h**Parameters**h]j)}(hjph]h Parameters}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjpubj)}(hhh](j)}(h8``struct irq_domain *domain`` Interrupt domain to match h](j )}(h``struct irq_domain *domain``h]jc)}(hjph]hstruct irq_domain *domain}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjpubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjpubj:)}(hhh]h)}(hInterrupt domain to matchh]hInterrupt domain to match}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphMhjpubah}(h]h ]h"]h$]h&]uh1j9hjpubeh}(h]h ]h"]h$]h&]uh1jhjphMhjpubj)}(h/``unsigned int virq`` IRQ number to start with h](j )}(h``unsigned int virq``h]jc)}(hjqh]hunsigned int virq}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjqubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj qubj:)}(hhh]h)}(hIRQ number to start withh]hIRQ number to start with}(hj)qhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%qhMhj&qubah}(h]h ]h"]h$]h&]uh1j9hj qubeh}(h]h ]h"]h$]h&]uh1jhj%qhMhjpubj)}(h3``unsigned int nr_irqs`` The number of irqs to freeh](j )}(h``unsigned int nr_irqs``h]jc)}(hjIqh]hunsigned int nr_irqs}(hjKqhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjGqubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjCqubj:)}(hhh]h)}(hThe number of irqs to freeh]hThe number of irqs to free}(hjbqhhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj_qubah}(h]h ]h"]h$]h&]uh1j9hjCqubeh}(h]h ]h"]h$]h&]uh1jhj^qhMhjpubeh}(h]h ]h"]h$]h&]uh1jhjpubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubj+)}(hhh]h}(h]h ]h"]h$]h&]entries](j7$__irq_domain_alloc_irqs (C function)c.__irq_domain_alloc_irqshNtauh1j*hj hhhNhNubj<)}(hhh](jA)}(hint __irq_domain_alloc_irqs (struct irq_domain *domain, int irq_base, unsigned int nr_irqs, int node, void *arg, bool realloc, const struct irq_affinity_desc *affinity)h]jG)}(hint __irq_domain_alloc_irqs(struct irq_domain *domain, int irq_base, unsigned int nr_irqs, int node, void *arg, bool realloc, const struct irq_affinity_desc *affinity)h](jJ)}(hinth]hint}(hjqhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjqhhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMfubj_)}(h h]h }(hjqhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjqhhhjqhMfubjp)}(h__irq_domain_alloc_irqsh]jv)}(h__irq_domain_alloc_irqsh]h__irq_domain_alloc_irqs}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjqubah}(h]h ](jjeh"]h$]h&]jjuh1johjqhhhjqhMfubj)}(h(struct irq_domain *domain, int irq_base, unsigned int nr_irqs, int node, void *arg, bool realloc, const struct irq_affinity_desc *affinity)h](j)}(hstruct irq_domain *domainh](jM)}(hjPh]hstruct}(hjqhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjqubj_)}(h h]h }(hjqhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjqubh)}(hhh]jv)}(h irq_domainh]h irq_domain}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjqubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjrmodnameN classnameNjj)}j]j)}jjqsbc.__irq_domain_alloc_irqsasbuh1hhjqubj_)}(h h]h }(hjrhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjqubj)}(hjh]h*}(hj,rhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjqubjv)}(hdomainh]hdomain}(hj9rhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjqubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjqubj)}(h int irq_baseh](jJ)}(hinth]hint}(hjRrhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjNrubj_)}(h h]h }(hj`rhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjNrubjv)}(hirq_baseh]hirq_base}(hjnrhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjNrubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjqubj)}(hunsigned int nr_irqsh](jJ)}(hunsignedh]hunsigned}(hjrhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjrubj_)}(h h]h }(hjrhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjrubjJ)}(hinth]hint}(hjrhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjrubj_)}(h h]h }(hjrhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjrubjv)}(hnr_irqsh]hnr_irqs}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjrubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjqubj)}(hint nodeh](jJ)}(hinth]hint}(hjrhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjrubj_)}(h h]h }(hjrhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjrubjv)}(hnodeh]hnode}(hjrhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjrubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjqubj)}(h void *argh](jJ)}(hvoidh]hvoid}(hj shhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhj subj_)}(h h]h }(hjshhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj subj)}(hjh]h*}(hj)shhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj subjv)}(hargh]harg}(hj6shhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj subeh}(h]h ]h"]h$]h&]noemphjjuh1jhjqubj)}(h bool realloch](jJ)}(hboolh]hbool}(hjOshhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjKsubj_)}(h h]h }(hj]shhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjKsubjv)}(hrealloch]hrealloc}(hjkshhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjKsubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjqubj)}(h(const struct irq_affinity_desc *affinityh](jM)}(hjh]hconst}(hjshhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjsubj_)}(h h]h }(hjshhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjsubjM)}(hjPh]hstruct}(hjshhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjsubj_)}(h h]h }(hjshhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjsubh)}(hhh]jv)}(hirq_affinity_desch]hirq_affinity_desc}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjsubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjsmodnameN classnameNjj)}j]jrc.__irq_domain_alloc_irqsasbuh1hhjsubj_)}(h h]h }(hjshhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjsubj)}(hjh]h*}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjsubjv)}(haffinityh]haffinity}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjsubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjqubeh}(h]h ]h"]h$]h&]jjuh1jhjqhhhjqhMfubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhjqhhhjqhMfubah}(h]jqah ](jjeh"]h$]h&]jj)jhuh1j@hjqhMfhjqhhubj)}(hhh]h)}(hAllocate IRQs from domainh]hAllocate IRQs from domain}(hj thhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMfhjthhubah}(h]h ]h"]h$]h&]uh1jhjqhhhjqhMfubeh}(h]h ](jofunctioneh"]h$]h&]jjojj8tjj8tjjjuh1j;hhhj hNhNubj)}(hX**Parameters** ``struct irq_domain *domain`` domain to allocate from ``int irq_base`` allocate specified IRQ number if irq_base >= 0 ``unsigned int nr_irqs`` number of IRQs to allocate ``int node`` NUMA node id for memory allocation ``void *arg`` domain specific argument ``bool realloc`` IRQ descriptors have already been allocated if true ``const struct irq_affinity_desc *affinity`` Optional irq affinity mask for multiqueue devices **Description** Allocate IRQ numbers and initialized all data structures to support hierarchy IRQ domains. Parameter **realloc** is mainly to support legacy IRQs. Returns error code or allocated IRQ number The whole process to setup an IRQ has been split into two steps. The first step, __irq_domain_alloc_irqs(), is to allocate IRQ descriptor and required hardware resources. The second step, irq_domain_activate_irq(), is to program the hardware with preallocated resources. In this way, it's easier to rollback when failing to allocate resources.h](h)}(h**Parameters**h]j)}(hjBth]h Parameters}(hjDthhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@tubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMjhj= 0 h](j )}(h``int irq_base``h]jc)}(hjth]h int irq_base}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjtubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhhjtubj:)}(hhh]h)}(h.allocate specified IRQ number if irq_base >= 0h]h.allocate specified IRQ number if irq_base >= 0}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjthMhhjtubah}(h]h ]h"]h$]h&]uh1j9hjtubeh}(h]h ]h"]h$]h&]uh1jhjthMhhjXtubj)}(h4``unsigned int nr_irqs`` number of IRQs to allocate h](j )}(h``unsigned int nr_irqs``h]jc)}(hjth]hunsigned int nr_irqs}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjtubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMihjtubj:)}(hhh]h)}(hnumber of IRQs to allocateh]hnumber of IRQs to allocate}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhjthMihjtubah}(h]h ]h"]h$]h&]uh1j9hjtubeh}(h]h ]h"]h$]h&]uh1jhjthMihjXtubj)}(h0``int node`` NUMA node id for memory allocation h](j )}(h ``int node``h]jc)}(hj uh]hint node}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj uubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMjhjuubj:)}(hhh]h)}(h"NUMA node id for memory allocationh]h"NUMA node id for memory allocation}(hj%uhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj!uhMjhj"uubah}(h]h ]h"]h$]h&]uh1j9hjuubeh}(h]h ]h"]h$]h&]uh1jhj!uhMjhjXtubj)}(h'``void *arg`` domain specific argument h](j )}(h ``void *arg``h]jc)}(hjEuh]h void *arg}(hjGuhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjCuubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMkhj?uubj:)}(hhh]h)}(hdomain specific argumenth]hdomain specific argument}(hj^uhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZuhMkhj[uubah}(h]h ]h"]h$]h&]uh1j9hj?uubeh}(h]h ]h"]h$]h&]uh1jhjZuhMkhjXtubj)}(hE``bool realloc`` IRQ descriptors have already been allocated if true h](j )}(h``bool realloc``h]jc)}(hj~uh]h bool realloc}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj|uubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMlhjxuubj:)}(hhh]h)}(h3IRQ descriptors have already been allocated if trueh]h3IRQ descriptors have already been allocated if true}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjuhMlhjuubah}(h]h ]h"]h$]h&]uh1j9hjxuubeh}(h]h ]h"]h$]h&]uh1jhjuhMlhjXtubj)}(h_``const struct irq_affinity_desc *affinity`` Optional irq affinity mask for multiqueue devices h](j )}(h,``const struct irq_affinity_desc *affinity``h]jc)}(hjuh]h(const struct irq_affinity_desc *affinity}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjuubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMmhjuubj:)}(hhh]h)}(h1Optional irq affinity mask for multiqueue devicesh]h1Optional irq affinity mask for multiqueue devices}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjuhMmhjuubah}(h]h ]h"]h$]h&]uh1j9hjuubeh}(h]h ]h"]h$]h&]uh1jhjuhMmhjXtubeh}(h]h ]h"]h$]h&]uh1jhjh]hstruct irq_domain *domain}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj<ubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMvhj8ubj:)}(hhh]h)}(h+Domain below which interrupts must be freedh]h+Domain below which interrupts must be freed}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjShMvhjTubah}(h]h ]h"]h$]h&]uh1j9hj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMvhj5ubj)}(h*``unsigned int irq_base`` Base IRQ number h](j )}(h``unsigned int irq_base``h]jc)}(hjwh]hunsigned int irq_base}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjuubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMwhjqubj:)}(hhh]h)}(hBase IRQ numberh]hBase IRQ number}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMwhjubah}(h]h ]h"]h$]h&]uh1j9hjqubeh}(h]h ]h"]h$]h&]uh1jhjhMwhj5ubj)}(h/``unsigned int nr_irqs`` Number of IRQs to freeh](j )}(h``unsigned int nr_irqs``h]jc)}(hjh]hunsigned int nr_irqs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMyhjubj:)}(hhh]h)}(hNumber of IRQs to freeh]hNumber of IRQs to free}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMxhjubah}(h]h ]h"]h$]h&]uh1j9hjubeh}(h]h ]h"]h$]h&]uh1jhjhMyhj5ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubeh}(h](structures-and-public-functions-providedah ]h"](structures and public functions providedah$]h&]uh1hhhhhhhhM/ubh)}(hhh](h)}(hInternal Functions Providedh]hInternal Functions Provided}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhM:ubh)}(hPThis chapter contains the autogenerated documentation of the internal functions.h]hPThis chapter contains the autogenerated documentation of the internal functions.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM<hjhhubj+)}(hhh]h}(h]h ]h"]h$]h&]entries](j7%irq_domain_free_irqs_top (C function)c.irq_domain_free_irqs_tophNtauh1j*hjhhhNhNubj<)}(hhh](jA)}(hbvoid irq_domain_free_irqs_top (struct irq_domain *domain, unsigned int virq, unsigned int nr_irqs)h]jG)}(havoid irq_domain_free_irqs_top(struct irq_domain *domain, unsigned int virq, unsigned int nr_irqs)h](jJ)}(hvoidh]hvoid}(hj1hhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhj-hhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:319: ./kernel/irq/irqdomain.chM ubj_)}(h h]h }(hj@hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj-hhhj?hM ubjp)}(hirq_domain_free_irqs_toph]jv)}(hirq_domain_free_irqs_toph]hirq_domain_free_irqs_top}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjNubah}(h]h ](jjeh"]h$]h&]jjuh1johj-hhhj?hM ubj)}(hD(struct irq_domain *domain, unsigned int virq, unsigned int nr_irqs)h](j)}(hstruct irq_domain *domainh](jM)}(hjPh]hstruct}(hjnhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjjubj_)}(h h]h }(hj{hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjjubh)}(hhh]jv)}(h irq_domainh]h irq_domain}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjmodnameN classnameNjj)}j]j)}jjTsbc.irq_domain_free_irqs_topasbuh1hhjjubj_)}(h h]h }(hjhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubjv)}(hdomainh]hdomain}(hjǀhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjfubj)}(hunsigned int virqh](jJ)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhj܀ubj_)}(h h]h }(hjhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj܀ubjJ)}(hinth]hint}(hjhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhj܀ubj_)}(h h]h }(hj hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj܀ubjv)}(hvirqh]hvirq}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj܀ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjfubj)}(hunsigned int nr_irqsh](jJ)}(hunsignedh]hunsigned}(hj1hhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhj-ubj_)}(h h]h }(hj?hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj-ubjJ)}(hinth]hint}(hjMhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhj-ubj_)}(h h]h }(hj[hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj-ubjv)}(hnr_irqsh]hnr_irqs}(hjihhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj-ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjfubeh}(h]h ]h"]h$]h&]jjuh1jhj-hhhj?hM ubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhj)hhhj?hM ubah}(h]j$ah ](jjeh"]h$]h&]jj)jhuh1j@hj?hM hj&hhubj)}(hhh]h)}(h=Clear handler and handler data, clear irqdata and free parenth]h=Clear handler and handler data, clear irqdata and free parent}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:319: ./kernel/irq/irqdomain.chM hjhhubah}(h]h ]h"]h$]h&]uh1jhj&hhhj?hM ubeh}(h]h ](jofunctioneh"]h$]h&]jjojjjjjjjuh1j;hhhjhNhNubj)}(h**Parameters** ``struct irq_domain *domain`` Interrupt domain to match ``unsigned int virq`` IRQ number to start with ``unsigned int nr_irqs`` The number of irqs to freeh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:319: ./kernel/irq/irqdomain.chMhjubj)}(hhh](j)}(h8``struct irq_domain *domain`` Interrupt domain to match h](j )}(h``struct irq_domain *domain``h]jc)}(hjԁh]hstruct irq_domain *domain}(hjցhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjҁubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:319: ./kernel/irq/irqdomain.chM hj΁ubj:)}(hhh]h)}(hInterrupt domain to matchh]hInterrupt domain to match}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM hjubah}(h]h ]h"]h$]h&]uh1j9hj΁ubeh}(h]h ]h"]h$]h&]uh1jhjhM hjˁubj)}(h/``unsigned int virq`` IRQ number to start with h](j )}(h``unsigned int virq``h]jc)}(hj h]hunsigned int virq}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj ubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:319: ./kernel/irq/irqdomain.chMhjubj:)}(hhh]h)}(hIRQ number to start withh]hIRQ number to start with}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj"hMhj#ubah}(h]h ]h"]h$]h&]uh1j9hjubeh}(h]h ]h"]h$]h&]uh1jhj"hMhjˁubj)}(h3``unsigned int nr_irqs`` The number of irqs to freeh](j )}(h``unsigned int nr_irqs``h]jc)}(hjFh]hunsigned int nr_irqs}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjDubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:319: ./kernel/irq/irqdomain.chMhj@ubj:)}(hhh]h)}(hThe number of irqs to freeh]hThe number of irqs to free}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:319: ./kernel/irq/irqdomain.chMhj\ubah}(h]h ]h"]h$]h&]uh1j9hj@ubeh}(h]h ]h"]h$]h&]uh1jhj[hMhjˁubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj+)}(hhh]h}(h]h ]h"]h$]h&]entries](j7!irq_domain_free_irqs (C function)c.irq_domain_free_irqshNtauh1j*hjhhhNhNubj<)}(hhh](jA)}(hCvoid irq_domain_free_irqs (unsigned int virq, unsigned int nr_irqs)h]jG)}(hBvoid irq_domain_free_irqs(unsigned int virq, unsigned int nr_irqs)h](jJ)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjhhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:319: ./kernel/irq/irqdomain.chM?ubj_)}(h h]h }(hjhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjhhhjhM?ubjp)}(hirq_domain_free_irqsh]jv)}(hirq_domain_free_irqsh]hirq_domain_free_irqs}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjubah}(h]h ](jjeh"]h$]h&]jjuh1johjhhhjhM?ubj)}(h)(unsigned int virq, unsigned int nr_irqs)h](j)}(hunsigned int virqh](jJ)}(hunsignedh]hunsigned}(hj݂hhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjقubj_)}(h h]h }(hjhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjقubjJ)}(hinth]hint}(hjhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjقubj_)}(h h]h }(hjhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjقubjv)}(hvirqh]hvirq}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjقubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjՂubj)}(hunsigned int nr_irqsh](jJ)}(hunsignedh]hunsigned}(hj.hhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhj*ubj_)}(h h]h }(hj<hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj*ubjJ)}(hinth]hint}(hjJhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhj*ubj_)}(h h]h }(hjXhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj*ubjv)}(hnr_irqsh]hnr_irqs}(hjfhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj*ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjՂubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjhM?ubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhjhhhjhM?ubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1j@hjhM?hjhhubj)}(hhh]h)}(h.Free IRQ number and associated data structuresh]h.Free IRQ number and associated data structures}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:319: ./kernel/irq/irqdomain.chM?hjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhM?ubeh}(h]h ](jofunctioneh"]h$]h&]jjojjjjjjjuh1j;hhhjhNhNubj)}(hj**Parameters** ``unsigned int virq`` base IRQ number ``unsigned int nr_irqs`` number of IRQs to freeh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:319: ./kernel/irq/irqdomain.chMChjubj)}(hhh](j)}(h&``unsigned int virq`` base IRQ number h](j )}(h``unsigned int virq``h]jc)}(hjуh]hunsigned int virq}(hjӃhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjσubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:319: ./kernel/irq/irqdomain.chM@hj˃ubj:)}(hhh]h)}(hbase IRQ numberh]hbase IRQ number}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhM@hjubah}(h]h ]h"]h$]h&]uh1j9hj˃ubeh}(h]h ]h"]h$]h&]uh1jhjhM@hjȃubj)}(h/``unsigned int nr_irqs`` number of IRQs to freeh](j )}(h``unsigned int nr_irqs``h]jc)}(hj h]hunsigned int nr_irqs}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:319: ./kernel/irq/irqdomain.chMBhjubj:)}(hhh]h)}(hnumber of IRQs to freeh]hnumber of IRQs to free}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:319: ./kernel/irq/irqdomain.chMAhj ubah}(h]h ]h"]h$]h&]uh1j9hjubeh}(h]h ]h"]h$]h&]uh1jhjhMBhjȃubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj+)}(hhh]h}(h]h ]h"]h$]h&]entries](j7$irq_domain_activate_irq (C function)c.irq_domain_activate_irqhNtauh1j*hjhhhNhNubj<)}(hhh](jA)}(hEint irq_domain_activate_irq (struct irq_data *irq_data, bool reserve)h]jG)}(hDint irq_domain_activate_irq(struct irq_data *irq_data, bool reserve)h](jJ)}(hinth]hint}(hjdhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhj`hhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:319: ./kernel/irq/irqdomain.chMubj_)}(h h]h }(hjshhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj`hhhjrhMubjp)}(hirq_domain_activate_irqh]jv)}(hirq_domain_activate_irqh]hirq_domain_activate_irq}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjubah}(h]h ](jjeh"]h$]h&]jjuh1johj`hhhjrhMubj)}(h)(struct irq_data *irq_data, bool reserve)h](j)}(hstruct irq_data *irq_datah](jM)}(hjPh]hstruct}(hjhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjubj_)}(h h]h }(hjhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjubh)}(hhh]jv)}(hirq_datah]hirq_data}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjmodnameN classnameNjj)}j]j)}jjsbc.irq_domain_activate_irqasbuh1hhjubj_)}(h h]h }(hj߄hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjv)}(hirq_datah]hirq_data}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(h bool reserveh](jJ)}(hjQsh]hbool}(hjhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjubj_)}(h h]h }(hj hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjubjv)}(hreserveh]hreserve}(hj.hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhj`hhhjrhMubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhj\hhhjrhMubah}(h]jWah ](jjeh"]h$]h&]jj)jhuh1j@hjrhMhjYhhubj)}(hhh]h)}(h;Call domain_ops->activate recursively to activate interrupth]h;Call domain_ops->activate recursively to activate interrupt}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:319: ./kernel/irq/irqdomain.chMhjUhhubah}(h]h ]h"]h$]h&]uh1jhjYhhhjrhMubeh}(h]h ](jofunctioneh"]h$]h&]jjojjpjjpjjjuh1j;hhhjhNhNubj)}(hXI**Parameters** ``struct irq_data *irq_data`` Outermost irq_data associated with interrupt ``bool reserve`` If set only reserve an interrupt vector instead of assigning one **Description** This is the second step to call domain_ops->activate to program interrupt controllers, so the interrupt could actually get delivered.h](h)}(h**Parameters**h]j)}(hjzh]h Parameters}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:319: ./kernel/irq/irqdomain.chMhjtubj)}(hhh](j)}(hK``struct irq_data *irq_data`` Outermost irq_data associated with interrupt h](j )}(h``struct irq_data *irq_data``h]jc)}(hjh]hstruct irq_data *irq_data}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:319: ./kernel/irq/irqdomain.chMhjubj:)}(hhh]h)}(h,Outermost irq_data associated with interrupth]h,Outermost irq_data associated with interrupt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1j9hjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hR``bool reserve`` If set only reserve an interrupt vector instead of assigning one h](j )}(h``bool reserve``h]jc)}(hj҅h]h bool reserve}(hjԅhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjЅubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:319: ./kernel/irq/irqdomain.chMhj̅ubj:)}(hhh]h)}(h@If set only reserve an interrupt vector instead of assigning oneh]h@If set only reserve an interrupt vector instead of assigning one}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1j9hj̅ubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjtubh)}(h**Description**h]j)}(hj h]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:319: ./kernel/irq/irqdomain.chMhjtubh)}(hThis is the second step to call domain_ops->activate to program interrupt controllers, so the interrupt could actually get delivered.h]hThis is the second step to call domain_ops->activate to program interrupt controllers, so the interrupt could actually get delivered.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:319: ./kernel/irq/irqdomain.chMhjtubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubj+)}(hhh]h}(h]h ]h"]h$]h&]entries](j7&irq_domain_deactivate_irq (C function)c.irq_domain_deactivate_irqhNtauh1j*hjhhhNhNubj<)}(hhh](jA)}(h:void irq_domain_deactivate_irq (struct irq_data *irq_data)h]jG)}(h9void irq_domain_deactivate_irq(struct irq_data *irq_data)h](jJ)}(hvoidh]hvoid}(hjRhhhNhNubah}(h]h ]jVah"]h$]h&]uh1jIhjNhhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:319: ./kernel/irq/irqdomain.chMubj_)}(h h]h }(hjahhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjNhhhj`hMubjp)}(hirq_domain_deactivate_irqh]jv)}(hirq_domain_deactivate_irqh]hirq_domain_deactivate_irq}(hjshhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjoubah}(h]h ](jjeh"]h$]h&]jjuh1johjNhhhj`hMubj)}(h(struct irq_data *irq_data)h]j)}(hstruct irq_data *irq_datah](jM)}(hjPh]hstruct}(hjhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjubj_)}(h h]h }(hjhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjubh)}(hhh]jv)}(hirq_datah]hirq_data}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjmodnameN classnameNjj)}j]j)}jjusbc.irq_domain_deactivate_irqasbuh1hhjubj_)}(h h]h }(hj͆hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjubj)}(hjh]h*}(hjۆhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjv)}(hirq_datah]hirq_data}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubah}(h]h ]h"]h$]h&]jjuh1jhjNhhhj`hMubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhjJhhhj`hMubah}(h]jEah ](jjeh"]h$]h&]jj)jhuh1j@hj`hMhjGhhubj)}(hhh]h)}(h?Call domain_ops->deactivate recursively to deactivate interrupth]h?Call domain_ops->deactivate recursively to deactivate interrupt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:319: ./kernel/irq/irqdomain.chMhjhhubah}(h]h ]h"]h$]h&]uh1jhjGhhhj`hMubeh}(h]h ](jofunctioneh"]h$]h&]jjojj*jj*jjjuh1j;hhhjhNhNubj)}(h**Parameters** ``struct irq_data *irq_data`` outermost irq_data associated with interrupt **Description** It calls domain_ops->deactivate to program interrupt controllers to disable interrupt delivery.h](h)}(h**Parameters**h]j)}(hj4h]h Parameters}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:319: ./kernel/irq/irqdomain.chMhj.ubj)}(hhh]j)}(hK``struct irq_data *irq_data`` outermost irq_data associated with interrupt h](j )}(h``struct irq_data *irq_data``h]jc)}(hjSh]hstruct irq_data *irq_data}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjQubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:319: ./kernel/irq/irqdomain.chMhjMubj:)}(hhh]h)}(h,outermost irq_data associated with interrupth]h,outermost irq_data associated with interrupt}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhMhjiubah}(h]h ]h"]h$]h&]uh1j9hjMubeh}(h]h ]h"]h$]h&]uh1jhjhhMhjJubah}(h]h ]h"]h$]h&]uh1jhj.ubh)}(h**Description**h]j)}(hjh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:319: ./kernel/irq/irqdomain.chMhj.ubh)}(h_It calls domain_ops->deactivate to program interrupt controllers to disable interrupt delivery.h]h_It calls domain_ops->deactivate to program interrupt controllers to disable interrupt delivery.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:319: ./kernel/irq/irqdomain.chMhj.ubeh}(h]h ] kernelindentah"]h$]h&]uh1jhjhhhNhNubeh}(h]internal-functions-providedah ]h"]internal functions providedah$]h&]uh1hhhhhhhhM:ubeh}(h]/the-irq-domain-interrupt-number-mapping-libraryah ]h"]/the irq_domain interrupt number mapping libraryah$]h&]uh1hhhhhhhhKubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksentryfootnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerjerror_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourceh _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}substitution_names}refnames}refids}nameids}(jLJjćjXjUjjjjjjj`j]jjjjjjjjjjjju nametypes}(jLJjXjjjj`jjjjjjuh}(jćhjUjjj[jjzjjj]j jjcjjjjjjjj j9jBj j je jj jjjBjGjjj/j4jljqj!j!j&j&j)j)j,j,jg.jl.j>0jC0j1j1j5j5j8j8j9j9j;j#;j<j<j?j?j@j@jCjCjDHjIHjLjLjbQjgQj!Vj&VjRYjWYj\j\j`j`jiajnajcjcj fjfjijij'oj,ojqjqjKvjPvjxjxjzjzj}j}jjj$j)jjjWj\jEjJu footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}Rparse_messages]transform_messages] transformerN include_log] decorationNhhub.