Home
last modified time | relevance | path

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

/drivers/pinctrl/mediatek/
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()
/drivers/pinctrl/qcom/
A Dpinctrl-msm.h166 unsigned int gpio_func; member
A Dpinctrl-msm.c188 unsigned int gpio_func = pctrl->soc->gpio_func; in msm_pinmux_set_mux() local
216 if (d && i != gpio_func && in msm_pinmux_set_mux()
230 if (i == gpio_func && (val & BIT(g->oe_bit)) && in msm_pinmux_set_mux()
258 if (d && i == gpio_func && in msm_pinmux_set_mux()
286 return msm_pinmux_set_mux(pctldev, g->funcs[pctrl->soc->gpio_func], offset); in msm_pinmux_request_gpio()

Completed in 15 milliseconds