cdns3_ep_addr_to_index(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

cdns3_ep_addr_to_index(9) πŸŽ€

okay so bestie, this page is straight outta the Kernel API Manual, and it's a tiny macro moment with main-character energy. It takes an endpoint address and converts it into the index of the endpoint object inside the cdns3_device.eps[] container. It's giving address in, index out. πŸ’…


✨ NAME ✨

cdns3_ep_addr_to_index β€” macro converts endpoint address to index of endpoint object in cdns3_device.eps[] container. No cap, that's the whole job.

🌸 SYNOPSIS 🌸

u8 cdns3_ep_addr_to_index (u8 ep_addr );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • ep_addr β€” the endpoint address for which the endpoint object is required, bestie. You hand over the address; it's the address that needs its endpoint object.

🫢 SEE ALSO 🫢

Kernel file: ./drivers/usb/cdns3/cdns3-gadget.c β€” that's the spot, iykyk.


This page's source/version tag is ./drivers/usb/cdns3, and the date is October 2026 β€” slay, bye! πŸ’–βœ¨

πŸ“¦ where this page comes from