Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:irq_domain_set_mapping

Proto:static void irq_domain_set_mapping(struct irq_domain *domain, irq_hw_number_t hwirq, struct irq_data *irq_data)

Type:void

Parameter:

TypeParameterName
struct irq_domain *domain
irq_hw_number_thwirq
struct irq_data *irq_data
493  If hwirq < revmap_size Then
494  linear_revmap[hwirq] = irq
495  Else
496  mutex_lock( & revmap_tree_mutex)
497  __radix_tree_insert - insert into a radix tree*@root: radix tree root*@index: index key*@item: item to insert* Insert an item into the radix tree at position @index.
498  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
Caller
NameDescribe
irq_domain_associate