Lines Matching refs:unit
41 struct fw_device *fw_dev = fw_parent_device(tscm->unit); in identify_model()
48 dev_err(&tscm->unit->device, in identify_model()
77 dev_name(&tscm->unit->device), 100 << fw_dev->max_speed); in identify_model()
89 fw_unit_put(tscm->unit); in tscm_card_free()
94 static int snd_tscm_probe(struct fw_unit *unit, in snd_tscm_probe() argument
102 err = snd_card_new(&unit->device, -1, NULL, THIS_MODULE, in snd_tscm_probe()
111 tscm->unit = fw_unit_get(unit); in snd_tscm_probe()
147 dev_set_drvdata(&unit->device, tscm); in snd_tscm_probe()
155 static void snd_tscm_update(struct fw_unit *unit) in snd_tscm_update() argument
157 struct snd_tscm *tscm = dev_get_drvdata(&unit->device); in snd_tscm_update()
166 static void snd_tscm_remove(struct fw_unit *unit) in snd_tscm_remove() argument
168 struct snd_tscm *tscm = dev_get_drvdata(&unit->device); in snd_tscm_remove()