bcm63xx_ep0_map_write(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… bcm63xx_ep0_map_write(9)

okay so bestie, welcome to the Kernel API Manual ✨ you're literally about to learn about one (1) function and honestly it's giving "small but does the important work" energy πŸŽ€


✨ NAME ✨

bcm63xx_ep0_map_write β€” it does a dma_map and an iudma_write on a single request. that's it, that's the whole vibe. one request, mapped, written, slayed πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

void bcm63xx_ep0_map_write (struct bcm63xx_udc *udc , int ch_idx ,
struct usb_request *req );

no cap, that's the entire signature. void return, three args, zero drama 🌸


πŸ’– ARGUMENTS πŸ’–

three of them, and yes you need all three, i don't make the rules (the kernel does):

  • udc β€” a reference to the device controller. like, the actual controller object. it's the main character here πŸ‘‘
  • ch_idx β€” the IUDMA channel number. which channel we're on, iykyk 🌈
  • req β€” the USB gadget layer's representation of the request. the gadget-layer version of the request, not the raw one, important distinction bestie πŸ’œ

🌸 SEE ALSO 🌸

okay this list is LONG long, like genuinely. but every single one of these deserves a look, so here we go, no skipping, i promised 🫢

Kernel file ./drivers/usb/gadget/udc/bcm63xx_udc.c β€” plus these legends:

like i said. long. but iconic πŸ’€βœ¨


ngl bestie, this one's short and sweet β€” one function, three args, one big SEE ALSO list. go read iudma_write(9) next, it's literally right there 🧚

and that's the tea, babe πŸ“ this page lives in ./drivers/usb/gadget/udc, and it's dated October 2026 β€” so go forth, map your writes, and remember: the kernel loves you back πŸ’œπŸ‘‘

πŸ“¦ where this page comes from