Lines Matching defs:priv
20 struct tps6105x_priv *priv = data;
22 fwnode_handle_put(priv->fwnode);
28 struct tps6105x_priv *priv = container_of(cdev, struct tps6105x_priv,
31 return regmap_update_bits(priv->regmap, TPS6105X_REG_0,
41 struct tps6105x_priv *priv;
51 priv = devm_kzalloc(&pdev->dev, sizeof(*priv), GFP_KERNEL);
52 if (!priv)
54 /* fwnode/devicetree is optional. NULL is allowed for priv->fwnode */
55 priv->fwnode = device_get_next_child_node(pdev->dev.parent, NULL);
56 ret = devm_add_action_or_reset(&pdev->dev, tps6105x_handle_put, priv);
59 priv->regmap = tps6105x->regmap;
60 priv->cdev.brightness_set_blocking = tps6105x_brightness_set;
61 priv->cdev.max_brightness = 7;
64 init_data.fwnode = priv->fwnode;
74 return devm_led_classdev_register_ext(&pdev->dev, &priv->cdev,