Lines Matching refs:opregion
282 struct tps68470_pmic_opregion *opregion = region_context; in tps68470_pmic_common_handler() local
283 struct regmap *regmap = opregion->regmap; in tps68470_pmic_common_handler()
296 mutex_lock(&opregion->lock); in tps68470_pmic_common_handler()
302 mutex_unlock(&opregion->lock); in tps68470_pmic_common_handler()
376 struct tps68470_pmic_opregion *opregion; in tps68470_pmic_opregion_probe() local
389 opregion = devm_kzalloc(dev, sizeof(*opregion), GFP_KERNEL); in tps68470_pmic_opregion_probe()
390 if (!opregion) in tps68470_pmic_opregion_probe()
393 mutex_init(&opregion->lock); in tps68470_pmic_opregion_probe()
394 opregion->regmap = tps68470_regmap; in tps68470_pmic_opregion_probe()
399 NULL, opregion); in tps68470_pmic_opregion_probe()
406 NULL, opregion); in tps68470_pmic_opregion_probe()
413 NULL, opregion); in tps68470_pmic_opregion_probe()
420 NULL, opregion); in tps68470_pmic_opregion_probe()
436 mutex_destroy(&opregion->lock); in tps68470_pmic_opregion_probe()