Lines Matching refs:supply
59 struct as3711_bl_supply *supply = to_supply(data); in as3711_set_brightness_auto_i() local
60 struct as3711 *as3711 = supply->as3711; in as3711_set_brightness_auto_i()
61 const struct as3711_bl_pdata *pdata = supply->pdata; in as3711_set_brightness_auto_i()
89 static int as3711_bl_su2_reset(struct as3711_bl_supply *supply) in as3711_bl_su2_reset() argument
91 struct as3711 *as3711 = supply->as3711; in as3711_bl_su2_reset()
93 3, supply->pdata->su2_fbprot); in as3711_bl_su2_reset()
110 struct as3711_bl_supply *supply = to_supply(data); in as3711_bl_update_status() local
111 struct as3711 *as3711 = supply->as3711; in as3711_bl_update_status()
128 const struct as3711_bl_pdata *pdata = supply->pdata; in as3711_bl_update_status()
140 ret = as3711_bl_su2_reset(supply); in as3711_bl_update_status()
185 static int as3711_bl_init_su2(struct as3711_bl_supply *supply) in as3711_bl_init_su2() argument
187 struct as3711 *as3711 = supply->as3711; in as3711_bl_init_su2()
188 const struct as3711_bl_pdata *pdata = supply->pdata; in as3711_bl_init_su2()
369 struct as3711_bl_supply *supply; in as3711_backlight_probe() local
406 supply = devm_kzalloc(&pdev->dev, sizeof(*supply), GFP_KERNEL); in as3711_backlight_probe()
407 if (!supply) in as3711_backlight_probe()
410 supply->as3711 = as3711; in as3711_backlight_probe()
411 supply->pdata = pdata; in as3711_backlight_probe()
414 su = &supply->su1; in as3711_backlight_probe()
425 su = &supply->su2; in as3711_backlight_probe()
453 ret = as3711_bl_init_su2(supply); in as3711_backlight_probe()
462 platform_set_drvdata(pdev, supply); in as3711_backlight_probe()