Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/usb/gadget/udc/aspeed-vhub/
Ddev.c81 struct ast_vhub_ep *ep = d->epns[i]; in ast_vhub_dev_enable()
140 if (ep_num >= d->max_epns || !d->epns[ep_num - 1]) in ast_vhub_ep_feature()
145 ep = d->epns[ep_num - 1]; in ast_vhub_ep_feature()
187 ep = d->epns[ep_num - 1]; in ast_vhub_ep_status()
303 if (!d->epns[i]) in ast_vhub_dev_nuke()
305 ast_vhub_nuke(d->epns[i], -ESHUTDOWN); in ast_vhub_dev_nuke()
420 if (d->epns[i] == NULL) in ast_vhub_udc_match_ep()
529 kfree(d->epns); in ast_vhub_del_dev()
555 d->epns = kcalloc(d->max_epns, sizeof(*d->epns), GFP_KERNEL); in ast_vhub_init_dev()
556 if (!d->epns) in ast_vhub_init_dev()
[all …]
Dcore.c131 ast_vhub_epn_ack_irq(&vhub->epns[i]); in ast_vhub_irq()
329 vhub->epns = devm_kcalloc(&pdev->dev, vhub->max_epns, in ast_vhub_probe()
330 sizeof(*vhub->epns), GFP_KERNEL); in ast_vhub_probe()
331 if (!vhub->epns) in ast_vhub_probe()
Dvhub.h361 struct ast_vhub_ep **epns; member
408 struct ast_vhub_ep *epns; member
Depn.c769 ep->dev->epns[ep->d_idx - 1] = NULL; in ast_vhub_epn_dispose()
807 if (vhub->epns[i].dev == NULL) in ast_vhub_alloc_epn()
815 ep = &vhub->epns[i]; in ast_vhub_alloc_epn()
825 d->epns[addr-1] = ep; in ast_vhub_alloc_epn()