Home
last modified time | relevance | path

Searched defs:bdc (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/drivers/usb/gadget/udc/bdc/
Dbdc_core.c33 static int poll_oip(struct bdc *bdc, u32 usec) in poll_oip()
49 int bdc_stop(struct bdc *bdc) in bdc_stop()
73 int bdc_reset(struct bdc *bdc) in bdc_reset()
96 int bdc_run(struct bdc *bdc) in bdc_run()
131 void bdc_softconn(struct bdc *bdc) in bdc_softconn()
144 void bdc_softdisconn(struct bdc *bdc) in bdc_softdisconn()
156 static int scratchpad_setup(struct bdc *bdc) in scratchpad_setup()
195 static int setup_srr(struct bdc *bdc, int interrupter) in setup_srr()
212 static void bdc_mem_init(struct bdc *bdc, bool reinit) in bdc_mem_init()
312 static void bdc_mem_free(struct bdc *bdc) in bdc_mem_free()
[all …]
Dbdc_ep.c55 struct bdc *bdc = ep->bdc; in ep_bd_list_free() local
125 struct bdc *bdc = ep->bdc; in ep_bd_list_alloc() local
219 struct bdc *bdc = ep->bdc; in bd_add_to_bdi() local
292 struct bdc *bdc = ep->bdc; in bd_available_ep() local
341 void bdc_notify_xfr(struct bdc *bdc, u32 epnum) in bdc_notify_xfr()
384 static int setup_first_bd_ep0(struct bdc *bdc, struct bdc_req *req, u32 *dword3) in setup_first_bd_ep0()
425 static int setup_bd_list_xfr(struct bdc *bdc, struct bdc_req *req, int num_bds) in setup_bd_list_xfr()
509 static int bdc_queue_xfr(struct bdc *bdc, struct bdc_req *req) in bdc_queue_xfr()
541 struct bdc *bdc = ep->bdc; in bdc_req_complete() local
561 struct bdc *bdc; in bdc_ep_disable() local
[all …]
Dbdc_udc.c60 static void srr_dqp_index_advc(struct bdc *bdc, u32 srr_num) in srr_dqp_index_advc()
73 static void bdc_uspc_connected(struct bdc *bdc) in bdc_uspc_connected()
129 static void bdc_uspc_disconnected(struct bdc *bdc, bool reinit) in bdc_uspc_disconnected()
160 struct bdc *bdc = container_of(work, struct bdc, func_wake_notify.work); in bdc_func_wake_timer() local
180 static void handle_link_state_change(struct bdc *bdc, u32 uspc) in handle_link_state_change()
231 void bdc_sr_uspc(struct bdc *bdc, struct bdc_sr *sreport) in bdc_sr_uspc()
293 struct bdc *bdc = _bdc; in bdc_udc_interrupt() local
366 struct bdc *bdc = gadget_to_bdc(gadget); in bdc_udc_start() local
399 struct bdc *bdc = gadget_to_bdc(gadget); in bdc_udc_stop() local
414 struct bdc *bdc = gadget_to_bdc(gadget); in bdc_udc_pullup() local
[all …]
Dbdc_cmd.c17 static int bdc_issue_cmd(struct bdc *bdc, u32 cmd_sc, u32 param0, in bdc_issue_cmd()
51 static int bdc_submit_cmd(struct bdc *bdc, u32 cmd_sc, in bdc_submit_cmd()
108 int bdc_dconfig_ep(struct bdc *bdc, struct bdc_ep *ep) in bdc_dconfig_ep()
122 struct bdc *bdc = ep->bdc; in ep_bd_list_reinit() local
134 int bdc_config_ep(struct bdc *bdc, struct bdc_ep *ep) in bdc_config_ep()
222 int bdc_ep_bla(struct bdc *bdc, struct bdc_ep *ep, dma_addr_t dma_addr) in bdc_ep_bla()
241 int bdc_address_device(struct bdc *bdc, u32 add) in bdc_address_device()
254 int bdc_function_wake_fh(struct bdc *bdc, u8 intf) in bdc_function_wake_fh()
272 int bdc_function_wake(struct bdc *bdc, u8 intf) in bdc_function_wake()
285 int bdc_ep_set_stall(struct bdc *bdc, int epnum) in bdc_ep_set_stall()
[all …]
Dbdc.h353 struct bdc *bdc; member
404 struct bdc { struct
417 * Array of ep's, it uses the same index covention as bdc hw i.e. argument
420 struct bdc_ep **bdc_ep_array; argument
422 struct bdc_scratchpad scratchpad; argument
428 struct bdc_req ep0_req; argument
429 struct bdc_req status_req; argument
430 enum bdc_ep0_state ep0_state; argument
444 void (*sr_handler[2])(struct bdc *, struct bdc_sr *); argument
446 void (*sr_xsf_ep0[3])(struct bdc *, struct bdc_sr *); argument
[all …]
Dbdc_dbg.h20 static inline void bdc_dbg_regs(struct bdc *bdc) in bdc_dbg_regs()
23 static inline void bdc_dbg_srr(struct bdc *bdc, u32 srr_num) in bdc_dbg_srr()
26 static inline void bdc_dbg_bd_list(struct bdc *bdc, struct bdc_ep *ep) in bdc_dbg_bd_list()
29 static inline void bdc_dump_epsts(struct bdc *bdc) in bdc_dump_epsts()
Dbdc_dbg.c13 void bdc_dbg_regs(struct bdc *bdc) in bdc_dbg_regs()
34 void bdc_dump_epsts(struct bdc *bdc) in bdc_dump_epsts()
63 void bdc_dbg_srr(struct bdc *bdc, u32 srr_num) in bdc_dbg_srr()
85 void bdc_dbg_bd_list(struct bdc *bdc, struct bdc_ep *ep) in bdc_dbg_bd_list()