Searched refs:gpio_defaults (Results 1 – 13 of 13) sorted by relevance
278 if (of_property_read_u32_array(np, "wlf,gpio-cfg", pdata->gpio_defaults, in wm8994_set_pdata_from_of()279 ARRAY_SIZE(pdata->gpio_defaults)) >= 0) { in wm8994_set_pdata_from_of()280 for (i = 0; i < ARRAY_SIZE(pdata->gpio_defaults); i++) { in wm8994_set_pdata_from_of()281 if (wm8994->pdata.gpio_defaults[i] == 0) in wm8994_set_pdata_from_of()282 pdata->gpio_defaults[i] in wm8994_set_pdata_from_of()546 for (i = 0; i < ARRAY_SIZE(pdata->gpio_defaults); i++) { in wm8994_device_init()547 if (pdata->gpio_defaults[i]) { in wm8994_device_init()549 0xffff, pdata->gpio_defaults[i]); in wm8994_device_init()
535 arizona->pdata.gpio_defaults, in arizona_of_get_core_pdata()536 ARRAY_SIZE(arizona->pdata.gpio_defaults)); in arizona_of_get_core_pdata()544 for (i = 0; i < ARRAY_SIZE(arizona->pdata.gpio_defaults); i++) { in arizona_of_get_core_pdata()545 if (arizona->pdata.gpio_defaults[i] > 0xffff) in arizona_of_get_core_pdata()546 arizona->pdata.gpio_defaults[i] = 0; in arizona_of_get_core_pdata()547 else if (arizona->pdata.gpio_defaults[i] == 0) in arizona_of_get_core_pdata()548 arizona->pdata.gpio_defaults[i] = 0x10000; in arizona_of_get_core_pdata()907 for (i = 0; i < ARRAY_SIZE(arizona->pdata.gpio_defaults); i++) { in arizona_dev_init()908 if (!arizona->pdata.gpio_defaults[i]) in arizona_dev_init()912 arizona->pdata.gpio_defaults[i]); in arizona_dev_init()
1763 for (i = 0; i < ARRAY_SIZE(pdata->gpio_defaults); i++) { in wm831x_device_init()1764 if (!pdata->gpio_defaults[i]) in wm831x_device_init()1769 pdata->gpio_defaults[i] & 0xffff); in wm831x_device_init()
87 .gpio_defaults = {192 .gpio_defaults = {214 .gpio_defaults = {243 .gpio_defaults = {284 .gpio_defaults = {
563 .gpio_defaults = {686 .gpio_defaults = {
56 int gpio_defaults[6]; member
52 int gpio_defaults[4]; member
97 unsigned int gpio_defaults[ARIZONA_MAX_GPIO]; member
131 int gpio_defaults[WM831X_GPIO_NUM]; member
140 int gpio_defaults[WM8994_NUM_GPIO]; member
2331 for (i = 0; i < ARRAY_SIZE(wm2200->pdata.gpio_defaults); i++) { in wm2200_i2c_probe()2332 if (!wm2200->pdata.gpio_defaults[i]) in wm2200_i2c_probe()2336 wm2200->pdata.gpio_defaults[i]); in wm2200_i2c_probe()
2545 for (i = 0; i < ARRAY_SIZE(wm5100->pdata.gpio_defaults); i++) { in wm5100_i2c_probe()2546 if (!wm5100->pdata.gpio_defaults[i]) in wm5100_i2c_probe()2550 wm5100->pdata.gpio_defaults[i]); in wm5100_i2c_probe()
292 for (i = 0; i < ARRAY_SIZE(arizona->pdata.gpio_defaults); i++) { in arizona_init_gpio()293 switch (arizona->pdata.gpio_defaults[i] & ARIZONA_GPN_FN_MASK) { in arizona_init_gpio()