Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/usb/gadget/udc/aspeed-vhub/
Ddev.c80 for (i = 0; i < d->max_epns; i++) { in ast_vhub_dev_enable()
140 if (ep_num >= d->max_epns || !d->epns[ep_num - 1]) in ast_vhub_ep_feature()
184 if (ep_num >= d->max_epns) in ast_vhub_ep_status()
302 for (i = 0; i < d->max_epns; i++) { in ast_vhub_dev_nuke()
419 for (i = 0; i < d->max_epns; i++) in ast_vhub_udc_match_ep()
422 if (i >= d->max_epns) in ast_vhub_udc_match_ep()
554 d->max_epns = min_t(u32, vhub->max_epns, 30); in ast_vhub_init_dev()
555 d->epns = kcalloc(d->max_epns, sizeof(*d->epns), GFP_KERNEL); in ast_vhub_init_dev()
Dcore.c128 for (i = 0; ep_acks && i < vhub->max_epns; i++) { in ast_vhub_irq()
225 epn_mask = GENMASK(vhub->max_epns - 1, 0); in ast_vhub_init_hw()
325 &vhub->max_epns); in ast_vhub_probe()
327 vhub->max_epns = AST_VHUB_NUM_GEN_EPs; in ast_vhub_probe()
329 vhub->epns = devm_kcalloc(&pdev->dev, vhub->max_epns, in ast_vhub_probe()
Dvhub.h362 u32 max_epns; member
409 u32 max_epns; member
Depn.c806 for (i = 0; i < vhub->max_epns; i++) in ast_vhub_alloc_epn()
809 if (i >= vhub->max_epns) { in ast_vhub_alloc_epn()