STRUCT CDNSP_DEVICE_CONTEXT_ARRAY(9)
πΈ STRUCT CDNSP_DEVICE_CONTEXT_ARRAY(9) πΈ
okay so we're in the Kernel API Manual bestie, and this one's a little struct page, short and sweet, and honestly it ate π let's get into it.
β¨ NAME β¨
struct cdnsp_device_context_array β
and that's it. that's the description. it's giving "mysterious main character who says nothing" π the dash is just sitting there empty, no cap, i'm not gonna make stuff up for you.
π¦ SYNOPSIS π¦
here's the whole vibe, character for character:
struct cdnsp_device_context_array {
__le64 dev_context_ptrs[CDNSP_DEV_MAX_SLOTS + 1];
dma_addr_t dma;
};
like, look at her. two members. dev_context_ptrs is an array of __le64 sized CDNSP_DEV_MAX_SLOTS + 1 (yes, plus one, that extra slot is doing its little thing and we respect it π«Ά), and then there's dma, a dma_addr_t. iconic. no notes.
π Members π
dmaβ the DMA address for the device contexts structure, periodt. that's the only member the page spells out for us, so that's the only one i'm gonna explain, i'm not out here guessing π
π SEE ALSO π
the whole friend group, all in Kernel file ./drivers/usb/cdns3/cdnsp-gadget.h β go say hi to all of them:
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_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)
ngl this page is short enough that if you blink you'll miss it, but every single one of those refs is right there for you to go read next, so no excuses bestie π€β¨
and that's the whole page, mwah π brought to you by ./drivers/usb/cdns3, dated October 2026 β catch you in the kernel source, love u, 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