Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Interrupt to descriptor

Proto:struct irq_desc *irq_to_desc(unsigned int irq)

Type:struct irq_desc

Parameter:

TypeParameterName
unsigned intirq
583  Return (irq < NR_IRQS) ? irq_desc + irq : NULL
Caller
NameDescribe
free_desc
alloc_descs
generic_handle_irqgeneric_handle_irq - Invoke the handler for a particular irq*@irq: The irq number to handle
__irq_get_desc_lock
irq_set_percpu_devid_partition
irq_get_percpu_devid_partition
kstat_incr_irq_this_cpu
kstat_irqs_cpukstat_irqs_cpu - Get the statistics for an interrupt on a cpu*@irq: The interrupt number*@cpu: The cpu number* Returns the sum of interrupt counts on @cpu since boot for*@irq. The caller must ensure that the interrupt is not removed* concurrently.
kstat_irqskstat_irqs - Get the statistics for an interrupt*@irq: The interrupt number* Returns the sum of interrupt counts on all cpus since boot for*@irq. The caller must ensure that the interrupt is not removed* concurrently.
synchronize_hardirqsynchronize_hardirq - wait for pending hard IRQ handlers (on other CPUs)*@irq: interrupt number to wait for* This function waits for any pending hard IRQ handlers for this* interrupt to complete before returning
synchronize_irqsynchronize_irq - wait for pending IRQ handlers (on other CPUs)*@irq: interrupt number to wait for* This function waits for any pending IRQ handlers for this interrupt* to complete before returning. If you use this function while
set_irq_wake_real
irq_thread_dtor
irq_threadInterrupt handler thread
irq_wake_threadq_wake_thread - wake the irq thread for the action identified by dev_id*@irq: Interrupt line*@dev_id: Device identity for which the thread should be woken
setup_irqsetup_irq - setup an interrupt*@irq: Interrupt line to setup*@act: irqaction for the interrupt* Used to statically setup interrupts in the early boot process.
remove_irqmove_irq - free an interrupt*@irq: Interrupt line to free*@act: irqaction for the interrupt* Used to remove interrupts statically setup by the early boot process.
free_irq_irq - free an interrupt allocated with request_irq*@irq: Interrupt line to free*@dev_id: Device identity to free* Remove an interrupt handler
free_nmi
request_threaded_irqquest_threaded_irq - allocate an interrupt line*@irq: Interrupt line to allocate*@handler: Function to be called when the IRQ occurs
request_any_context_irqquest_any_context_irq - allocate an interrupt line*@irq: Interrupt line to allocate*@handler: Function to be called when the IRQ occurs
request_nmiquest_nmi - allocate an interrupt line for NMI delivery*@irq: Interrupt line to allocate*@handler: Function to be called when the IRQ occurs
__free_percpu_irqInternal function to unregister a percpu irqaction.
remove_percpu_irqmove_percpu_irq - free a per-cpu interrupt*@irq: Interrupt line to free*@act: irqaction for the interrupt* Used to remove interrupts statically setup by the early boot process.
free_percpu_irq_percpu_irq - free an interrupt allocated with request_percpu_irq*@irq: Interrupt line to free*@dev_id: Device identity to free* Remove a percpu interrupt handler. The handler is removed, but* the interrupt line is not disabled. This must be done on each
free_percpu_nmi
setup_percpu_irqsetup_percpu_irq - setup a per-cpu interrupt*@irq: Interrupt line to setup*@act: irqaction for the interrupt* Used to statically setup per-cpu interrupts in the early boot process.
__request_percpu_irq__request_percpu_irq - allocate a percpu interrupt line*@irq: Interrupt line to allocate*@handler: Function to be called when the IRQ occurs
request_percpu_nmiquest_percpu_nmi - allocate a percpu interrupt line for NMI delivery*@irq: Interrupt line to allocate*@handler: Function to be called when the IRQ occurs
irq_get_irq_data
handle_nested_irqhandle_nested_irq - Handle a nested irq from a irq thread*@irq: the interrupt number* Handle interrupts which are nested into a threaded interrupt* handler. The handler function is called inside the calling* threads context.
irq_cpu_onlineq_cpu_online - Invoke all irq_cpu_online functions.* Iterate through all irqs and invoke the chip.irq_cpu_online()* for each.
irq_cpu_offlineq_cpu_offline - Invoke all irq_cpu_offline functions.* Iterate through all irqs and invoke the chip.irq_cpu_offline()* for each.
irq_sim_handle_irq
irq_spurious_proc_show
name_unique
register_handler_proc
init_irq_proc
irq_migrate_all_off_this_cpuq_migrate_all_off_this_cpu - Migrate irqs away from offline cpu* The current CPU has been marked offline
irq_affinity_online_cpuq_affinity_online_cpu - Restore affinity for managed interrupts*@cpu: Upcoming CPU for which interrupts should be restored
ipi_send_singlepi_send_single - Send an IPI to a single CPU*@virq: linux irq number from irq_reserve_ipi()*@cpu: destination CPU, must in the destination mask passed to* irq_reserve_ipi()* Returns zero on success and negative error number on failure.
ipi_send_maskpi_send_mask - Send an IPI to target CPU(s)*@virq: linux irq number from irq_reserve_ipi()*@dest: dest CPU(s), must be a subset of the mask passed to* irq_reserve_ipi()* Returns zero on success and negative error number on failure.
irq_debugfs_copy_devname
irq_debugfs_init