STRUCT CDNSP_ERST(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct cdnsp_erst(9) ✨

okay so bestie, welcome to the Kernel API Manual 🫢 β€” this is the page for struct cdnsp_erst, and honestly it's giving "small but mighty". no cap, it's short, it's sweet, and it's about to be your new hyperfixation πŸŽ€


🌸 NAME 🌸

struct cdnsp_erst β€” the even ring segment table for the event ring πŸ’…

like, that's the whole vibe. it's the ERST. it holds the segments. iconic behavior honestly ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the whole shape of it, copy it exactly, don't touch a single character bestie:

struct cdnsp_erst {
    struct cdnsp_erst_entry *entries;
    unsigned int num_entries;
    dma_addr_t erst_dma_addr;
};

three members. that's it. that's the girl. πŸ”₯


πŸ’– Members πŸ’–

time for the roll call, main character energy for each and every one πŸ‘‘

  • entries β€” the array of event ring segments 🧚 that's literally what it is, a whole lineup of segments doing their thing.
  • num_entries β€” the number of segments in the entries array. it's the count, the headcount, the "how many are we working with" number πŸ”’βœ¨
  • erst_dma_addr β€” the DMA address for the entries array. yes, DMA. it's got an address and it's proud of it πŸ’…

🌈 SEE ALSO 🌈

okay this list is long and I'm obsessed with how thorough it is β€” it's all chillin' in the kernel file ./drivers/usb/cdns3/cdnsp-gadget.h, and here's every single sibling you should go say hi to πŸ‘‹πŸ’œ

  • 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_dequeue_state(9)
  • struct cdnsp_ring(9)
  • struct cdnsp_erst_entry(9)
  • struct cdnsp_request(9)
  • struct cdnsp_port(9)
  • struct cdnsp_device(9)
  • next_request(9)

like, the whole friend group. go read them all, iykyk πŸ“šπŸ’«


ngl bestie, this page is tiny β€” but that's the whole point. every member, every cross-reference, every path is up there. nothing skipped. periodt πŸ’…

and that's a wrap, bestie!! πŸŽ€βœ¨ this slay little page comes to you from ./drivers/usb/cdns3, dated October 2026 β€” go forth and reference those structs, you absolute icon πŸ‘‘πŸ’œπŸ¦‹

πŸ“¦ where this page comes from