Home
last modified time | relevance | path

Searched refs:gpio_func (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/pinctrl/mediatek/
H A Dpinctrl-mtmips.c190 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()
/linux/sound/soc/codecs/
H A Dtlv320aic32x4.c959 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 Dtlv320aic3x.c67 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()
/linux/include/sound/
H A Dtlv320aic32x4.h41 unsigned int gpio_func[5]; member
/linux/drivers/pinctrl/qcom/
H A Dpinctrl-msm.h166 unsigned int gpio_func; member
H A Dpinctrl-msm.c189 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()