Searched defs:bdc (Results 1 - 9 of 9) sorted by relevance

/linux-4.4.14/drivers/usb/gadget/udc/bdc/
H A DMakefile
H A Dbdc_dbg.h25 static inline void bdc_dbg_regs(struct bdc *bdc) bdc_dbg_regs() argument
28 static inline void bdc_dbg_srr(struct bdc *bdc, u32 srr_num) bdc_dbg_srr() argument
31 static inline void bdc_dbg_bd_list(struct bdc *bdc, struct bdc_ep *ep) bdc_dbg_bd_list() argument
34 static inline void bdc_dump_epsts(struct bdc *bdc) bdc_dump_epsts() argument
H A Dbdc_pci.c30 struct platform_device *bdc; member in struct:bdc_pci
49 struct platform_device *bdc; bdc_pci_probe() local
H A Dbdc_dbg.c18 void bdc_dbg_regs(struct bdc *bdc) bdc_dbg_regs() argument
39 void bdc_dump_epsts(struct bdc *bdc) bdc_dump_epsts() argument
68 void bdc_dbg_srr(struct bdc *bdc, u32 srr_num) bdc_dbg_srr() argument
90 void bdc_dbg_bd_list(struct bdc *bdc, struct bdc_ep *ep) bdc_dbg_bd_list() argument
H A Dbdc_cmd.c22 static int bdc_issue_cmd(struct bdc *bdc, u32 cmd_sc, u32 param0, bdc_issue_cmd() argument
56 static int bdc_submit_cmd(struct bdc *bdc, u32 cmd_sc, bdc_submit_cmd() argument
116 int bdc_dconfig_ep(struct bdc *bdc, struct bdc_ep *ep) bdc_dconfig_ep() argument
130 struct bdc *bdc = ep->bdc; ep_bd_list_reinit() local
142 int bdc_config_ep(struct bdc *bdc, struct bdc_ep *ep) bdc_config_ep() argument
231 int bdc_ep_bla(struct bdc *bdc, struct bdc_ep *ep, dma_addr_t dma_addr) bdc_ep_bla() argument
250 int bdc_address_device(struct bdc *bdc, u32 add) bdc_address_device() argument
263 int bdc_function_wake_fh(struct bdc *bdc, u8 intf) bdc_function_wake_fh() argument
281 int bdc_function_wake(struct bdc *bdc, u8 intf) bdc_function_wake() argument
294 int bdc_ep_set_stall(struct bdc *bdc, int epnum) bdc_ep_set_stall() argument
306 int bdc_ep_clear_stall(struct bdc *bdc, int epnum) bdc_ep_clear_stall() argument
344 int bdc_stop_ep(struct bdc *bdc, int epnum) bdc_stop_ep() argument
H A Dbdc_core.c35 static int poll_oip(struct bdc *bdc, int usec) poll_oip() argument
56 int bdc_stop(struct bdc *bdc) bdc_stop() argument
80 int bdc_reset(struct bdc *bdc) bdc_reset() argument
103 int bdc_run(struct bdc *bdc) bdc_run() argument
138 void bdc_softconn(struct bdc *bdc) bdc_softconn() argument
151 void bdc_softdisconn(struct bdc *bdc) bdc_softdisconn() argument
163 static int scratchpad_setup(struct bdc *bdc) scratchpad_setup() argument
201 static int setup_srr(struct bdc *bdc, int interrupter) setup_srr() argument
220 static void bdc_mem_init(struct bdc *bdc, bool reinit) bdc_mem_init() argument
312 static void bdc_mem_free(struct bdc *bdc) bdc_mem_free() argument
342 int bdc_reinit(struct bdc *bdc) bdc_reinit() argument
365 static int bdc_mem_alloc(struct bdc *bdc) bdc_mem_alloc() argument
418 static void bdc_hw_exit(struct bdc *bdc) bdc_hw_exit() argument
425 static int bdc_hw_init(struct bdc *bdc) bdc_hw_init() argument
449 struct bdc *bdc; bdc_probe() local
510 struct bdc *bdc; bdc_remove() local
H A Dbdc_udc.c65 static void srr_dqp_index_advc(struct bdc *bdc, u32 srr_num) srr_dqp_index_advc() argument
78 static void bdc_uspc_connected(struct bdc *bdc) bdc_uspc_connected() argument
134 static void bdc_uspc_disconnected(struct bdc *bdc, bool reinit) bdc_uspc_disconnected() argument
164 struct bdc *bdc = container_of(work, struct bdc, func_wake_notify.work); bdc_func_wake_timer() local
184 static void handle_link_state_change(struct bdc *bdc, u32 uspc) handle_link_state_change() argument
235 void bdc_sr_uspc(struct bdc *bdc, struct bdc_sr *sreport) bdc_sr_uspc() argument
296 struct bdc *bdc = _bdc; bdc_udc_interrupt() local
369 struct bdc *bdc = gadget_to_bdc(gadget); bdc_udc_start() local
402 struct bdc *bdc = gadget_to_bdc(gadget); bdc_udc_stop() local
417 struct bdc *bdc = gadget_to_bdc(gadget); bdc_udc_pullup() local
453 struct bdc *bdc = gadget_to_bdc(gadget); bdc_udc_set_selfpowered() local
471 struct bdc *bdc = gadget_to_bdc(gadget); bdc_udc_wakeup() local
521 int bdc_udc_init(struct bdc *bdc) bdc_udc_init() argument
582 void bdc_udc_exit(struct bdc *bdc) bdc_udc_exit() argument
H A Dbdc_ep.c60 struct bdc *bdc = ep->bdc; ep_bd_list_free() local
130 struct bdc *bdc = ep->bdc; ep_bd_list_alloc() local
225 struct bdc *bdc = ep->bdc; bd_add_to_bdi() local
298 struct bdc *bdc = ep->bdc; bd_available_ep() local
347 void bdc_notify_xfr(struct bdc *bdc, u32 epnum) bdc_notify_xfr() argument
390 static int setup_first_bd_ep0(struct bdc *bdc, struct bdc_req *req, u32 *dword3) setup_first_bd_ep0() argument
431 static int setup_bd_list_xfr(struct bdc *bdc, struct bdc_req *req, int num_bds) setup_bd_list_xfr() argument
515 static int bdc_queue_xfr(struct bdc *bdc, struct bdc_req *req) bdc_queue_xfr() argument
547 struct bdc *bdc = ep->bdc; bdc_req_complete() local
567 struct bdc *bdc; bdc_ep_disable() local
610 struct bdc *bdc; bdc_ep_enable() local
645 static int ep0_queue_status_stage(struct bdc *bdc) ep0_queue_status_stage() argument
665 struct bdc *bdc; ep0_queue() local
703 static int ep0_queue_data_stage(struct bdc *bdc) ep0_queue_data_stage() argument
720 struct bdc *bdc; ep_queue() local
752 struct bdc *bdc; ep_dequeue() local
874 struct bdc *bdc; ep_set_halt() local
907 void bdc_free_ep(struct bdc *bdc) bdc_free_ep() argument
930 static int bdc_set_test_mode(struct bdc *bdc) bdc_set_test_mode() argument
958 static void handle_xsr_succ_status(struct bdc *bdc, struct bdc_ep *ep, handle_xsr_succ_status() argument
1070 void bdc_xsf_ep0_setup_recv(struct bdc *bdc, struct bdc_sr *sreport) bdc_xsf_ep0_setup_recv() argument
1094 static void ep0_stall(struct bdc *bdc) ep0_stall() argument
1112 static int ep0_set_address(struct bdc *bdc, struct usb_ctrlrequest *ctrl) ep0_set_address() argument
1152 static int ep0_handle_feature_dev(struct bdc *bdc, u16 wValue, ep0_handle_feature_dev() argument
1235 static int ep0_handle_feature(struct bdc *bdc, ep0_handle_feature() argument
1310 static int ep0_handle_status(struct bdc *bdc, ep0_handle_status() argument
1391 static int ep0_set_sel(struct bdc *bdc, ep0_set_sel() argument
1419 static int ep0_queue_zlp(struct bdc *bdc) ep0_queue_zlp() argument
1439 static int handle_control_request(struct bdc *bdc) handle_control_request() argument
1518 void bdc_xsf_ep0_data_start(struct bdc *bdc, struct bdc_sr *sreport) bdc_xsf_ep0_data_start() argument
1556 void bdc_xsf_ep0_status_start(struct bdc *bdc, struct bdc_sr *sreport) bdc_xsf_ep0_status_start() argument
1618 static void ep0_xsf_complete(struct bdc *bdc, struct bdc_sr *sreport) ep0_xsf_complete() argument
1652 void bdc_sr_xsf(struct bdc *bdc, struct bdc_sr *sreport) bdc_sr_xsf() argument
1724 struct bdc *bdc; bdc_gadget_ep_queue() local
1770 struct bdc *bdc; bdc_gadget_ep_dequeue() local
1810 struct bdc *bdc; bdc_gadget_ep_set_halt() local
1865 struct bdc *bdc; bdc_gadget_ep_enable() local
1904 struct bdc *bdc; bdc_gadget_ep_disable() local
1945 static int init_ep(struct bdc *bdc, u32 epnum, u32 dir) init_ep() argument
2001 int bdc_init_ep(struct bdc *bdc) bdc_init_ep() argument
H A Dbdc.h358 struct bdc *bdc; member in struct:bdc_ep
409 struct bdc { struct

Completed in 133 milliseconds