Function report |
Source Code:kernel\irq\irqdomain.c |
Create Date:2022-07-28 10:13:53 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:irq_domain_associate
Proto:int irq_domain_associate(struct irq_domain *domain, unsigned int virq, irq_hw_number_t hwirq)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct irq_domain * | domain | |
unsigned int | virq | |
irq_hw_number_t | hwirq |
536 | irq_data = irq_get_irq_data(virq) |
539 | If WARN(hwirq >= reverse map data. The linear map gets appended to the irq_domain , "error: hwirq 0x%x is too large for %s\n", (int)hwirq, name) Then Return -EINVAL |
547 | mutex_lock( & irq_domain_mutex) |
550 | If map Then |
552 | If ret != 0 Then |
569 | If Not name && chip Then name = interrupt' name |
573 | mapcount++ |
579 | Return 0 |
Name | Describe |
---|---|
irq_domain_associate_many | |
irq_create_direct_mapping | q_create_direct_mapping() - Allocate an irq for direct mapping*@domain: domain to allocate the irq for or NULL for default domain* This routine is used for irq controllers which can choose the hardware* interrupt numbers they generate |
irq_create_mapping | q_create_mapping() - Map a hardware interrupt into linux irq space*@domain: domain owning this hardware interrupt or NULL for default domain*@hwirq: hardware irq number in that domain space* Only one mapping per hardware interrupt is permitted |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |