STRUCT CDNSP_SLOT_CTX(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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, dated October 2026 β€” and yes, this was the struct cdnsp_slot_ctx(9) manual. Bye! πŸ’…βœ¨
πŸ“¦ where this page comes from