| /linux/drivers/usb/gadget/udc/aspeed-vhub/ |
| A D | core.c | 34 struct ast_vhub *vhub = ep->vhub; in ast_vhub_done() local 234 writel(vhub->ep0.buf_dma, vhub->regs + AST_VHUB_EP0_DATA); in ast_vhub_init_hw() 263 if (!vhub || !vhub->regs) in ast_vhub_remove() 281 if (vhub->clk) in ast_vhub_remove() 305 vhub = devm_kzalloc(&pdev->dev, sizeof(*vhub), GFP_KERNEL); in ast_vhub_probe() 306 if (!vhub) in ast_vhub_probe() 314 vhub->ports = devm_kcalloc(&pdev->dev, vhub->max_ports, in ast_vhub_probe() 324 vhub->epns = devm_kcalloc(&pdev->dev, vhub->max_epns, in ast_vhub_probe() 340 UDCDBG(vhub, "vHub@%pR mapped @%p\n", res, vhub->regs); in ast_vhub_probe() 391 vhub->ep0_bufs, (u32)vhub->ep0_bufs_dma); in ast_vhub_probe() [all …]
|
| A D | hub.c | 254 struct ast_vhub *vhub = ep->vhub; in ast_vhub_rep_desc() local 351 struct ast_vhub *vhub = ep->vhub; in ast_vhub_rep_string() local 375 struct ast_vhub *vhub = ep->vhub; in ast_vhub_std_hub_request() local 526 if (vhub->wakeup_en) in ast_vhub_device_connect() 592 speed = vhub->speed; in ast_vhub_port_reset() 624 struct ast_vhub *vhub = ep->vhub; in ast_vhub_set_port_feature() local 667 struct ast_vhub *vhub = ep->vhub; in ast_vhub_clr_port_feature() local 713 struct ast_vhub *vhub = ep->vhub; in ast_vhub_get_port_stat() local 788 if (vhub->suspended) in ast_vhub_hub_suspend() 811 if (!vhub->suspended) in ast_vhub_hub_resume() [all …]
|
| A D | dev.c | 229 d->gadget.speed = ep->vhub->speed; in ast_vhub_std_dev_request() 279 ast_vhub_hub_wake_all(d->vhub); in ast_vhub_udc_wakeup() 468 spin_unlock(&d->vhub->lock); in ast_vhub_dev_suspend() 470 spin_lock(&d->vhub->lock); in ast_vhub_dev_suspend() 477 spin_unlock(&d->vhub->lock); in ast_vhub_dev_resume() 479 spin_lock(&d->vhub->lock); in ast_vhub_dev_resume() 497 spin_unlock(&d->vhub->lock); in ast_vhub_dev_reset() 499 spin_lock(&d->vhub->lock); in ast_vhub_dev_reset() 538 d->vhub = vhub; in ast_vhub_init_dev() 543 ast_vhub_init_ep0(vhub, &d->ep0, d); in ast_vhub_init_dev() [all …]
|
| A D | epn.c | 333 struct ast_vhub *vhub = ep->vhub; in ast_vhub_epn_queue() local 377 dev_warn(&vhub->pdev->dev, in ast_vhub_epn_queue() 468 struct ast_vhub *vhub = ep->vhub; in ast_vhub_epn_dequeue() local 516 struct ast_vhub *vhub = ep->vhub; in ast_vhub_set_halt_and_wedge() local 557 struct ast_vhub *vhub = ep->vhub; in ast_vhub_epn_disable() local 596 struct ast_vhub *vhub; in ast_vhub_epn_enable() local 624 vhub = ep->vhub; in ast_vhub_epn_enable() 794 struct ast_vhub *vhub = d->vhub; in ast_vhub_alloc_epn() local 804 if (i >= vhub->max_epns) { in ast_vhub_alloc_epn() 810 ep = &vhub->epns[i]; in ast_vhub_alloc_epn() [all …]
|
| A D | ep0.c | 54 spin_unlock(&ep->vhub->lock); in ast_vhub_reply() 59 spin_lock(&ep->vhub->lock); in ast_vhub_reply() 152 spin_unlock(&ep->vhub->lock); in ast_vhub_ep0_handle_setup() 154 spin_lock(&ep->vhub->lock); in ast_vhub_ep0_handle_setup() 270 struct ast_vhub *vhub = ep->vhub; in ast_vhub_ep0_handle_ack() local 358 struct ast_vhub *vhub = ep->vhub; in ast_vhub_ep0_queue() local 435 struct ast_vhub *vhub = ep->vhub; in ast_vhub_ep0_dequeue() local 495 ep->vhub = vhub; in ast_vhub_init_ep0() 503 ep->ep0.setup = vhub->regs + in ast_vhub_init_ep0() 505 ep->buf = vhub->ep0_bufs + in ast_vhub_init_ep0() [all …]
|
| A D | vhub.h | 281 struct ast_vhub *vhub; member 342 struct ast_vhub *vhub; member 442 dev_dbg(&(ep)->vhub->pdev->dev, \ 449 dev_dbg(&(d)->vhub->pdev->dev, \ 464 dev_dbg(&(ep)->vhub->pdev->dev, \ 471 dev_dbg(&(d)->vhub->pdev->dev, \ 521 void ast_vhub_init_hw(struct ast_vhub *vhub); 537 int ast_vhub_init_hub(struct ast_vhub *vhub); 544 void ast_vhub_hub_suspend(struct ast_vhub *vhub); 545 void ast_vhub_hub_resume(struct ast_vhub *vhub); [all …]
|
| A D | Makefile | 2 obj-$(CONFIG_USB_ASPEED_VHUB) += aspeed-vhub.o 3 aspeed-vhub-y := core.o ep0.o epn.o dev.o hub.o
|
| /linux/Documentation/devicetree/bindings/usb/ |
| A D | aspeed,usb-vhub.yaml | 26 - aspeed,ast2400-usb-vhub 27 - aspeed,ast2500-usb-vhub 28 - aspeed,ast2600-usb-vhub 39 aspeed,vhub-downstream-ports: 53 vhub-vendor-id: 54 description: vhub Vendor ID 58 vhub-product-id: 63 vhub-device-revision: 68 vhub-strings: 113 vhub: usb-vhub@1e6a0000 { [all …]
|
| /linux/arch/arm/boot/dts/ |
| A D | aspeed-bmc-inventec-transformers.dts | 318 &vhub { 320 aspeed,vhub-downstream-ports = <7>; 321 aspeed,vhub-generic-endpoints = <21>;
|
| A D | aspeed-bmc-facebook-galaxy100.dts | 51 &vhub {
|
| A D | aspeed-bmc-facebook-wedge100.dts | 61 &vhub {
|
| A D | ast2500-facebook-netbmc-common.dtsi | 69 &vhub {
|
| A D | ast2400-facebook-netbmc-common.dtsi | 115 &vhub {
|
| A D | aspeed-g6.dtsi | 289 vhub: usb-vhub@1e6a0000 { label 290 compatible = "aspeed,ast2600-usb-vhub"; 294 aspeed,vhub-downstream-ports = <7>; 295 aspeed,vhub-generic-endpoints = <21>;
|
| A D | aspeed-ast2500-evb.dts | 116 &vhub {
|
| A D | ast2600-facebook-netbmc-common.dtsi | 151 &vhub {
|
| A D | aspeed-g4.dtsi | 162 vhub: usb-vhub@1e6a0000 { label 163 compatible = "aspeed,ast2400-usb-vhub"; 167 aspeed,vhub-downstream-ports = <5>; 168 aspeed,vhub-generic-endpoints = <15>;
|
| A D | aspeed-g5.dtsi | 194 vhub: usb-vhub@1e6a0000 { label 195 compatible = "aspeed,ast2500-usb-vhub"; 199 aspeed,vhub-downstream-ports = <5>; 200 aspeed,vhub-generic-endpoints = <15>;
|
| A D | aspeed-bmc-asrock-e3c246d4i.dts | 113 &vhub {
|
| A D | aspeed-bmc-amd-ethanolx.dts | 322 &vhub {
|
| A D | aspeed-bmc-opp-nicole.dts | 295 &vhub {
|
| A D | aspeed-bmc-opp-romulus.dts | 341 &vhub {
|
| A D | aspeed-bmc-inspur-nf5280m6.dts | 680 &vhub {
|
| A D | aspeed-bmc-opp-witherspoon.dts | 690 &vhub {
|
| /linux/drivers/usb/gadget/udc/ |
| A D | Makefile | 42 obj-$(CONFIG_USB_ASPEED_VHUB) += aspeed-vhub/
|