Searched refs:gpio_func (Results 1 - 13 of 13) sorted by relevance
/kernel/linux/linux-5.10/drivers/staging/mt7621-pinctrl/ |
H A D | pinctrl-rt2880.c | 190 static struct rt2880_pmx_func gpio_func = { variable 225 gpio_func.groups = devm_kcalloc(p->dev, p->group_count, sizeof(int), in rt2880_pinmux_index() 227 if (!f || !gpio_func.groups) in rt2880_pinmux_index() 231 gpio_func.group_count = p->group_count; in rt2880_pinmux_index() 232 for (i = 0; i < gpio_func.group_count; i++) in rt2880_pinmux_index() 233 gpio_func.groups[i] = i; in rt2880_pinmux_index() 235 f[c] = &gpio_func; in rt2880_pinmux_index()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
H A D | tlv320aic32x4.c | 928 if (aic32x4->setup->gpio_func[0] != AIC32X4_MFPX_DEFAULT_VALUE) { in aic32x4_setup_gpios() 930 aic32x4->setup->gpio_func[0]); in aic32x4_setup_gpios() 936 if (aic32x4->setup->gpio_func[1] != AIC32X4_MFPX_DEFAULT_VALUE) { in aic32x4_setup_gpios() 938 aic32x4->setup->gpio_func[1]); in aic32x4_setup_gpios() 944 if (aic32x4->setup->gpio_func[2] != AIC32X4_MFPX_DEFAULT_VALUE) { in aic32x4_setup_gpios() 946 aic32x4->setup->gpio_func[2]); in aic32x4_setup_gpios() 952 if (aic32x4->setup->gpio_func[3] != AIC32X4_MFPX_DEFAULT_VALUE) { in aic32x4_setup_gpios() 954 aic32x4->setup->gpio_func[3]); in aic32x4_setup_gpios() 960 if (aic32x4->setup->gpio_func[4] != AIC32X4_MFPX_DEFAULT_VALUE) { in aic32x4_setup_gpios() 962 aic32x4->setup->gpio_func[ in aic32x4_setup_gpios() [all...] |
H A D | tlv320aic3x.c | 1645 (aic3x->setup->gpio_func[0] & 0xf) << 4); in aic3x_probe() 1647 (aic3x->setup->gpio_func[1] & 0xf) << 4); in aic3x_probe() 1821 ai3x_setup->gpio_func, 2) >= 0) { in aic3x_i2c_probe()
|
/kernel/linux/linux-6.6/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[ 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()
|
/kernel/linux/linux-5.10/include/sound/ |
H A D | tlv320aic3x.h | 54 unsigned int gpio_func[2]; member
|
H A D | tlv320aic32x4.h | 41 unsigned int gpio_func[5]; member
|
/kernel/linux/linux-6.6/include/sound/ |
H A D | tlv320aic32x4.h | 41 unsigned int gpio_func[5]; member
|
/kernel/linux/linux-5.10/drivers/pinctrl/qcom/ |
H A D | pinctrl-msm.h | 121 * @gpio_func: Which function number is GPIO (usually 0). 138 unsigned int gpio_func; member
|
H A D | pinctrl-msm.c | 187 unsigned int gpio_func = pctrl->soc->gpio_func; in msm_pinmux_set_mux() local 214 if (d && i != gpio_func && in msm_pinmux_set_mux() 227 if (d && i == gpio_func && in msm_pinmux_set_mux() 255 return msm_pinmux_set_mux(pctldev, g->funcs[pctrl->soc->gpio_func], offset); in msm_pinmux_request_gpio()
|
/kernel/linux/linux-6.6/drivers/pinctrl/qcom/ |
H A D | pinctrl-msm.h | 137 * @gpio_func: Which function number is GPIO (usually 0). 161 unsigned int gpio_func; member
|
H A D | pinctrl-msm.c | 56 * @ever_gpio: This bit is set the first time we mux a pin to gpio_func. 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()
|
Completed in 15 milliseconds