pch_udc_pcd_pullup(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

pch_udc_pcd_pullup(9) β€” okay so bestie, this API is literally invoked to make the device visible/invisible to the host. That's the assignment, no cap. πŸ’…

✨ SYNOPSIS ✨

int pch_udc_pcd_pullup (struct usb_gadget *gadget , int is_on );

Signature check: returns an int, takes a struct usb_gadget *gadget, and an int is_on, periodt. πŸŽ€

πŸŽ€ ARGUMENTS πŸŽ€

  • gadget β€” Reference to the gadget driver. Like, the gadget driver's reference, main character energy only. 🫢
  • is_on β€” Specifies whether the pull up is made active or inactive. So it's the on/off tea for the pull-up vibe. ✨

πŸ’– DESCRIPTION πŸ’–

Return codes, bestie β€” memorize these like your fave lyrics:

  • 0 β€” Success πŸŽ‰
  • -EINVAL β€” If the gadget passed is NULL 😭 (so do not hand it a null gadget and expect a slay)

πŸ‘‘ SEE ALSO πŸ‘‘

The whole pch_udc extended universe, fr fr β€” plus the kernel file and all these iconique references:


Signed, sealed, delivered: ./drivers/usb/gadget/udc πŸ’‹ October 2026 β€” and yes, this is still the pch_udc_pcd_pullup(9) page, mwah. 🧚

πŸ“¦ where this page comes from