Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/usb/gadget/udc/aspeed-vhub/
Ddev.c74 for (i = 0; i < d->max_epns; i++) { in ast_vhub_dev_enable()
145 if (ep_num >= d->max_epns || !d->epns[ep_num - 1]) in ast_vhub_ep_feature()
189 if (ep_num >= d->max_epns) in ast_vhub_ep_status()
307 for (i = 0; i < d->max_epns; i++) { in ast_vhub_dev_nuke()
424 for (i = 0; i < d->max_epns; i++) in ast_vhub_udc_match_ep()
427 if (i >= d->max_epns) in ast_vhub_udc_match_ep()
559 d->max_epns = min_t(u32, vhub->max_epns, 30); in ast_vhub_init_dev()
560 d->epns = kcalloc(d->max_epns, sizeof(*d->epns), GFP_KERNEL); in ast_vhub_init_dev()
Dcore.c122 for (i = 0; ep_acks && i < vhub->max_epns; i++) { in ast_vhub_irq()
219 epn_mask = GENMASK(vhub->max_epns - 1, 0); in ast_vhub_init_hw()
317 &vhub->max_epns); in ast_vhub_probe()
319 vhub->max_epns = AST_VHUB_NUM_GEN_EPs; in ast_vhub_probe()
321 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.c810 for (i = 0; i < vhub->max_epns; i++) in ast_vhub_alloc_epn()
813 if (i >= vhub->max_epns) { in ast_vhub_alloc_epn()