STRUCT CI_HW_EP(9)
π NAME π
okay so bestie, welcome to the struct ci_hw_ep(9) page β it's the manual page for struct ci_hw_ep, aka the endpoint representation. Yes, we're doing a whole struct field-by-field, and honestly? iconic. β¨
π¦ SYNOPSIS π¦
Here's the struct exactly as it is, no edits, no cap:
struct ci_hw_ep {
struct usb_ep ep;
u8 dir;
u8 num;
u8 type;
char name[16];
struct {
struct list_head queue;
struct ci_hw_qh *ptr;
dma_addr_t dma;
} qh;
int wedge;
struct ci_hdrc *ci;
spinlock_t *lock;
struct dma_pool *td_pool;
struct td_node *pending_td;
};
psst: pending_td is right there in the struct, but the Members section below doesn't give it its own little blurb β and I'm not out here inventing one. π
πΈ Members πΈ
Time for the member-by-member vibe check, bestie:
epβ endpoint structure for gadget driversdirβ endpoint direction (TX/RX)numβ endpoint numbertypeβ endpoint typenameβ string description of the endpointqhβ queue head for this endpointwedgeβ is the endpoint wedgedciβ pointer to the controllerlockβ pointer to controller's spinlocktd_poolβ pointer to controller's TD pool
π SEE ALSO π
the little kernel-file neighbors and friends, all accounted for:
- Kernel file
./drivers/usb/chipidea/ci.h struct ci_role_driver(9)struct hw_bank(9)struct ci_hdrc(9)hw_read_id_reg(9)hw_write_id_reg(9)hw_read(9)hw_write(9)hw_test_and_clear(9)hw_test_and_write(9)ci_otg_is_fsm_mode(9)
that's the whole page, bestie β sourced from ./drivers/usb/chipidea, dated October 2026, and it's the struct ci_hw_ep(9) manual page. mwah ππ«Ά
π¦ 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