Home
last modified time | relevance | path

Searched refs:vhub (Results 1 – 25 of 47) sorted by relevance

12

/linux-6.15/drivers/usb/gadget/udc/aspeed-vhub/
H A Dcore.c33 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 Dhub.c277 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 Ddev.c239 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 Depn.c340 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 Dep0.c53 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 Dvhub.h281 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 DMakefile2 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 Daspeed,usb-vhub.yaml26 - 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 Daspeed-bmc-inventec-transformers.dts318 &vhub {
320 aspeed,vhub-downstream-ports = <7>;
321 aspeed,vhub-generic-endpoints = <21>;
H A Daspeed-bmc-inventec-starscream.dts379 &vhub {
381 aspeed,vhub-downstream-ports = <7>;
382 aspeed,vhub-generic-endpoints = <21>;
H A Daspeed-bmc-facebook-galaxy100.dts51 &vhub {
H A Daspeed-bmc-facebook-wedge100.dts61 &vhub {
H A Dast2500-facebook-netbmc-common.dtsi73 &vhub {
H A Dast2400-facebook-netbmc-common.dtsi115 &vhub {
H A Daspeed-ast2500-evb.dts116 &vhub {
H A Dast2600-facebook-netbmc-common.dtsi151 &vhub {
H A Daspeed-bmc-qcom-dc-scm-v1.dts188 &vhub {
H A Daspeed-g6.dtsi299 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 Daspeed-g4.dtsi170 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 Daspeed-g5.dtsi198 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 Daspeed-bmc-asrock-e3c246d4i.dts122 &vhub {
H A Daspeed-bmc-asrock-romed8hm3.dts158 &vhub {
H A Daspeed-bmc-vegman.dtsi143 &vhub {
H A Daspeed-bmc-amd-daytonax.dts317 &vhub {
/linux-6.15/drivers/usb/gadget/udc/
H A DMakefile41 obj-$(CONFIG_USB_ASPEED_VHUB) += aspeed-vhub/

12