usb_endpoint_is_int_in(9)
β¨ usb_endpoint_is_int_in(9) β¨
okay so bestie, welcome to the usb_endpoint_is_int_in page from the Kernel API Manual π this one is short and sweet and honestly a little slay β it's a vibes-check function for USB endpoints, and you're gonna get it in like ten seconds, i promise π«Ά
πΈ NAME πΈ
usb_endpoint_is_int_in β check if the endpoint is interrupt IN π
like, that's literally the whole job. she checks. she reports. she moves on. main character energy fr π
β¨ SYNOPSIS β¨
int usb_endpoint_is_int_in (const struct usb_endpoint_descriptor *epd );
yes queen, that's the whole signature β she takes one pointer and hands you back an int π
π¦ ARGUMENTS π¦
epdβ the endpoint to be checked π that's it. that's the argument. she's the endpoint you're side-eyeing and asking "are you an interrupt IN or not, bestie?"
π DESCRIPTION π
okay so here's the tea β β this function returns true if the endpoint has interrupt transfer type and IN direction, and otherwise it returns false.
that's the entire plot. no plot twists. no cap π
so like, if the endpoint is giving interrupt + IN, she says yes β¨ if it's missing either one of those two things, she says no π periodt.
π₯ SEE ALSO π₯
- Kernel file
./include/uapi/linux/usb/ch9.hstruct usb_ctrlrequest(9) usb_endpoint_num(9)usb_endpoint_type(9)usb_endpoint_dir_in(9)usb_endpoint_dir_out(9)usb_endpoint_xfer_bulk(9)usb_endpoint_xfer_control(9)usb_endpoint_xfer_int(9)usb_endpoint_xfer_isoc(9)usb_endpoint_is_bulk_in(9)usb_endpoint_is_bulk_out(9)usb_endpoint_is_int_out(9)usb_endpoint_is_isoc_in(9)usb_endpoint_is_isoc_out(9)usb_endpoint_maxp(9)usb_endpoint_maxp_mult(9)
the whole friend group is here ngl β go read the rest of them, they're iconic π
lowkey a reminder that the interrupt-IN check is the combination of two separate facts, so if you're ever confused, peek at the direction and transfer-type helpers above and it'll all click π§
and that's the page!! π brought to you by ./include/uapi/linux/usb, dated October 2026 β mwah, go check some endpoints, bestie, you're gonna ate ππ
π
π¦ 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