STRUCT DWC2_HSOTG_PLAT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to struct dwc2_hsotg_plat(9) from the Kernel API Manual ✨ this is the platform-data page for high-speed otg/udc, and it’s lowkey iconic.

🌸 NAME 🌸

struct dwc2_hsotg_plat β€” platform data for high-speed otg/udc πŸ’…

✨ SYNOPSIS ✨

       struct dwc2_hsotg_plat {
           enum dwc2_hsotg_dmamode dma;
           unsigned int            is_osc:1;
           int phy_type;
           int (*phy_init)(struct platform_device *pdev, int type);
           int (*phy_exit)(struct platform_device *pdev, int type);
        };

that’s the whole struct, no cap 🫢

πŸ’… Members πŸ’…

  • dma β€” Whether to use DMA or not. it’s typed as enum dwc2_hsotg_dmamode in the struct, and the original gives it exactly that one-line blurb, periodt.
  • is_osc β€” The clock source is an oscillator, not a crystal. it’s the unsigned int is_osc:1 bitfield, and yes the original is literally that direct about it 🌸
  • phy_type β€” the original just lists int phy_type; and gives no extra description here, so I’m not gonna invent lore, bestie 😌
  • phy_init β€” int (*phy_init)(struct platform_device *pdev, int type); β€” signature only in the original, no extra blurb, keeping it 100 🫢
  • phy_exit β€” int (*phy_exit)(struct platform_device *pdev, int type); β€” same vibe: exact signature, no extra tea added πŸ’œ

πŸ”­ SEE ALSO πŸ”­

Kernel file ./include/linux/platform_data/s3c-hsotg.h


alright bestie, that’s the whole page β€” it lives in ./include/linux/platform_data, dated October 2026, mwah πŸ’–

πŸ“¦ where this page comes from