Home
last modified time | relevance | path

Searched refs:bdc (Results 1 – 16 of 16) sorted by relevance

/linux/drivers/usb/gadget/udc/bdc/
A Dbdc_core.c33 static int poll_oip(struct bdc *bdc, u32 usec) in poll_oip() argument
49 int bdc_stop(struct bdc *bdc) in bdc_stop() argument
73 int bdc_reset(struct bdc *bdc) in bdc_reset() argument
96 int bdc_run(struct bdc *bdc) in bdc_run() argument
131 void bdc_softconn(struct bdc *bdc) in bdc_softconn() argument
144 void bdc_softdisconn(struct bdc *bdc) in bdc_softdisconn() argument
342 int bdc_reinit(struct bdc *bdc) in bdc_reinit() argument
418 static void bdc_hw_exit(struct bdc *bdc) in bdc_hw_exit() argument
425 static int bdc_hw_init(struct bdc *bdc) in bdc_hw_init() argument
486 struct bdc *bdc; in bdc_probe() local
[all …]
A Dbdc_udc.c73 static void bdc_uspc_connected(struct bdc *bdc) in bdc_uspc_connected() argument
160 struct bdc *bdc = container_of(work, struct bdc, func_wake_notify.work); in bdc_func_wake_timer() local
293 struct bdc *bdc = _bdc; in bdc_udc_interrupt() local
331 bdc->sr_handler[0](bdc, sreport); in bdc_udc_interrupt()
335 bdc->sr_handler[1](bdc, sreport); in bdc_udc_interrupt()
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
518 int bdc_udc_init(struct bdc *bdc) in bdc_udc_init() argument
527 bdc->gadget.dev.parent = bdc->dev; in bdc_udc_init()
[all …]
A 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
541 struct bdc *bdc = ep->bdc; in bdc_req_complete() local
565 bdc = ep->bdc; in bdc_ep_disable()
607 bdc = ep->bdc; in bdc_ep_enable()
661 bdc = ep->bdc; in ep0_queue()
717 bdc = ep->bdc; in ep_queue()
747 bdc = ep->bdc; in ep_dequeue()
[all …]
A Dbdc_dbg.c13 void bdc_dbg_regs(struct bdc *bdc) in bdc_dbg_regs() argument
17 dev_vdbg(bdc->dev, "bdc->regs:%p\n", bdc->regs); in bdc_dbg_regs()
34 void bdc_dump_epsts(struct bdc *bdc) in bdc_dump_epsts() argument
63 void bdc_dbg_srr(struct bdc *bdc, u32 srr_num) in bdc_dbg_srr() argument
69 sr = bdc->srr.sr_bds; in bdc_dbg_srr()
70 addr = bdc->srr.dma_addr; in bdc_dbg_srr()
74 sr = &bdc->srr.sr_bds[i]; in bdc_dbg_srr()
85 void bdc_dbg_bd_list(struct bdc *bdc, struct bdc_ep *ep) in bdc_dbg_bd_list() argument
94 dev_vdbg(bdc->dev, in bdc_dbg_bd_list()
98 dev_vdbg(bdc->dev, in bdc_dbg_bd_list()
[all …]
A Dbdc_cmd.c17 static int bdc_issue_cmd(struct bdc *bdc, u32 cmd_sc, u32 param0, in bdc_issue_cmd() argument
51 static int bdc_submit_cmd(struct bdc *bdc, u32 cmd_sc, in bdc_submit_cmd() argument
108 int bdc_dconfig_ep(struct bdc *bdc, struct bdc_ep *ep) in bdc_dconfig_ep() argument
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() argument
241 int bdc_address_device(struct bdc *bdc, u32 add) in bdc_address_device() argument
254 int bdc_function_wake_fh(struct bdc *bdc, u8 intf) in bdc_function_wake_fh() argument
272 int bdc_function_wake(struct bdc *bdc, u8 intf) in bdc_function_wake() argument
285 int bdc_ep_set_stall(struct bdc *bdc, int epnum) in bdc_ep_set_stall() argument
297 int bdc_ep_clear_stall(struct bdc *bdc, int epnum) in bdc_ep_clear_stall() argument
[all …]
A Dbdc_cmd.h13 int bdc_address_device(struct bdc *bdc, u32 add);
14 int bdc_config_ep(struct bdc *bdc, struct bdc_ep *ep);
15 int bdc_dconfig_ep(struct bdc *bdc, struct bdc_ep *ep);
16 int bdc_stop_ep(struct bdc *bdc, int epnum);
17 int bdc_ep_set_stall(struct bdc *bdc, int epnum);
18 int bdc_ep_clear_stall(struct bdc *bdc, int epnum);
19 int bdc_ep_bla(struct bdc *bdc, struct bdc_ep *ep, dma_addr_t dma_addr);
20 int bdc_function_wake(struct bdc *bdc, u8 intf);
21 int bdc_function_wake_fh(struct bdc *bdc, u8 intf);
A Dbdc_dbg.h15 void bdc_dbg_bd_list(struct bdc *bdc, struct bdc_ep *ep);
16 void bdc_dbg_srr(struct bdc *bdc, u32 srr_num);
17 void bdc_dbg_regs(struct bdc *bdc);
18 void bdc_dump_epsts(struct bdc *bdc);
20 static inline void bdc_dbg_regs(struct bdc *bdc) in bdc_dbg_regs() argument
23 static inline void bdc_dbg_srr(struct bdc *bdc, u32 srr_num) in bdc_dbg_srr() argument
26 static inline void bdc_dbg_bd_list(struct bdc *bdc, struct bdc_ep *ep) in bdc_dbg_bd_list() argument
29 static inline void bdc_dump_epsts(struct bdc *bdc) in bdc_dump_epsts() argument
A Dbdc.h353 struct bdc *bdc; member
404 struct bdc { struct
469 void bdc_notify_xfr(struct bdc *bdc, u32 epnum); argument
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);
[all …]
A Dbdc_ep.h12 int bdc_init_ep(struct bdc *bdc);
15 void bdc_free_ep(struct bdc *bdc);
A DMakefile2 obj-$(CONFIG_USB_BDC_UDC) += bdc.o
3 bdc-y := bdc_core.o bdc_cmd.o bdc_ep.o bdc_udc.o
6 bdc-y += bdc_dbg.o
A DKconfig13 linked module called "bdc".
/linux/Documentation/devicetree/bindings/usb/
A Dbrcm,bdc.yaml4 $id: http://devicetree.org/schemas/usb/brcm,bdc.yaml#
17 - brcm,bdc-udc-v2
18 - brcm,bdc
45 compatible = "brcm,bdc-udc-v2";
/linux/arch/arm64/boot/dts/broadcom/stingray/
A Dstingray-usb.dtsi35 compatible = "brcm,bdc-v0.16";
69 compatible = "brcm,bdc-v0.16";
/linux/drivers/usb/gadget/udc/
A DMakefile43 obj-$(CONFIG_USB_BDC_UDC) += bdc/
A DKconfig291 source "drivers/usb/gadget/udc/bdc/Kconfig"
/linux/
A DMAINTAINERS4482 F: Documentation/devicetree/bindings/usb/brcm,bdc.yaml
4483 F: drivers/usb/gadget/udc/bdc/

Completed in 51 milliseconds