pch_udc_create_dma_chain(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🫢 pch_udc_create_dma_chain(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual entry for pch_udc_create_dma_chain(9) β€” the DMA-chain creator/reinitializer that is lowkey iconic. Pull up a chair, hydrate, and let’s get into it. ✨


🌸 NAME 🌸

pch_udc_create_dma_chain β€” literally this function creates or reinitializes a DMA chain. That’s the whole vibe: make a chain or refresh one, periodt. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int pch_udc_create_dma_chain (struct pch_udc_ep *ep , struct pch_udc_request *req , unsigned long buf_len , gfp_t gfp_flags );

πŸŽ€ ARGUMENTS πŸŽ€

  • ep β€” Reference to the endpoint structure. The endpoint struct is the moment. 🫢
  • req β€” Reference to the request. Your request, your rules. πŸ’…
  • buf_len β€” The buffer length. Yes, the length of the buffer, no cap. πŸ“
  • gfp_flags β€” Flags to be used while mapping the data buffer. Mapping flags only, bestie. πŸ—ΊοΈ

πŸ’œ DESCRIPTION πŸ’œ

Return codes: okay so here’s the tea:

  • 0 β€” success. Slay. πŸ‘‘
  • -ENOMEM β€” dma_pool_alloc invocation fails. Not the vibe, but now you know. 😭

🌈 SEE ALSO 🌈

Kernel file ./drivers/usb/gadget/udc/pch_udc.c plus the entire friend group β€” no cap, every single one is here:


mwah πŸ’‹ this page was brought to you by ./drivers/usb/gadget/udc, dated October 2026, and starring pch_udc_create_dma_chain(9). Catch you in the next manpage, bestie β€” periodt. 🫢✨

πŸ“¦ where this page comes from