Home
last modified time | relevance | path

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

/drivers/pinctrl/
Dpinctrl-single.c98 int nconfs; member
497 for (i = 0; i < func->nconfs; i++) { in pcs_pinconf_get()
524 for (j = 0; j < func->nconfs; j++) { in pcs_pinconf_get()
563 for (i = 0; i < func->nconfs; i++) { in pcs_pinconf_set()
604 if (i >= func->nconfs) in pcs_pinconf_set()
918 int i = 0, nconfs = 0; in pcs_parse_pinconf() local
941 nconfs++; in pcs_parse_pinconf()
945 nconfs++; in pcs_parse_pinconf()
947 if (!nconfs) in pcs_parse_pinconf()
951 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()
/drivers/extcon/
Dextcon-arizona.c1284 int nconfs, ret; in arizona_extcon_get_micd_configs() local
1288 nconfs = device_property_count_u32(arizona->dev, prop); in arizona_extcon_get_micd_configs()
1289 if (nconfs <= 0) in arizona_extcon_get_micd_configs()
1292 vals = kcalloc(nconfs, sizeof(u32), GFP_KERNEL); in arizona_extcon_get_micd_configs()
1296 ret = device_property_read_u32_array(arizona->dev, prop, vals, nconfs); in arizona_extcon_get_micd_configs()
1300 nconfs /= entries_per_config; in arizona_extcon_get_micd_configs()
1301 micd_configs = devm_kcalloc(dev, nconfs, sizeof(*micd_configs), in arizona_extcon_get_micd_configs()
1308 for (i = 0, j = 0; i < nconfs; ++i) { in arizona_extcon_get_micd_configs()
1315 arizona->pdata.num_micd_configs = nconfs; in arizona_extcon_get_micd_configs()
/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()