/kernel/linux/linux-5.10/drivers/usb/gadget/udc/aspeed-vhub/ |
H A D | vhub.h | 268 struct ast_vhub_ep { struct 338 #define to_ast_ep(__uep) container_of(__uep, struct ast_vhub_ep, ep) 360 struct ast_vhub_ep ep0; 361 struct ast_vhub_ep **epns; 397 struct ast_vhub_ep ep0; 408 struct ast_vhub_ep *epns; 515 void ast_vhub_done(struct ast_vhub_ep *ep, struct ast_vhub_req *req, 517 void ast_vhub_nuke(struct ast_vhub_ep *ep, int status); 524 void ast_vhub_ep0_handle_ack(struct ast_vhub_ep *ep, bool in_ack); 525 void ast_vhub_ep0_handle_setup(struct ast_vhub_ep *e [all...] |
H A D | ep0.c | 35 int ast_vhub_reply(struct ast_vhub_ep *ep, char *ptr, int len) in ast_vhub_reply() 68 int __ast_vhub_simple_reply(struct ast_vhub_ep *ep, int len, ...) in __ast_vhub_simple_reply() 85 void ast_vhub_ep0_handle_setup(struct ast_vhub_ep *ep) in ast_vhub_ep0_handle_setup() 182 static void ast_vhub_ep0_do_send(struct ast_vhub_ep *ep, in ast_vhub_ep0_do_send() 233 static void ast_vhub_ep0_rx_prime(struct ast_vhub_ep *ep) in ast_vhub_ep0_rx_prime() 241 static void ast_vhub_ep0_do_receive(struct ast_vhub_ep *ep, struct ast_vhub_req *req, in ast_vhub_ep0_do_receive() 272 void ast_vhub_ep0_handle_ack(struct ast_vhub_ep *ep, bool in_ack) in ast_vhub_ep0_handle_ack() 362 struct ast_vhub_ep *ep = to_ast_ep(u_ep); in ast_vhub_ep0_queue() 439 struct ast_vhub_ep *ep = to_ast_ep(u_ep); in ast_vhub_ep0_dequeue() 480 struct ast_vhub_ep *e in ast_vhub_reset_ep0() [all...] |
H A D | epn.c | 46 static void ast_vhub_epn_kick(struct ast_vhub_ep *ep, struct ast_vhub_req *req) in ast_vhub_epn_kick() 88 static void ast_vhub_epn_handle_ack(struct ast_vhub_ep *ep) in ast_vhub_epn_handle_ack() 155 static inline unsigned int ast_vhub_count_free_descs(struct ast_vhub_ep *ep) in ast_vhub_count_free_descs() 166 static void ast_vhub_epn_kick_desc(struct ast_vhub_ep *ep, in ast_vhub_epn_kick_desc() 246 static void ast_vhub_epn_handle_ack_desc(struct ast_vhub_ep *ep) in ast_vhub_epn_handle_ack_desc() 325 void ast_vhub_epn_ack_irq(struct ast_vhub_ep *ep) in ast_vhub_epn_ack_irq() 337 struct ast_vhub_ep *ep = to_ast_ep(u_ep); in ast_vhub_epn_queue() 417 static void ast_vhub_stop_active_req(struct ast_vhub_ep *ep, in ast_vhub_stop_active_req() 472 struct ast_vhub_ep *ep = to_ast_ep(u_ep); in ast_vhub_epn_dequeue() 499 void ast_vhub_update_epn_stall(struct ast_vhub_ep *e [all...] |
H A D | hub.c | 162 static int ast_vhub_hub_dev_status(struct ast_vhub_ep *ep, in ast_vhub_hub_dev_status() 185 static int ast_vhub_hub_ep_status(struct ast_vhub_ep *ep, in ast_vhub_hub_ep_status() 204 static int ast_vhub_hub_dev_feature(struct ast_vhub_ep *ep, in ast_vhub_hub_dev_feature() 221 static int ast_vhub_hub_ep_feature(struct ast_vhub_ep *ep, in ast_vhub_hub_ep_feature() 255 static int ast_vhub_rep_desc(struct ast_vhub_ep *ep, in ast_vhub_rep_desc() 350 static int ast_vhub_rep_string(struct ast_vhub_ep *ep, in ast_vhub_rep_string() 377 enum std_req_rc ast_vhub_std_hub_request(struct ast_vhub_ep *ep, in ast_vhub_std_hub_request() 626 static enum std_req_rc ast_vhub_set_port_feature(struct ast_vhub_ep *ep, in ast_vhub_set_port_feature() 669 static enum std_req_rc ast_vhub_clr_port_feature(struct ast_vhub_ep *ep, in ast_vhub_clr_port_feature() 715 static enum std_req_rc ast_vhub_get_port_stat(struct ast_vhub_ep *e [all...] |
H A D | dev.c | 81 struct ast_vhub_ep *ep = d->epns[i]; in ast_vhub_dev_enable() 132 struct ast_vhub_ep *ep; in ast_vhub_ep_feature() 179 struct ast_vhub_ep *ep; in ast_vhub_ep_status() 212 int ast_vhub_std_dev_request(struct ast_vhub_ep *ep, in ast_vhub_std_dev_request() 359 struct ast_vhub_ep *ep; in ast_vhub_udc_match_ep()
|
H A D | core.c | 35 void ast_vhub_done(struct ast_vhub_ep *ep, struct ast_vhub_req *req, in ast_vhub_done() 66 void ast_vhub_nuke(struct ast_vhub_ep *ep, int status) in ast_vhub_nuke()
|
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/aspeed-vhub/ |
H A D | vhub.h | 268 struct ast_vhub_ep { struct 338 #define to_ast_ep(__uep) container_of(__uep, struct ast_vhub_ep, ep) 360 struct ast_vhub_ep ep0; 361 struct ast_vhub_ep **epns; 397 struct ast_vhub_ep ep0; 408 struct ast_vhub_ep *epns; 516 void ast_vhub_done(struct ast_vhub_ep *ep, struct ast_vhub_req *req, 518 void ast_vhub_nuke(struct ast_vhub_ep *ep, int status); 525 void ast_vhub_ep0_handle_ack(struct ast_vhub_ep *ep, bool in_ack); 526 void ast_vhub_ep0_handle_setup(struct ast_vhub_ep *e [all...] |
H A D | ep0.c | 29 int ast_vhub_reply(struct ast_vhub_ep *ep, char *ptr, int len) in ast_vhub_reply() 62 int __ast_vhub_simple_reply(struct ast_vhub_ep *ep, int len, ...) in __ast_vhub_simple_reply() 79 void ast_vhub_ep0_handle_setup(struct ast_vhub_ep *ep) in ast_vhub_ep0_handle_setup() 176 static void ast_vhub_ep0_do_send(struct ast_vhub_ep *ep, in ast_vhub_ep0_do_send() 227 static void ast_vhub_ep0_rx_prime(struct ast_vhub_ep *ep) in ast_vhub_ep0_rx_prime() 235 static void ast_vhub_ep0_do_receive(struct ast_vhub_ep *ep, struct ast_vhub_req *req, in ast_vhub_ep0_do_receive() 273 void ast_vhub_ep0_handle_ack(struct ast_vhub_ep *ep, bool in_ack) in ast_vhub_ep0_handle_ack() 363 struct ast_vhub_ep *ep = to_ast_ep(u_ep); in ast_vhub_ep0_queue() 440 struct ast_vhub_ep *ep = to_ast_ep(u_ep); in ast_vhub_ep0_dequeue() 481 struct ast_vhub_ep *e in ast_vhub_reset_ep0() [all...] |
H A D | epn.c | 40 static void ast_vhub_epn_kick(struct ast_vhub_ep *ep, struct ast_vhub_req *req) in ast_vhub_epn_kick() 82 static void ast_vhub_epn_handle_ack(struct ast_vhub_ep *ep) in ast_vhub_epn_handle_ack() 157 static inline unsigned int ast_vhub_count_free_descs(struct ast_vhub_ep *ep) in ast_vhub_count_free_descs() 168 static void ast_vhub_epn_kick_desc(struct ast_vhub_ep *ep, in ast_vhub_epn_kick_desc() 248 static void ast_vhub_epn_handle_ack_desc(struct ast_vhub_ep *ep) in ast_vhub_epn_handle_ack_desc() 327 void ast_vhub_epn_ack_irq(struct ast_vhub_ep *ep) in ast_vhub_epn_ack_irq() 339 struct ast_vhub_ep *ep = to_ast_ep(u_ep); in ast_vhub_epn_queue() 419 static void ast_vhub_stop_active_req(struct ast_vhub_ep *ep, in ast_vhub_stop_active_req() 474 struct ast_vhub_ep *ep = to_ast_ep(u_ep); in ast_vhub_epn_dequeue() 503 void ast_vhub_update_epn_stall(struct ast_vhub_ep *e [all...] |
H A D | hub.c | 168 static int ast_vhub_hub_dev_status(struct ast_vhub_ep *ep, in ast_vhub_hub_dev_status() 191 static int ast_vhub_hub_ep_status(struct ast_vhub_ep *ep, in ast_vhub_hub_ep_status() 210 static int ast_vhub_hub_dev_feature(struct ast_vhub_ep *ep, in ast_vhub_hub_dev_feature() 238 static int ast_vhub_hub_ep_feature(struct ast_vhub_ep *ep, in ast_vhub_hub_ep_feature() 272 static int ast_vhub_rep_desc(struct ast_vhub_ep *ep, in ast_vhub_rep_desc() 373 static int ast_vhub_rep_string(struct ast_vhub_ep *ep, in ast_vhub_rep_string() 400 enum std_req_rc ast_vhub_std_hub_request(struct ast_vhub_ep *ep, in ast_vhub_std_hub_request() 651 static enum std_req_rc ast_vhub_set_port_feature(struct ast_vhub_ep *ep, in ast_vhub_set_port_feature() 694 static enum std_req_rc ast_vhub_clr_port_feature(struct ast_vhub_ep *ep, in ast_vhub_clr_port_feature() 740 static enum std_req_rc ast_vhub_get_port_stat(struct ast_vhub_ep *e [all...] |
H A D | dev.c | 75 struct ast_vhub_ep *ep = d->epns[i]; in ast_vhub_dev_enable() 137 struct ast_vhub_ep *ep; in ast_vhub_ep_feature() 184 struct ast_vhub_ep *ep; in ast_vhub_ep_status() 217 int ast_vhub_std_dev_request(struct ast_vhub_ep *ep, in ast_vhub_std_dev_request() 364 struct ast_vhub_ep *ep; in ast_vhub_udc_match_ep()
|
H A D | core.c | 29 void ast_vhub_done(struct ast_vhub_ep *ep, struct ast_vhub_req *req, in ast_vhub_done() 60 void ast_vhub_nuke(struct ast_vhub_ep *ep, int status) in ast_vhub_nuke()
|