Home
last modified time | relevance | path

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

/linux/drivers/usb/gadget/udc/aspeed-vhub/
H A Ddev.c75 struct ast_vhub_ep *ep = d->epns[i]; in ast_vhub_dev_enable()
145 if (ep_num >= d->max_epns || !d->epns[ep_num - 1]) in ast_vhub_ep_feature()
150 ep = d->epns[ep_num - 1]; in ast_vhub_ep_feature()
192 ep = d->epns[ep_num - 1]; in ast_vhub_ep_status()
308 if (!d->epns[i]) in ast_vhub_dev_nuke()
310 ast_vhub_nuke(d->epns[i], -ESHUTDOWN); in ast_vhub_dev_nuke()
425 if (d->epns[i] == NULL) in ast_vhub_udc_match_ep()
534 kfree(d->epns); in ast_vhub_del_dev()
560 d->epns = kcalloc(d->max_epns, sizeof(*d->epns), GFP_KERNEL); in ast_vhub_init_dev()
561 if (!d->epns) in ast_vhub_init_dev()
[all …]
H A Dcore.c125 ast_vhub_epn_ack_irq(&vhub->epns[i]); in ast_vhub_irq()
321 vhub->epns = devm_kcalloc(&pdev->dev, vhub->max_epns, in ast_vhub_probe()
322 sizeof(*vhub->epns), GFP_KERNEL); in ast_vhub_probe()
323 if (!vhub->epns) in ast_vhub_probe()
H A Dvhub.h361 struct ast_vhub_ep **epns; member
408 struct ast_vhub_ep *epns; member
H A Depn.c773 ep->dev->epns[ep->d_idx - 1] = NULL; in ast_vhub_epn_dispose()
811 if (vhub->epns[i].dev == NULL) in ast_vhub_alloc_epn()
819 ep = &vhub->epns[i]; in ast_vhub_alloc_epn()
829 d->epns[addr-1] = ep; in ast_vhub_alloc_epn()