ENUM CVMX_USB_INITIALIZE_FLAGS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ enum cvmx_usb_initialize_flags(9) πŸ¦‹

okay so this is from the Kernel API Manual, bestie β€” it's the page about enum cvmx_usb_initialize_flags, which is literally just the flags you hand to the initialization function. no cap, that's the whole vibe. πŸ’…


✨ NAME ✨

enum cvmx_usb_initialize_flags β€” flags used by the initialization function 🫢


🌸 SYNOPSIS 🌸

enum cvmx_usb_initialize_flags {
    CVMX_USB_INITIALIZE_FLAGS_CLOCK_XO_XI ,
    CVMX_USB_INITIALIZE_FLAGS_CLOCK_XO_GND ,
    CVMX_USB_INITIALIZE_FLAGS_CLOCK_MHZ_MASK ,
    CVMX_USB_INITIALIZE_FLAGS_CLOCK_12MHZ ,
    CVMX_USB_INITIALIZE_FLAGS_CLOCK_24MHZ ,
    CVMX_USB_INITIALIZE_FLAGS_CLOCK_48MHZ ,
    CVMX_USB_INITIALIZE_FLAGS_NO_DMA

};

like, that's the whole enum. seven little constants. not me being obsessed with a clock config 😭


πŸŽ€ Constants πŸŽ€

  • CVMX_USB_INITIALIZE_FLAGS_CLOCK_XO_XI β€” the USB port uses a 12MHz crystal as clock source at USB_XO and USB_XI. πŸ’Ž crystal girlie behavior, honestly.
  • CVMX_USB_INITIALIZE_FLAGS_CLOCK_XO_GND β€” the USB port uses a 12/24/48MHz 2.5V board clock source at USB_XO. and USB_XI should be tied to GND. ⚑
  • CVMX_USB_INITIALIZE_FLAGS_CLOCK_MHZ_MASK β€” the mask for the clock speed field. it's giving "look, a mask" πŸ”
  • CVMX_USB_INITIALIZE_FLAGS_CLOCK_12MHZ β€” speed of reference clock or crystal. πŸ•›
  • CVMX_USB_INITIALIZE_FLAGS_CLOCK_24MHZ β€” speed of reference clock. πŸ•›πŸ•›
  • CVMX_USB_INITIALIZE_FLAGS_CLOCK_48MHZ β€” speed of reference clock. πŸ•›πŸ•›πŸ•›πŸ•›
  • CVMX_USB_INITIALIZE_FLAGS_NO_DMA β€” disable DMA and used polled IO for data transfer use for the USB. πŸ‘€ yes bestie, that's exactly how it's worded, and yes it's a whole mood β€” polled IO instead of DMA.

πŸ”₯ SEE ALSO πŸ”₯

main character energy from the kernel file ./drivers/usb/host/octeon-hcd.c β€” go read that one too, it's the source of all this:


okay that's the whole page, you ate that πŸ’– this one lives under ./drivers/usb/host, dated October 2026, and it's literally titled enum cvmx_us...ialize_flags(9) β€” slay, go configure ur clocks bestie πŸ§šπŸ’œ

πŸ“¦ where this page comes from