STRUCT PCH_SPI_BOARD_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

okay so bestie, welcome to the Kernel API Manual entry for struct pch_spi_board_data(9) β€” literally the little glow-up struct that holds the SPI device specific details. yes queen, that's the whole vibe. it's the board-data baddie that keeps the per-board receipts for the pch SPI driver. 🫢


✨ NAME ✨

struct pch_spi_board_data β€” Holds the SPI device specific details πŸŽ€


🌸 SYNOPSIS 🌸

struct pch_spi_board_data {
    struct pci_dev *pdev;
    u8 suspend_sts;
    int num;
 };

like, that's the whole struct. three members. no cap, it's giving minimal and iconic. πŸ’…


πŸ¦‹ Members πŸ¦‹

  • pdev β€” Pointer to the PCI device. it's literally the PCI device pointer, bestie, the main character of this whole struct πŸ”₯
  • suspend_sts β€” Status of suspend. a u8 holding the suspend status, so you always know if we're in nap mode 😴
  • num β€” The number of SPI device instance. an int that tells you which SPI device instance we're talking about ✨

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/spi/spi-topcliff-pch.c, plus these icons of the source tree:

go read them fr fr, they're all in ./drivers/spi/spi-topcliff-pch.c and they're all lowkey obsessed with each other 🧚

and that's the tea, bestie πŸ’– this page lives in ./drivers/spi, stamped October 2026 β€” so yeah, future-dated slay ⭐, from the struct pch_spi_board_data(9) files, mwah πŸ’‹πŸŒˆ

πŸ“¦ where this page comes from