Searched refs:nconfs (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/pinctrl/ |
H A D | pinctrl-single.c | 97 int nconfs; member 498 for (i = 0; i < func->nconfs; i++) { in pcs_pinconf_get() 525 for (j = 0; j < func->nconfs; j++) { in pcs_pinconf_get() 565 for (i = 0; i < func->nconfs; i++) { in pcs_pinconf_set() 607 if (i >= func->nconfs) in pcs_pinconf_set() 920 int i = 0, nconfs = 0; in pcs_parse_pinconf() local 944 nconfs++; in pcs_parse_pinconf() 948 nconfs++; in pcs_parse_pinconf() 950 if (!nconfs) in pcs_parse_pinconf() 958 func->nconfs = nconfs; in pcs_parse_pinconf() [all …]
|
H A D | pinctrl-gemini.c | 60 unsigned int nconfs; member 2371 for (i = 0; i < pmx->nconfs; i++) { in gemini_get_pin_conf() 2565 pmx->nconfs = ARRAY_SIZE(gemini_confs_3512); in gemini_pmx_probe() 2572 pmx->nconfs = ARRAY_SIZE(gemini_confs_3516); in gemini_pmx_probe()
|
/openbmc/linux/sound/soc/codecs/ |
H A D | arizona-jack.c | 1162 int nconfs, ret; in arizona_extcon_get_micd_configs() local 1166 nconfs = device_property_count_u32(arizona->dev, prop); in arizona_extcon_get_micd_configs() 1167 if (nconfs <= 0) in arizona_extcon_get_micd_configs() 1170 vals = kcalloc(nconfs, sizeof(u32), GFP_KERNEL); in arizona_extcon_get_micd_configs() 1174 ret = device_property_read_u32_array(arizona->dev, prop, vals, nconfs); in arizona_extcon_get_micd_configs() 1178 nconfs /= entries_per_config; in arizona_extcon_get_micd_configs() 1179 micd_configs = devm_kcalloc(dev, nconfs, sizeof(*micd_configs), in arizona_extcon_get_micd_configs() 1186 for (i = 0, j = 0; i < nconfs; ++i) { in arizona_extcon_get_micd_configs() 1193 arizona->pdata.num_micd_configs = nconfs; in arizona_extcon_get_micd_configs()
|
/openbmc/linux/drivers/pinctrl/qcom/ |
H A D | pinctrl-lpass-lpi.c | 190 unsigned long *configs, unsigned int nconfs) in lpi_config_set() argument 201 for (i = 0; i < nconfs; i++) { in lpi_config_set()
|
H A 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()
|
H A D | pinctrl-spmi-gpio.c | 477 unsigned long *configs, unsigned nconfs) in pmic_gpio_config_set() argument 488 for (i = 0; i < nconfs; i++) { in pmic_gpio_config_set()
|