Searched refs:gpio_defaults (Results 1 – 13 of 13) sorted by relevance
269 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()
820 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[ in arizona_dev_init() [all...]
1600 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()
99 .gpio_defaults = {211 .gpio_defaults = {244 .gpio_defaults = {276 .gpio_defaults = {323 .gpio_defaults = {
559 .gpio_defaults = {700 .gpio_defaults = {
49 int gpio_defaults[6]; member
47 int gpio_defaults[4]; member
96 unsigned int gpio_defaults[ARIZONA_MAX_GPIO]; member
124 int gpio_defaults[WM831X_GPIO_NUM]; member
132 int gpio_defaults[WM8994_NUM_GPIO]; member
2320 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()
2519 for (i = 0; i < ARRAY_SIZE(wm5100->pdata.gpio_defaults); i++) { in wm5100_i2c_probe() 2520 if (!wm5100->pdata.gpio_defaults[i]) in wm5100_i2c_probe() 2524 wm5100->pdata.gpio_defaults[i]); in wm5100_i2c_probe()
274 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()