Home
last modified time | relevance | path

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

/linux-5.19.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.c826 pdata->gpio_defaults, in arizona_of_get_core_pdata()
827 ARRAY_SIZE(pdata->gpio_defaults)); in arizona_of_get_core_pdata()
835 for (i = 0; i < ARRAY_SIZE(pdata->gpio_defaults); i++) { in arizona_of_get_core_pdata()
836 if (pdata->gpio_defaults[i] > 0xffff) in arizona_of_get_core_pdata()
837 pdata->gpio_defaults[i] = 0; in arizona_of_get_core_pdata()
838 else if (pdata->gpio_defaults[i] == 0) in arizona_of_get_core_pdata()
839 pdata->gpio_defaults[i] = 0x10000; in arizona_of_get_core_pdata()
1288 for (i = 0; i < ARRAY_SIZE(arizona->pdata.gpio_defaults); i++) { in arizona_dev_init()
1289 if (!arizona->pdata.gpio_defaults[i]) in arizona_dev_init()
1293 arizona->pdata.gpio_defaults[i]); in arizona_dev_init()
Dwm831x-core.c1601 for (i = 0; i < ARRAY_SIZE(pdata->gpio_defaults); i++) { in wm831x_device_init()
1602 if (!pdata->gpio_defaults[i]) in wm831x_device_init()
1607 pdata->gpio_defaults[i] & 0xffff); in wm831x_device_init()
/linux-5.19.10/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-5.19.10/include/sound/ !
Dwm5100.h53 int gpio_defaults[6]; member
Dwm2200.h49 int gpio_defaults[4]; member
/linux-5.19.10/include/linux/mfd/arizona/ !
Dpdata.h96 unsigned int gpio_defaults[ARIZONA_MAX_GPIO]; member
/linux-5.19.10/include/linux/mfd/wm831x/ !
Dpdata.h124 int gpio_defaults[WM831X_GPIO_NUM]; member
/linux-5.19.10/include/linux/mfd/wm8994/ !
Dpdata.h132 int gpio_defaults[WM8994_NUM_GPIO]; member
/linux-5.19.10/sound/soc/codecs/ !
Dwm2200.c2318 for (i = 0; i < ARRAY_SIZE(wm2200->pdata.gpio_defaults); i++) { in wm2200_i2c_probe()
2319 if (!wm2200->pdata.gpio_defaults[i]) in wm2200_i2c_probe()
2323 wm2200->pdata.gpio_defaults[i]); in wm2200_i2c_probe()
Dwm5100.c2534 for (i = 0; i < ARRAY_SIZE(wm5100->pdata.gpio_defaults); i++) { in wm5100_i2c_probe()
2535 if (!wm5100->pdata.gpio_defaults[i]) in wm5100_i2c_probe()
2539 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()