Lines Matching defs:unit
28 int avc_general_set_sig_fmt(struct fw_unit *unit, unsigned int rate,
64 err = fcp_avc_transaction(unit, buf, 8, buf, 8,
84 int avc_general_get_sig_fmt(struct fw_unit *unit, unsigned int *rate,
109 err = fcp_avc_transaction(unit, buf, 8, buf, 8,
139 int avc_general_get_plug_info(struct fw_unit *unit, unsigned int subunit_type,
160 err = fcp_avc_transaction(unit, buf, 8, buf, 8, BIT(1) | BIT(2));
198 struct fw_unit *unit;
209 * @unit: a unit on the target device
229 int fcp_avc_transaction(struct fw_unit *unit,
237 t.unit = unit;
252 ret = snd_fw_transaction(t.unit, tcode,
277 dev_err(&t.unit->device, "FCP command timed out\n");
293 * @unit: the unit that might be used by fcp_avc_transaction()
299 void fcp_bus_reset(struct fw_unit *unit)
305 if (t->unit == unit &&
351 struct fw_device *device = fw_parent_device(t->unit);