Lines Matching +full:0 +full:x102

33 		.id = 0,
124 if (ret < 0) { in wm8994_suspend()
128 return 0; in wm8994_suspend()
155 if (ret != 0) in wm8994_suspend()
162 if (ret != 0) in wm8994_suspend()
170 if (ret != 0) { in wm8994_suspend()
175 return 0; in wm8994_suspend()
185 return 0; in wm8994_resume()
189 if (ret != 0) { in wm8994_resume()
196 if (ret != 0) { in wm8994_resume()
204 0); in wm8994_resume()
208 return 0; in wm8994_resume()
222 return 0; in wm8994_ldo_in_use()
227 return 0; in wm8994_ldo_in_use()
229 return ldo_pdata->init_data->num_consumer_supplies != 0; in wm8994_ldo_in_use()
234 return 0; in wm8994_ldo_in_use()
239 { 0x102, 0x3 },
240 { 0x56, 0x3 },
241 { 0x817, 0x0 },
242 { 0x102, 0x0 },
246 { 0x102, 0x3 },
247 { 0xcb, 0x81 },
248 { 0x817, 0x0 },
249 { 0x102, 0x0 },
253 { 0x102, 0x3 },
254 { 0x56, 0xc07 },
255 { 0x5d, 0x7e },
256 { 0x5e, 0x0 },
257 { 0x102, 0x0 },
268 return 0; 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()
292 return 0; in wm8994_set_pdata_from_of()
297 return 0; in wm8994_set_pdata_from_of()
310 int ret, i, patch_regs = 0; in wm8994_device_init()
311 int pulls = 0; in wm8994_device_init()
320 if (ret != 0) in wm8994_device_init()
324 ret = mfd_add_devices(wm8994->dev, 0, in wm8994_device_init()
327 NULL, 0, NULL); in wm8994_device_init()
328 if (ret != 0) { in wm8994_device_init()
359 for (i = 0; i < ARRAY_SIZE(wm1811_main_supplies); i++) in wm8994_device_init()
363 for (i = 0; i < ARRAY_SIZE(wm8994_main_supplies); i++) in wm8994_device_init()
367 for (i = 0; i < ARRAY_SIZE(wm8958_main_supplies); i++) in wm8994_device_init()
382 if (ret != 0) { in wm8994_device_init()
390 if (ret != 0) { in wm8994_device_init()
396 if (ret < 0) { in wm8994_device_init()
401 case 0x1811: in wm8994_device_init()
408 case 0x8994: in wm8994_device_init()
415 case 0x8958: in wm8994_device_init()
430 if (ret < 0) { in wm8994_device_init()
441 case 0: in wm8994_device_init()
458 case 0: in wm8994_device_init()
500 if (ret != 0) { in wm8994_device_init()
512 if (ret != 0) { in wm8994_device_init()
520 if (ret != 0) { in wm8994_device_init()
531 for (i = 0; i < ARRAY_SIZE(pdata->gpio_defaults); i++) { in wm8994_device_init()
534 0xffff, pdata->gpio_defaults[i]); in wm8994_device_init()
557 for (i = 0; i < WM8994_NUM_LDO_REGS; i++) { in wm8994_device_init()
563 WM8994_LDO1_DISCH, 0); in wm8994_device_init()
570 NULL, 0, NULL); in wm8994_device_init()
571 if (ret != 0) { in wm8994_device_init()
580 return 0; in wm8994_device_init()