Searched refs:gpio_func (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/drivers/pinctrl/mediatek/ |
H A D | pinctrl-mtmips.c | 190 static struct mtmips_pmx_func gpio_func = { variable 222 gpio_func.groups = devm_kcalloc(p->dev, p->group_count, sizeof(int), in mtmips_pinctrl_index() 224 if (!p->func || !gpio_func.groups) in mtmips_pinctrl_index() 228 gpio_func.group_count = p->group_count; in mtmips_pinctrl_index() 229 for (i = 0; i < gpio_func.group_count; i++) in mtmips_pinctrl_index() 230 gpio_func.groups[i] = i; in mtmips_pinctrl_index() 232 p->func[c] = &gpio_func; in mtmips_pinctrl_index()
|
/openbmc/linux/sound/soc/codecs/ |
H A D | tlv320aic32x4.c | 959 if (aic32x4->setup->gpio_func[0] != AIC32X4_MFPX_DEFAULT_VALUE) { in aic32x4_setup_gpios() 961 aic32x4->setup->gpio_func[0]); in aic32x4_setup_gpios() 967 if (aic32x4->setup->gpio_func[1] != AIC32X4_MFPX_DEFAULT_VALUE) { in aic32x4_setup_gpios() 969 aic32x4->setup->gpio_func[1]); in aic32x4_setup_gpios() 975 if (aic32x4->setup->gpio_func[2] != AIC32X4_MFPX_DEFAULT_VALUE) { in aic32x4_setup_gpios() 977 aic32x4->setup->gpio_func[2]); in aic32x4_setup_gpios() 983 if (aic32x4->setup->gpio_func[3] != AIC32X4_MFPX_DEFAULT_VALUE) { in aic32x4_setup_gpios() 985 aic32x4->setup->gpio_func[3]); in aic32x4_setup_gpios() 991 if (aic32x4->setup->gpio_func[4] != AIC32X4_MFPX_DEFAULT_VALUE) { in aic32x4_setup_gpios() 993 aic32x4->setup->gpio_func[4]); in aic32x4_setup_gpios() [all …]
|
H A D | tlv320aic3x.c | 67 unsigned int gpio_func[2]; member 1627 (aic3x->setup->gpio_func[0] & 0xf) << 4); in aic3x_component_probe() 1629 (aic3x->setup->gpio_func[1] & 0xf) << 4); in aic3x_component_probe() 1764 ai3x_setup->gpio_func, 2) >= 0) { in aic3x_probe()
|
/openbmc/linux/include/sound/ |
H A D | tlv320aic32x4.h | 41 unsigned int gpio_func[5]; member
|
/openbmc/u-boot/arch/arm/mach-exynos/ |
H A D | pinmux.c | 78 int i, start, start_ext, gpio_func = 0; in exynos5_mmc_config() local 84 gpio_func = S5P_GPIO_FUNC(0x2); in exynos5_mmc_config() 93 gpio_func = S5P_GPIO_FUNC(0x3); in exynos5_mmc_config() 110 gpio_cfg_pin(i, gpio_func); in exynos5_mmc_config()
|
/openbmc/linux/drivers/pinctrl/qcom/ |
H A D | pinctrl-msm.h | 161 unsigned int gpio_func; member
|
H A D | pinctrl-msm.c | 189 unsigned int gpio_func = pctrl->soc->gpio_func; in msm_pinmux_set_mux() local 217 if (d && i != gpio_func && in msm_pinmux_set_mux() 231 if (i == gpio_func && (val & BIT(g->oe_bit)) && in msm_pinmux_set_mux() 259 if (d && i == gpio_func && in msm_pinmux_set_mux() 287 return msm_pinmux_set_mux(pctldev, g->funcs[pctrl->soc->gpio_func], offset); in msm_pinmux_request_gpio()
|