Lines Matching refs:unit
19 struct fw_device *fw_dev = fw_parent_device(ff->unit); in name_card()
27 dev_name(&ff->unit->device), 100 << fw_dev->max_speed); in name_card()
35 fw_unit_put(ff->unit); in ff_free()
54 err = snd_card_new(&ff->unit->device, -1, NULL, THIS_MODULE, 0, in do_registration()
96 dev_info(&ff->unit->device, in do_registration()
100 static int snd_ff_probe(struct fw_unit *unit, in snd_ff_probe() argument
110 ff->unit = fw_unit_get(unit); in snd_ff_probe()
111 dev_set_drvdata(&unit->device, ff); in snd_ff_probe()
121 snd_fw_schedule_registration(unit, &ff->dwork); in snd_ff_probe()
126 static void snd_ff_update(struct fw_unit *unit) in snd_ff_update() argument
128 struct snd_ff *ff = dev_get_drvdata(&unit->device); in snd_ff_update()
132 snd_fw_schedule_registration(unit, &ff->dwork); in snd_ff_update()
140 static void snd_ff_remove(struct fw_unit *unit) in snd_ff_remove() argument
142 struct snd_ff *ff = dev_get_drvdata(&unit->device); in snd_ff_remove()