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()