pl022_interrupt_handler(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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 πŸ‘‘


πŸ’œ 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