pch_udc_ep_set_bufsz(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

pch_udc_ep_set_bufsz β€” sets the maximum packet size for the endpoint, bestie πŸ’–


🌸 SYNOPSIS 🌸

void pch_udc_ep_set_bufsz (struct pch_udc_ep *ep , u32 buf_size , u32
       ep_in );

It returns void btw β€” no return value, no little gift back, it just does the thing, periodt ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • ep β€” a reference to a structure of type pch_udc_ep_regs. Like, it's the endpoint you're out here trying to configure. She's the main character of this call 🫢
  • buf_size β€” the buffer word size. This is the number you're feeding in, the whole point of the operation, the moment πŸ’…
  • ep_in β€” EP is IN. That's literally the whole description, no cap β€” it's the flag that says this endpoint is IN πŸ‘‘

πŸ¦‹ SEE ALSO πŸ¦‹

So like… the kernel file lives at ./drivers/usb/gadget/udc/pch_udc.c, and honestly the whole friend group shows up here. Obsessed with how long this list is, fr fr 😭


That's the whole squad, every single one of them, iykyk 🧚

Okay bye bestie, this page came straight out of ./drivers/usb/gadget/udc, dated October 2026 β€” go set some buffer sizes and slay πŸ’…βœ¨πŸŒΈ

πŸ“¦ where this page comes from