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.hhKIhj 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.hhKQubj_)}(h h]h }(hj hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjn hhhj hKQubjp)}(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 hKQubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhjj hhhj hKQubah}(h]je ah ](jjeh"]h$]h&]jj)jhuh1j@hj hKQhjg 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 hKQubeh}(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]hh]hexit}(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#hj8ubj:)}(hhh]h)}(h\Function called when the domain is destroyed. Allow to do some additional cleanup operation.h]h\Function called when the domain is destroyed. Allow to do some additional cleanup operation.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjShM#hjTubah}(h]h ]h"]h$]h&]uh1j9hj8ubeh}(h]h ]h"]h$]h&]uh1jhjShM#hjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubj+)}(hhh]h}(h]h ]h"]h$]h&]entries](j7%irq_domain_create_linear (C function)c.irq_domain_create_linearhNtauh1j*hj hhhNhNubj<)}(hhh](jA)}(hstruct irq_domain * irq_domain_create_linear (struct fwnode_handle *fwnode, unsigned int size, const struct irq_domain_ops *ops, void *host_data)h]jG)}(hstruct irq_domain *irq_domain_create_linear(struct fwnode_handle *fwnode, unsigned int size, const struct irq_domain_ops *ops, void *host_data)h](jM)}(hjPh]hstruct}(hjhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjhhhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhMubj_)}(h h]h }(hjhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjhhhjhMubh)}(hhh]jv)}(h irq_domainh]h irq_domain}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjubah}(h]h ]h"]h$]h&] refdomainjoreftype identifier reftargetjmodnameN classnameN c:parent_keysphinx.domains.c LookupKey)}data]j ASTIdentifier)}jirq_domain_create_linearsbc.irq_domain_create_linearasbuh1hhjhhhjhMubj_)}(h h]h }(hjhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjhhhjhMubhdesc_sig_punctuation)}(h*h]h*}(hjhhhNhNubah}(h]h ]pah"]h$]h&]uh1jhjhhhjhMubjp)}(hirq_domain_create_linearh]jv)}(hjh]hirq_domain_create_linear}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjubah}(h]h ](jjeh"]h$]h&]jjuh1johjhhhjhMubhdesc_parameterlist)}(hd(struct fwnode_handle *fwnode, unsigned int size, const struct irq_domain_ops *ops, void *host_data)h](hdesc_parameter)}(hstruct fwnode_handle *fwnodeh](jM)}(hjPh]hstruct}(hj!hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjubj_)}(h h]h }(hj.hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjubh)}(hhh]jv)}(h fwnode_handleh]h fwnode_handle}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj<ubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjAmodnameN classnameNjj)}j]jc.irq_domain_create_linearasbuh1hhjubj_)}(h h]h }(hj]hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjubj)}(hjh]h*}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjv)}(hfwnodeh]hfwnode}(hjxhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hunsigned int sizeh](hdesc_sig_keyword_type)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]ktah"]h$]h&]uh1jhjubj_)}(h h]h }(hjhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubj_)}(h h]h }(hjhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjubjv)}(hsizeh]hsize}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(h const struct irq_domain_ops *opsh](jM)}(hconsth]hconst}(hjhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjubj_)}(h h]h }(hjhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjubjM)}(hjPh]hstruct}(hjhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjubj_)}(h h]h }(hjhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjubh)}(hhh]jv)}(hirq_domain_opsh]hirq_domain_ops}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetj!modnameN classnameNjj)}j]jc.irq_domain_create_linearasbuh1hhjubj_)}(h h]h }(hj=hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjubj)}(hjh]h*}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjv)}(hopsh]hops}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hvoid *host_datah](j)}(hvoidh]hvoid}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubj_)}(h h]h }(hjhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjmubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjmubjv)}(h host_datah]h host_data}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjmubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhjhhhjhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1j@hjhMhjhhubj)}(hhh]h)}(h1Allocate and register a linear revmap irq_domain.h]h1Allocate and register a linear revmap irq_domain.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jofunctioneh"]h$]h&]jjojjjjjjjuh1j;hhhj hNhNubj)}(hX:**Parameters** ``struct fwnode_handle *fwnode`` pointer to interrupt controller's FW node. ``unsigned int size`` Number of interrupts in the domain. ``const struct irq_domain_ops *ops`` map/unmap domain callbacks ``void *host_data`` Controller private data pointer **Return** Newly created irq_domainh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(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.hhMhjubj)}(hhh](j)}(hL``struct fwnode_handle *fwnode`` pointer to interrupt controller's FW node. h](j )}(h ``struct fwnode_handle *fwnode``h]jc)}(hjh]hstruct fwnode_handle *fwnode}(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.hhMhjubj:)}(hhh]h)}(h*pointer to interrupt controller's FW node.h]h,pointer to interrupt controller’s FW node.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1j9hjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h:``unsigned int size`` Number of interrupts in the domain. 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.hhMhj8ubj:)}(hhh]h)}(h#Number of interrupts in the domain.h]h#Number of interrupts in the domain.}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjShMhjTubah}(h]h ]h"]h$]h&]uh1j9hj8ubeh}(h]h ]h"]h$]h&]uh1jhjShMhjubj)}(h@``const struct irq_domain_ops *ops`` map/unmap domain callbacks h](j )}(h$``const struct irq_domain_ops *ops``h]jc)}(hjwh]h const struct irq_domain_ops *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.hhMhjqubj:)}(hhh]h)}(hmap/unmap domain callbacksh]hmap/unmap domain callbacks}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1j9hjqubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(h4``void *host_data`` Controller private data pointer h](j )}(h``void *host_data``h]jc)}(hjh]hvoid *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.hhMhjubj:)}(hhh]h)}(hController private data pointerh]hController private data pointer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1j9hjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h **Return**h]j)}(hjh]hReturn}(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.hhMhjubh)}(hNewly created irq_domainh]hNewly created irq_domain}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubj+)}(hhh]h}(h]h ]h"]h$]h&]entries](j7irq_create_mapping (C function)c.irq_create_mappinghNtauh1j*hj hhhNhNubj<)}(hhh](jA)}(hRunsigned int irq_create_mapping (struct irq_domain *domain, irq_hw_number_t hwirq)h]jG)}(hQunsigned int irq_create_mapping(struct irq_domain *domain, irq_hw_number_t hwirq)h](j)}(hunsignedh]hunsigned}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,hhhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhMubj_)}(h h]h }(hj?hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj,hhhj>hMubj)}(hinth]hint}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj,hhhj>hMubj_)}(h h]h }(hj[hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj,hhhj>hMubjp)}(hirq_create_mappingh]jv)}(hirq_create_mappingh]hirq_create_mapping}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjiubah}(h]h ](jjeh"]h$]h&]jjuh1johj,hhhj>hMubj)}(h2(struct irq_domain *domain, irq_hw_number_t hwirq)h](j)}(hstruct irq_domain *domainh](jM)}(hjPh]hstruct}(hjhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjubj_)}(h h]h }(hjhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjubh)}(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)}jjosbc.irq_create_mappingasbuh1hhjubj_)}(h h]h }(hjhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjv)}(hdomainh]hdomain}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hirq_hw_number_t hwirqh](h)}(hhh]jv)}(hirq_hw_number_th]hirq_hw_number_t}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjmodnameN classnameNjj)}j]jc.irq_create_mappingasbuh1hhjubj_)}(h h]h }(hjhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjubjv)}(hhwirqh]hhwirq}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(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}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhMhjQhhubah}(h]h ]h"]h$]h&]uh1jhj%hhhj>hMubeh}(h]h ](jofunctioneh"]h$]h&]jjojjljjljjjuh1j;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 **Description** Only one mapping per hardware interrupt is permitted. If the sense/trigger is to be specified, set_irq_type() should be called on the number returned from that call. **Return** Linux irq number or 0 on errorh](h)}(h**Parameters**h]j)}(hjvh]h Parameters}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjtubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhMhjpubj)}(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)}(hjh]hstruct irq_domain *domain}(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.hhMhjubj:)}(hhh]h)}(h@domain owning this hardware interrupt or NULL for default domainh]h@domain owning this hardware interrupt or NULL for default domain}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1j9hjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hC``irq_hw_number_t hwirq`` hardware irq number in that domain space h](j )}(h``irq_hw_number_t hwirq``h]jc)}(hjh]hirq_hw_number_t hwirq}(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.hhMhjubj:)}(hhh]h)}(h(hardware irq number in that domain spaceh]h(hardware irq number in that domain space}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1j9hjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubeh}(h]h ]h"]h$]h&]uh1jhjpubh)}(h**Description**h]j)}(hj h]h Description}(hj hhhNhNubah}(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.hhMhjpubh)}(h5Only one mapping per hardware interrupt is permitted.h]h5Only one mapping per hardware interrupt is permitted.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhMhjpubh)}(hoIf the sense/trigger is to be specified, set_irq_type() should be called on the number returned from that call.h]hoIf 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&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhMhjpubh)}(h **Return**h]j)}(hj?h]hReturn}(hjAhhhNhNubah}(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.hhMhjpubh)}(hLinux irq number or 0 on errorh]hLinux irq number or 0 on error}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhMhjpubeh}(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)}(hXstruct irq_desc * irq_resolve_mapping (struct irq_domain *domain, irq_hw_number_t hwirq)h]jG)}(hVstruct irq_desc *irq_resolve_mapping(struct irq_domain *domain, irq_hw_number_t hwirq)h](jM)}(hjPh]hstruct}(hjhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjhhhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhMubj_)}(h h]h }(hjhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjhhhjhMubh)}(hhh]jv)}(hirq_desch]hirq_desc}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjmodnameN classnameNjj)}j]j)}jirq_resolve_mappingsbc.irq_resolve_mappingasbuh1hhjhhhjhMubj_)}(h h]h }(hjhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjhhhjhMubj)}(hjh]h*}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubjp)}(hirq_resolve_mappingh]jv)}(hjh]hirq_resolve_mapping}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjubah}(h]h ](jjeh"]h$]h&]jjuh1johjhhhjhMubj)}(h2(struct irq_domain *domain, irq_hw_number_t hwirq)h](j)}(hstruct irq_domain *domainh](jM)}(hjPh]hstruct}(hjhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjubj_)}(h h]h }(hj hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjubh)}(hhh]jv)}(h irq_domainh]h irq_domain}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjmodnameN classnameNjj)}j]jc.irq_resolve_mappingasbuh1hhjubj_)}(h h]h }(hj:hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjubj)}(hjh]h*}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjubjv)}(hdomainh]hdomain}(hjUhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubj)}(hirq_hw_number_t hwirqh](h)}(hhh]jv)}(hirq_hw_number_th]hirq_hw_number_t}(hjqhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjnubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjsmodnameN classnameNjj)}j]jc.irq_resolve_mappingasbuh1hhjjubj_)}(h h]h }(hjhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjjubjv)}(hhwirqh]hhwirq}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhj|hhhjhMubah}(h]jwah ](jjeh"]h$]h&]jj)jhuh1j@hjhMhjyhhubj)}(hhh]h)}(h&Find a linux irq from a hw irq number.h]h&Find a linux irq from a hw irq number.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhMhjhhubah}(h]h ]h"]h$]h&]uh1jhjyhhhjhMubeh}(h]h ](jofunctioneh"]h$]h&]jjojjjjjjjuh1j;hhhj hNhNubj)}(h**Parameters** ``struct irq_domain *domain`` domain owning this hardware interrupt ``irq_hw_number_t hwirq`` hardware irq number in that domain space **Return** Interrupt descriptorh](h)}(h**Parameters**h]j)}(hjh]h Parameters}(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.hhMhjubj)}(hhh](j)}(hD``struct irq_domain *domain`` domain owning this hardware interrupt h](j )}(h``struct irq_domain *domain``h]jc)}(hjh]hstruct irq_domain *domain}(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.hhMhjubj:)}(hhh]h)}(h%domain owning this hardware interrupth]h%domain owning this hardware interrupt}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhMhjubah}(h]h ]h"]h$]h&]uh1j9hjubeh}(h]h ]h"]h$]h&]uh1jhjhMhjubj)}(hC``irq_hw_number_t hwirq`` hardware irq number in that domain space h](j )}(h``irq_hw_number_t hwirq``h]jc)}(hjAh]hirq_hw_number_t hwirq}(hjChhhNhNubah}(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(hardware irq number in that domain spaceh]h(hardware irq number in that domain space}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVhMhjWubah}(h]h ]h"]h$]h&]uh1j9hj;ubeh}(h]h ]h"]h$]h&]uh1jhjVhMhjubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h **Return**h]j)}(hj|h]hReturn}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhMhjubh)}(hInterrupt descriptorh]hInterrupt descriptor}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhMhjubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubj+)}(hhh]h}(h]h ]h"]h$]h&]entries](j7irq_find_mapping (C function)c.irq_find_mappinghNtauh1j*hj hhhNhNubj<)}(hhh](jA)}(hPunsigned int irq_find_mapping (struct irq_domain *domain, irq_hw_number_t hwirq)h]jG)}(hOunsigned int irq_find_mapping(struct irq_domain *domain, irq_hw_number_t hwirq)h](j)}(hunsignedh]hunsigned}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhMubj_)}(h h]h }(hjhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjhhhjhMubj)}(hinth]hint}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhjhMubj_)}(h h]h }(hjhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjhhhjhMubjp)}(hirq_find_mappingh]jv)}(hirq_find_mappingh]hirq_find_mapping}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjubah}(h]h ](jjeh"]h$]h&]jjuh1johjhhhjhMubj)}(h2(struct irq_domain *domain, irq_hw_number_t hwirq)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}(hj8 hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj5 ubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetj: modnameN classnameNjj)}j]j)}jj sbc.irq_find_mappingasbuh1hhj ubj_)}(h h]h }(hjX hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj ubj)}(hjh]h*}(hjf hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj ubjv)}(hdomainh]hdomain}(hjs 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]jT c.irq_find_mappingasbuh1hhj 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 ubeh}(h]h ]h"]h$]h&]jjuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhjhhhjhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1j@hjhMhjhhubj)}(hhh]h)}(h&Find a linux irq from a hw irq number.h]h&Find a linux irq from a hw irq number.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhMhj hhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jofunctioneh"]h$]h&]jjojj jj jjjuh1j;hhhj hNhNubj)}(h**Parameters** ``struct irq_domain *domain`` domain owning this hardware interrupt ``irq_hw_number_t hwirq`` hardware irq number in that domain space **Return** Linux irq number or 0 if not foundh](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)}(hD``struct irq_domain *domain`` domain owning this hardware interrupt 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&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhMhj !ubj:)}(hhh]h)}(h%domain owning this hardware interrupth]h%domain owning this hardware interrupt}(hj?!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;!hMhj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj:"ubah}(h]h ](jjeh"]h$]h&]jjuh1johj!hhhj!hMubj)}(h(struct irq_domain *parent, unsigned int flags, unsigned int size, struct fwnode_handle *fwnode, const struct irq_domain_ops *ops, void *host_data)h](j)}(hstruct irq_domain *parenth](jM)}(hjPh]hstruct}(hjY"hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjU"ubj_)}(h h]h }(hjf"hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjU"ubh)}(hhh]jv)}(h irq_domainh]h irq_domain}(hjw"hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjt"ubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjy"modnameN classnameNjj)}j]j"c.irq_domain_create_hierarchyasbuh1hhjU"ubj_)}(h h]h }(hj"hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjU"ubj)}(hjh]h*}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjU"ubjv)}(hparenth]hparent}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjU"ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjQ"ubj)}(hunsigned int flagsh](j)}(hunsignedh]hunsigned}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubj_)}(h h]h }(hj"hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj"ubj)}(hinth]hint}(hj"hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"ubj_)}(h h]h }(hj"hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj"ubjv)}(hflagsh]hflags}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj"ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjQ"ubj)}(hunsigned int sizeh](j)}(hunsignedh]hunsigned}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubj_)}(h h]h }(hj(#hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj#ubj)}(hinth]hint}(hj6#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubj_)}(h h]h }(hjD#hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj#ubjv)}(hsizeh]hsize}(hjR#hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj#ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjQ"ubj)}(hstruct fwnode_handle *fwnodeh](jM)}(hjPh]hstruct}(hjk#hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjg#ubj_)}(h h]h }(hjx#hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjg#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"c.irq_domain_create_hierarchyasbuh1hhjg#ubj_)}(h h]h }(hj#hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjg#ubj)}(hjh]h*}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjg#ubjv)}(hfwnodeh]hfwnode}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjg#ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjQ"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 }(hj2$hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj#ubj)}(hjh]h*}(hj@$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#ubjv)}(hopsh]hops}(hjM$hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj#ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjQ"ubj)}(hvoid *host_datah](j)}(hvoidh]hvoid}(hjf$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjb$ubj_)}(h h]h }(hjt$hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjb$ubj)}(hjh]h*}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjb$ubjv)}(h host_datah]h host_data}(hj$hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjb$ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjQ"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"Add a irqdomain into the hierarchyh]h"Add a irqdomain into the hierarchy}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhMhj$hhubah}(h]h ]h"]h$]h&]uh1jhj!hhhj!hMubeh}(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)}(hj3%h]hunsigned int flags}(hj5%hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj1%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}(hjL%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjH%hMhjI%ubah}(h]h ]h"]h$]h&]uh1j9hj-%ubeh}(h]h ]h"]h$]h&]uh1jhjH%hMhj$ubj)}(h4``unsigned int size`` Size of the domain. See below h](j )}(h``unsigned int size``h]jc)}(hjl%h]hunsigned int size}(hjn%hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjj%ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhMhjf%ubj:)}(hhh]h)}(hSize of the domain. See belowh]hSize of the domain. See below}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%hMhj%ubah}(h]h ]h"]h$]h&]uh1j9hjf%ubeh}(h]h ]h"]h$]h&]uh1jhj%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.hhMhj%ubj:)}(hhh]h)}(h+Optional fwnode of the interrupt controllerh]h+Optional fwnode of the interrupt controller}(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)}(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}(hj0&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)}(hjR&h]h Description}(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)}(hEIf **size** is 0 a tree domain is created, otherwise a linear domain.h](hIf }(hjh&hhhNhNubj)}(h**size**h]hsize}(hjp&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjh&ubh: is 0 a tree domain is created, otherwise a linear domain.}(hjh&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.}(hj&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)}(hj&h]hReturn}(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)}(h0A pointer to IRQ domain, or ``NULL`` on failure.h](hA pointer to IRQ domain, or }(hj&hhhNhNubjc)}(h``NULL``h]hNULL}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj&ubh on failure.}(hj&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](j)}(hinth]hint}(hj&hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj&hhhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhM=ubj_)}(h h]h }(hj'hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj&hhhj&hM=ubjp)}(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&hM=ubj)}(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}(hjL'hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjI'ubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjN'modnameN classnameNjj)}j]j)}jj'sbc.irq_domain_alloc_irqsasbuh1hhj*'ubj_)}(h h]h }(hjl'hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj*'ubj)}(hjh]h*}(hjz'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](j)}(hunsignedh]hunsigned}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubj_)}(h h]h }(hj'hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj'ubj)}(hinth]hint}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'ubj_)}(h h]h }(hj'hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj'ubjv)}(hnr_irqsh]hnr_irqs}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj'ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj&'ubj)}(hint nodeh](j)}(hinth]hint}(hj'hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj'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](j)}(hvoidh]hvoid}(hj&(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"(ubj_)}(h h]h }(hj4(hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj"(ubj)}(hjh]h*}(hjB(hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj"(ubjv)}(hargh]harg}(hjO(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)}(hAllocate IRQs from domainh]hAllocate IRQs from domain}(hjy(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhM=hjv(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 *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)}(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.hhMAhj(ubj)}(hhh](j)}(h6``struct irq_domain *domain`` domain to allocate from 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&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhM>hj(ubj:)}(hhh]h)}(hdomain to allocate fromh]hdomain to allocate from}(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>hj(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?hj(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}(hjE)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjA)hM@hjB)ubah}(h]h ]h"]h$]h&]uh1j9hj&)ubeh}(h]h ]h"]h$]h&]uh1jhjA)hM@hj(ubj)}(h'``void *arg`` domain specific argument h](j )}(h ``void *arg``h]jc)}(hje)h]h void *arg}(hjg)hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjc)ubah}(h]h ]h"]h$]h&]uh1jhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhMAhj_)ubj:)}(hhh]h)}(hdomain specific argumenth]hdomain specific argument}(hj~)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjz)hMAhj{)ubah}(h]h ]h"]h$]h&]uh1j9hj_)ubeh}(h]h ]h"]h$]h&]uh1jhjz)hMAhj(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.hhMChj(ubh)}(h-See __irq_domain_alloc_irqs()' documentation.h]h/See __irq_domain_alloc_irqs()’ documentation.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhb/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:308: ./include/linux/irqdomain.hhMBhj(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*}(hj3*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj)hhhj)hK>ubjp)}(h__irq_domain_alloc_fwnodeh]jv)}(hj"*h]h__irq_domain_alloc_fwnode}(hjD*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](j)}(hunsignedh]hunsigned}(hj_*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[*ubj_)}(h h]h }(hjm*hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj[*ubj)}(hinth]hint}(hj{*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[*ubj_)}(h h]h }(hj*hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj[*ubjv)}(htypeh]htype}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj[*ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjW*ubj)}(hint idh](j)}(hinth]hint}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*ubj_)}(h h]h }(hj*hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj*ubjv)}(hidh]hid}(hj*hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj*ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjW*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*ubj)}(hcharh]hchar}(hj+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj*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&]noemphjjuh1jhjW*ubj)}(hphys_addr_t *pah](h)}(hhh]jv)}(h phys_addr_th]h phys_addr_t}(hjE+hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjB+ubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjG+modnameN classnameNjj)}j]j *c.__irq_domain_alloc_fwnodeasbuh1hhj>+ubj_)}(h h]h }(hjc+hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj>+ubj)}(hjh]h*}(hjq+hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>+ubjv)}(hpah]hpa}(hj~+hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj>+ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjW*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&]jjojj+jj+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&]uh1hhj7,hKAhj8,ubah}(h]h ]h"]h$]h&]uh1j9hj,ubeh}(h]h ]h"]h$]h&]uh1jhj7,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&]uh1jbhjY,ubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chKBhjU,ubj:)}(hhh]h)}(h"Optional user provided domain nameh]h"Optional user provided domain name}(hjt,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjp,hKBhjq,ubah}(h]h ]h"]h$]h&]uh1j9hjU,ubeh}(h]h ]h"]h$]h&]uh1jhjp,hKBhj+ubj)}(h<``phys_addr_t *pa`` Optional user-provided physical address h](j )}(h``phys_addr_t *pa``h]jc)}(hj,h]hphys_addr_t *pa}(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.chKChj,ubj:)}(hhh]h)}(h'Optional user-provided physical addressh]h'Optional user-provided physical address}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj,hKChj,ubah}(h]h ]h"]h$]h&]uh1j9hj,ubeh}(h]h ]h"]h$]h&]uh1jhj,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.chKDhj+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.chKGhj+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](j)}(hvoidh]hvoid}(hj;-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7-hhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chKqubj_)}(h h]h }(hjJ-hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj7-hhhjI-hKqubjp)}(hirq_domain_free_fwnodeh]jv)}(hirq_domain_free_fwnodeh]hirq_domain_free_fwnode}(hj\-hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjX-ubah}(h]h ](jjeh"]h$]h&]jjuh1johj7-hhhjI-hKqubj)}(h(struct fwnode_handle *fwnode)h]j)}(hstruct fwnode_handle *fwnodeh](jM)}(hjPh]hstruct}(hjx-hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjt-ubj_)}(h h]h }(hj-hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjt-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)}jj^-sbc.irq_domain_free_fwnodeasbuh1hhjt-ubj_)}(h h]h }(hj-hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjt-ubj)}(hjh]h*}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjt-ubjv)}(hfwnodeh]hfwnode}(hj-hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjt-ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjp-ubah}(h]h ]h"]h$]h&]jjuh1jhj7-hhhjI-hKqubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhj3-hhhjI-hKqubah}(h]j.-ah ](jjeh"]h$]h&]jj)jhuh1j@hjI-hKqhj0-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&]uh1jhj0-hhhjI-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.chKrhj6.ubj:)}(hhh]h)}(hfwnode_handle to freeh]hfwnode_handle to free}(hjU.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQ.hKrhjR.ubah}(h]h ]h"]h$]h&]uh1j9hj6.ubeh}(h]h ]h"]h$]h&]uh1jhjQ.hKrhj3.ubah}(h]h ]h"]h$]h&]uh1jhj.ubh)}(h**Description**h]j)}(hjw.h]h Description}(hjy.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhju.ubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chKthj.ubh)}(h7modnameN classnameNjj)}j]jn6c.irq_find_matching_fwspecasbuh1hhj7ubj_)}(h h]h }(hjZ7hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj7ubjv)}(h bus_tokenh]h bus_token}(hjh7hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj7ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj6ubeh}(h]h ]h"]h$]h&]jjuh1jhj/6hhhj@6hMubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhj+6hhhj@6hMubah}(h]j&6ah ](jjeh"]h$]h&]jj)jhuh1j@hj@6hMhj(6hhubj)}(hhh]h)}(h#Locates a domain for a given fwspech]h#Locates a domain for a given fwspec}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj7hhubah}(h]h ]h"]h$]h&]uh1jhj(6hhhj@6hMubeh}(h]h ](jofunctioneh"]h$]h&]jjojj7jj7jjjuh1j;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)}(hj7h]h Parameters}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj7ubj)}(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)}(hj 8h]h#enum irq_domain_bus_token bus_token}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj 8ubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj8ubj:)}(hhh]h)}(hdomain-specific datah]hdomain-specific data}(hj%8hhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj"8ubah}(h]h ]h"]h$]h&]uh1j9hj8ubeh}(h]h ]h"]h$]h&]uh1jhj!8hMhj7ubeh}(h]h ]h"]h$]h&]uh1jhj7ubeh}(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](j)}(hvoidh]hvoid}(hjf8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjb8hhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM&ubj_)}(h h]h }(hju8hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjb8hhhjt8hM&ubjp)}(hirq_set_default_domainh]jv)}(hirq_set_default_domainh]hirq_set_default_domain}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj8ubah}(h]h ](jjeh"]h$]h&]jjuh1johjb8hhhjt8hM&ubj)}(h(struct irq_domain *domain)h]j)}(hstruct irq_domain *domainh](jM)}(hjPh]hstruct}(hj8hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhj8ubj_)}(h h]h }(hj8hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj8ubh)}(hhh]jv)}(h irq_domainh]h irq_domain}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj8ubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetj8modnameN classnameNjj)}j]j)}jj8sbc.irq_set_default_domainasbuh1hhj8ubj_)}(h h]h }(hj8hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj8ubj)}(hjh]h*}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj8ubjv)}(hdomainh]hdomain}(hj8hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj8ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj8ubah}(h]h ]h"]h$]h&]jjuh1jhjb8hhhjt8hM&ubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhj^8hhhjt8hM&ubah}(h]jY8ah ](jjeh"]h$]h&]jj)jhuh1j@hjt8hM&hj[8hhubj)}(hhh]h)}(hSet a "default" irq domainh]hSet a “default” irq domain}(hj&9hhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM&hj#9hhubah}(h]h ]h"]h$]h&]uh1jhj[8hhhjt8hM&ubeh}(h]h ](jofunctioneh"]h$]h&]jjojj>9jj>9jjjuh1j;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)}(hjH9h]h Parameters}(hjJ9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjF9ubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM*hjB9ubj)}(hhh]j)}(h5``struct irq_domain *domain`` default domain pointer h](j )}(h``struct irq_domain *domain``h]jc)}(hjg9h]hstruct irq_domain *domain}(hji9hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhje9ubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM'hja9ubj:)}(hhh]h)}(hdefault domain pointerh]hdefault domain pointer}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|9hM'hj}9ubah}(h]h ]h"]h$]h&]uh1j9hja9ubeh}(h]h ]h"]h$]h&]uh1jhj|9hM'hj^9ubah}(h]h ]h"]h$]h&]uh1jhjB9ubh)}(h**Description**h]j)}(hj9h]h Description}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM)hjB9ubh)}(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.}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM(hjB9ubeh}(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.chM7ubj_)}(h h]h }(hj9hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj9hhhj9hM7ubh)}(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)}jirq_get_default_domainsbc.irq_get_default_domainasbuh1hhj9hhhj9hM7ubj_)}(h h]h }(hj':hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj9hhhj9hM7ubj)}(hjh]h*}(hj5:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9hhhj9hM7ubjp)}(hirq_get_default_domainh]jv)}(hj$:h]hirq_get_default_domain}(hjF:hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjB:ubah}(h]h ](jjeh"]h$]h&]jjuh1johj9hhhj9hM7ubj)}(h(void)h]j)}(hvoidh]j)}(hvoidh]hvoid}(hja:hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj]:ubah}(h]h ]h"]h$]h&]noemphjjuh1jhjY:ubah}(h]h ]h"]h$]h&]jjuh1jhj9hhhj9hM7ubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhj9hhhj9hM7ubah}(h]j9ah ](jjeh"]h$]h&]jj)jhuh1j@hj9hM7hj9hhubj)}(hhh]h)}(h!Retrieve the "default" irq domainh]h%Retrieve the “default” 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.chM7hj:hhubah}(h]h ]h"]h$]h&]uh1jhj9hhhj9hM7ubeh}(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)}(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``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.chM9hj:ubh)}(h**Description**h]j)}(hj.;h]h Description}(hj0;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).}(hjD;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](j)}(hunsignedh]hunsigned}(hjs;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjo;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^hjo;hhhj;hMubj)}(hinth]hint}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjo;hhhj;hMubj_)}(h h]h }(hj;hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjo;hhhj;hMubjp)}(hirq_create_direct_mappingh]jv)}(hirq_create_direct_mappingh]hirq_create_direct_mapping}(hj;hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj;ubah}(h]h ](jjeh"]h$]h&]jjuh1johjo;hhhj;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)}jj;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&]jjuh1jhjo;hhhj;hMubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhjk;hhhj;hMubah}(h]jf;ah ](jjeh"]h$]h&]jj)jhuh1j@hj;hMhjh;hhubj)}(hhh]h)}(h"Allocate an irq for direct mappingh]h"Allocate an irq for direct mapping}(hjO<hhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjL<hhubah}(h]h ]h"]h$]h&]uh1jhjh;hhhj;hMubeh}(h]h ](jofunctioneh"]h$]h&]jjojjg<jjg<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)}(hjq<h]h Parameters}(hjs<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjo<ubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjk<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)}(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)}(h9domain to allocate the irq for or NULL for default domainh]h9domain to allocate the irq for 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<ubah}(h]h ]h"]h$]h&]uh1jhjk<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.chMhjk<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.chMhjk<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](j)}(hunsignedh]hunsigned}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj =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=hMubj)}(hinth]hint}(hj-=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj =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}(hjM=hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjI=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}(hji=hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhje=ubj_)}(h h]h }(hjv=hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hje=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)}jjO=sbc.irq_create_mapping_affinityasbuh1hhje=ubj_)}(h h]h }(hj=hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hje=ubj)}(hjh]h*}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhje=ubjv)}(hdomainh]hdomain}(hj=hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhje=ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhja=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&]noemphjjuh1jhja=ubj)}(h(const struct irq_affinity_desc *affinityh](jM)}(hjh]hconst}(hj#>hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhj>ubj_)}(h h]h }(hj0>hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj>ubjM)}(hjPh]hstruct}(hj>>hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhj>ubj_)}(h h]h }(hjK>hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj>ubh)}(hhh]jv)}(hirq_affinity_desch]hirq_affinity_desc}(hj\>hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjY>ubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetj^>modnameN classnameNjj)}j]j=c.irq_create_mapping_affinityasbuh1hhj>ubj_)}(h h]h }(hjz>hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj>ubj)}(hjh]h*}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj>ubjv)}(haffinityh]haffinity}(hj>hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj>ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhja=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}(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=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)}(hj9?h]hirq_hw_number_t hwirq}(hj;?hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj7?ubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM hj3?ubj:)}(hhh]h)}(h(hardware irq number in that domain spaceh]h(hardware irq number in that domain space}(hjR?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjN?hM hjO?ubah}(h]h ]h"]h$]h&]uh1j9hj3?ubeh}(h]h ]h"]h$]h&]uh1jhjN?hM hj>ubj)}(h:``const struct irq_affinity_desc *affinity`` irq affinity h](j )}(h,``const struct irq_affinity_desc *affinity``h]jc)}(hjr?h]h(const struct irq_affinity_desc *affinity}(hjt?hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjp?ubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM!hjl?ubj:)}(hhh]h)}(h irq affinityh]h irq affinity}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj?hM!hj?ubah}(h]h ]h"]h$]h&]uh1j9hjl?ubeh}(h]h ]h"]h$]h&]uh1jhj?hM!hj>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.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](j)}(hvoidh]hvoid}(hj?hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj?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](j)}(hunsignedh]hunsigned}(hj/@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+@ubj_)}(h h]h }(hj=@hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj+@ubj)}(hinth]hint}(hjK@hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj+@ubj_)}(h h]h }(hjY@hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj+@ubjv)}(hvirqh]hvirq}(hjg@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}(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?hhhj@hMubeh}(h]h ](jofunctioneh"]h$]h&]jjojj@jj@jjjuh1j;hhhj hNhNubj)}(hR**Parameters** ``unsigned int virq`` linux irq number of the interrupt to unmaph](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)}(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&]uh1jhj@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,AhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhj(Ahhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMubj_)}(h h]h }(hj:AhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj(Ahhhj9AhMubh)}(hhh]jv)}(hirq_desch]hirq_desc}(hjKAhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjHAubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjMAmodnameN classnameNjj)}j]j)}j__irq_resolve_mappingsbc.__irq_resolve_mappingasbuh1hhj(Ahhhj9AhMubj_)}(h h]h }(hjlAhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj(Ahhhj9AhMubj)}(hjh]h*}(hjzAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj(Ahhhj9AhMubjp)}(h__irq_resolve_mappingh]jv)}(hjiAh]h__irq_resolve_mapping}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjAubah}(h]h ](jjeh"]h$]h&]jjuh1johj(Ahhhj9AhMubj)}(hE(struct irq_domain *domain, irq_hw_number_t hwirq, unsigned int *irq)h](j)}(hstruct irq_domain *domainh](jM)}(hjPh]hstruct}(hjAhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjAubj_)}(h h]h }(hjAhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjAubh)}(hhh]jv)}(h irq_domainh]h irq_domain}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjAubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjAmodnameN classnameNjj)}j]jgAc.__irq_resolve_mappingasbuh1hhjAubj_)}(h h]h }(hjAhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjAubj)}(hjh]h*}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjAubjv)}(hdomainh]hdomain}(hjAhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjAubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjAubj)}(hirq_hw_number_t hwirqh](h)}(hhh]jv)}(hirq_hw_number_th]hirq_hw_number_t}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjBubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjBmodnameN classnameNjj)}j]jgAc.__irq_resolve_mappingasbuh1hhjBubj_)}(h h]h }(hj7BhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjBubjv)}(hhwirqh]hhwirq}(hjEBhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjBubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjAubj)}(hunsigned int *irqh](j)}(hunsignedh]hunsigned}(hj^BhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZBubj_)}(h h]h }(hjlBhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjZBubj)}(hinth]hint}(hjzBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZBubj_)}(h h]h }(hjBhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjZBubj)}(hjh]h*}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZBubjv)}(hirqh]hirq}(hjBhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjZBubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjAubeh}(h]h ]h"]h$]h&]jjuh1jhj(Ahhhj9AhMubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhj$Ahhhj9AhMubah}(h]jAah ](jjeh"]h$]h&]jj)jhuh1j@hj9AhMhj!Ahhubj)}(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!Ahhhj9AhMubeh}(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)}(hjCh]hstruct irq_domain *domain}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj Cubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjCubj:)}(hhh]h)}(h%domain owning this hardware interrupth]h%domain owning this hardware interrupt}(hj'ChhhNhNubah}(h]h ]h"]h$]h&]uh1hhj#ChMhj$Cubah}(h]h ]h"]h$]h&]uh1j9hjCubeh}(h]h ]h"]h$]h&]uh1jhj#ChMhjCubj)}(hC``irq_hw_number_t hwirq`` hardware irq number in that domain space h](j )}(h``irq_hw_number_t hwirq``h]jc)}(hjGCh]hirq_hw_number_t hwirq}(hjIChhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjECubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjACubj:)}(hhh]h)}(h(hardware irq number in that domain spaceh]h(hardware irq number in that domain space}(hj`ChhhNhNubah}(h]h ]h"]h$]h&]uh1hhj\ChMhj]Cubah}(h]h ]h"]h$]h&]uh1j9hjACubeh}(h]h ]h"]h$]h&]uh1jhj\ChMhjCubj)}(hK``unsigned int *irq`` optional pointer to return the Linux irq if required h](j )}(h``unsigned int *irq``h]jc)}(hjCh]hunsigned int *irq}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj~Cubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjzCubj:)}(hhh]h)}(h4optional pointer to return the Linux irq if requiredh]h4optional pointer to return the Linux irq if required}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhjChMhjCubah}(h]h ]h"]h$]h&]uh1j9hjzCubeh}(h]h ]h"]h$]h&]uh1jhjChMhjCubeh}(h]h ]h"]h$]h&]uh1jhjBubh)}(h**Description**h]j)}(hjCh]h Description}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(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](j)}(hinth]hint}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjChhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM&ubj_)}(h h]h }(hjDhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjChhhjDhM&ubjp)}(hirq_domain_xlate_onecellh]jv)}(hirq_domain_xlate_onecellh]hirq_domain_xlate_onecell}(hj!DhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjDubah}(h]h ](jjeh"]h$]h&]jjuh1johjChhhjDhM&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}(hj=DhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhj9Dubj_)}(h h]h }(hjJDhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj9Dubh)}(hhh]jv)}(h irq_domainh]h irq_domain}(hj[DhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjXDubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetj]DmodnameN classnameNjj)}j]j)}jj#Dsbc.irq_domain_xlate_onecellasbuh1hhj9Dubj_)}(h h]h }(hj{DhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj9Dubj)}(hjh]h*}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj9Dubjv)}(hdh]hd}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj9Dubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj5Dubj)}(hstruct device_node *ctrlrh](jM)}(hjPh]hstruct}(hjDhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjDubj_)}(h h]h }(hjDhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjDubh)}(hhh]jv)}(h device_nodeh]h device_node}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjDubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjDmodnameN classnameNjj)}j]jwDc.irq_domain_xlate_onecellasbuh1hhjDubj_)}(h h]h }(hjDhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjDubj)}(hjh]h*}(hjDhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjDubjv)}(hctrlrh]hctrlr}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjDubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj5Dubj)}(hconst u32 *intspech](jM)}(hjh]hconst}(hjEhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjEubj_)}(h h]h }(hj,EhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjEubh)}(hhh]jv)}(hu32h]hu32}(hj=EhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj:Eubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetj?EmodnameN classnameNjj)}j]jwDc.irq_domain_xlate_onecellasbuh1hhjEubj_)}(h h]h }(hj[EhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjEubj)}(hjh]h*}(hjiEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubjv)}(hintspech]hintspec}(hjvEhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjEubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj5Dubj)}(hunsigned int intsizeh](j)}(hunsignedh]hunsigned}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj_)}(h h]h }(hjEhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjEubj)}(hinth]hint}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj_)}(h h]h }(hjEhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjEubjv)}(hintsizeh]hintsize}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjEubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj5Dubj)}(hunsigned long *out_hwirqh](j)}(hunsignedh]hunsigned}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj_)}(h h]h }(hjEhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjEubj)}(hlongh]hlong}(hjEhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubj_)}(h h]h }(hj FhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjEubj)}(hjh]h*}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjEubjv)}(h out_hwirqh]h out_hwirq}(hj%FhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjEubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj5Dubj)}(hunsigned int *out_typeh](j)}(hunsignedh]hunsigned}(hj>FhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:Fubj_)}(h h]h }(hjLFhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj:Fubj)}(hinth]hint}(hjZFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:Fubj_)}(h h]h }(hjhFhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj:Fubj)}(hjh]h*}(hjvFhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:Fubjv)}(hout_typeh]hout_type}(hjFhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj:Fubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj5Dubeh}(h]h ]h"]h$]h&]jjuh1jhjChhhjDhM&ubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhjChhhjDhM&ubah}(h]jCah ](jjeh"]h$]h&]jj)jhuh1j@hjDhM&hjChhubj)}(hhh]h)}(h*Generic xlate for direct one cell bindingsh]h*Generic xlate for direct one cell bindings}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM&hjFhhubah}(h]h ]h"]h$]h&]uh1jhjChhhjDhM&ubeh}(h]h ](jofunctioneh"]h$]h&]jjojjFjjFjjjuh1j;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}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGhM'hjGubah}(h]h ]h"]h$]h&]uh1j9hjFubeh}(h]h ]h"]h$]h&]uh1jhjGhM'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)}(hj'Gh]hstruct device_node *ctrlr}(hj)GhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj%Gubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM(hj!Gubj:)}(hhh]h)}(hAThe device tree node for the device whose interrupt is translatedh]hAThe device tree node for the device whose interrupt is translated}(hj@GhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj``unsigned int intsize`` The number of entries in **intspec** h](j )}(h``unsigned int intsize``h]jc)}(hjGh]hunsigned int intsize}(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$The number of entries in **intspec**h](hThe number of entries in }(hjGhhhNhNubj)}(h **intspec**h]hintspec}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubeh}(h]h ]h"]h$]h&]uh1hhjGhM*hjGubah}(h]h ]h"]h$]h&]uh1j9hjGubeh}(h]h ]h"]h$]h&]uh1jhjGhM*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)}(hjHh]hunsigned int *out_type}(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.chM,hjHubj:)}(hhh]h)}(h)Pointer to storage for the interrupt typeh]h)Pointer to storage for the interrupt type}(hj2HhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.HhM,hj/Hubah}(h]h ]h"]h$]h&]uh1j9hjHubeh}(h]h ]h"]h$]h&]uh1jhj.HhM,hjFubeh}(h]h ]h"]h$]h&]uh1jhjFubh)}(h**Description**h]j)}(hjTHh]h Description}(hjVHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRHubah}(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.}(hjjHhhhNhNubah}(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](j)}(hinth]hint}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHhhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM>ubj_)}(h h]h }(hjHhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjHhhhjHhM>ubjp)}(hirq_domain_xlate_twocellh]jv)}(hirq_domain_xlate_twocellh]hirq_domain_xlate_twocell}(hjHhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjHubah}(h]h ](jjeh"]h$]h&]jjuh1johjHhhhjHhM>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)}jjHsbc.irq_domain_xlate_twocellasbuh1hhjHubj_)}(h h]h }(hjIhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjHubj)}(hjh]h*}(hj"IhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHubjv)}(hjDh]hd}(hj/IhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjHubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjHubj)}(hstruct device_node *ctrlrh](jM)}(hjPh]hstruct}(hjGIhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjCIubj_)}(h h]h }(hjTIhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjCIubh)}(hhh]jv)}(h device_nodeh]h device_node}(hjeIhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjbIubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjgImodnameN classnameNjj)}j]jIc.irq_domain_xlate_twocellasbuh1hhjCIubj_)}(h h]h }(hjIhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjCIubj)}(hjh]h*}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjCIubjv)}(hctrlrh]hctrlr}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjCIubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjHubj)}(hconst u32 *intspech](jM)}(hjh]hconst}(hjIhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjIubj_)}(h h]h }(hjIhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjIubh)}(hhh]jv)}(hu32h]hu32}(hjIhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjIubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjImodnameN classnameNjj)}j]jIc.irq_domain_xlate_twocellasbuh1hhjIubj_)}(h h]h }(hjIhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjIubj)}(hjh]h*}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjIubjv)}(hintspech]hintspec}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjIubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjHubj)}(hunsigned int intsizeh](j)}(hunsignedh]hunsigned}(hj'JhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#Jubj_)}(h h]h }(hj5JhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj#Jubj)}(hinth]hint}(hjCJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj#Jubj_)}(h h]h }(hjQJhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj#Jubjv)}(hintsizeh]hintsize}(hj_JhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj#Jubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjHubj)}(hirq_hw_number_t *out_hwirqh](h)}(hhh]jv)}(hirq_hw_number_th]hirq_hw_number_t}(hj{JhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjxJubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetj}JmodnameN classnameNjj)}j]jIc.irq_domain_xlate_twocellasbuh1hhjtJubj_)}(h h]h }(hjJhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjtJubj)}(hjh]h*}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjtJubjv)}(h out_hwirqh]h out_hwirq}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjtJubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjHubj)}(hunsigned int *out_typeh](j)}(hunsignedh]hunsigned}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj_)}(h h]h }(hjJhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjJubj)}(hinth]hint}(hjJhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubj_)}(h h]h }(hjJhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjJubj)}(hjh]h*}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjJubjv)}(hout_typeh]hout_type}(hjKhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjJubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjHubeh}(h]h ]h"]h$]h&]jjuh1jhjHhhhjHhM>ubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhjHhhhjHhM>ubah}(h]jHah ](jjeh"]h$]h&]jj)jhuh1j@hjHhM>hjHhhubj)}(hhh]h)}(h*Generic xlate for direct two cell bindingsh]h*Generic xlate for direct two cell bindings}(hjhj9Khhubah}(h]h ]h"]h$]h&]uh1jhjHhhhjHhM>ubeh}(h]h ](jofunctioneh"]h$]h&]jjojjTKjjTKjjjuh1j;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)}(hj^Kh]h Parameters}(hj`KhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj\Kubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMBhjXKubj)}(hhh](j)}(hF``struct irq_domain *d`` Interrupt domain involved in the translation h](j )}(h``struct irq_domain *d``h]jc)}(hj}Kh]hstruct irq_domain *d}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj{Kubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM?hjwKubj:)}(hhh]h)}(h,Interrupt domain involved in the translationh]h,Interrupt domain involved in the translation}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjKhM?hjKubah}(h]h ]h"]h$]h&]uh1j9hjwKubeh}(h]h ]h"]h$]h&]uh1jhjKhM?hjtKubj)}(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)}(hjKh]hstruct device_node *ctrlr}(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)}(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&]uh1j9hjKubeh}(h]h ]h"]h$]h&]uh1jhjKhM@hjtKubj)}(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.chMAhjKubj:)}(hhh]h)}(h1The interrupt specifier data from the device treeh]h1The interrupt specifier data from the device tree}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjLhMAhjLubah}(h]h ]h"]h$]h&]uh1j9hjKubeh}(h]h ]h"]h$]h&]uh1jhjLhMAhjtKubj)}(h>``unsigned int intsize`` The number of entries in **intspec** h](j )}(h``unsigned int intsize``h]jc)}(hj(Lh]hunsigned int intsize}(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)}(h$The number of entries in **intspec**h](hThe number of entries in }(hjALhhhNhNubj)}(h **intspec**h]hintspec}(hjILhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjALubeh}(h]h ]h"]h$]h&]uh1hhj=LhMBhj>Lubah}(h]h ]h"]h$]h&]uh1j9hj"Lubeh}(h]h ]h"]h$]h&]uh1jhj=LhMBhjtKubj)}(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)}(hjoLh]hirq_hw_number_t *out_hwirq}(hjqLhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjmLubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMChjiLubj:)}(hhh]h)}(h4Pointer to storage for the hardware interrupt numberh]h4Pointer to storage for the hardware interrupt number}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjLhMChjLubah}(h]h ]h"]h$]h&]uh1j9hjiLubeh}(h]h ]h"]h$]h&]uh1jhjLhMChjtKubj)}(hE``unsigned int *out_type`` Pointer to storage for the interrupt type h](j )}(h``unsigned int *out_type``h]jc)}(hjLh]hunsigned int *out_type}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjLubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMDhjLubj:)}(hhh]h)}(h)Pointer to storage for the interrupt typeh]h)Pointer to storage for the interrupt type}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjLhMDhjLubah}(h]h ]h"]h$]h&]uh1j9hjLubeh}(h]h ]h"]h$]h&]uh1jhjLhMDhjtKubeh}(h]h ]h"]h$]h&]uh1jhjXKubh)}(h**Description**h]j)}(hjLh]h Description}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjLubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMFhjXKubh)}(hDevice 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]hDevice 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.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMEhjXKubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubj+)}(hhh]h}(h]h ]h"]h$]h&]entries](j7*irq_domain_xlate_twothreecell (C function)c.irq_domain_xlate_twothreecellhNtauh1j*hj hhhNhNubj<)}(hhh](jA)}(hint irq_domain_xlate_twothreecell (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_twothreecell(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)}(hinth]hint}(hj(MhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj$Mhhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMVubj_)}(h h]h }(hj7MhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj$Mhhhj6MhMVubjp)}(hirq_domain_xlate_twothreecellh]jv)}(hirq_domain_xlate_twothreecellh]hirq_domain_xlate_twothreecell}(hjIMhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjEMubah}(h]h ](jjeh"]h$]h&]jjuh1johj$Mhhhj6MhMVubj)}(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}(hjeMhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjaMubj_)}(h h]h }(hjrMhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjaMubh)}(hhh]jv)}(h irq_domainh]h irq_domain}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjMubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjMmodnameN classnameNjj)}j]j)}jjKMsbc.irq_domain_xlate_twothreecellasbuh1hhjaMubj_)}(h h]h }(hjMhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjaMubj)}(hjh]h*}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaMubjv)}(hjDh]hd}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjaMubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj]Mubj)}(hstruct device_node *ctrlrh](jM)}(hjPh]hstruct}(hjMhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjMubj_)}(h h]h }(hjMhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjMubh)}(hhh]jv)}(h device_nodeh]h device_node}(hjMhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjMubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjMmodnameN classnameNjj)}j]jMc.irq_domain_xlate_twothreecellasbuh1hhjMubj_)}(h h]h }(hjNhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjMubj)}(hjh]h*}(hj NhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjMubjv)}(hctrlrh]hctrlr}(hj-NhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjMubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj]Mubj)}(hconst u32 *intspech](jM)}(hjh]hconst}(hjFNhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjBNubj_)}(h h]h }(hjSNhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjBNubh)}(hhh]jv)}(hu32h]hu32}(hjdNhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjaNubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjfNmodnameN classnameNjj)}j]jMc.irq_domain_xlate_twothreecellasbuh1hhjBNubj_)}(h h]h }(hjNhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjBNubj)}(hjh]h*}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjBNubjv)}(hintspech]hintspec}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjBNubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj]Mubj)}(hunsigned int intsizeh](j)}(hunsignedh]hunsigned}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubj_)}(h h]h }(hjNhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjNubj)}(hinth]hint}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjNubj_)}(h h]h }(hjNhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjNubjv)}(hintsizeh]hintsize}(hjNhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjNubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj]Mubj)}(hirq_hw_number_t *out_hwirqh](h)}(hhh]jv)}(hirq_hw_number_th]hirq_hw_number_t}(hj OhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjOubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetj OmodnameN classnameNjj)}j]jMc.irq_domain_xlate_twothreecellasbuh1hhjOubj_)}(h h]h }(hj(OhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjOubj)}(hjh]h*}(hj6OhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjOubjv)}(h out_hwirqh]h out_hwirq}(hjCOhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjOubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj]Mubj)}(hunsigned int *out_typeh](j)}(hunsignedh]hunsigned}(hj\OhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXOubj_)}(h h]h }(hjjOhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjXOubj)}(hinth]hint}(hjxOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXOubj_)}(h h]h }(hjOhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjXOubj)}(hjh]h*}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjXOubjv)}(hout_typeh]hout_type}(hjOhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjXOubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj]Mubeh}(h]h ]h"]h$]h&]jjuh1jhj$Mhhhj6MhMVubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhj Mhhhj6MhMVubah}(h]jMah ](jjeh"]h$]h&]jj)jhuh1j@hj6MhMVhjMhhubj)}(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.chMVhjOhhubah}(h]h ]h"]h$]h&]uh1jhjMhhhj6MhMVubeh}(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.chMZhjOubj)}(hhh](j)}(hF``struct irq_domain *d`` Interrupt domain involved in the translation h](j )}(h``struct irq_domain *d``h]jc)}(hj Ph]hstruct irq_domain *d}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj Pubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMWhjPubj:)}(hhh]h)}(h,Interrupt domain involved in the translationh]h,Interrupt domain involved in the translation}(hj%PhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj!PhMWhj"Pubah}(h]h ]h"]h$]h&]uh1j9hjPubeh}(h]h ]h"]h$]h&]uh1jhj!PhMWhjPubj)}(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)}(hjEPh]hstruct device_node *ctrlr}(hjGPhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjCPubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMXhj?Pubj:)}(hhh]h)}(hAThe device tree node for the device whose interrupt is translatedh]hAThe device tree node for the device whose interrupt is translated}(hj^PhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZPhMXhj[Pubah}(h]h ]h"]h$]h&]uh1j9hj?Pubeh}(h]h ]h"]h$]h&]uh1jhjZPhMXhjPubj)}(hI``const u32 *intspec`` The interrupt specifier data from the device tree h](j )}(h``const u32 *intspec``h]jc)}(hj~Ph]hconst u32 *intspec}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj|Pubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMYhjxPubj:)}(hhh]h)}(h1The interrupt specifier data from the device treeh]h1The interrupt specifier data from the device tree}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjPhMYhjPubah}(h]h ]h"]h$]h&]uh1j9hjxPubeh}(h]h ]h"]h$]h&]uh1jhjPhMYhjPubj)}(h>``unsigned int intsize`` The number of entries in **intspec** h](j )}(h``unsigned int intsize``h]jc)}(hjPh]hunsigned int intsize}(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)}(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&]uh1hhjPhMZhjPubah}(h]h ]h"]h$]h&]uh1j9hjPubeh}(h]h ]h"]h$]h&]uh1jhjPhMZhjPubj)}(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}(hjQhhhNhNubah}(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)}(h4Pointer to storage for the hardware interrupt numberh]h4Pointer to storage for the hardware interrupt number}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQhM[hjQubah}(h]h ]h"]h$]h&]uh1j9hjPubeh}(h]h ]h"]h$]h&]uh1jhjQhM[hjPubj)}(hE``unsigned int *out_type`` Pointer to storage for the interrupt type h](j )}(h``unsigned int *out_type``h]jc)}(hj7Qh]hunsigned int *out_type}(hj9QhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj5Qubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM\hj1Qubj:)}(hhh]h)}(h)Pointer to storage for the interrupt typeh]h)Pointer to storage for the interrupt type}(hjPQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjLQhM\hjMQubah}(h]h ]h"]h$]h&]uh1j9hj1Qubeh}(h]h ]h"]h$]h&]uh1jhjLQhM\hjPubeh}(h]h ]h"]h$]h&]uh1jhjOubh)}(h**Description**h]j)}(hjrQh]h Description}(hjtQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjpQubah}(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.}(hjQhhhNhNubah}(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](j)}(hinth]hint}(hjQhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQhhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMoubj_)}(h h]h }(hjQhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjQhhhjQhMoubjp)}(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&]jjuh1johjQhhhjQhMoubj)}(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 }(hjRhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjQubh)}(hhh]jv)}(h irq_domainh]h irq_domain}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjRubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjRmodnameN classnameNjj)}j]j)}jjQsbc.irq_domain_xlate_onetwocellasbuh1hhjQubj_)}(h h]h }(hj2RhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjQubj)}(hjh]h*}(hj@RhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQubjv)}(hjDh]hd}(hjMRhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjQubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjQubj)}(hstruct device_node *ctrlrh](jM)}(hjPh]hstruct}(hjeRhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjaRubj_)}(h h]h }(hjrRhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjaRubh)}(hhh]jv)}(h device_nodeh]h device_node}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjRubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjRmodnameN classnameNjj)}j]j.Rc.irq_domain_xlate_onetwocellasbuh1hhjaRubj_)}(h h]h }(hjRhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjaRubj)}(hjh]h*}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaRubjv)}(hctrlrh]hctrlr}(hjRhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjaRubeh}(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]j.Rc.irq_domain_xlate_onetwocellasbuh1hhjRubj_)}(h h]h }(hjShhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjRubj)}(hjh]h*}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjRubjv)}(hintspech]hintspec}(hj,ShhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjRubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjQubj)}(hunsigned int intsizeh](j)}(hunsignedh]hunsigned}(hjEShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjASubj_)}(h h]h }(hjSShhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjASubj)}(hinth]hint}(hjaShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjASubj_)}(h h]h }(hjoShhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjASubjv)}(hintsizeh]hintsize}(hj}ShhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjASubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjQubj)}(hunsigned long *out_hwirqh](j)}(hunsignedh]hunsigned}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj_)}(h h]h }(hjShhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjSubj)}(hlongh]hlong}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj_)}(h h]h }(hjShhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjSubj)}(hjh]h*}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubjv)}(h out_hwirqh]h out_hwirq}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjSubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjQubj)}(hunsigned int *out_typeh](j)}(hunsignedh]hunsigned}(hjShhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj_)}(h h]h }(hjThhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjSubj)}(hinth]hint}(hjThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubj_)}(h h]h }(hjThhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjSubj)}(hjh]h*}(hj,ThhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjSubjv)}(hout_typeh]hout_type}(hj9ThhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjSubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjQubeh}(h]h ]h"]h$]h&]jjuh1jhjQhhhjQhMoubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhjQhhhjQhMoubah}(h]jQah ](jjeh"]h$]h&]jj)jhuh1j@hjQhMohjQhhubj)}(hhh]h)}(h*Generic xlate for one or two cell bindingsh]h*Generic xlate for one or two cell bindings}(hjcThhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMohj`Thhubah}(h]h ]h"]h$]h&]uh1jhjQhhhjQhMoubeh}(h]h ](jofunctioneh"]h$]h&]jjojj{Tjj{Tjjjuh1j;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)}(hjTh]h Parameters}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1jhjTubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMshjTubj)}(hhh](j)}(hF``struct irq_domain *d`` Interrupt domain involved in the translation h](j )}(h``struct irq_domain *d``h]jc)}(hjTh]hstruct irq_domain *d}(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)}(h,Interrupt domain involved in the translationh]h,Interrupt domain involved in the translation}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhjThMphjTubah}(h]h ]h"]h$]h&]uh1j9hjTubeh}(h]h ]h"]h$]h&]uh1jhjThMphjTubj)}(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.chMqhjTubj:)}(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&]uh1hhjThMqhjTubah}(h]h ]h"]h$]h&]uh1j9hjTubeh}(h]h ]h"]h$]h&]uh1jhjThMqhjTubj)}(hI``const u32 *intspec`` The interrupt specifier data from the device tree h](j )}(h``const u32 *intspec``h]jc)}(hjUh]hconst u32 *intspec}(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.chMrhjUubj:)}(hhh]h)}(h1The interrupt specifier data from the device treeh]h1The interrupt specifier data from the device tree}(hj/UhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj+UhMrhj,Uubah}(h]h ]h"]h$]h&]uh1j9hjUubeh}(h]h ]h"]h$]h&]uh1jhj+UhMrhjTubj)}(h>``unsigned int intsize`` The number of entries in **intspec** h](j )}(h``unsigned int intsize``h]jc)}(hjOUh]hunsigned int intsize}(hjQUhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjMUubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMshjIUubj:)}(hhh]h)}(h$The number of entries in **intspec**h](hThe number of entries in }(hjhUhhhNhNubj)}(h **intspec**h]hintspec}(hjpUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhUubeh}(h]h ]h"]h$]h&]uh1hhjdUhMshjeUubah}(h]h ]h"]h$]h&]uh1j9hjIUubeh}(h]h ]h"]h$]h&]uh1jhjdUhMshjTubj)}(hR``unsigned long *out_hwirq`` Pointer to storage for the hardware interrupt number h](j )}(h``unsigned long *out_hwirq``h]jc)}(hjUh]hunsigned long *out_hwirq}(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)}(h4Pointer to storage for the hardware interrupt numberh]h4Pointer to storage for the hardware interrupt number}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUhMthjUubah}(h]h ]h"]h$]h&]uh1j9hjUubeh}(h]h ]h"]h$]h&]uh1jhjUhMthjTubj)}(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.chMuhjUubj:)}(hhh]h)}(h)Pointer to storage for the interrupt typeh]h)Pointer to storage for the interrupt type}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjUhMuhjUubah}(h]h ]h"]h$]h&]uh1j9hjUubeh}(h]h ]h"]h$]h&]uh1jhjUhMuhjTubeh}(h]h ]h"]h$]h&]uh1jhjTubh)}(h**Description**h]j)}(hj Vh]h Description}(hj VhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMwhjTubh)}(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.}(hj VhhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMvhjTubh)}(h**Note**h]j)}(hj1Vh]hNote}(hj3VhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/Vubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMzhjTubh)}(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.}(hjGVhhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chM{hjTubeh}(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](j)}(hinth]hint}(hjvVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjrVhhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMubj_)}(h h]h }(hjVhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjrVhhhjVhMubjp)}(hirq_domain_translate_onecellh]jv)}(hirq_domain_translate_onecellh]hirq_domain_translate_onecell}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjVubah}(h]h ](jjeh"]h$]h&]jjuh1johjrVhhhjVhMubj)}(hc(struct irq_domain *d, struct irq_fwspec *fwspec, unsigned long *out_hwirq, unsigned int *out_type)h](j)}(hstruct irq_domain *dh](jM)}(hjPh]hstruct}(hjVhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjVubj_)}(h h]h }(hjVhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjVubh)}(hhh]jv)}(h irq_domainh]h irq_domain}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjVubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjVmodnameN classnameNjj)}j]j)}jjVsbc.irq_domain_translate_onecellasbuh1hhjVubj_)}(h h]h }(hjVhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjVubj)}(hjh]h*}(hjVhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjVubjv)}(hjDh]hd}(hj WhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjVubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjVubj)}(hstruct irq_fwspec *fwspech](jM)}(hjPh]hstruct}(hj$WhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhj Wubj_)}(h h]h }(hj1WhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj Wubh)}(hhh]jv)}(h irq_fwspech]h irq_fwspec}(hjBWhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj?Wubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjDWmodnameN classnameNjj)}j]jVc.irq_domain_translate_onecellasbuh1hhj Wubj_)}(h h]h }(hj`WhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj Wubj)}(hjh]h*}(hjnWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj Wubjv)}(hfwspech]hfwspec}(hj{WhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj Wubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjVubj)}(hunsigned long *out_hwirqh](j)}(hunsignedh]hunsigned}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubj_)}(h h]h }(hjWhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjWubj)}(hlongh]hlong}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubj_)}(h h]h }(hjWhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjWubj)}(hjh]h*}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubjv)}(h out_hwirqh]h out_hwirq}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjWubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjVubj)}(hunsigned int *out_typeh](j)}(hunsignedh]hunsigned}(hjWhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubj_)}(h h]h }(hjXhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjWubj)}(hinth]hint}(hjXhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubj_)}(h h]h }(hjXhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjWubj)}(hjh]h*}(hj*XhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjWubjv)}(hout_typeh]hout_type}(hj7XhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjWubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjVubeh}(h]h ]h"]h$]h&]jjuh1jhjrVhhhjVhMubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhjnVhhhjVhMubah}(h]jiVah ](jjeh"]h$]h&]jj)jhuh1j@hjVhMhjkVhhubj)}(hhh]h)}(h.Generic translate for direct one cell bindingsh]h.Generic translate for direct one cell bindings}(hjaXhhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj^Xhhubah}(h]h ]h"]h$]h&]uh1jhjkVhhhjVhMubeh}(h]h ](jofunctioneh"]h$]h&]jjojjyXjjyXjjjuh1j;hhhj hNhNubj)}(hXC**Parameters** ``struct irq_domain *d`` Interrupt domain involved in the translation ``struct irq_fwspec *fwspec`` The firmware interrupt specifier to translate ``unsigned long *out_hwirq`` Pointer to storage for the hardware interrupt number ``unsigned int *out_type`` Pointer to storage for the interrupt typeh](h)}(h**Parameters**h]j)}(hjXh]h Parameters}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj}Xubj)}(hhh](j)}(hF``struct irq_domain *d`` Interrupt domain involved in the translation h](j )}(h``struct irq_domain *d``h]jc)}(hjXh]hstruct irq_domain *d}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjXubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjXubj:)}(hhh]h)}(h,Interrupt domain involved in the translationh]h,Interrupt domain involved in the translation}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXhMhjXubah}(h]h ]h"]h$]h&]uh1j9hjXubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjXubj)}(hL``struct irq_fwspec *fwspec`` The firmware interrupt specifier to translate h](j )}(h``struct irq_fwspec *fwspec``h]jc)}(hjXh]hstruct irq_fwspec *fwspec}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjXubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjXubj:)}(hhh]h)}(h-The firmware interrupt specifier to translateh]h-The firmware interrupt specifier to translate}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXhMhjXubah}(h]h ]h"]h$]h&]uh1j9hjXubeh}(h]h ]h"]h$]h&]uh1jhjXhMhjXubj)}(hR``unsigned long *out_hwirq`` Pointer to storage for the hardware interrupt number h](j )}(h``unsigned long *out_hwirq``h]jc)}(hjYh]hunsigned long *out_hwirq}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjYubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjYubj:)}(hhh]h)}(h4Pointer to storage for the hardware interrupt numberh]h4Pointer to storage for the hardware interrupt number}(hj-YhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj)YhMhj*Yubah}(h]h ]h"]h$]h&]uh1j9hjYubeh}(h]h ]h"]h$]h&]uh1jhj)YhMhjXubj)}(hD``unsigned int *out_type`` Pointer to storage for the interrupt typeh](j )}(h``unsigned int *out_type``h]jc)}(hjMYh]hunsigned int *out_type}(hjOYhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjKYubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjGYubj:)}(hhh]h)}(h)Pointer to storage for the interrupt typeh]h)Pointer to storage for the interrupt type}(hjfYhhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjcYubah}(h]h ]h"]h$]h&]uh1j9hjGYubeh}(h]h ]h"]h$]h&]uh1jhjbYhMhjXubeh}(h]h ]h"]h$]h&]uh1jhj}Xubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubj+)}(hhh]h}(h]h ]h"]h$]h&]entries](j7)irq_domain_translate_twocell (C function)c.irq_domain_translate_twocellhNtauh1j*hj hhhNhNubj<)}(hhh](jA)}(hint irq_domain_translate_twocell (struct irq_domain *d, struct irq_fwspec *fwspec, unsigned long *out_hwirq, unsigned int *out_type)h]jG)}(hint irq_domain_translate_twocell(struct irq_domain *d, struct irq_fwspec *fwspec, unsigned long *out_hwirq, unsigned int *out_type)h](j)}(hinth]hint}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYhhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMubj_)}(h h]h }(hjYhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjYhhhjYhMubjp)}(hirq_domain_translate_twocellh]jv)}(hirq_domain_translate_twocellh]hirq_domain_translate_twocell}(hjYhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjYubah}(h]h ](jjeh"]h$]h&]jjuh1johjYhhhjYhMubj)}(hc(struct irq_domain *d, struct irq_fwspec *fwspec, unsigned long *out_hwirq, unsigned int *out_type)h](j)}(hstruct irq_domain *dh](jM)}(hjPh]hstruct}(hjYhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjYubj_)}(h h]h }(hjYhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjYubh)}(hhh]jv)}(h irq_domainh]h irq_domain}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjYubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjZmodnameN classnameNjj)}j]j)}jjYsbc.irq_domain_translate_twocellasbuh1hhjYubj_)}(h h]h }(hj"ZhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjYubj)}(hjh]h*}(hj0ZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjYubjv)}(hjDh]hd}(hj=ZhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjYubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjYubj)}(hstruct irq_fwspec *fwspech](jM)}(hjPh]hstruct}(hjUZhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjQZubj_)}(h h]h }(hjbZhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjQZubh)}(hhh]jv)}(h irq_fwspech]h irq_fwspec}(hjsZhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjpZubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjuZmodnameN classnameNjj)}j]jZc.irq_domain_translate_twocellasbuh1hhjQZubj_)}(h h]h }(hjZhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjQZubj)}(hjh]h*}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQZubjv)}(hfwspech]hfwspec}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjQZubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjYubj)}(hunsigned long *out_hwirqh](j)}(hunsignedh]hunsigned}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubj_)}(h h]h }(hjZhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjZubj)}(hlongh]hlong}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubj_)}(h h]h }(hjZhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjZubj)}(hjh]h*}(hjZhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjZubjv)}(h out_hwirqh]h out_hwirq}(hj [hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjZubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjYubj)}(hunsigned int *out_typeh](j)}(hunsignedh]hunsigned}(hj#[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[ubj_)}(h h]h }(hj1[hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj[ubj)}(hinth]hint}(hj?[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[ubj_)}(h h]h }(hjM[hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj[ubj)}(hjh]h*}(hj[[hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj[ubjv)}(hout_typeh]hout_type}(hjh[hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj[ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjYubeh}(h]h ]h"]h$]h&]jjuh1jhjYhhhjYhMubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhjYhhhjYhMubah}(h]jYah ](jjeh"]h$]h&]jj)jhuh1j@hjYhMhjYhhubj)}(hhh]h)}(h.Generic translate for direct two cell bindingsh]h.Generic translate for direct two cell bindings}(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&]uh1jhjYhhhjYhMubeh}(h]h ](jofunctioneh"]h$]h&]jjojj[jj[jjjuh1j;hhhj hNhNubj)}(hX**Parameters** ``struct irq_domain *d`` Interrupt domain involved in the translation ``struct irq_fwspec *fwspec`` The firmware interrupt specifier to translate ``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 two cell bindings where the cell values map directly to the hwirq number and linux irq flags.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)}(hF``struct irq_domain *d`` Interrupt domain involved in the translation h](j )}(h``struct irq_domain *d``h]jc)}(hj[h]hstruct irq_domain *d}(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,Interrupt domain involved in the translationh]h,Interrupt domain involved in the translation}(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)}(hL``struct irq_fwspec *fwspec`` The firmware interrupt specifier to translate h](j )}(h``struct irq_fwspec *fwspec``h]jc)}(hj \h]hstruct irq_fwspec *fwspec}(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-The firmware interrupt specifier to translateh]h-The firmware interrupt specifier to translate}(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)}(hR``unsigned long *out_hwirq`` Pointer to storage for the hardware interrupt number h](j )}(h``unsigned long *out_hwirq``h]jc)}(hjE\h]hunsigned long *out_hwirq}(hjG\hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjC\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)}(h4Pointer to storage for the hardware interrupt numberh]h4Pointer to storage for the hardware interrupt number}(hj^\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZ\hMhj[\ubah}(h]h ]h"]h$]h&]uh1j9hj?\ubeh}(h]h ]h"]h$]h&]uh1jhjZ\hMhj[ubj)}(hE``unsigned int *out_type`` Pointer to storage for the interrupt type h](j )}(h``unsigned int *out_type``h]jc)}(hj~\h]hunsigned int *out_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.chMhjx\ubj:)}(hhh]h)}(h)Pointer to storage for the interrupt typeh]h)Pointer to storage for the interrupt type}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj\hMhj\ubah}(h]h ]h"]h$]h&]uh1j9hjx\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&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj[ubh)}(hDevice 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]hDevice 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.}(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_domain_translate_twothreecell (C function)#c.irq_domain_translate_twothreecellhNtauh1j*hj hhhNhNubj<)}(hhh](jA)}(hint irq_domain_translate_twothreecell (struct irq_domain *d, struct irq_fwspec *fwspec, unsigned long *out_hwirq, unsigned int *out_type)h]jG)}(hint irq_domain_translate_twothreecell(struct irq_domain *d, struct irq_fwspec *fwspec, unsigned long *out_hwirq, unsigned int *out_type)h](j)}(hinth]hint}(hj\hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj\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)}(h!irq_domain_translate_twothreecellh]jv)}(h!irq_domain_translate_twothreecellh]h!irq_domain_translate_twothreecell}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj]ubah}(h]h ](jjeh"]h$]h&]jjuh1johj\hhhj ]hMubj)}(hc(struct irq_domain *d, struct irq_fwspec *fwspec, unsigned long *out_hwirq, unsigned int *out_type)h](j)}(hstruct irq_domain *dh](jM)}(hjPh]hstruct}(hj;]hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhj7]ubj_)}(h h]h }(hjH]hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj7]ubh)}(hhh]jv)}(h irq_domainh]h irq_domain}(hjY]hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjV]ubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetj[]modnameN classnameNjj)}j]j)}jj!]sb#c.irq_domain_translate_twothreecellasbuh1hhj7]ubj_)}(h h]h }(hjy]hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj7]ubj)}(hjh]h*}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7]ubjv)}(hjDh]hd}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj7]ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj3]ubj)}(hstruct irq_fwspec *fwspech](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_fwspech]h irq_fwspec}(hj]hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj]ubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetj]modnameN classnameNjj)}j]ju]#c.irq_domain_translate_twothreecellasbuh1hhj]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)}(hfwspech]hfwspec}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj]ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj3]ubj)}(hunsigned long *out_hwirqh](j)}(hunsignedh]hunsigned}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubj_)}(h h]h }(hj*^hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj^ubj)}(hlongh]hlong}(hj8^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubj_)}(h h]h }(hjF^hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj^ubj)}(hjh]h*}(hjT^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^ubjv)}(h out_hwirqh]h out_hwirq}(hja^hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj^ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj3]ubj)}(hunsigned int *out_typeh](j)}(hunsignedh]hunsigned}(hjz^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjv^ubj_)}(h h]h }(hj^hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjv^ubj)}(hinth]hint}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjv^ubj_)}(h h]h }(hj^hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjv^ubj)}(hjh]h*}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjv^ubjv)}(hout_typeh]hout_type}(hj^hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjv^ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj3]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)}(h7Generic translate for direct two or three cell bindingsh]h7Generic translate for direct two or three cell bindings}(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\hhhj ]hMubeh}(h]h ](jofunctioneh"]h$]h&]jjojj_jj_jjjuh1j;hhhj hNhNubj)}(hX**Parameters** ``struct irq_domain *d`` Interrupt domain involved in the translation ``struct irq_fwspec *fwspec`` The firmware interrupt specifier to translate ``unsigned long *out_hwirq`` Pointer to storage for the hardware interrupt number ``unsigned int *out_type`` Pointer to storage for the interrupt type **Description** Firmware interrupt specifier translation function for two or three cell specifications, where the parameter values map directly to the hardware interrupt number and the type specifier.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)}(hF``struct irq_domain *d`` Interrupt domain involved in the translation h](j )}(h``struct irq_domain *d``h]jc)}(hj*_h]hstruct irq_domain *d}(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,Interrupt domain involved in the translationh]h,Interrupt domain involved in the translation}(hjC_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj?_hMhj@_ubah}(h]h ]h"]h$]h&]uh1j9hj$_ubeh}(h]h ]h"]h$]h&]uh1jhj?_hMhj!_ubj)}(hL``struct irq_fwspec *fwspec`` The firmware interrupt specifier to translate h](j )}(h``struct irq_fwspec *fwspec``h]jc)}(hjc_h]hstruct irq_fwspec *fwspec}(hje_hhhNhNubah}(h]h ]h"]h$]h&]uh1jbhja_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-The firmware interrupt specifier to translateh]h-The firmware interrupt specifier to translate}(hj|_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjx_hMhjy_ubah}(h]h ]h"]h$]h&]uh1j9hj]_ubeh}(h]h ]h"]h$]h&]uh1jhjx_hMhj!_ubj)}(hR``unsigned long *out_hwirq`` Pointer to storage for the hardware interrupt number h](j )}(h``unsigned long *out_hwirq``h]jc)}(hj_h]hunsigned long *out_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)}(h4Pointer to storage for the hardware interrupt numberh]h4Pointer to storage for the hardware interrupt number}(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)}(hE``unsigned int *out_type`` Pointer to storage for the interrupt type h](j )}(h``unsigned int *out_type``h]jc)}(hj_h]hunsigned int *out_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.chMhj_ubj:)}(hhh]h)}(h)Pointer to storage for the interrupt typeh]h)Pointer to storage for the interrupt type}(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&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj_ubh)}(hFirmware interrupt specifier translation function for two or three cell specifications, where the parameter values map directly to the hardware interrupt number and the type specifier.h]hFirmware interrupt specifier translation function for two or three cell specifications, where the parameter values map directly to the hardware interrupt number and the type specifier.}(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_domain_reset_irq_data (C function)c.irq_domain_reset_irq_datahNtauh1j*hj hhhNhNubj<)}(hhh](jA)}(h:void irq_domain_reset_irq_data (struct irq_data *irq_data)h]jG)}(h9void irq_domain_reset_irq_data(struct irq_data *irq_data)h](j)}(hvoidh]hvoid}(hjU`hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjQ`hhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMubj_)}(h h]h }(hjd`hhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjQ`hhhjc`hMubjp)}(hirq_domain_reset_irq_datah]jv)}(hirq_domain_reset_irq_datah]hirq_domain_reset_irq_data}(hjv`hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjr`ubah}(h]h ](jjeh"]h$]h&]jjuh1johjQ`hhhjc`hMubj)}(h(struct irq_data *irq_data)h]j)}(hstruct irq_data *irq_datah](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)}(hirq_datah]hirq_data}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj`ubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetj`modnameN classnameNjj)}j]j)}jjx`sbc.irq_domain_reset_irq_dataasbuh1hhj`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)}(hirq_datah]hirq_data}(hj`hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj`ubeh}(h]h ]h"]h$]h&]noemphjjuh1jhj`ubah}(h]h ]h"]h$]h&]jjuh1jhjQ`hhhjc`hMubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhjM`hhhjc`hMubah}(h]jH`ah ](jjeh"]h$]h&]jj)jhuh1j@hjc`hMhjJ`hhubj)}(hhh]h)}(h/Clear hwirq, chip and chip_data in **irq_data**h](h#Clear hwirq, chip and chip_data in }(hjahhhNhNubj)}(h **irq_data**h]hirq_data}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubeh}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjahhubah}(h]h ]h"]h$]h&]uh1jhjJ`hhhjc`hMubeh}(h]h ](jofunctioneh"]h$]h&]jjojj;ajj;ajjjuh1j;hhhj hNhNubj)}(hG**Parameters** ``struct irq_data *irq_data`` The pointer to irq_datah](h)}(h**Parameters**h]j)}(hjEah]h Parameters}(hjGahhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCaubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj?aubj)}(hhh]j)}(h5``struct irq_data *irq_data`` The pointer to irq_datah](j )}(h``struct irq_data *irq_data``h]jc)}(hjdah]hstruct irq_data *irq_data}(hjfahhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjbaubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj^aubj:)}(hhh]h)}(hThe pointer to irq_datah]hThe pointer to irq_data}(hj}ahhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjzaubah}(h]h ]h"]h$]h&]uh1j9hj^aubeh}(h]h ]h"]h$]h&]uh1jhjyahMhj[aubah}(h]h ]h"]h$]h&]uh1jhj?aubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubj+)}(hhh]h}(h]h ]h"]h$]h&]entries](j7,irq_domain_disconnect_hierarchy (C function)!c.irq_domain_disconnect_hierarchyhNtauh1j*hj hhhNhNubj<)}(hhh](jA)}(hRint irq_domain_disconnect_hierarchy (struct irq_domain *domain, unsigned int virq)h]jG)}(hQint irq_domain_disconnect_hierarchy(struct irq_domain *domain, unsigned int virq)h](j)}(hinth]hint}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjahhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMQubj_)}(h h]h }(hjahhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjahhhjahMQubjp)}(hirq_domain_disconnect_hierarchyh]jv)}(hirq_domain_disconnect_hierarchyh]hirq_domain_disconnect_hierarchy}(hjahhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjaubah}(h]h ](jjeh"]h$]h&]jjuh1johjahhhjahMQubj)}(h.(struct irq_domain *domain, unsigned int virq)h](j)}(hstruct irq_domain *domainh](jM)}(hjPh]hstruct}(hjahhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjaubj_)}(h h]h }(hjbhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjaubh)}(hhh]jv)}(h irq_domainh]h irq_domain}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjbubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjbmodnameN classnameNjj)}j]j)}jjasb!c.irq_domain_disconnect_hierarchyasbuh1hhjaubj_)}(h h]h }(hj9bhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjaubj)}(hjh]h*}(hjGbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjaubjv)}(hdomainh]hdomain}(hjTbhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjaubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjaubj)}(hunsigned int virqh](j)}(hunsignedh]hunsigned}(hjmbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjibubj_)}(h h]h }(hj{bhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjibubj)}(hinth]hint}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjibubj_)}(h h]h }(hjbhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjibubjv)}(hvirqh]hvirq}(hjbhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjibubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjaubeh}(h]h ]h"]h$]h&]jjuh1jhjahhhjahMQubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhjahhhjahMQubah}(h]jaah ](jjeh"]h$]h&]jj)jhuh1j@hjahMQhjahhubj)}(hhh]h)}(h*Mark the first unused level of a hierarchyh]h*Mark the first unused level of a hierarchy}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMQhjbhhubah}(h]h ]h"]h$]h&]uh1jhjahhhjahMQubeh}(h]h ](jofunctioneh"]h$]h&]jjojjbjjbjjjuh1j;hhhj hNhNubj)}(hX**Parameters** ``struct irq_domain *domain`` IRQ domain from which the hierarchy is to be disconnected ``unsigned int virq`` IRQ number where the hierarchy is to be trimmed **Description** Marks the **virq** level belonging to **domain** as disconnected. Returns -EINVAL if **virq** doesn't have a valid irq_data pointing to **domain**. Its 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](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.chMUhjbubj)}(hhh](j)}(hX``struct irq_domain *domain`` IRQ domain from which the hierarchy is to be disconnected h](j )}(h``struct irq_domain *domain``h]jc)}(hjch]hstruct irq_domain *domain}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjcubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMRhj cubj:)}(hhh]h)}(h9IRQ domain from which the hierarchy is to be disconnectedh]h9IRQ domain from which the hierarchy is to be disconnected}(hj)chhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%chMRhj&cubah}(h]h ]h"]h$]h&]uh1j9hj cubeh}(h]h ]h"]h$]h&]uh1jhj%chMRhjcubj)}(hF``unsigned int virq`` IRQ number where the hierarchy is to be trimmed h](j )}(h``unsigned int virq``h]jc)}(hjIch]hunsigned int virq}(hjKchhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjGcubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMShjCcubj:)}(hhh]h)}(h/IRQ number where the hierarchy is to be trimmedh]h/IRQ number where the hierarchy is to be trimmed}(hjbchhhNhNubah}(h]h ]h"]h$]h&]uh1hhj^chMShj_cubah}(h]h ]h"]h$]h&]uh1j9hjCcubeh}(h]h ]h"]h$]h&]uh1jhj^chMShjcubeh}(h]h ]h"]h$]h&]uh1jhjbubh)}(h**Description**h]j)}(hjch]h Description}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMUhjbubh)}(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 }(hjchhhNhNubj)}(h**virq**h]hvirq}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh level belonging to }(hjchhhNhNubj)}(h **domain**h]hdomain}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh% as disconnected. Returns -EINVAL if }(hjchhhNhNubj)}(h**virq**h]hvirq}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh- doesn’t have a valid irq_data pointing to }(hjchhhNhNubj)}(h **domain**h]hdomain}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh.}(hjchhhNhNubeh}(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}(hj dhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjdhhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMubj_)}(h h]h }(hj.dhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjdhhhj-dhMubh)}(hhh]jv)}(hirq_datah]hirq_data}(hj?dhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj``const struct irq_chip *chip`` The associated interrupt chip h](j )}(h``const struct irq_chip *chip``h]jc)}(hjih]hconst struct irq_chip *chip}(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.chMhjiubj:)}(hhh]h)}(hThe associated interrupt chiph]hThe associated interrupt chip}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1hhjihMhjiubah}(h]h ]h"]h$]h&]uh1j9hjiubeh}(h]h ]h"]h$]h&]uh1jhjihMhjhubj)}(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.chMhjiubj:)}(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&]uh1j9hjiubeh}(h]h ]h"]h$]h&]uh1jhjihMhjhubeh}(h]h ]h"]h$]h&]uh1jhjhubeh}(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](j)}(hvoidh]hvoid}(hj%jhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj!jhhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMubj_)}(h h]h }(hj4jhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj!jhhhj3jhMubjp)}(hirq_domain_set_infoh]jv)}(hirq_domain_set_infoh]hirq_domain_set_info}(hjFjhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjBjubah}(h]h ](jjeh"]h$]h&]jjuh1johj!jhhhj3jhMubj)}(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}(hjbjhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhj^jubj_)}(h h]h }(hjojhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj^jubh)}(hhh]jv)}(h irq_domainh]h irq_domain}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj}jubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjjmodnameN classnameNjj)}j]j)}jjHjsbc.irq_domain_set_infoasbuh1hhj^jubj_)}(h h]h }(hjjhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj^jubj)}(hjh]h*}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj^jubjv)}(hdomainh]hdomain}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj^jubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjZjubj)}(hunsigned int virqh](j)}(hunsignedh]hunsigned}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubj_)}(h h]h }(hjjhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjjubj)}(hinth]hint}(hjjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjjubj_)}(h h]h }(hjjhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjjubjv)}(hvirqh]hvirq}(hj khhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjjubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjZjubj)}(hirq_hw_number_t hwirqh](h)}(hhh]jv)}(hirq_hw_number_th]hirq_hw_number_t}(hj(khhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj%kubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetj*kmodnameN classnameNjj)}j]jjc.irq_domain_set_infoasbuh1hhj!kubj_)}(h h]h }(hjFkhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj!kubjv)}(hhwirqh]hhwirq}(hjTkhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj!kubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjZjubj)}(hconst struct irq_chip *chiph](jM)}(hjh]hconst}(hjmkhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjikubj_)}(h h]h }(hjzkhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjikubjM)}(hjPh]hstruct}(hjkhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjikubj_)}(h h]h }(hjkhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjikubh)}(hhh]jv)}(hirq_chiph]hirq_chip}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjkubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjkmodnameN classnameNjj)}j]jjc.irq_domain_set_infoasbuh1hhjikubj_)}(h h]h }(hjkhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjikubj)}(hjh]h*}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjikubjv)}(hchiph]hchip}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjikubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjZjubj)}(hvoid *chip_datah](j)}(hvoidh]hvoid}(hjkhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubj_)}(h h]h }(hjlhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjkubj)}(hjh]h*}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjkubjv)}(h chip_datah]h chip_data}(hj!lhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjkubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjZjubj)}(hirq_flow_handler_t handlerh](h)}(hhh]jv)}(hirq_flow_handler_th]hirq_flow_handler_t}(hj=lhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj:lubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetj?lmodnameN classnameNjj)}j]jjc.irq_domain_set_infoasbuh1hhj6lubj_)}(h h]h }(hj[lhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj6lubjv)}(hhandlerh]hhandler}(hjilhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj6lubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjZjubj)}(hvoid *handler_datah](j)}(hvoidh]hvoid}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~lubj_)}(h h]h }(hjlhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj~lubj)}(hjh]h*}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj~lubjv)}(h handler_datah]h handler_data}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj~lubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjZjubj)}(hconst char *handler_nameh](jM)}(hjh]hconst}(hjlhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjlubj_)}(h h]h }(hjlhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjlubj)}(hcharh]hchar}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubj_)}(h h]h }(hjlhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjlubj)}(hjh]h*}(hjlhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjlubjv)}(h handler_nameh]h handler_name}(hjmhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjlubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjZjubeh}(h]h ]h"]h$]h&]jjuh1jhj!jhhhj3jhMubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhjjhhhj3jhMubah}(h]jjah ](jjeh"]h$]h&]jj)jhuh1j@hj3jhMhjjhhubj)}(hhh]h)}(h2Set the complete data for a **virq** in **domain**h](hSet the complete data for a }(hj2mhhhNhNubj)}(h**virq**h]hvirq}(hj:mhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2mubh in }(hj2mhhhNhNubj)}(h **domain**h]hdomain}(hjLmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2mubeh}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhj/mhhubah}(h]h ]h"]h$]h&]uh1jhjjhhhj3jhMubeh}(h]h ](jofunctioneh"]h$]h&]jjojjjmjjjmjjjuh1j;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)}(hjtmh]h Parameters}(hjvmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrmubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjnmubj)}(hhh](j)}(h8``struct irq_domain *domain`` Interrupt domain to match h](j )}(h``struct irq_domain *domain``h]jc)}(hjmh]hstruct irq_domain *domain}(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)}(hInterrupt domain to matchh]hInterrupt domain to match}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhMhjmubah}(h]h ]h"]h$]h&]uh1j9hjmubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjmubj)}(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.chMhjmubj:)}(hhh]h)}(h IRQ numberh]h IRQ number}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjmhMhjmubah}(h]h ]h"]h$]h&]uh1j9hjmubeh}(h]h ]h"]h$]h&]uh1jhjmhMhjmubj)}(h8``irq_hw_number_t hwirq`` The hardware interrupt number h](j )}(h``irq_hw_number_t hwirq``h]jc)}(hjnh]hirq_hw_number_t hwirq}(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.chMhjmubj:)}(hhh]h)}(hThe hardware interrupt numberh]hThe hardware interrupt number}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjnhMhjnubah}(h]h ]h"]h$]h&]uh1j9hjmubeh}(h]h ]h"]h$]h&]uh1jhjnhMhjmubj)}(h>``const struct irq_chip *chip`` The associated interrupt chip h](j )}(h``const struct irq_chip *chip``h]jc)}(hj>nh]hconst struct irq_chip *chip}(hj@nhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:uubj_)}(h h]h }(hjLuhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj:uubj)}(hinth]hint}(hjZuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj:uubj_)}(h h]h }(hjhuhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj:uubjv)}(hnr_irqsh]hnr_irqs}(hjvuhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj:uubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjtubj)}(hint nodeh](j)}(hinth]hint}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj_)}(h h]h }(hjuhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjuubjv)}(hnodeh]hnode}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjuubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjtubj)}(h void *argh](j)}(hvoidh]hvoid}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubj_)}(h h]h }(hjuhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjuubj)}(hjh]h*}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjuubjv)}(hargh]harg}(hjuhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjuubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjtubj)}(h bool realloch](j)}(hboolh]hbool}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjvubj_)}(h h]h }(hjvhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjvubjv)}(hrealloch]hrealloc}(hj"vhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjvubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjtubj)}(h(const struct irq_affinity_desc *affinityh](jM)}(hjh]hconst}(hj;vhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhj7vubj_)}(h h]h }(hjHvhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj7vubjM)}(hjPh]hstruct}(hjVvhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhj7vubj_)}(h h]h }(hjcvhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj7vubh)}(hhh]jv)}(hirq_affinity_desch]hirq_affinity_desc}(hjtvhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjqvubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjvvmodnameN classnameNjj)}j]jtc.__irq_domain_alloc_irqsasbuh1hhj7vubj_)}(h h]h }(hjvhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj7vubj)}(hjh]h*}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj7vubjv)}(haffinityh]haffinity}(hjvhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj7vubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjtubeh}(h]h ]h"]h$]h&]jjuh1jhjVthhhjhthMhubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhjRthhhjhthMhubah}(h]jMtah ](jjeh"]h$]h&]jj)jhuh1j@hjhthMhhjOthhubj)}(hhh]h)}(hAllocate IRQs from domainh]hAllocate IRQs from domain}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhhjvhhubah}(h]h ]h"]h$]h&]uh1jhjOthhhjhthMhubeh}(h]h ](jofunctioneh"]h$]h&]jjojjvjjvjjjuh1j;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)}(hjvh]h Parameters}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjvubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMlhjvubj)}(hhh](j)}(h6``struct irq_domain *domain`` domain to allocate from h](j )}(h``struct irq_domain *domain``h]jc)}(hjwh]hstruct irq_domain *domain}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjwubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMihjwubj:)}(hhh]h)}(hdomain to allocate fromh]hdomain to allocate from}(hj1whhhNhNubah}(h]h ]h"]h$]h&]uh1hhj-whMihj.wubah}(h]h ]h"]h$]h&]uh1j9hjwubeh}(h]h ]h"]h$]h&]uh1jhj-whMihjwubj)}(h@``int irq_base`` allocate specified IRQ number if irq_base >= 0 h](j )}(h``int irq_base``h]jc)}(hjQwh]h int irq_base}(hjSwhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjOwubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMjhjKwubj:)}(hhh]h)}(h.allocate specified IRQ number if irq_base >= 0h]h.allocate specified IRQ number if irq_base >= 0}(hjjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjfwhMjhjgwubah}(h]h ]h"]h$]h&]uh1j9hjKwubeh}(h]h ]h"]h$]h&]uh1jhjfwhMjhjwubj)}(h4``unsigned int nr_irqs`` number of IRQs to allocate h](j )}(h``unsigned int nr_irqs``h]jc)}(hjwh]hunsigned int nr_irqs}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjwubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMkhjwubj:)}(hhh]h)}(hnumber of IRQs to allocateh]hnumber of IRQs to allocate}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjwhMkhjwubah}(h]h ]h"]h$]h&]uh1j9hjwubeh}(h]h ]h"]h$]h&]uh1jhjwhMkhjwubj)}(h0``int node`` NUMA node id for memory allocation h](j )}(h ``int node``h]jc)}(hjwh]hint node}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjwubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMlhjwubj:)}(hhh]h)}(h"NUMA node id for memory allocationh]h"NUMA node id for memory allocation}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjwhMlhjwubah}(h]h ]h"]h$]h&]uh1j9hjwubeh}(h]h ]h"]h$]h&]uh1jhjwhMlhjwubj)}(h'``void *arg`` domain specific argument h](j )}(h ``void *arg``h]jc)}(hjwh]h void *arg}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjwubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMmhjwubj:)}(hhh]h)}(hdomain specific argumenth]hdomain specific argument}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjxhMmhjxubah}(h]h ]h"]h$]h&]uh1j9hjwubeh}(h]h ]h"]h$]h&]uh1jhjxhMmhjwubj)}(hE``bool realloc`` IRQ descriptors have already been allocated if true h](j )}(h``bool realloc``h]jc)}(hj5xh]h bool realloc}(hj7xhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhj3xubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMnhj/xubj:)}(hhh]h)}(h3IRQ descriptors have already been allocated if trueh]h3IRQ descriptors have already been allocated if true}(hjNxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJxhMnhjKxubah}(h]h ]h"]h$]h&]uh1j9hj/xubeh}(h]h ]h"]h$]h&]uh1jhjJxhMnhjwubj)}(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)}(hjnxh]h(const struct irq_affinity_desc *affinity}(hjpxhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjlxubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMohjhxubj:)}(hhh]h)}(h1Optional irq affinity mask for multiqueue devicesh]h1Optional irq affinity mask for multiqueue devices}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjxhMohjxubah}(h]h ]h"]h$]h&]uh1j9hjhxubeh}(h]h ]h"]h$]h&]uh1jhjxhMohjwubeh}(h]h ]h"]h$]h&]uh1jhjvubh)}(h**Description**h]j)}(hjxh]h Description}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMqhjvubh)}(hAllocate 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 numberh](heAllocate IRQ numbers and initialized all data structures to support hierarchy IRQ domains. Parameter }(hjxhhhNhNubj)}(h **realloc**h]hrealloc}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjxubhM is mainly to support legacy IRQs. Returns error code or allocated IRQ number}(hjxhhhNhNubeh}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMphjvubh)}(hXWThe 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]hXYThe 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.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMuhjvubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubj+)}(hhh]h}(h]h ]h"]h$]h&]entries](j7 irq_domain_push_irq (C function)c.irq_domain_push_irqhNtauh1j*hj hhhNhNubj<)}(hhh](jA)}(hHint irq_domain_push_irq (struct irq_domain *domain, int virq, void *arg)h]jG)}(hGint irq_domain_push_irq(struct irq_domain *domain, int virq, void *arg)h](j)}(hinth]hint}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj yhhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMubj_)}(h h]h }(hjyhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hj yhhhjyhMubjp)}(hirq_domain_push_irqh]jv)}(hirq_domain_push_irqh]hirq_domain_push_irq}(hj0yhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhj,yubah}(h]h ](jjeh"]h$]h&]jjuh1johj yhhhjyhMubj)}(h0(struct irq_domain *domain, int virq, void *arg)h](j)}(hstruct irq_domain *domainh](jM)}(hjPh]hstruct}(hjLyhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjHyubj_)}(h h]h }(hjYyhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjHyubh)}(hhh]jv)}(h irq_domainh]h irq_domain}(hjjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjgyubah}(h]h ]h"]h$]h&] refdomainjoreftypej reftargetjlymodnameN classnameNjj)}j]j)}jj2ysbc.irq_domain_push_irqasbuh1hhjHyubj_)}(h h]h }(hjyhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjHyubj)}(hjh]h*}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjHyubjv)}(hdomainh]hdomain}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjHyubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjDyubj)}(hint virqh](j)}(hinth]hint}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubj_)}(h h]h }(hjyhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjyubjv)}(hvirqh]hvirq}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjyubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjDyubj)}(h void *argh](j)}(hvoidh]hvoid}(hjyhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubj_)}(h h]h }(hjzhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjyubj)}(hjh]h*}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjyubjv)}(hargh]harg}(hjzhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjyubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjDyubeh}(h]h ]h"]h$]h&]jjuh1jhj yhhhjyhMubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhjyhhhjyhMubah}(h]jyah ](jjeh"]h$]h&]jj)jhuh1j@hjyhMhjyhhubj)}(hhh]h)}(h+Push a domain in to the top of a hierarchy.h]h+Push a domain in to the top of a hierarchy.}(hjFzhhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjCzhhubah}(h]h ]h"]h$]h&]uh1jhjyhhhjyhMubeh}(h]h ](jofunctioneh"]h$]h&]jjojj^zjj^zjjjuh1j;hhhj hNhNubj)}(hX**Parameters** ``struct irq_domain *domain`` Domain to push. ``int virq`` Irq to push the domain in to. ``void *arg`` Passed to the irq_domain_ops alloc() function. **Description** For an already existing irqdomain hierarchy, as might be obtained via a call to pci_enable_msix(), add an additional domain to the head of the processing chain. Must be called before request_irq() has been called.h](h)}(h**Parameters**h]j)}(hjhzh]h Parameters}(hjjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfzubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjbzubj)}(hhh](j)}(h.``struct irq_domain *domain`` Domain to push. h](j )}(h``struct irq_domain *domain``h]jc)}(hjzh]hstruct irq_domain *domain}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjzubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjzubj:)}(hhh]h)}(hDomain to push.h]hDomain to push.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzhMhjzubah}(h]h ]h"]h$]h&]uh1j9hjzubeh}(h]h ]h"]h$]h&]uh1jhjzhMhj~zubj)}(h+``int virq`` Irq to push the domain in to. h](j )}(h ``int virq``h]jc)}(hjzh]hint virq}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjzubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjzubj:)}(hhh]h)}(hIrq to push the domain in to.h]hIrq to push the domain in to.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzhMhjzubah}(h]h ]h"]h$]h&]uh1j9hjzubeh}(h]h ]h"]h$]h&]uh1jhjzhMhj~zubj)}(h=``void *arg`` Passed to the irq_domain_ops alloc() function. h](j )}(h ``void *arg``h]jc)}(hjzh]h void *arg}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jbhjzubah}(h]h ]h"]h$]h&]uh1jh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjzubj:)}(hhh]h)}(h.Passed to the irq_domain_ops alloc() function.h]h.Passed to the irq_domain_ops alloc() function.}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj{hMhj{ubah}(h]h ]h"]h$]h&]uh1j9hjzubeh}(h]h ]h"]h$]h&]uh1jhj{hMhj~zubeh}(h]h ]h"]h$]h&]uh1jhjbzubh)}(h**Description**h]j)}(hj4{h]h Description}(hj6{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2{ubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjbzubh)}(hFor an already existing irqdomain hierarchy, as might be obtained via a call to pci_enable_msix(), add an additional domain to the head of the processing chain. Must be called before request_irq() has been called.h]hFor an already existing irqdomain hierarchy, as might be obtained via a call to pci_enable_msix(), add an additional domain to the head of the processing chain. Must be called before request_irq() has been called.}(hjJ{hhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:310: ./kernel/irq/irqdomain.chMhjbzubeh}(h]h ] kernelindentah"]h$]h&]uh1jhj hhhNhNubj+)}(hhh]h}(h]h ]h"]h$]h&]entries](j7irq_domain_pop_irq (C function)c.irq_domain_pop_irqhNtauh1j*hj hhhNhNubj<)}(hhh](jA)}(hactivate recursively to activate interrupth]h;Call domain_ops->activate recursively to activate 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&]uh1jhjhhhjhMubeh}(h]h ](jofunctioneh"]h$]h&]jjojjjjjjjuh1j;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)}(hj…h]h Parameters}(hjąhhhNhNubah}(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)}(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&]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,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&]uh1j9hjۅubeh}(h]h ]h"]h$]h&]uh1jhjhMhj؅ubj)}(hR``bool reserve`` If set only reserve an interrupt vector instead of assigning one h](j )}(h``bool reserve``h]jc)}(hjh]h bool reserve}(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@If set only reserve an interrupt vector instead of assigning oneh]h@If set only reserve an interrupt vector instead of assigning one}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/hMhj0ubah}(h]h ]h"]h$]h&]uh1j9hjubeh}(h]h ]h"]h$]h&]uh1jhj/hMhj؅ubeh}(h]h ]h"]h$]h&]uh1jhjubh)}(h**Description**h]j)}(hjUh]h Description}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:319: ./kernel/irq/irqdomain.chMhjubh)}(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.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:319: ./kernel/irq/irqdomain.chMhjubeh}(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](j)}(hvoidh]hvoid}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:319: ./kernel/irq/irqdomain.chMubj_)}(h h]h }(hjhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjhhhjhMubjp)}(hirq_domain_deactivate_irqh]jv)}(hirq_domain_deactivate_irqh]hirq_domain_deactivate_irq}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjubah}(h]h ](jjeh"]h$]h&]jjuh1johjhhhjhMubj)}(h(struct irq_data *irq_data)h]j)}(hstruct irq_data *irq_datah](jM)}(hjPh]hstruct}(hj׆hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jLhjӆubj_)}(h h]h }(hjhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjӆubh)}(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_deactivate_irqasbuh1hhjӆubj_)}(h h]h }(hjhhhNhNubah}(h]h ]jkah"]h$]h&]uh1j^hjӆubj)}(hjh]h*}(hj#hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjӆubjv)}(hirq_datah]hirq_data}(hj0hhhNhNubah}(h]h ]jah"]h$]h&]uh1juhjӆubeh}(h]h ]h"]h$]h&]noemphjjuh1jhjφubah}(h]h ]h"]h$]h&]jjuh1jhjhhhjhMubeh}(h]h ]h"]h$]h&]jjjuh1jFjjhjhhhjhMubah}(h]jah ](jjeh"]h$]h&]jj)jhuh1j@hjhMhjhhubj)}(hhh]h)}(h?Call domain_ops->deactivate recursively to deactivate interrupth]h?Call domain_ops->deactivate recursively to deactivate interrupt}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:319: ./kernel/irq/irqdomain.chMhjWhhubah}(h]h ]h"]h$]h&]uh1jhjhhhjhMubeh}(h]h ](jofunctioneh"]h$]h&]jjojjrjjrjjjuh1j;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)}(hj|h]h Parameters}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1hh_/var/lib/git/docbuild/linux/Documentation/core-api/irq/irq-domain:319: ./kernel/irq/irqdomain.chMhjvubj)}(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&]uh1jhjhMhjubah}(h]h ]h"]h$]h&]uh1jhjvubh)}(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:319: ./kernel/irq/irqdomain.chMhjvubh)}(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.chMhjvubeh}(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_handlerj5error_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}(jj jXjUjjjjjjj`j]jjjjjjjjjjjju nametypes}(jjXjjjj`jjjjjjuh}(j hjUjjj[jjzjjj]j jjcjjjjjjjj j9jBj j je jj j&j+jjj#j(jwj|jjj!j!j&j&j)j)j.-j3-j.j.j0j0j2j 2j&6j+6jY8j^8j9j9jf;jk;j=j=j?j?jAj$AjCjCjHjHjMj MjQjQjiVjnVjYjYj\j\jH`jM`jajajdjdjSfjXfjjjjjoojtojqjqjMtjRtjyjyjl{jq{j[}j`}jEjJjjjۂjjjjju 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.