STRUCT CDNSP_PORT_REGS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ struct cdnsp_port_regs(9) πŸŽ€

okay so bestie, welcome to the kernel API manual β€” yes that kernel API manual, the one with the port registers. this page is literally all about struct cdnsp_port_regs, aka Port Registers, and ngl it's a short one but it's iconic. let's get into it πŸ’…


✨ NAME ✨

struct cdnsp_port_regs β€” Port Registers. that's it, that's the name, she's self-explanatory and she knows it 🫢


🌸 SYNOPSIS 🌸

here's the whole struct, no crumbs, exactly as she is:

struct cdnsp_port_regs {
    __le32 portsc;
    __le32 portpmsc;
    __le32 portli;
    __le32 reserved;
 };

four __le32 fields, one of them just vibing in the back as reserved 😌


πŸ’– Members πŸ’–

  • portsc β€” PORTSC β€” the Port Status and Control Register. status AND control, she does both, main character energy fr ✨
  • portpmsc β€” PORTPMSC β€” the Port Power Managements Status and Control Register. yes the name really says "Managements", we don't fix it, we respect it πŸ’€ power management queen πŸ‘‘
  • portli β€” PORTLI β€” the Port Link Info register. the link info, the lore, the details πŸ”₯
okay and real talk: reserved is in the struct up there in the synopsis but the page doesn't give it a Members entry β€” so we're not gonna make one up. she's reserved, that's her whole personality πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹

so many structs, it's giving family reunion 😭 all of these live in the kernel file ./drivers/usb/cdns3/cdnsp-gadget.h:

  • struct cdnsp_cap_regs(9)
  • struct cdnsp_op_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_erst(9)
  • struct cdnsp_request(9)
  • struct cdnsp_port(9)
  • struct cdnsp_device(9)
  • next_request(9)

go read them all, i believe in you πŸ§šπŸ’œ


and that's the whole page, bestie β€” this one came from the ./drivers/usb/cdns3 corner of the kernel, dated October 2026, and it's titled struct cdnsp_port_regs(9) if you need to cite your sources πŸ’– slay, go read a struct, ily, bye ⭐

πŸ“¦ where this page comes from