STRUCT PHY_CONFIGURE_OPTS_LVDS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct phy_configure_opts_lvds(9) β€” the Kernel API Manual, bestie edition

okay so this is a page from the Kernel API Manual, and it's literally all about one lil struct. yes bestie, a struct has its own man page. iconic behaviour tbh πŸŽ€


✨ NAME ✨

struct phy_configure_opts_lvds β€” the LVDS configuration set, aka the little bundle of settings that tells your LVDS phy how to behave πŸ’–


🌸 SYNOPSIS 🌸

here's the whole thing, no cap β€” exactly as it lives in the source:

struct phy_configure_opts_lvds {
    unsigned int    bits_per_lane_and_dclk_cycle;
    unsigned long   differential_clk_rate;
    unsigned int    lanes;
    bool is_slave;
 };

look at her. four members. flawless. πŸ¦‹


πŸ‘‘ Members πŸ‘‘

  • bits_per_lane_and_dclk_cycle β€” how many bits you get per lane per differential clock cycle. it's an unsigned int, and it's giving "how much data fits in one tick" energy ✨
  • differential_clk_rate β€” the clock rate of the LVDS differential clock, measured in Hertz. unsigned long, because numbers can be long, just like this explanation 😭
  • lanes β€” how many active, consecutive, data lanes are being used for the transmissions. and the glow-up? they start from lane 0. always lane 0. no skipping lanes, that's not the vibe πŸ™ˆ
  • is_slave β€” a bool! it's true if the phy is a slave 🫢, meaning it works together with a master phy to support dual link transmission. otherwise it's just a regular phy, or a master phy. main character energy either way πŸ’…

🌈 Description 🌈

so like, this structure is used to represent the configuration state of a LVDS phy. that's it, that's the whole job. she holds the settings, she keeps them safe, she ate πŸ”₯


πŸŽ€ SEE ALSO πŸŽ€

  • Kernel file ./include/linux/phy/phy-lvds.h β€” go read it, iykyk πŸ’œ

and that's the whole page bestie, you're so welcome 🧚

source/version: ./include/linux/phy  Β·  date: October 2026 β€” mwah, go configure some phys, periodt πŸ’…β­πŸ“

πŸ“¦ where this page comes from