Lines Matching +full:unit +full:- +full:address
1 // SPDX-License-Identifier: GPL-2.0-only
18 * snd_fw_transaction - send a request and wait for its completion
19 * @unit: the driver's unit on the target device
21 * @offset: the address in the target's address space
29 * response. The node ID and the current generation are derived from @unit.
33 int snd_fw_transaction(struct fw_unit *unit, int tcode, in snd_fw_transaction() argument
37 struct fw_device *device = fw_parent_device(unit); in snd_fw_transaction()
43 generation = device->generation; in snd_fw_transaction()
46 rcode = fw_run_transaction(device->card, tcode, in snd_fw_transaction()
47 device->node_id, generation, in snd_fw_transaction()
48 device->max_speed, offset, in snd_fw_transaction()
55 return -EAGAIN; in snd_fw_transaction()
59 dev_err(&unit->device, in snd_fw_transaction()
62 return -EIO; in snd_fw_transaction()
73 * snd_fw_schedule_registration - schedule work for sound card registration
74 * @unit: an instance for unit on IEEE 1394 bus
77 * This function is not designed for general purposes. When new unit is
78 * connected to IEEE 1394 bus, the bus is under bus-reset state because of
84 void snd_fw_schedule_registration(struct fw_unit *unit, in snd_fw_schedule_registration() argument
90 delay = fw_parent_device(unit)->card->reset_jiffies in snd_fw_schedule_registration()
94 delay -= now; in snd_fw_schedule_registration()