STRUCT CDNSP_PORT_REGS(9)
π 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
- 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