Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/usb/gadget/udc/aspeed-vhub/
Ddev.c76 struct ast_vhub_ep *ep = d->epns[i]; in ast_vhub_dev_enable()
146 if (ep_num >= d->max_epns || !d->epns[ep_num - 1]) in ast_vhub_ep_feature()
151 ep = d->epns[ep_num - 1]; in ast_vhub_ep_feature()
193 ep = d->epns[ep_num - 1]; in ast_vhub_ep_status()
309 if (!d->epns[i]) in ast_vhub_dev_nuke()
311 ast_vhub_nuke(d->epns[i], -ESHUTDOWN); in ast_vhub_dev_nuke()
426 if (d->epns[i] == NULL) in ast_vhub_udc_match_ep()
535 kfree(d->epns); in ast_vhub_del_dev()
561 d->epns = kcalloc(d->max_epns, sizeof(*d->epns), GFP_KERNEL); in ast_vhub_init_dev()
562 if (!d->epns) in ast_vhub_init_dev()
[all …]
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()
Dvhub.h361 struct ast_vhub_ep **epns; member
408 struct ast_vhub_ep *epns; member
Depn.c766 ep->dev->epns[ep->d_idx - 1] = NULL; in ast_vhub_epn_dispose()
804 if (vhub->epns[i].dev == NULL) in ast_vhub_alloc_epn()
812 ep = &vhub->epns[i]; in ast_vhub_alloc_epn()
822 d->epns[addr-1] = ep; in ast_vhub_alloc_epn()