| /linux-6.15/drivers/usb/gadget/udc/aspeed-vhub/ |
| H A D | core.c | 33 struct ast_vhub *vhub = ep->vhub; in ast_vhub_done() local 233 writel(vhub->ep0.buf_dma, vhub->regs + AST_VHUB_EP0_DATA); in ast_vhub_init_hw() 262 if (!vhub || !vhub->regs) in ast_vhub_remove() 280 if (vhub->clk) in ast_vhub_remove() 302 vhub = devm_kzalloc(&pdev->dev, sizeof(*vhub), GFP_KERNEL); in ast_vhub_probe() 303 if (!vhub) in ast_vhub_probe() 311 vhub->ports = devm_kcalloc(&pdev->dev, vhub->max_ports, in ast_vhub_probe() 321 vhub->epns = devm_kcalloc(&pdev->dev, vhub->max_epns, in ast_vhub_probe() 336 UDCDBG(vhub, "vHub@%pR mapped @%p\n", res, vhub->regs); in ast_vhub_probe() 387 vhub->ep0_bufs, (u32)vhub->ep0_bufs_dma); in ast_vhub_probe() [all …]
|
| H A D | hub.c | 277 struct ast_vhub *vhub = ep->vhub; in ast_vhub_rep_desc() local 380 struct ast_vhub *vhub = ep->vhub; in ast_vhub_rep_string() local 404 struct ast_vhub *vhub = ep->vhub; in ast_vhub_std_hub_request() local 557 if (vhub->wakeup_en) in ast_vhub_device_connect() 623 speed = vhub->speed; in ast_vhub_port_reset() 655 struct ast_vhub *vhub = ep->vhub; in ast_vhub_set_port_feature() local 698 struct ast_vhub *vhub = ep->vhub; in ast_vhub_clr_port_feature() local 744 struct ast_vhub *vhub = ep->vhub; in ast_vhub_get_port_stat() local 819 if (vhub->suspended) in ast_vhub_hub_suspend() 842 if (!vhub->suspended) in ast_vhub_hub_resume() [all …]
|
| H A D | dev.c | 239 d->gadget.speed = ep->vhub->speed; in ast_vhub_std_dev_request() 289 ast_vhub_hub_wake_all(d->vhub); in ast_vhub_udc_wakeup() 478 spin_unlock(&d->vhub->lock); in ast_vhub_dev_suspend() 480 spin_lock(&d->vhub->lock); in ast_vhub_dev_suspend() 487 spin_unlock(&d->vhub->lock); in ast_vhub_dev_resume() 489 spin_lock(&d->vhub->lock); in ast_vhub_dev_resume() 507 spin_unlock(&d->vhub->lock); in ast_vhub_dev_reset() 509 spin_lock(&d->vhub->lock); in ast_vhub_dev_reset() 548 d->vhub = vhub; in ast_vhub_init_dev() 556 ast_vhub_init_ep0(vhub, &d->ep0, d); in ast_vhub_init_dev() [all …]
|
| H A D | epn.c | 340 struct ast_vhub *vhub = ep->vhub; in ast_vhub_epn_queue() local 384 dev_warn(&vhub->pdev->dev, in ast_vhub_epn_queue() 475 struct ast_vhub *vhub = ep->vhub; in ast_vhub_epn_dequeue() local 525 struct ast_vhub *vhub = ep->vhub; in ast_vhub_set_halt_and_wedge() local 566 struct ast_vhub *vhub = ep->vhub; in ast_vhub_epn_disable() local 605 struct ast_vhub *vhub; in ast_vhub_epn_enable() local 633 vhub = ep->vhub; in ast_vhub_epn_enable() 803 struct ast_vhub *vhub = d->vhub; in ast_vhub_alloc_epn() local 813 if (i >= vhub->max_epns) { in ast_vhub_alloc_epn() 819 ep = &vhub->epns[i]; in ast_vhub_alloc_epn() [all …]
|
| H A D | ep0.c | 53 spin_unlock(&ep->vhub->lock); in ast_vhub_reply() 58 spin_lock(&ep->vhub->lock); in ast_vhub_reply() 151 spin_unlock(&ep->vhub->lock); in ast_vhub_ep0_handle_setup() 153 spin_lock(&ep->vhub->lock); in ast_vhub_ep0_handle_setup() 276 struct ast_vhub *vhub = ep->vhub; in ast_vhub_ep0_handle_ack() local 364 struct ast_vhub *vhub = ep->vhub; in ast_vhub_ep0_queue() local 441 struct ast_vhub *vhub = ep->vhub; in ast_vhub_ep0_dequeue() local 501 ep->vhub = vhub; in ast_vhub_init_ep0() 509 ep->ep0.setup = vhub->regs + in ast_vhub_init_ep0() 511 ep->buf = vhub->ep0_bufs + in ast_vhub_init_ep0() [all …]
|
| H A D | vhub.h | 281 struct ast_vhub *vhub; member 342 struct ast_vhub *vhub; member 443 dev_dbg(&(ep)->vhub->pdev->dev, \ 450 dev_dbg(&(d)->vhub->pdev->dev, \ 465 dev_dbg(&(ep)->vhub->pdev->dev, \ 472 dev_dbg(&(d)->vhub->pdev->dev, \ 522 void ast_vhub_init_hw(struct ast_vhub *vhub); 538 int ast_vhub_init_hub(struct ast_vhub *vhub); 545 void ast_vhub_hub_suspend(struct ast_vhub *vhub); 546 void ast_vhub_hub_resume(struct ast_vhub *vhub); [all …]
|
| H 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-6.15/Documentation/devicetree/bindings/usb/ |
| H 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: 115 vhub: usb-vhub@1e6a0000 { [all …]
|
| /linux-6.15/arch/arm/boot/dts/aspeed/ |
| H A D | aspeed-bmc-inventec-transformers.dts | 318 &vhub { 320 aspeed,vhub-downstream-ports = <7>; 321 aspeed,vhub-generic-endpoints = <21>;
|
| H A D | aspeed-bmc-inventec-starscream.dts | 379 &vhub { 381 aspeed,vhub-downstream-ports = <7>; 382 aspeed,vhub-generic-endpoints = <21>;
|
| H A D | aspeed-bmc-facebook-galaxy100.dts | 51 &vhub {
|
| H A D | aspeed-bmc-facebook-wedge100.dts | 61 &vhub {
|
| H A D | ast2500-facebook-netbmc-common.dtsi | 73 &vhub {
|
| H A D | ast2400-facebook-netbmc-common.dtsi | 115 &vhub {
|
| H A D | aspeed-ast2500-evb.dts | 116 &vhub {
|
| H A D | ast2600-facebook-netbmc-common.dtsi | 151 &vhub {
|
| H A D | aspeed-bmc-qcom-dc-scm-v1.dts | 188 &vhub {
|
| H A D | aspeed-g6.dtsi | 299 vhub: usb-vhub@1e6a0000 { label 300 compatible = "aspeed,ast2600-usb-vhub"; 304 aspeed,vhub-downstream-ports = <7>; 305 aspeed,vhub-generic-endpoints = <21>;
|
| H A D | aspeed-g4.dtsi | 170 vhub: usb-vhub@1e6a0000 { label 171 compatible = "aspeed,ast2400-usb-vhub"; 175 aspeed,vhub-downstream-ports = <5>; 176 aspeed,vhub-generic-endpoints = <15>;
|
| H A D | aspeed-g5.dtsi | 198 vhub: usb-vhub@1e6a0000 { label 199 compatible = "aspeed,ast2500-usb-vhub"; 203 aspeed,vhub-downstream-ports = <5>; 204 aspeed,vhub-generic-endpoints = <15>;
|
| H A D | aspeed-bmc-asrock-e3c246d4i.dts | 122 &vhub {
|
| H A D | aspeed-bmc-asrock-romed8hm3.dts | 158 &vhub {
|
| H A D | aspeed-bmc-vegman.dtsi | 143 &vhub {
|
| H A D | aspeed-bmc-amd-daytonax.dts | 317 &vhub {
|
| /linux-6.15/drivers/usb/gadget/udc/ |
| H A D | Makefile | 41 obj-$(CONFIG_USB_ASPEED_VHUB) += aspeed-vhub/
|