Lines Matching defs:bdc
3 * bdc.h - header for the BRCM BDC USB3.0 device controller
25 #define BRCM_BDC_NAME "bdc"
264 #define gadget_to_bdc(g) container_of(g, struct bdc, gadget)
342 /* scratchpad buffer needed by bdc hardware */
353 struct bdc *bdc;
370 /* bdc cmmand parameter structure */
403 /* representation of bdc */
404 struct bdc {
417 * Array of ep's, it uses the same index covention as bdc hw i.e.
444 void (*sr_handler[2])(struct bdc *, struct bdc_sr *);
446 void (*sr_xsf_ep0[3])(struct bdc *, struct bdc_sr *);
450 * Timer to check if host resumed transfer after bdc sent Func wake
469 void bdc_notify_xfr(struct bdc *bdc, u32 epnum);
470 void bdc_softconn(struct bdc *bdc);
471 void bdc_softdisconn(struct bdc *bdc);
472 int bdc_run(struct bdc *bdc);
473 int bdc_stop(struct bdc *bdc);
474 int bdc_reset(struct bdc *bdc);
475 int bdc_udc_init(struct bdc *bdc);
476 void bdc_udc_exit(struct bdc *bdc);
477 int bdc_reinit(struct bdc *bdc);
481 void bdc_sr_uspc(struct bdc *bdc, struct bdc_sr *sreport);
483 void bdc_sr_xsf(struct bdc *bdc, struct bdc_sr *sreport);
485 void bdc_xsf_ep0_setup_recv(struct bdc *bdc, struct bdc_sr *sreport);
486 void bdc_xsf_ep0_data_start(struct bdc *bdc, struct bdc_sr *sreport);
487 void bdc_xsf_ep0_status_start(struct bdc *bdc, struct bdc_sr *sreport);