pch_udc_pcd_set_wedge(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pch_udc_pcd_set_wedge(9) β€” a Kernel API Manual moment

okay so this is a page from the Kernel API Manual, bestie, and it's all about pch_udc_pcd_set_wedge. tiny page, big job: it sets or clears the endpoint halt feature. that's it, that's the whole personality. let's get into it ✨


πŸŽ€ NAME

pch_udc_pcd_set_wedge β€” literally the function that sets or clears the endpoint halt feature.

✨ SYNOPSIS

int pch_udc_pcd_set_wedge (struct usb_ep *usbep );

🫢 ARGUMENTS

  • usbep β€” a reference to the USB endpoint structure. that's the one thing you hand it πŸ’–

🌸 DESCRIPTION

so what happens when you call it? it returns stuff, and here's the whole tea:

  • 0 β€” success πŸŽ‰
  • a linux error number β€” failure 😭

that's genuinely the entire description, no cap. short and iconic.

πŸ¦‹ SEE ALSO

the kernel file lives at ./drivers/usb/gadget/udc/pch_udc.c, and here's the full bestie list of everything adjacent β€” every single one, no skipping πŸ‘‘


and that's the whole page, bestie!! this little cutie came out of ./drivers/usb/gadget/udc and it's dated October 2026 β€” a whole main character in the Kernel API Manual lineup. go set (or clear 😌) that halt feature. periodt πŸ’…βœ¨πŸŒΈ

πŸ“¦ where this page comes from