STRUCT DWC2_HSOTG_PLAT(9)
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 asenum dwc2_hsotg_dmamodein 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 theunsigned int is_osc:1bitfield, and yes the original is literally that direct about it πΈphy_typeβ the original just listsint 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
- 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