Lines Matching refs:unit
18 struct fw_device *fw_dev = fw_parent_device(ff->unit); in name_card()
36 dev_name(&ff->unit->device), 100 << fw_dev->max_speed); in name_card()
49 fw_unit_put(ff->unit); in ff_card_free()
52 static int snd_ff_probe(struct fw_unit *unit, const struct ieee1394_device_id *entry) in snd_ff_probe() argument
58 err = snd_card_new(&unit->device, -1, NULL, THIS_MODULE, sizeof(*ff), &card); in snd_ff_probe()
64 ff->unit = fw_unit_get(unit); in snd_ff_probe()
65 dev_set_drvdata(&unit->device, ff); in snd_ff_probe()
117 static void snd_ff_update(struct fw_unit *unit) in snd_ff_update() argument
119 struct snd_ff *ff = dev_get_drvdata(&unit->device); in snd_ff_update()
126 static void snd_ff_remove(struct fw_unit *unit) in snd_ff_remove() argument
128 struct snd_ff *ff = dev_get_drvdata(&unit->device); in snd_ff_remove()