Searched refs:ast_vhub_ep (Results 1 – 6 of 6) sorted by relevance
/drivers/usb/gadget/udc/aspeed-vhub/ |
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[AST_VHUB_NUM_GEN_EPs]; 390 struct ast_vhub_ep ep0; 399 struct ast_vhub_ep epns[AST_VHUB_NUM_GEN_EPs]; 499 void ast_vhub_done(struct ast_vhub_ep *ep, struct ast_vhub_req *req, 501 void ast_vhub_nuke(struct ast_vhub_ep *ep, int status); 508 void ast_vhub_ep0_handle_ack(struct ast_vhub_ep *ep, bool in_ack); 509 void ast_vhub_ep0_handle_setup(struct ast_vhub_ep *ep); [all …]
|
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 *ep = &dev->ep0; in ast_vhub_reset_ep0() [all …]
|
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() 469 struct ast_vhub_ep *ep = to_ast_ep(u_ep); in ast_vhub_epn_dequeue() 496 void ast_vhub_update_epn_stall(struct ast_vhub_ep *ep) in ast_vhub_update_epn_stall() [all …]
|
D | hub.c | 172 static int ast_vhub_hub_dev_status(struct ast_vhub_ep *ep, in ast_vhub_hub_dev_status() 195 static int ast_vhub_hub_ep_status(struct ast_vhub_ep *ep, in ast_vhub_hub_ep_status() 214 static int ast_vhub_hub_dev_feature(struct ast_vhub_ep *ep, in ast_vhub_hub_dev_feature() 231 static int ast_vhub_hub_ep_feature(struct ast_vhub_ep *ep, in ast_vhub_hub_ep_feature() 265 static int ast_vhub_rep_desc(struct ast_vhub_ep *ep, in ast_vhub_rep_desc() 316 static int ast_vhub_rep_string(struct ast_vhub_ep *ep, in ast_vhub_rep_string() 335 enum std_req_rc ast_vhub_std_hub_request(struct ast_vhub_ep *ep, in ast_vhub_std_hub_request() 584 static enum std_req_rc ast_vhub_set_port_feature(struct ast_vhub_ep *ep, in ast_vhub_set_port_feature() 627 static enum std_req_rc ast_vhub_clr_port_feature(struct ast_vhub_ep *ep, in ast_vhub_clr_port_feature() 673 static enum std_req_rc ast_vhub_get_port_stat(struct ast_vhub_ep *ep, in ast_vhub_get_port_stat() [all …]
|
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()
|
D | core.c | 35 void ast_vhub_done(struct ast_vhub_ep *ep, struct ast_vhub_req *req, in ast_vhub_done() 65 void ast_vhub_nuke(struct ast_vhub_ep *ep, int status) in ast_vhub_nuke()
|