函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\irq\internals.h Create Date:2022-07-27 11:08:25
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:irq_get_desc_lock

函数原型:static inline struct irq_desc *irq_get_desc_lock(unsigned int irq, unsigned long *flags, unsigned int check)

返回类型:struct irq_desc

参数:

类型参数名称
unsigned intirq
unsigned long *flags
unsigned intcheck
184  返回:__irq_get_desc_lock(irq, flags, TSC's on different sockets may be reset asynchronously.* This may cause the TSC ADJUST value on socket 0 to be NOT 0., check)
调用者
名称描述
irq_set_vcpu_affinityq_set_vcpu_affinity - Set vcpu affinity for the interrupt*@irq: interrupt number to set affinity*@vcpu_info: vCPU specific data or pointer to a percpu array of vCPU* specific data for percpu_devid interrupts* This function uses the vCPU specific data to
can_request_irq查询一个中断线是否可用
enable_percpu_irq
irq_percpu_is_enabledq_percpu_is_enabled - Check whether the per cpu irq is enabled*@irq: Linux irq number to check for* Must be called from a non migratable context. Returns the enable* state of a per cpu interrupt on the current cpu.
disable_percpu_irq
prepare_percpu_nmiprepare_percpu_nmi - performs CPU local setup for NMI delivery*@irq: Interrupt line to prepare for NMI delivery* This call prepares an interrupt line to deliver NMI on the current CPU,* before that interrupt line gets enabled with enable_percpu_nmi()
teardown_percpu_nmiardown_percpu_nmi - undoes NMI setup of IRQ line*@irq: Interrupt line from which CPU local NMI configuration should be* removed* This call undoes the setup done by prepare_percpu_nmi()
irq_set_chipq_set_chip - set the irq chip for an irq*@irq: irq number*@chip: pointer to irq chip description structure
irq_set_handler_dataq_set_handler_data - set irq handler data for an irq*@irq: Interrupt number*@data: Pointer to interrupt specific data* Set the hardware irq controller data for an irq
irq_set_msi_desc_offq_set_msi_desc_off - set MSI descriptor data for an irq at offset*@irq_base: Interrupt number base*@irq_offset: Interrupt number offset*@entry: Pointer to MSI descriptor data* Set the MSI descriptor entry for an irq at offset
irq_set_chip_dataq_set_chip_data - set irq chip data for an irq*@irq: Interrupt number*@data: Pointer to chip specific data* Set the hardware irq chip data for an irq
irq_modify_status