Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/pinctrl/
Dpinctrl-single.c98 int nconfs; member
474 for (i = 0; i < func->nconfs; i++) { in pcs_pinconf_get()
501 for (j = 0; j < func->nconfs; j++) { in pcs_pinconf_get()
540 for (i = 0; i < func->nconfs; i++) { in pcs_pinconf_set()
581 if (i >= func->nconfs) in pcs_pinconf_set()
905 int i = 0, nconfs = 0; in pcs_parse_pinconf() local
928 nconfs++; in pcs_parse_pinconf()
932 nconfs++; in pcs_parse_pinconf()
934 if (!nconfs) in pcs_parse_pinconf()
938 nconfs, sizeof(struct pcs_conf_vals), in pcs_parse_pinconf()
[all …]
Dpinctrl-gemini.c58 unsigned int nconfs; member
2369 for (i = 0; i < pmx->nconfs; i++) { in gemini_get_pin_conf()
2563 pmx->nconfs = ARRAY_SIZE(gemini_confs_3512); in gemini_pmx_probe()
2570 pmx->nconfs = ARRAY_SIZE(gemini_confs_3516); in gemini_pmx_probe()
/Linux-v5.10/drivers/extcon/
Dextcon-arizona.c1283 int nconfs, ret; in arizona_extcon_get_micd_configs() local
1287 nconfs = device_property_count_u32(arizona->dev, prop); in arizona_extcon_get_micd_configs()
1288 if (nconfs <= 0) in arizona_extcon_get_micd_configs()
1291 vals = kcalloc(nconfs, sizeof(u32), GFP_KERNEL); in arizona_extcon_get_micd_configs()
1295 ret = device_property_read_u32_array(arizona->dev, prop, vals, nconfs); in arizona_extcon_get_micd_configs()
1299 nconfs /= entries_per_config; in arizona_extcon_get_micd_configs()
1300 micd_configs = devm_kcalloc(dev, nconfs, sizeof(*micd_configs), in arizona_extcon_get_micd_configs()
1307 for (i = 0, j = 0; i < nconfs; ++i) { in arizona_extcon_get_micd_configs()
1314 arizona->pdata.num_micd_configs = nconfs; in arizona_extcon_get_micd_configs()
/Linux-v5.10/drivers/pinctrl/qcom/
Dpinctrl-spmi-mpp.c402 unsigned long *configs, unsigned nconfs) in pmic_mpp_config_set() argument
415 for (i = 0; i < nconfs; i++) { in pmic_mpp_config_set()
Dpinctrl-spmi-gpio.c454 unsigned long *configs, unsigned nconfs) in pmic_gpio_config_set() argument
465 for (i = 0; i < nconfs; i++) { in pmic_gpio_config_set()