STRUCT CDNSP_SLOT_CTX(9)
Hey bestie π welcome to the struct cdnsp_slot_ctx(9) page from the Kernel API Manual β we're about to make this slot context make sense, fr fr. β¨
πΈ NAME πΈ
struct cdnsp_slot_ctx - β that's the whole NAME line, bestie; no extra summary after the dash, so we're not gonna invent one. π
β¨ SYNOPSIS β¨
Okay so here's the actual struct, character for character, no edits:
struct cdnsp_slot_ctx {
__le32 dev_info;
__le32 dev_port;
__le32 int_target;
__le32 dev_state;
__le32 reserved[4];
};
π Members π
dev_infoβ the device speed, and the last valid endpoint. πdev_portβ the device port number that is needed to access the USB device. πint_targetβ the interrupter target number. π―dev_stateβ the slot state and the device address. πͺͺ
π¦ Description π¦
Okay so this is the Slot Context β¨. It assumes the controller uses 32-byte context structures. If the controller uses 64-byte contexts, there is an additional 32 bytes reserved at the end of the slot context for controller internal use. That's the tea, no cap. π
π SEE ALSO π
Kernel file ./drivers/usb/cdns3/cdnsp-gadget.h β and the whole friend group is:
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_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_event_cmd(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)
π«Ά That's the page, bestie! Cute little sign-off: source/version./drivers/usb/cdns3, datedOctober 2026β and yes, this was thestruct cdnsp_slot_ctx(9)manual. Bye! π β¨
π¦ 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