STRUCT VENDOR_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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