Searched refs:nconfs (Results 1 – 5 of 5) sorted by relevance
/drivers/pinctrl/ |
D | pinctrl-single.c | 98 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 …]
|
D | pinctrl-gemini.c | 58 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/ |
D | extcon-arizona.c | 1284 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/ |
D | pinctrl-spmi-mpp.c | 402 unsigned long *configs, unsigned nconfs) in pmic_mpp_config_set() argument 415 for (i = 0; i < nconfs; i++) { in pmic_mpp_config_set()
|
D | pinctrl-spmi-gpio.c | 454 unsigned long *configs, unsigned nconfs) in pmic_gpio_config_set() argument 465 for (i = 0; i < nconfs; i++) { in pmic_gpio_config_set()
|