pch_udc_complete_receiver(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pch_udc_complete_receiver πŸ’…

okay so welcome to the Kernel API Manual, bestie β€” today's main character is pch_udc_complete_receiver, and honestly? she's a tiny little function with a very clear job and I respect that so much 🫢


🌸 NAME 🌸

pch_udc_complete_receiver β€” this function completes a receiver. that's it. that's the whole vibe. no cap, she wraps up the receiving situation and moves on with her life ✨


πŸŽ€ SYNOPSIS πŸŽ€

void pch_udc_complete_receiver (struct pch_udc_ep *ep );

like, it returns void (nothing back, she's not about that return-value life) and it takes exactly one thing. periodt πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ep β€” a reference to the endpoint structure. that's your one and only input, bestie. hand her the endpoint and she knows what to do with it πŸ’–

✨ SEE ALSO ✨

okay this list is long β€” like, genuinely iconic levels of long β€” but every single one of these is invited to the party, so let's give them all their moment 🌈

first up, from the kernel file ./drivers/usb/gadget/udc/pch_udc.c we've got the struct squad:

  • struct pch_udc_data_dma_desc(9)
  • struct pch_udc_stp_dma_desc(9)
  • struct pch_udc_cfg_data(9)
  • struct pch_udc_ep(9)
  • struct pch_vbus_gpio_data(9)
  • struct pch_udc_dev(9)
  • struct pch_udc_request(9)

then the core register-and-frame girlies:

the self-powered / disconnect / reconnect clique:

the endpoint-setter crew, lowkey the backbone of the whole operation:

the DMA + CSR-done besties:

the interrupt gatekeepers (they hold the door, respectfully):

the read/write interrupt duo plus their ep counterparts:

the status & control checkers:

the NAK girlies and the fifo flush icon:

enable/disable ep + the stall waiter:

init/exit, the classic:

the pcd (peripheral controller driver, iykyk) lineup:

the vbus gpio squad, absolute icons:

the request completion + queue crew:

the dma chain builders:

prep + zlp besties:

and the rx request starter:

more pcd ep action:

request alloc/free, the responsible roommates:

queue/dequeue:

halt + wedge, the dramatic duo:

the pcd fifo flush:

setup buff init:

tx request chaining + transfer completing:

the service routine girlies (in, out, control in, control out):

post-service ep interrupts + reading all ep status:

control ep activation:

the whole interrupt service gang (ur, enum, intf, cfg):

the isr legends themselves:

setup ep0:

reinit + init:

and last but absolutely not least:

fr fr that's every single one of them β€” don't skip any when you go cross-referencing, bestie, they're all listed for a reason πŸ’€

and that's the page!! 🌟 cute little sign-off time: this one lives over in ./drivers/usb/gadget/udc and it's dated October 2026 β€” so like, she's from the future, iconic behavior honestly πŸ‘‘βœ¨πŸ’œ

πŸ“¦ where this page comes from