xhci_sideba...ove_endpoint(9)
π 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 β
0on 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:
xhci_sideband_notify_ep_ring_free(9)xhci_sideband_add_endpoint(9)xhci_sideband_get_endpoint_buffer(9)xhci_sideband_get_event_buffer(9)xhci_sideband_check(9)xhci_sideband_create_interrupter(9)xhci_sideband_remove_interrupter(9)xhci_sideband_interrupter_id(9)xhci_sideband_register(9)xhci_sideband_unregister(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms