STRUCT CDNSP_DEQUEUE_STATE(9)
π struct cdnsp_dequeue_state(9) β like, the whole vibe
okay so real talk, bestie, this is a page from the Kernel API Manual, section 9, and it's all about struct cdnsp_dequeue_state π β the little bundle of joy that holds the new dequeue pointer for the Transfer Ring. that's it. that's the whole personality. it's giving "small struct, big responsibility" β¨
πΈ SYNOPSIS πΈ
like, here's the whole thing laid out, no cap:
struct cdnsp_dequeue_state {
struct cdnsp_segment *new_deq_seg;
union cdnsp_trb *new_deq_ptr;
int new_cycle_state;
unsigned int stream_id;
};
look at her. four fields. absolutely iconic. π
π¦ Members π¦
okay so let's go through the whole cast, main character by main character π
new_deq_segβ the new dequeue segment. that's her job. she's a segment. π«Άnew_deq_ptrβ the new dequeue pointer. yes it's literally named that. yes it does literally that. lowkey obsessed with the honesty here.new_cycle_stateβ the new cycle state. int-flavored. that's the whole description, don't come for me, I'm just the messenger πstream_idβ the stream id for which the new dequeue pointer has been selected. so like, which stream this dequeue pointer got picked for. iykyk π«
β SEE ALSO β
you want the whole friend group? 'cause the whole friend group is here, bestie. this lives in the Kernel file ./drivers/usb/cdns3/cdnsp-gadget.h, and it is surrounded by icons:
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_event_cmd(9)struct cdnsp_segment(9)struct cdnsp_td(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)
like, that's a full roster. not one of them skipped. we love a complete ensemble cast π
fr fr though β if you're poking at the Transfer Ring dequeue pointer, read the neighbors too. they all live together in ./drivers/usb/cdns3/cdnsp-gadget.h and they absolutely gossip about each other π
π the cute sign-off π
this little love letter ships from ./drivers/usb/cdns3 and it's dated October 2026, page struct cdnsp_dequeue_state(9). periodt. go forth and dequeue responsibly, bestie π§ββοΈπΈπ
π¦ 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