pl022_interrupt_handler(9)
pl022_interrupt_handler(9) π
okay so this is pl022_interrupt_handler(9) from the Kernel API Manual β manual name folded in near the top, not copy-pasted like a header line, because we have range β¨
πΈ NAME πΈ
pl022_interrupt_handler β Interrupt handler for SSP controller. Itβs literally the interrupt handler for the SSP controller, and thatβs the whole name-section vibe π
β¨ SYNOPSIS β¨
irqreturn_t pl022_interrupt_handler (int irq , void *dev_id );
π ARGUMENTS π
irqβ IRQ number. Thatβs the IRQ number, bestie.dev_idβ Local device data. Local device data, periodt.
π DESCRIPTION π
okay so real talk: this function handles interrupts generated for an interrupt based transfer.
If thereβs a receive overrun (ROR) interrupt, we disable SSP, flag the current transfer with SPI_TRANS_FAIL_IO, and call spi_finalize_current_transfer so the core can finish the message.
Otherwise? It reads data from the RX FIFO till thereβs no more data, and writes data in the TX FIFO till itβs not full. When the transfer is complete, we call spi_finalize_current_transfer so the core can schedule the next one. slay π
π SEE ALSO π
- Kernel file:
./drivers/spi/spi-pl022.c struct vendor_data(9)struct pl022(9)struct chip_data(9)internal_cs_control(9)flush(9)restore_state(9)load_ssp_default_config(9)configure_dma(9)pl022_setup(9)pl022_cleanup(9)
π okay thatβs the page, bestie! source/version: ./drivers/spi Β· date: October 2026 Β· itβs giving Kernel API Manual realness, and we are obsessed. bye! π
β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms