Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/gadget/udc/aspeed-vhub/
H A Dhub.c335 int rc, hdr_len, nlangs, max_langs; in ast_vhub_collect_languages() local
342 max_langs = (size - hdr_len) / sizeof(sdesc->wData[0]); in ast_vhub_collect_languages()
344 if (nlangs >= max_langs) in ast_vhub_collect_languages()