Lines Matching refs:unit
30 struct fw_device *fw_dev = fw_parent_device(motu->unit); in name_card()
35 fw_csr_iterator_init(&it, motu->unit->directory); in name_card()
51 dev_name(&motu->unit->device), 100 << fw_dev->max_speed); in name_card()
62 fw_unit_put(motu->unit); in motu_card_free()
65 static int motu_probe(struct fw_unit *unit, const struct ieee1394_device_id *entry) in motu_probe() argument
71 err = snd_card_new(&unit->device, -1, NULL, THIS_MODULE, sizeof(*motu), &card); in motu_probe()
77 motu->unit = fw_unit_get(unit); in motu_probe()
78 dev_set_drvdata(&unit->device, motu); in motu_probe()
135 static void motu_remove(struct fw_unit *unit) in motu_remove() argument
137 struct snd_motu *motu = dev_get_drvdata(&unit->device); in motu_remove()
143 static void motu_bus_update(struct fw_unit *unit) in motu_bus_update() argument
145 struct snd_motu *motu = dev_get_drvdata(&unit->device); in motu_bus_update()