Home
last modified time | relevance | path

Searched refs:epns (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/usb/gadget/udc/aspeed-vhub/
A Ddev.c76 struct ast_vhub_ep *ep = d->epns[i]; in ast_vhub_dev_enable()
135 if (ep_num >= d->max_epns || !d->epns[ep_num - 1]) in ast_vhub_ep_feature()
140 ep = d->epns[ep_num - 1]; in ast_vhub_ep_feature()
182 ep = d->epns[ep_num - 1]; in ast_vhub_ep_status()
298 if (!d->epns[i]) in ast_vhub_dev_nuke()
300 ast_vhub_nuke(d->epns[i], -ESHUTDOWN); in ast_vhub_dev_nuke()
415 if (d->epns[i] == NULL) in ast_vhub_udc_match_ep()
524 kfree(d->epns); in ast_vhub_del_dev()
550 d->epns = kcalloc(d->max_epns, sizeof(*d->epns), GFP_KERNEL); in ast_vhub_init_dev()
551 if (!d->epns) in ast_vhub_init_dev()
[all …]
A Dcore.c126 ast_vhub_epn_ack_irq(&vhub->epns[i]); in ast_vhub_irq()
324 vhub->epns = devm_kcalloc(&pdev->dev, vhub->max_epns, in ast_vhub_probe()
325 sizeof(*vhub->epns), GFP_KERNEL); in ast_vhub_probe()
326 if (!vhub->epns) in ast_vhub_probe()
A Dvhub.h361 struct ast_vhub_ep **epns; member
408 struct ast_vhub_ep *epns; member
A Depn.c764 ep->dev->epns[ep->d_idx - 1] = NULL; in ast_vhub_epn_dispose()
802 if (vhub->epns[i].dev == NULL) in ast_vhub_alloc_epn()
810 ep = &vhub->epns[i]; in ast_vhub_alloc_epn()
820 d->epns[addr-1] = ep; in ast_vhub_alloc_epn()

Completed in 10 milliseconds