Lines Matching refs:uda1380
64 struct uda1380_priv *uda1380 = snd_soc_component_get_drvdata(component); in uda1380_read_reg_cache() local
65 u16 *cache = uda1380->reg_cache; in uda1380_read_reg_cache()
80 struct uda1380_priv *uda1380 = snd_soc_component_get_drvdata(component); in uda1380_write_reg_cache() local
81 u16 *cache = uda1380->reg_cache; in uda1380_write_reg_cache()
96 struct uda1380_priv *uda1380 = snd_soc_component_get_drvdata(component); in uda1380_write() local
116 if (i2c_master_send(uda1380->i2c, data, 3) == 3) { in uda1380_write()
118 i2c_master_send(uda1380->i2c, data, 1); in uda1380_write()
119 i2c_master_recv(uda1380->i2c, data, 2); in uda1380_write()
135 struct uda1380_priv *uda1380 = snd_soc_component_get_drvdata(component); in uda1380_sync_cache() local
138 u16 *cache = uda1380->reg_cache; in uda1380_sync_cache()
145 if (i2c_master_send(uda1380->i2c, data, 3) != 3) in uda1380_sync_cache()
154 struct uda1380_priv *uda1380 = snd_soc_component_get_drvdata(component); in uda1380_reset() local
167 if (i2c_master_send(uda1380->i2c, data, 3) != 3) { in uda1380_reset()
178 struct uda1380_priv *uda1380 = container_of(work, struct uda1380_priv, work); in uda1380_flush_work() local
179 struct snd_soc_component *uda1380_component = uda1380->component; in uda1380_flush_work()
510 struct uda1380_priv *uda1380 = snd_soc_component_get_drvdata(component); in uda1380_trigger() local
518 schedule_work(&uda1380->work); in uda1380_trigger()
524 schedule_work(&uda1380->work); in uda1380_trigger()
697 struct uda1380_priv *uda1380 = snd_soc_component_get_drvdata(component); in uda1380_probe() local
700 uda1380->component = component; in uda1380_probe()
708 INIT_WORK(&uda1380->work, uda1380_flush_work); in uda1380_probe()
746 struct uda1380_priv *uda1380; in uda1380_i2c_probe() local
752 uda1380 = devm_kzalloc(&i2c->dev, sizeof(struct uda1380_priv), in uda1380_i2c_probe()
754 if (uda1380 == NULL) in uda1380_i2c_probe()
771 uda1380->reg_cache = devm_kmemdup(&i2c->dev, in uda1380_i2c_probe()
775 if (!uda1380->reg_cache) in uda1380_i2c_probe()
778 i2c_set_clientdata(i2c, uda1380); in uda1380_i2c_probe()
779 uda1380->i2c = i2c; in uda1380_i2c_probe()