Lines Matching defs:func
192 struct lpc18xx_pmx_func func[FUNC_MAX];
1148 *groups = scu->func[function].groups;
1149 *num_groups = scu->func[function].ngroups;
1159 int func;
1204 for (func = 0; func < LPC18XX_SCU_FUNC_PER_PIN; func++) {
1205 if (function == pin->functions[func])
1209 if (func >= LPC18XX_SCU_FUNC_PER_PIN)
1214 writel(reg | func, scu->base + pin->offset);
1304 int func, ngroups, i;
1306 for (func = 0; func < FUNC_MAX; func++) {
1308 if (lpc18xx_valid_pin_function(i, func))
1312 scu->func[func].ngroups = ngroups;
1313 scu->func[func].groups = devm_kcalloc(dev,
1316 if (!scu->func[func].groups)
1320 scu->func[func].groups[i] = lpc18xx_pins[pins[i]].name;
1347 dev_err(&pdev->dev, "Unable to create group func map.\n");