tas5720           147 sound/soc/codecs/tas5720.c 	struct tas5720_data *tas5720 = snd_soc_component_get_drvdata(component);
tas5720           182 sound/soc/codecs/tas5720.c 	switch (tas5720->devtype) {
tas5720           219 sound/soc/codecs/tas5720.c 	struct tas5720_data *tas5720 = container_of(work, struct tas5720_data,
tas5720           221 sound/soc/codecs/tas5720.c 	struct device *dev = tas5720->component->dev;
tas5720           225 sound/soc/codecs/tas5720.c 	ret = regmap_read(tas5720->regmap, TAS5720_FAULT_REG, &curr_fault);
tas5720           240 sound/soc/codecs/tas5720.c 	if ((curr_fault & TAS5720_OCE) && !(tas5720->last_fault & TAS5720_OCE))
tas5720           243 sound/soc/codecs/tas5720.c 	if ((curr_fault & TAS5720_DCE) && !(tas5720->last_fault & TAS5720_DCE))
tas5720           246 sound/soc/codecs/tas5720.c 	if ((curr_fault & TAS5720_OTE) && !(tas5720->last_fault & TAS5720_OTE))
tas5720           250 sound/soc/codecs/tas5720.c 	tas5720->last_fault = curr_fault;
tas5720           261 sound/soc/codecs/tas5720.c 	ret = regmap_write_bits(tas5720->regmap, TAS5720_POWER_CTRL_REG,
tas5720           266 sound/soc/codecs/tas5720.c 	ret = regmap_write_bits(tas5720->regmap, TAS5720_POWER_CTRL_REG,
tas5720           273 sound/soc/codecs/tas5720.c 	schedule_delayed_work(&tas5720->fault_check_work,
tas5720           279 sound/soc/codecs/tas5720.c 	struct tas5720_data *tas5720 = snd_soc_component_get_drvdata(component);
tas5720           283 sound/soc/codecs/tas5720.c 	tas5720->component = component;
tas5720           285 sound/soc/codecs/tas5720.c 	ret = regulator_bulk_enable(ARRAY_SIZE(tas5720->supplies),
tas5720           286 sound/soc/codecs/tas5720.c 				    tas5720->supplies);
tas5720           297 sound/soc/codecs/tas5720.c 	ret = regmap_read(tas5720->regmap, TAS5720_DEVICE_ID_REG, &device_id);
tas5720           304 sound/soc/codecs/tas5720.c 	switch (tas5720->devtype) {
tas5720           337 sound/soc/codecs/tas5720.c 	INIT_DELAYED_WORK(&tas5720->fault_check_work, tas5720_fault_check_work);
tas5720           345 sound/soc/codecs/tas5720.c 	regulator_bulk_disable(ARRAY_SIZE(tas5720->supplies),
tas5720           346 sound/soc/codecs/tas5720.c 			       tas5720->supplies);
tas5720           352 sound/soc/codecs/tas5720.c 	struct tas5720_data *tas5720 = snd_soc_component_get_drvdata(component);
tas5720           355 sound/soc/codecs/tas5720.c 	cancel_delayed_work_sync(&tas5720->fault_check_work);
tas5720           357 sound/soc/codecs/tas5720.c 	ret = regulator_bulk_disable(ARRAY_SIZE(tas5720->supplies),
tas5720           358 sound/soc/codecs/tas5720.c 				     tas5720->supplies);
tas5720           367 sound/soc/codecs/tas5720.c 	struct tas5720_data *tas5720 = snd_soc_component_get_drvdata(component);
tas5720           390 sound/soc/codecs/tas5720.c 		tas5720->last_fault = 0;
tas5720           391 sound/soc/codecs/tas5720.c 		schedule_delayed_work(&tas5720->fault_check_work,
tas5720           395 sound/soc/codecs/tas5720.c 		cancel_delayed_work_sync(&tas5720->fault_check_work);
tas5720           413 sound/soc/codecs/tas5720.c 	struct tas5720_data *tas5720 = snd_soc_component_get_drvdata(component);
tas5720           416 sound/soc/codecs/tas5720.c 	regcache_cache_only(tas5720->regmap, true);
tas5720           417 sound/soc/codecs/tas5720.c 	regcache_mark_dirty(tas5720->regmap);
tas5720           419 sound/soc/codecs/tas5720.c 	ret = regulator_bulk_disable(ARRAY_SIZE(tas5720->supplies),
tas5720           420 sound/soc/codecs/tas5720.c 				     tas5720->supplies);
tas5720           429 sound/soc/codecs/tas5720.c 	struct tas5720_data *tas5720 = snd_soc_component_get_drvdata(component);
tas5720           432 sound/soc/codecs/tas5720.c 	ret = regulator_bulk_enable(ARRAY_SIZE(tas5720->supplies),
tas5720           433 sound/soc/codecs/tas5720.c 				    tas5720->supplies);
tas5720           439 sound/soc/codecs/tas5720.c 	regcache_cache_only(tas5720->regmap, false);
tas5720           441 sound/soc/codecs/tas5720.c 	ret = regcache_sync(tas5720->regmap);