Lines Matching refs:dcfg
36 const struct snvs_lpgpr_cfg *dcfg; member
57 const struct snvs_lpgpr_cfg *dcfg = priv->dcfg; in snvs_lpgpr_write() local
61 ret = regmap_read(priv->regmap, dcfg->offset_hplr, &lock_reg); in snvs_lpgpr_write()
68 ret = regmap_read(priv->regmap, dcfg->offset_lplr, &lock_reg); in snvs_lpgpr_write()
75 return regmap_bulk_write(priv->regmap, dcfg->offset + offset, val, in snvs_lpgpr_write()
83 const struct snvs_lpgpr_cfg *dcfg = priv->dcfg; in snvs_lpgpr_read() local
85 return regmap_bulk_read(priv->regmap, dcfg->offset + offset, in snvs_lpgpr_read()
97 const struct snvs_lpgpr_cfg *dcfg; in snvs_lpgpr_probe() local
106 dcfg = of_device_get_match_data(dev); in snvs_lpgpr_probe()
107 if (!dcfg) in snvs_lpgpr_probe()
119 priv->dcfg = dcfg; in snvs_lpgpr_probe()
127 cfg->size = dcfg->size; in snvs_lpgpr_probe()