Lines Matching refs:lv
41 static int lv5207lp_write(struct lv5207lp *lv, u8 reg, u8 data) in lv5207lp_write() argument
43 return i2c_smbus_write_byte_data(lv->client, reg, data); in lv5207lp_write()
48 struct lv5207lp *lv = bl_get_data(backlight); in lv5207lp_backlight_update_status() local
52 lv5207lp_write(lv, LV5207LP_CTRL1, in lv5207lp_backlight_update_status()
54 lv5207lp_write(lv, LV5207LP_CTRL2, in lv5207lp_backlight_update_status()
58 lv5207lp_write(lv, LV5207LP_CTRL1, 0); in lv5207lp_backlight_update_status()
59 lv5207lp_write(lv, LV5207LP_CTRL2, 0); in lv5207lp_backlight_update_status()
68 struct lv5207lp *lv = bl_get_data(backlight); in lv5207lp_backlight_check_fb() local
70 return !lv->pdata->dev || lv->pdata->dev == info->device; in lv5207lp_backlight_check_fb()
84 struct lv5207lp *lv; in lv5207lp_probe() local
98 lv = devm_kzalloc(&client->dev, sizeof(*lv), GFP_KERNEL); in lv5207lp_probe()
99 if (!lv) in lv5207lp_probe()
102 lv->client = client; in lv5207lp_probe()
103 lv->pdata = pdata; in lv5207lp_probe()
113 dev_name(&client->dev), &lv->client->dev, in lv5207lp_probe()
114 lv, &lv5207lp_backlight_ops, &props); in lv5207lp_probe()