/openbmc/linux/drivers/usb/gadget/udc/bdc/ |
H A D | bdc_core.c | 33 static int poll_oip(struct bdc *bdc, u32 usec) in poll_oip() argument 38 ret = readl_poll_timeout(bdc->regs + BDC_BDCSC, status, in poll_oip() 41 dev_err(bdc->dev, "operation timedout BDCSC: 0x%08x\n", status); in poll_oip() 43 dev_dbg(bdc->dev, "%s complete status=%d", __func__, BDC_CSTS(status)); in poll_oip() 49 int bdc_stop(struct bdc *bdc) in bdc_stop() argument 54 dev_dbg(bdc->dev, "%s ()\n\n", __func__); in bdc_stop() 55 temp = bdc_readl(bdc->regs, BDC_BDCSC); in bdc_stop() 58 dev_vdbg(bdc->dev, "BDC already halted\n"); in bdc_stop() 63 bdc_writel(bdc->regs, BDC_BDCSC, temp); in bdc_stop() 65 ret = poll_oip(bdc, BDC_COP_TIMEOUT); in bdc_stop() [all …]
|
H A D | bdc_udc.c | 60 static void srr_dqp_index_advc(struct bdc *bdc, u32 srr_num) in srr_dqp_index_advc() argument 64 srr = &bdc->srr; in srr_dqp_index_advc() 65 dev_dbg_ratelimited(bdc->dev, "srr->dqp_index:%d\n", srr->dqp_index); in srr_dqp_index_advc() 73 static void bdc_uspc_connected(struct bdc *bdc) in bdc_uspc_connected() argument 79 temp = bdc_readl(bdc->regs, BDC_USPC); in bdc_uspc_connected() 81 dev_dbg(bdc->dev, "%s speed=%x\n", __func__, speed); in bdc_uspc_connected() 86 bdc->gadget.ep0->maxpacket = EP0_MAX_PKT_SIZE; in bdc_uspc_connected() 87 bdc->gadget.speed = USB_SPEED_SUPER; in bdc_uspc_connected() 89 usppms = bdc_readl(bdc->regs, BDC_USPPMS); in bdc_uspc_connected() 93 bdc_writel(bdc->regs, BDC_USPPMS, usppms); in bdc_uspc_connected() [all …]
|
H A D | bdc_ep.c | 55 struct bdc *bdc = ep->bdc; in ep_bd_list_free() local 59 dev_dbg(bdc->dev, "%s ep:%s num_tabs:%d\n", in ep_bd_list_free() 63 dev_dbg(bdc->dev, "%s already freed\n", ep->name); in ep_bd_list_free() 73 dev_dbg(bdc->dev, "bd_table:%p index:%d\n", bd_table, index); in ep_bd_list_free() 75 dev_dbg(bdc->dev, "bd_table not allocated\n"); in ep_bd_list_free() 79 dev_dbg(bdc->dev, "bd dma pool not allocated\n"); in ep_bd_list_free() 83 dev_dbg(bdc->dev, in ep_bd_list_free() 88 dma_pool_free(bdc->bd_table_pool, in ep_bd_list_free() 125 struct bdc *bdc = ep->bdc; in ep_bd_list_alloc() local 136 dev_dbg(bdc->dev, in ep_bd_list_alloc() [all …]
|
H A D | bdc_dbg.c | 13 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() 18 temp = bdc_readl(bdc->regs, BDC_BDCCFG0); in bdc_dbg_regs() 19 dev_vdbg(bdc->dev, "bdccfg0:0x%08x\n", temp); in bdc_dbg_regs() 20 temp = bdc_readl(bdc->regs, BDC_BDCCFG1); in bdc_dbg_regs() 21 dev_vdbg(bdc->dev, "bdccfg1:0x%08x\n", temp); in bdc_dbg_regs() 22 temp = bdc_readl(bdc->regs, BDC_BDCCAP0); in bdc_dbg_regs() 23 dev_vdbg(bdc->dev, "bdccap0:0x%08x\n", temp); in bdc_dbg_regs() 24 temp = bdc_readl(bdc->regs, BDC_BDCCAP1); in bdc_dbg_regs() 25 dev_vdbg(bdc->dev, "bdccap1:0x%08x\n", temp); in bdc_dbg_regs() [all …]
|
H A D | bdc_cmd.c | 17 static int bdc_issue_cmd(struct bdc *bdc, u32 cmd_sc, u32 param0, in bdc_issue_cmd() argument 24 bdc_writel(bdc->regs, BDC_CMDPAR0, param0); in bdc_issue_cmd() 25 bdc_writel(bdc->regs, BDC_CMDPAR1, param1); in bdc_issue_cmd() 26 bdc_writel(bdc->regs, BDC_CMDPAR2, param2); in bdc_issue_cmd() 31 bdc_writel(bdc->regs, BDC_CMDSC, cmd_sc | BDC_CMD_CWS | BDC_CMD_SRD); in bdc_issue_cmd() 33 temp = bdc_readl(bdc->regs, BDC_CMDSC); in bdc_issue_cmd() 34 dev_dbg_ratelimited(bdc->dev, "cmdsc=%x", temp); in bdc_issue_cmd() 37 dev_dbg(bdc->dev, in bdc_issue_cmd() 44 dev_err(bdc->dev, in bdc_issue_cmd() 51 static int bdc_submit_cmd(struct bdc *bdc, u32 cmd_sc, in bdc_submit_cmd() argument [all …]
|
H A D | bdc_cmd.h | 13 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);
|
H A D | bdc_dbg.h | 15 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
|
H A D | bdc.h | 264 #define gadget_to_bdc(g) container_of(g, struct bdc, gadget) 353 struct bdc *bdc; member 404 struct bdc { struct 444 void (*sr_handler[2])(struct bdc *, struct bdc_sr *); argument 446 void (*sr_xsf_ep0[3])(struct bdc *, struct bdc_sr *); argument 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); [all …]
|
H A D | bdc_ep.h | 12 int bdc_init_ep(struct bdc *bdc); 15 void bdc_free_ep(struct bdc *bdc);
|
H A D | Makefile | 2 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
|
H A D | Kconfig | 13 linked module called "bdc".
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 257.out | 26 {"execute": "job-dismiss", "arguments": {"id": "bdc-file-job"}} 30 {"execute": "job-dismiss", "arguments": {"id": "bdc-fmt-job"}} 73 {"execute": "job-dismiss", "arguments": {"id": "bdc-file-job"}} 77 {"execute": "job-dismiss", "arguments": {"id": "bdc-fmt-job"}} 87 {"execute": "job-dismiss", "arguments": {"id": "bdc-file-job"}} 91 {"execute": "job-dismiss", "arguments": {"id": "bdc-fmt-job"}} 211 {"execute": "job-dismiss", "arguments": {"id": "bdc-file-job"}} 215 {"execute": "job-dismiss", "arguments": {"id": "bdc-fmt-job"}} 225 {"execute": "job-dismiss", "arguments": {"id": "bdc-file-job"}} 229 {"execute": "job-dismiss", "arguments": {"id": "bdc-fmt-job"}} [all …]
|
/openbmc/linux/arch/arm64/boot/dts/broadcom/stingray/ |
H A D | stingray-usb.dtsi | 35 compatible = "brcm,bdc-v0.16"; 69 compatible = "brcm,bdc-v0.16";
|
/openbmc/linux/drivers/usb/gadget/udc/ |
H A D | Makefile | 43 obj-$(CONFIG_USB_BDC_UDC) += bdc/
|
H A D | Kconfig | 291 source "drivers/usb/gadget/udc/bdc/Kconfig"
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/xerces-c/xerces-c/ |
H A D | 0001-aclocal.m4-don-t-use-full-path-of-with_curl-in-xerce.patch | 45 index d1d015c..7928bdc 100644
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/gphoto2/libgphoto2/ |
H A D | 40-libgphoto2.rules | 1546 ATTRS{idVendor}=="1bdc", ATTRS{idProduct}=="fabf", ENV{ID_MEDIA_PLAYER}="1", MODE="l36"
|
/openbmc/linux/ |
H A D | MAINTAINERS | 4044 F: Documentation/devicetree/bindings/usb/brcm,bdc.yaml 4045 F: drivers/usb/gadget/udc/bdc/
|
H A D | opengrok2.0.log | [all...] |
H A D | opengrok1.0.log | [all...] |
H A D | opengrok0.0.log | [all...] |
/openbmc/ |
D | opengrok1.0.log | [all...] |
D | opengrok2.0.log | [all...] |