Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/mfd/
Dwm8994-core.c270 if (of_property_read_u32_array(np, "wlf,gpio-cfg", pdata->gpio_defaults, in wm8994_set_pdata_from_of()
271 ARRAY_SIZE(pdata->gpio_defaults)) >= 0) { in wm8994_set_pdata_from_of()
272 for (i = 0; i < ARRAY_SIZE(pdata->gpio_defaults); i++) { in wm8994_set_pdata_from_of()
273 if (wm8994->pdata.gpio_defaults[i] == 0) in wm8994_set_pdata_from_of()
274 pdata->gpio_defaults[i] in wm8994_set_pdata_from_of()
531 for (i = 0; i < ARRAY_SIZE(pdata->gpio_defaults); i++) { in wm8994_device_init()
532 if (pdata->gpio_defaults[i]) { in wm8994_device_init()
534 0xffff, pdata->gpio_defaults[i]); in wm8994_device_init()
Darizona-core.c820 pdata->gpio_defaults, in arizona_of_get_core_pdata()
821 ARRAY_SIZE(pdata->gpio_defaults)); in arizona_of_get_core_pdata()
829 for (i = 0; i < ARRAY_SIZE(pdata->gpio_defaults); i++) { in arizona_of_get_core_pdata()
830 if (pdata->gpio_defaults[i] > 0xffff) in arizona_of_get_core_pdata()
831 pdata->gpio_defaults[i] = 0; in arizona_of_get_core_pdata()
832 else if (pdata->gpio_defaults[i] == 0) in arizona_of_get_core_pdata()
833 pdata->gpio_defaults[i] = 0x10000; in arizona_of_get_core_pdata()
1282 for (i = 0; i < ARRAY_SIZE(arizona->pdata.gpio_defaults); i++) { in arizona_dev_init()
1283 if (!arizona->pdata.gpio_defaults[i]) in arizona_dev_init()
1287 arizona->pdata.gpio_defaults[i]); in arizona_dev_init()
Dwm831x-core.c1600 for (i = 0; i < ARRAY_SIZE(pdata->gpio_defaults); i++) { in wm831x_device_init()
1601 if (!pdata->gpio_defaults[i]) in wm831x_device_init()
1606 pdata->gpio_defaults[i] & 0xffff); in wm831x_device_init()
/linux-6.6.21/arch/arm/mach-s3c/
Dmach-crag6410-module.c82 .gpio_defaults = {
187 .gpio_defaults = {
220 .gpio_defaults = {
252 .gpio_defaults = {
300 .gpio_defaults = {
Dmach-crag6410.c559 .gpio_defaults = {
700 .gpio_defaults = {
/linux-6.6.21/include/sound/
Dwm5100.h53 int gpio_defaults[6]; member
Dwm2200.h49 int gpio_defaults[4]; member
/linux-6.6.21/include/linux/mfd/wm831x/
Dpdata.h124 int gpio_defaults[WM831X_GPIO_NUM]; member
/linux-6.6.21/include/linux/mfd/arizona/
Dpdata.h96 unsigned int gpio_defaults[ARIZONA_MAX_GPIO]; member
/linux-6.6.21/include/linux/mfd/wm8994/
Dpdata.h132 int gpio_defaults[WM8994_NUM_GPIO]; member
/linux-6.6.21/sound/soc/codecs/
Dwm2200.c2317 for (i = 0; i < ARRAY_SIZE(wm2200->pdata.gpio_defaults); i++) { in wm2200_i2c_probe()
2318 if (!wm2200->pdata.gpio_defaults[i]) in wm2200_i2c_probe()
2322 wm2200->pdata.gpio_defaults[i]); in wm2200_i2c_probe()
Dwm5100.c2533 for (i = 0; i < ARRAY_SIZE(wm5100->pdata.gpio_defaults); i++) { in wm5100_i2c_probe()
2534 if (!wm5100->pdata.gpio_defaults[i]) in wm5100_i2c_probe()
2538 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()