STRUCT MACB_PLATFORM_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

Hey bestie!! πŸ’– You're looking at the Kernel API Manual page for struct macb_platform_data(9), and it's giving β€œtiny but important” energy fr fr. ✨


πŸ’– NAME πŸ’–

struct macb_platform_data β€” platform data for MACB Ethernet used for PCI registration. That's the whole assignment, no cap. 🫢


✨ SYNOPSIS ✨

Okay so the struct is literally this, exactly:

struct macb_platform_data {
    struct clk      *pclk;
    struct clk      *hclk;
 };

πŸŽ€ Members πŸŽ€

Only two members here, and yes they're both clocks β€” the way this struct said β€œkeep it simple” πŸ˜ŒπŸ’…

  • pclk β€” platform clock β°πŸ’–
  • hclk β€” AHB clock 🌸

πŸ¦‹ SEE ALSO πŸ¦‹

Check out the Kernel file ./drivers/net/ethernet/cadence/macb.h and the struct macb_queue_enst_config(9) page too. πŸ‘€πŸ’…


Source/version: ./drivers/net/ethernet/cadence Β· October 2026 Β· xoxo, struct macb_platform_data(9) πŸ’…πŸŽ€

πŸ“¦ where this page comes from