Searched defs:bdc (Results 1 – 8 of 8) sorted by relevance
/linux-4.1.27/drivers/usb/gadget/udc/bdc/ |
D | bdc_core.c | 35 static int poll_oip(struct bdc *bdc, int usec) in poll_oip() 56 int bdc_stop(struct bdc *bdc) in bdc_stop() 80 int bdc_reset(struct bdc *bdc) in bdc_reset() 103 int bdc_run(struct bdc *bdc) in bdc_run() 138 void bdc_softconn(struct bdc *bdc) in bdc_softconn() 151 void bdc_softdisconn(struct bdc *bdc) in bdc_softdisconn() 163 static int scratchpad_setup(struct bdc *bdc) in scratchpad_setup() 201 static int setup_srr(struct bdc *bdc, int interrupter) in setup_srr() 220 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 …]
|
D | bdc_ep.c | 60 struct bdc *bdc = ep->bdc; in ep_bd_list_free() local 130 struct bdc *bdc = ep->bdc; in ep_bd_list_alloc() local 223 struct bdc *bdc = ep->bdc; in bd_add_to_bdi() local 296 struct bdc *bdc = ep->bdc; in bd_available_ep() local 345 void bdc_notify_xfr(struct bdc *bdc, u32 epnum) in bdc_notify_xfr() 388 static int setup_first_bd_ep0(struct bdc *bdc, struct bdc_req *req, u32 *dword3) in setup_first_bd_ep0() 429 static int setup_bd_list_xfr(struct bdc *bdc, struct bdc_req *req, int num_bds) in setup_bd_list_xfr() 513 static int bdc_queue_xfr(struct bdc *bdc, struct bdc_req *req) in bdc_queue_xfr() 545 struct bdc *bdc = ep->bdc; in bdc_req_complete() local 565 struct bdc *bdc; in bdc_ep_disable() local [all …]
|
D | bdc_udc.c | 65 static void srr_dqp_index_advc(struct bdc *bdc, u32 srr_num) in srr_dqp_index_advc() 78 static void bdc_uspc_connected(struct bdc *bdc) in bdc_uspc_connected() 134 static void bdc_uspc_disconnected(struct bdc *bdc, bool reinit) in bdc_uspc_disconnected() 164 struct bdc *bdc = container_of(work, struct bdc, func_wake_notify.work); in bdc_func_wake_timer() local 184 static void handle_link_state_change(struct bdc *bdc, u32 uspc) in handle_link_state_change() 235 void bdc_sr_uspc(struct bdc *bdc, struct bdc_sr *sreport) in bdc_sr_uspc() 296 struct bdc *bdc = _bdc; in bdc_udc_interrupt() local 369 struct bdc *bdc = gadget_to_bdc(gadget); in bdc_udc_start() local 402 struct bdc *bdc = gadget_to_bdc(gadget); in bdc_udc_stop() local 417 struct bdc *bdc = gadget_to_bdc(gadget); in bdc_udc_pullup() local [all …]
|
D | bdc_cmd.c | 22 static int bdc_issue_cmd(struct bdc *bdc, u32 cmd_sc, u32 param0, in bdc_issue_cmd() 56 static int bdc_submit_cmd(struct bdc *bdc, u32 cmd_sc, in bdc_submit_cmd() 116 int bdc_dconfig_ep(struct bdc *bdc, struct bdc_ep *ep) in bdc_dconfig_ep() 130 struct bdc *bdc = ep->bdc; in ep_bd_list_reinit() local 142 int bdc_config_ep(struct bdc *bdc, struct bdc_ep *ep) in bdc_config_ep() 231 int bdc_ep_bla(struct bdc *bdc, struct bdc_ep *ep, dma_addr_t dma_addr) in bdc_ep_bla() 250 int bdc_address_device(struct bdc *bdc, u32 add) in bdc_address_device() 263 int bdc_function_wake_fh(struct bdc *bdc, u8 intf) in bdc_function_wake_fh() 281 int bdc_function_wake(struct bdc *bdc, u8 intf) in bdc_function_wake() 294 int bdc_ep_set_stall(struct bdc *bdc, int epnum) in bdc_ep_set_stall() [all …]
|
D | bdc_dbg.h | 25 static inline void bdc_dbg_regs(struct bdc *bdc) in bdc_dbg_regs() 28 static inline void bdc_dbg_srr(struct bdc *bdc, u32 srr_num) in bdc_dbg_srr() 31 static inline void bdc_dbg_bd_list(struct bdc *bdc, struct bdc_ep *ep) in bdc_dbg_bd_list() 34 static inline void bdc_dump_epsts(struct bdc *bdc) in bdc_dump_epsts()
|
D | bdc.h | 358 struct bdc *bdc; member 409 struct bdc { struct 419 * Array of ep's, it uses the same index covention as bdc hw i.e. argument 422 struct bdc_ep **bdc_ep_array; argument 424 struct bdc_scratchpad scratchpad; argument 430 struct bdc_req ep0_req; argument 431 struct bdc_req status_req; argument 432 enum bdc_ep0_state ep0_state; argument 446 void (*sr_handler[2])(struct bdc *, struct bdc_sr *); argument 448 void (*sr_xsf_ep0[3])(struct bdc *, struct bdc_sr *); argument [all …]
|
D | bdc_dbg.c | 18 void bdc_dbg_regs(struct bdc *bdc) in bdc_dbg_regs() 39 void bdc_dump_epsts(struct bdc *bdc) in bdc_dump_epsts() 68 void bdc_dbg_srr(struct bdc *bdc, u32 srr_num) in bdc_dbg_srr() 90 void bdc_dbg_bd_list(struct bdc *bdc, struct bdc_ep *ep) in bdc_dbg_bd_list()
|
D | bdc_pci.c | 30 struct platform_device *bdc; member 49 struct platform_device *bdc; in bdc_pci_probe() local
|