Lines Matching refs:df
69 struct pxa_desc_function *df; in pxa_desc_by_func_group() local
75 for (df = pin->functions; df->name; df++) in pxa_desc_by_func_group()
76 if (!strcmp(df->name, func_name)) in pxa_desc_by_func_group()
77 return df; in pxa_desc_by_func_group()
143 struct pxa_desc_function *df; in pxa2xx_pmx_set_mux() local
150 df = pxa_desc_by_func_group(pctl, group->name, in pxa2xx_pmx_set_mux()
152 if (!df) in pxa2xx_pmx_set_mux()
160 pin, df->muxval >> 1, df->muxval & 0x1); in pxa2xx_pmx_set_mux()
165 val = (val & ~(0x3 << shift)) | ((df->muxval >> 1) << shift); in pxa2xx_pmx_set_mux()
169 val = (val & ~BIT(pin % 32)) | ((df->muxval & 1) ? BIT(pin % 32) : 0); in pxa2xx_pmx_set_mux()
269 struct pxa_desc_function *df; in pxa2xx_build_functions() local
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()
300 struct pxa_desc_function *df; in pxa2xx_build_groups() local
311 for (df = pctl->ppins[j].functions; df->name; in pxa2xx_build_groups()
312 df++) in pxa2xx_build_groups()
314 df->name)) in pxa2xx_build_groups()