Home
last modified time | relevance | path

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

12

/linux/drivers/usb/gadget/udc/aspeed-vhub/
A Dcore.c34 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 Dhub.c254 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 Ddev.c229 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 Depn.c333 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 Dep0.c54 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 Dvhub.h281 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 DMakefile2 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 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:
113 vhub: usb-vhub@1e6a0000 {
[all …]
/linux/arch/arm/boot/dts/
A Daspeed-bmc-inventec-transformers.dts318 &vhub {
320 aspeed,vhub-downstream-ports = <7>;
321 aspeed,vhub-generic-endpoints = <21>;
A Daspeed-bmc-facebook-galaxy100.dts51 &vhub {
A Daspeed-bmc-facebook-wedge100.dts61 &vhub {
A Dast2500-facebook-netbmc-common.dtsi69 &vhub {
A Dast2400-facebook-netbmc-common.dtsi115 &vhub {
A Daspeed-g6.dtsi289 vhub: usb-vhub@1e6a0000 { label
290 compatible = "aspeed,ast2600-usb-vhub";
294 aspeed,vhub-downstream-ports = <7>;
295 aspeed,vhub-generic-endpoints = <21>;
A Daspeed-ast2500-evb.dts116 &vhub {
A Dast2600-facebook-netbmc-common.dtsi151 &vhub {
A Daspeed-g4.dtsi162 vhub: usb-vhub@1e6a0000 { label
163 compatible = "aspeed,ast2400-usb-vhub";
167 aspeed,vhub-downstream-ports = <5>;
168 aspeed,vhub-generic-endpoints = <15>;
A Daspeed-g5.dtsi194 vhub: usb-vhub@1e6a0000 { label
195 compatible = "aspeed,ast2500-usb-vhub";
199 aspeed,vhub-downstream-ports = <5>;
200 aspeed,vhub-generic-endpoints = <15>;
A Daspeed-bmc-asrock-e3c246d4i.dts113 &vhub {
A Daspeed-bmc-amd-ethanolx.dts322 &vhub {
A Daspeed-bmc-opp-nicole.dts295 &vhub {
A Daspeed-bmc-opp-romulus.dts341 &vhub {
A Daspeed-bmc-inspur-nf5280m6.dts680 &vhub {
A Daspeed-bmc-opp-witherspoon.dts690 &vhub {
/linux/drivers/usb/gadget/udc/
A DMakefile42 obj-$(CONFIG_USB_ASPEED_VHUB) += aspeed-vhub/

Completed in 808 milliseconds

12