Searched refs:epns (Results 1 - 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/aspeed-vhub/ |
H A D | dev.c | 81 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_KERNE in ast_vhub_init_dev() [all...] |
H A D | core.c | 131 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()
|
H A D | vhub.h | 361 struct ast_vhub_ep **epns; member 408 struct ast_vhub_ep *epns; member
|
H A D | epn.c | 769 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()
|
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/aspeed-vhub/ |
H A D | dev.c | 75 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_KERNE in ast_vhub_init_dev() [all...] |
H A D | core.c | 125 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 D | vhub.h | 361 struct ast_vhub_ep **epns; member 408 struct ast_vhub_ep *epns; member
|
H A D | epn.c | 773 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()
|
Completed in 8 milliseconds