Home
last modified time | relevance | path

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

/linux/drivers/mfd/
H A Dwm8994-core.c269 if (of_property_read_u32_array(np, "wlf,gpio-cfg", pdata->gpio_defaults, in wm8994_set_pdata_from_of()
270 ARRAY_SIZE(pdata->gpio_defaults)) >= 0) { in wm8994_set_pdata_from_of()
271 for (i = 0; i < ARRAY_SIZE(pdata->gpio_defaults); i++) { in wm8994_set_pdata_from_of()
272 if (wm8994->pdata.gpio_defaults[i] == 0) in wm8994_set_pdata_from_of()
273 pdata->gpio_defaults[i] in wm8994_set_pdata_from_of()
530 for (i = 0; i < ARRAY_SIZE(pdata->gpio_defaults); i++) { in wm8994_device_init()
531 if (pdata->gpio_defaults[i]) { in wm8994_device_init()
533 0xffff, pdata->gpio_defaults[i]); in wm8994_device_init()
H A 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()
H A 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/arch/arm/mach-s3c/
H A Dmach-crag6410-module.c99 .gpio_defaults = {
211 .gpio_defaults = {
244 .gpio_defaults = {
276 .gpio_defaults = {
323 .gpio_defaults = {
H A Dmach-crag6410.c557 .gpio_defaults = {
698 .gpio_defaults = {
/linux/include/sound/
H A Dwm5100.h49 int gpio_defaults[6]; member
H A Dwm2200.h47 int gpio_defaults[4]; member
/linux/include/linux/mfd/arizona/
H A Dpdata.h96 unsigned int gpio_defaults[ARIZONA_MAX_GPIO]; member
/linux/include/linux/mfd/wm831x/
H A Dpdata.h124 int gpio_defaults[WM831X_GPIO_NUM]; member
/linux/include/linux/mfd/wm8994/
H A Dpdata.h132 int gpio_defaults[WM8994_NUM_GPIO]; member
/linux/sound/soc/codecs/
H A Dwm2200.c2320 for (i = 0; i < ARRAY_SIZE(wm2200->pdata.gpio_defaults); i++) { in wm2200_i2c_probe()
2321 if (!wm2200->pdata.gpio_defaults[i]) in wm2200_i2c_probe()
2325 wm2200->pdata.gpio_defaults[i]); in wm2200_i2c_probe()
H A Dwm5100.c2517 for (i = 0; i < ARRAY_SIZE(wm5100->pdata.gpio_defaults); i++) { in wm5100_i2c_probe()
2518 if (!wm5100->pdata.gpio_defaults[i]) in wm5100_i2c_probe()
2522 wm5100->pdata.gpio_defaults[i]); in wm5100_i2c_probe()
H A 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()