STRUCT VENDOR_DATA(9)
π struct vendor_data(9) β Kernel API Manual π
okay so bestie, this is the Kernel API Manual page for struct vendor_data, and it's lowkey iconic for one job: holding the vendor-specific config parameters for PL022 derivates. β¨ Itβs giving βsmall struct, specific vibes,β and weβre gonna go through every member, no skips. π«Ά
πΈ NAME πΈ
struct vendor_data β vendor-specific config parameters for PL022 derivates. periodt. π
β¨ SYNOPSIS β¨
struct vendor_data {
int fifodepth;
int max_bpw;
bool unidir;
bool extended_cr;
bool pl023;
bool loopback;
bool internal_cs_ctrl;
};
π Members π
fifodepthβ the depth of the FIFOs (both of them, bestie). πmax_bpwβ the maximum number of bits per word. literally that. β¨unidirβ supports unidirection transfers. πΈextended_crβ this one is a 32 bit wide control register 0 with extra features, and extra features in CR1 too, as found in the ST variants. the way it has extra features twice? iykyk. πpl023β supports a subset of the ST extensions called "PL023". πloopbackβ supports loopback mode. slay. π¦internal_cs_ctrlβ supports the chip select control register. π
π SEE ALSO π
Kernel file ./drivers/spi/spi-pl022.c is the spot, and the SEE ALSO besties are: 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_interrupt_handler(9), pl022_setup(9), and pl022_cleanup(9). go read those too, fr fr. π
okay bye bestie π this page lives under ./drivers/spi, itβs dated October 2026, and itβs literally struct vendor_data(9) β 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