Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/mt7621-pinctrl/
Dpinctrl-rt2880.c225 static struct rt2880_pmx_func gpio_func = { variable
260 gpio_func.groups = devm_kcalloc(p->dev, p->group_count, sizeof(int), in rt2880_pinmux_index()
262 if (!f || !gpio_func.groups) in rt2880_pinmux_index()
266 gpio_func.group_count = p->group_count; in rt2880_pinmux_index()
267 for (i = 0; i < gpio_func.group_count; i++) in rt2880_pinmux_index()
268 gpio_func.groups[i] = i; in rt2880_pinmux_index()
270 f[c] = &gpio_func; in rt2880_pinmux_index()
/Linux-v4.19/sound/soc/codecs/
Dtlv320aic32x4.c893 if (aic32x4->setup->gpio_func[0] != AIC32X4_MFPX_DEFAULT_VALUE) { in aic32x4_setup_gpios()
895 aic32x4->setup->gpio_func[0]); in aic32x4_setup_gpios()
901 if (aic32x4->setup->gpio_func[1] != AIC32X4_MFPX_DEFAULT_VALUE) { in aic32x4_setup_gpios()
903 aic32x4->setup->gpio_func[1]); in aic32x4_setup_gpios()
909 if (aic32x4->setup->gpio_func[2] != AIC32X4_MFPX_DEFAULT_VALUE) { in aic32x4_setup_gpios()
911 aic32x4->setup->gpio_func[2]); in aic32x4_setup_gpios()
917 if (aic32x4->setup->gpio_func[3] != AIC32X4_MFPX_DEFAULT_VALUE) { in aic32x4_setup_gpios()
919 aic32x4->setup->gpio_func[3]); in aic32x4_setup_gpios()
925 if (aic32x4->setup->gpio_func[4] != AIC32X4_MFPX_DEFAULT_VALUE) { in aic32x4_setup_gpios()
927 aic32x4->setup->gpio_func[4]); in aic32x4_setup_gpios()
[all …]
Dtlv320aic3x.c1625 (aic3x->setup->gpio_func[0] & 0xf) << 4); in aic3x_probe()
1627 (aic3x->setup->gpio_func[1] & 0xf) << 4); in aic3x_probe()
1819 ai3x_setup->gpio_func, 2) >= 0) { in aic3x_i2c_probe()
/Linux-v4.19/include/sound/
Dtlv320aic32x4.h44 unsigned int gpio_func[5]; member
Dtlv320aic3x.h57 unsigned int gpio_func[2]; member