Lines Matching +full:0 +full:x102

33 		.id = 0,
125 if (ret < 0) { in wm8994_suspend()
129 return 0; in wm8994_suspend()
156 if (ret != 0) in wm8994_suspend()
163 if (ret != 0) in wm8994_suspend()
171 if (ret != 0) { in wm8994_suspend()
176 return 0; in wm8994_suspend()
186 return 0; in wm8994_resume()
190 if (ret != 0) { in wm8994_resume()
197 if (ret != 0) { in wm8994_resume()
205 0); in wm8994_resume()
209 return 0; in wm8994_resume()
224 return 0; in wm8994_ldo_in_use()
229 return 0; in wm8994_ldo_in_use()
231 return ldo_pdata->init_data->num_consumer_supplies != 0; in wm8994_ldo_in_use()
236 return 0; in wm8994_ldo_in_use()
241 { 0x102, 0x3 },
242 { 0x56, 0x3 },
243 { 0x817, 0x0 },
244 { 0x102, 0x0 },
248 { 0x102, 0x3 },
249 { 0xcb, 0x81 },
250 { 0x817, 0x0 },
251 { 0x102, 0x0 },
255 { 0x102, 0x3 },
256 { 0x56, 0xc07 },
257 { 0x5d, 0x7e },
258 { 0x5e, 0x0 },
259 { 0x102, 0x0 },
270 return 0; 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()
303 return 0; in wm8994_set_pdata_from_of()
308 return 0; in wm8994_set_pdata_from_of()
321 int ret, i, patch_regs = 0; in wm8994_device_init()
322 int pulls = 0; in wm8994_device_init()
331 if (ret != 0) in wm8994_device_init()
337 ret = mfd_add_devices(wm8994->dev, 0, in wm8994_device_init()
340 NULL, 0, NULL); in wm8994_device_init()
341 if (ret != 0) { in wm8994_device_init()
372 for (i = 0; i < ARRAY_SIZE(wm1811_main_supplies); i++) in wm8994_device_init()
376 for (i = 0; i < ARRAY_SIZE(wm8994_main_supplies); i++) in wm8994_device_init()
380 for (i = 0; i < ARRAY_SIZE(wm8958_main_supplies); i++) in wm8994_device_init()
395 if (ret != 0) { in wm8994_device_init()
403 if (ret != 0) { in wm8994_device_init()
409 if (ret < 0) { in wm8994_device_init()
414 case 0x1811: in wm8994_device_init()
421 case 0x8994: in wm8994_device_init()
428 case 0x8958: in wm8994_device_init()
443 if (ret < 0) { in wm8994_device_init()
454 case 0: in wm8994_device_init()
471 case 0: in wm8994_device_init()
513 if (ret != 0) { in wm8994_device_init()
525 if (ret != 0) { in wm8994_device_init()
533 if (ret != 0) { in wm8994_device_init()
544 for (i = 0; i < ARRAY_SIZE(pdata->gpio_defaults); i++) { in wm8994_device_init()
547 0xffff, pdata->gpio_defaults[i]); in wm8994_device_init()
570 for (i = 0; i < WM8994_NUM_LDO_REGS; i++) { in wm8994_device_init()
576 WM8994_LDO1_DISCH, 0); in wm8994_device_init()
583 NULL, 0, NULL); in wm8994_device_init()
584 if (ret != 0) { in wm8994_device_init()
593 return 0; in wm8994_device_init()