STRUCT CDNSP_EVENT_CMD(9)
π NAME π
struct cdnsp_event_cmd β okay bestie, this is the Command completion event TRB struct, and she's tiny but she's literally the main character of "did my command finish tho?" π
Here's the tea on her members, no cap:
cmd_trbβ pointer to the command TRB, or the value passed by the event data trb πstatusβ the command completion parameters and the error code (yes, both, she's multitasking β¨)flagsβ flags. That's it. That's the whole vibe π¦
β¨ SYNOPSIS β¨
struct cdnsp_event_cmd {
__le64 cmd_trb;
__le32 status;
__le32 flags;
};
Look at her π«Ά three fields, zero drama. __le64 for the pointer-ish thing, __le32 twice because we stay little-endian in this house π
π Members π
So this section is where the members live β and ngl, the descriptions for them are already chilling up in NAME (scroll up, babe, cmd_trb, status, flags, the whole trio πΈ). Nothing extra hiding down here, promise π
π¦ SEE ALSO π¦
Kernel file ./drivers/usb/cdns3/cdnsp-gadget.h
And the whole friend group, because this struct literally never goes anywhere alone π β go say hi:
struct cdnsp_cap_regs(9)struct cdnsp_op_regs(9)struct cdnsp_port_regs(9)struct cdnsp_intr_reg(9)struct cdnsp_run_regs(9)struct cdnsp_rev_cap(9)struct cdnsp_doorbell_array(9)struct cdnsp_container_ctx(9)struct cdnsp_slot_ctx(9)struct cdnsp_ep_ctx(9)struct cdnsp_stream_info(9)struct cdnsp_ep(9)struct cdnsp_device_context_array(9)struct cdnsp_transfer_event(9)struct cdnsp_link_trb(9)struct cdnsp_segment(9)struct cdnsp_td(9)struct cdnsp_dequeue_state(9)struct cdnsp_ring(9)struct cdnsp_erst_entry(9)struct cdnsp_erst(9)struct cdnsp_request(9)struct cdnsp_port(9)struct cdnsp_device(9)next_request(9)
Heads up bestie: this page is a kernel struct doc, so the only source of truth is the code in ./drivers/usb/cdns3/cdnsp-gadget.h. I'm not adding behaviour that isn't on the page β read the header if you want the full lore π
π and that's a wrap, babe π β this icon of a page came straight out of ./drivers/usb/cdns3, dated October 2026, and she ate, fr fr. Go forth and complete your commands ππ₯
π¦ 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