drivers/net/wwan/iosm/iosm_ipc_irq.h

Source file repositories/reference/linux-study-clean/drivers/net/wwan/iosm/iosm_ipc_irq.h

File Facts

System
Linux kernel
Corpus path
drivers/net/wwan/iosm/iosm_ipc_irq.h
Extension
.h
Size
729 bytes
Lines
34
Domain
Driver Families
Bucket
drivers/net
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef IOSM_IPC_IRQ_H
#define IOSM_IPC_IRQ_H

struct iosm_pcie;

/**
 * ipc_doorbell_fire - fire doorbell to CP
 * @ipc_pcie:	Pointer to iosm_pcie
 * @irq_n:	Doorbell type
 * @data:	ipc state
 */
void ipc_doorbell_fire(struct iosm_pcie *ipc_pcie, int irq_n, u32 data);

/**
 * ipc_release_irq - Release the IRQ handler.
 * @ipc_pcie:	Pointer to iosm_pcie struct
 */
void ipc_release_irq(struct iosm_pcie *ipc_pcie);

/**
 * ipc_acquire_irq - acquire IRQ & register IRQ handler.
 * @ipc_pcie:	Pointer to iosm_pcie struct
 *
 * Return: 0 on success and failure value on error
 */
int ipc_acquire_irq(struct iosm_pcie *ipc_pcie);

#endif

Annotation

Implementation Notes