STRUCT PCH_SPI_BOARD_DATA(9)
π 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. au8holding the suspend status, so you always know if we're in nap mode π΄numβ The number of SPI device instance. anintthat 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:
struct pch_spi_data(9)pch_spi_writereg(9)pch_spi_readreg(9)pch_spi_clear_fifo(9)pch_spi_handler(9)pch_spi_set_baud_rate(9)pch_spi_set_bits_per_word(9)pch_spi_setup_transfer(9)pch_spi_reset(9)
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
- 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