Lines Matching refs:unit
28 int avc_general_set_sig_fmt(struct fw_unit *unit, unsigned int rate, in avc_general_set_sig_fmt() argument
64 err = fcp_avc_transaction(unit, buf, 8, buf, 8, in avc_general_set_sig_fmt()
82 int avc_general_get_sig_fmt(struct fw_unit *unit, unsigned int *rate, in avc_general_get_sig_fmt() argument
107 err = fcp_avc_transaction(unit, buf, 8, buf, 8, in avc_general_get_sig_fmt()
135 int avc_general_get_plug_info(struct fw_unit *unit, unsigned int subunit_type, in avc_general_get_plug_info() argument
156 err = fcp_avc_transaction(unit, buf, 8, buf, 8, BIT(1) | BIT(2)); in avc_general_get_plug_info()
192 struct fw_unit *unit; member
223 int fcp_avc_transaction(struct fw_unit *unit, in fcp_avc_transaction() argument
231 t.unit = unit; in fcp_avc_transaction()
248 ret = snd_fw_transaction(t.unit, tcode, in fcp_avc_transaction()
273 dev_err(&t.unit->device, "FCP command timed out\n"); in fcp_avc_transaction()
295 void fcp_bus_reset(struct fw_unit *unit) in fcp_bus_reset() argument
301 if (t->unit == unit && in fcp_bus_reset()
347 struct fw_device *device = fw_parent_device(t->unit); in fcp_response()