xhci_sideba...ove_endpoint(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… xhci_sideband_remove_endpoint β€” the "we're SO done with this endpoint" call

Ok bestie, welcome to the Kernel API Manual ✨ β€” yes, the actual manual, and yes, this one is short and sweet, so grab your iced coffee and let's go 🧚


🌸 NAME 🌸

xhci_sideband_remove_endpoint β€” literally removes an endpoint from the sideband access list. That's it. That's the whole vibe. πŸŽ€


✨ SYNOPSIS ✨

int xhci_sideband_remove_endpoint (struct xhci_sideband *sb , struct usb_host_endpoint *host_ep );

She takes two things and returns an int. Iconic, low-effort, slay. 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • sb β€” the sideband instance for this usb device. Like, the sideband context for this specific device, okay? Every device gets its own. πŸ’œ
  • host_ep β€” the usb host endpoint. This is the endpoint we're kicking out of the list. Bye bestie πŸ‘‹

πŸ”₯ DESCRIPTION πŸ”₯

So here's the tea: this function removes an endpoint from the list of sideband-accessed endpoints for this usb device. Not me being dramatic, that's literally what it does. πŸ’€

Big important note, no cap: after calling this, the sideband client should no longer touch the endpoint transfer buffer. Like, do not. Not even a little. The buffer is not yours anymore, bestie. πŸ™ˆ

⭐ RETURN ⭐

  • 0 on success β€” we love a clean win πŸ‘‘
  • negative error otherwise β€” it's giving "something went wrong" 😭

🌈 SEE ALSO 🌈

Kernel file ./drivers/usb/host/xhci-sideband.c β€” that's where the magic lives, iykyk πŸ’–

And the whole sideband friend group, fr fr:


Sign-off era: this little masterpiece comes to you from ./drivers/usb/host, dated October 2026 β€” put it in the group chat, it's certified iconic πŸ“βœ¨πŸ’…
πŸ“¦ where this page comes from