Lines Matching refs:npins
71 for (i = 0; i < pctl->npins; i++) { in pxa_desc_by_func_group()
277 functions = devm_kcalloc(pctl->dev, pctl->npins * 6, in pxa2xx_build_functions()
282 for (i = 0; i < pctl->npins; i++) in pxa2xx_build_functions()
303 gtmp = devm_kmalloc_array(pctl->dev, pctl->npins, sizeof(*gtmp), in pxa2xx_build_groups()
310 for (j = 0; j < pctl->npins; j++) in pxa2xx_build_groups()
333 const struct pxa_desc_pin *ppins, int npins) in pxa2xx_build_state() argument
339 pctl->npins = npins; in pxa2xx_build_state()
341 pctl->ngroups = npins; in pxa2xx_build_state()
343 pctl->desc.npins = npins; in pxa2xx_build_state()
344 pins = devm_kcalloc(pctl->dev, npins, sizeof(*pins), GFP_KERNEL); in pxa2xx_build_state()
349 for (i = 0; i < npins; i++) in pxa2xx_build_state()
357 for (i = 0; i < npins; i++) { in pxa2xx_build_state()
375 const struct pxa_desc_pin *ppins, int npins, in pxa2xx_pinctrl_init() argument
382 for (i = 0; i < npins; i++) in pxa2xx_pinctrl_init()
412 ret = pxa2xx_build_state(pctl, ppins, npins); in pxa2xx_pinctrl_init()