• Home
  • Raw
  • Download

Lines Matching full:functions

75 			for (df = pin->functions; df->name; df++)  in pxa_desc_by_func_group()
112 struct pxa_pinctrl_function *pf = pctl->functions + function; in pxa2xx_pmx_get_func_name()
130 struct pxa_pinctrl_function *pf = pctl->functions + function; in pxa2xx_pmx_get_func_groups()
151 (pctl->functions + function)->name); in pxa2xx_pmx_set_mux()
254 const struct pxa_pinctrl_function *functions) in pxa2xx_find_function() argument
258 for (func = functions; func->name; func++) in pxa2xx_find_function()
268 struct pxa_pinctrl_function *functions; in pxa2xx_build_functions() local
272 * Each pin can have at most 6 alternate functions, and 2 gpio functions in pxa2xx_build_functions()
275 * of functions. in pxa2xx_build_functions()
277 functions = devm_kcalloc(pctl->dev, pctl->npins * 6, in pxa2xx_build_functions()
278 sizeof(*functions), GFP_KERNEL); in pxa2xx_build_functions()
279 if (!functions) in pxa2xx_build_functions()
283 for (df = pctl->ppins[i].functions; df->name; df++) in pxa2xx_build_functions()
284 if (!pxa2xx_find_function(pctl, df->name, functions)) in pxa2xx_build_functions()
285 (functions + pctl->nfuncs++)->name = df->name; in pxa2xx_build_functions()
286 pctl->functions = devm_kmemdup(pctl->dev, functions, in pxa2xx_build_functions()
287 pctl->nfuncs * sizeof(*functions), in pxa2xx_build_functions()
289 if (!pctl->functions) in pxa2xx_build_functions()
292 devm_kfree(pctl->dev, functions); in pxa2xx_build_functions()
311 for (df = pctl->ppins[j].functions; df->name; in pxa2xx_build_groups()
313 if (!strcmp(pctl->functions[i].name, in pxa2xx_build_groups()
317 func = pctl->functions + i; in pxa2xx_build_groups()