STRUCT MCHP_COREQSPI(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct mchp_coreqspi(9) πŸ’–

okay bestie, welcome to the Kernel API Manual β€” this page is all about struct mchp_coreqspi, and it literally defines a qspi driver instance. no cap, that's the vibe ✨

πŸ¦‹ NAME πŸ¦‹

struct mchp_coreqspi β€” defines qspi driver instance πŸ’…

🌸 SYNOPSIS 🌸

here's the struct in all its glory β€” copy it exactly, bestie, don't improvise:

struct mchp_coreqspi {
    void __iomem *regs;
    struct clk *clk;
    struct completion data_completion;
    struct mutex op_lock;
    u8 *txbuf;
    u8 *rxbuf;
    int irq;
    int tx_len;
    int rx_len;
 };

πŸ‘‘ Members πŸ‘‘

  • regs β€” virtual address of the QSPI controller registers, iykyk ✨
  • clk β€” the QSPI operating clock, main character energy ⏰
  • data_completion β€” a completion structure, living its completion-structure life 🫢
  • op_lock β€” the lock that handles access to the device πŸ”’
  • txbuf β€” TX buffer, sending vibes πŸ’Œ
  • rxbuf β€” RX buffer, receiving vibes πŸ“₯
  • irq β€” the IRQ number πŸ””
  • tx_len β€” number of bytes left to transfer, not done yet bestie 🚚
  • rx_len β€” number of bytes left to receive, almost there 🎁

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/spi/spi-microchip-core-qspi.c β€” go read it, bestie, that's where the real lore lives πŸ“–

okay that's the page πŸ’– footer/source stamp check: ./drivers/spi, and the date on this cutie is October 2026. byeee, go be iconic in the kernel 🌟

πŸ“¦ where this page comes from