Home
last modified time | relevance | path

Searched refs:gpio_defaults (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.10/drivers/mfd/
Dwm8994-core.c272 if (of_property_read_u32_array(np, "wlf,gpio-cfg", pdata->gpio_defaults, in wm8994_set_pdata_from_of()
273 ARRAY_SIZE(pdata->gpio_defaults)) >= 0) { in wm8994_set_pdata_from_of()
274 for (i = 0; i < ARRAY_SIZE(pdata->gpio_defaults); i++) { in wm8994_set_pdata_from_of()
275 if (wm8994->pdata.gpio_defaults[i] == 0) in wm8994_set_pdata_from_of()
276 pdata->gpio_defaults[i] in wm8994_set_pdata_from_of()
544 for (i = 0; i < ARRAY_SIZE(pdata->gpio_defaults); i++) { in wm8994_device_init()
545 if (pdata->gpio_defaults[i]) { in wm8994_device_init()
547 0xffff, pdata->gpio_defaults[i]); in wm8994_device_init()
Darizona-core.c837 pdata->gpio_defaults, in arizona_of_get_core_pdata()
838 ARRAY_SIZE(pdata->gpio_defaults)); in arizona_of_get_core_pdata()
846 for (i = 0; i < ARRAY_SIZE(pdata->gpio_defaults); i++) { in arizona_of_get_core_pdata()
847 if (pdata->gpio_defaults[i] > 0xffff) in arizona_of_get_core_pdata()
848 pdata->gpio_defaults[i] = 0; in arizona_of_get_core_pdata()
849 else if (pdata->gpio_defaults[i] == 0) in arizona_of_get_core_pdata()
850 pdata->gpio_defaults[i] = 0x10000; in arizona_of_get_core_pdata()
1332 for (i = 0; i < ARRAY_SIZE(arizona->pdata.gpio_defaults); i++) { in arizona_dev_init()
1333 if (!arizona->pdata.gpio_defaults[i]) in arizona_dev_init()
1337 arizona->pdata.gpio_defaults[i]); in arizona_dev_init()
Dwm831x-core.c1777 for (i = 0; i < ARRAY_SIZE(pdata->gpio_defaults); i++) { in wm831x_device_init()
1778 if (!pdata->gpio_defaults[i]) in wm831x_device_init()
1783 pdata->gpio_defaults[i] & 0xffff); in wm831x_device_init()
/Linux-v5.10/arch/arm/mach-s3c/
Dmach-crag6410-module.c88 .gpio_defaults = {
193 .gpio_defaults = {
226 .gpio_defaults = {
263 .gpio_defaults = {
313 .gpio_defaults = {
Dmach-crag6410.c559 .gpio_defaults = {
700 .gpio_defaults = {
/Linux-v5.10/include/sound/
Dwm5100.h53 int gpio_defaults[6]; member
Dwm2200.h49 int gpio_defaults[4]; member
/Linux-v5.10/include/linux/mfd/arizona/
Dpdata.h96 unsigned int gpio_defaults[ARIZONA_MAX_GPIO]; member
/Linux-v5.10/include/linux/mfd/wm831x/
Dpdata.h124 int gpio_defaults[WM831X_GPIO_NUM]; member
/Linux-v5.10/include/linux/mfd/wm8994/
Dpdata.h132 int gpio_defaults[WM8994_NUM_GPIO]; member
/Linux-v5.10/sound/soc/codecs/
Dwm2200.c2327 for (i = 0; i < ARRAY_SIZE(wm2200->pdata.gpio_defaults); i++) { in wm2200_i2c_probe()
2328 if (!wm2200->pdata.gpio_defaults[i]) in wm2200_i2c_probe()
2332 wm2200->pdata.gpio_defaults[i]); in wm2200_i2c_probe()
Dwm5100.c2535 for (i = 0; i < ARRAY_SIZE(wm5100->pdata.gpio_defaults); i++) { in wm5100_i2c_probe()
2536 if (!wm5100->pdata.gpio_defaults[i]) in wm5100_i2c_probe()
2540 wm5100->pdata.gpio_defaults[i]); in wm5100_i2c_probe()
Darizona.c274 for (i = 0; i < ARRAY_SIZE(arizona->pdata.gpio_defaults); i++) { in arizona_init_gpio()
275 switch (arizona->pdata.gpio_defaults[i] & ARIZONA_GPN_FN_MASK) { in arizona_init_gpio()