Lines Matching +full:unit +full:- +full:addresses
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * bebob.h - a part of driver for BeBoB based devices
5 * Copyright (c) 2013-2014 Takashi Sakamoto
14 #include <linux/firewire-constants.h>
32 #include "../packets-buffer.h"
33 #include "../iso-resources.h"
34 #include "../amdtp-am824.h"
37 /* basic register addresses on DM1000/DM1100/DM1500 */
85 struct fw_unit *unit; member
115 /* for M-Audio special devices */
122 snd_bebob_read_block(struct fw_unit *unit, u64 addr, void *buf, int size) in snd_bebob_read_block() argument
124 return snd_fw_transaction(unit, TCODE_READ_BLOCK_REQUEST, in snd_bebob_read_block()
130 snd_bebob_read_quad(struct fw_unit *unit, u64 addr, u32 *buf) in snd_bebob_read_quad() argument
132 return snd_fw_transaction(unit, TCODE_READ_QUADLET_REQUEST, in snd_bebob_read_quad()
138 int avc_audio_set_selector(struct fw_unit *unit, unsigned int subunit_id,
140 int avc_audio_get_selector(struct fw_unit *unit, unsigned int subunit_id,
144 * AVC command extensions, AV/C Unit and Subunit, Revision 17
174 enum avc_bridgeco_plug_unit unit, in avc_bridgeco_fill_unit_addr() argument
177 buf[0] = 0xff; /* Unit */ in avc_bridgeco_fill_unit_addr()
180 buf[3] = unit; in avc_bridgeco_fill_unit_addr()
196 int avc_bridgeco_get_plug_ch_pos(struct fw_unit *unit,
199 int avc_bridgeco_get_plug_type(struct fw_unit *unit,
202 int avc_bridgeco_get_plug_ch_count(struct fw_unit *unit, u8 addr[AVC_BRIDGECO_ADDR_BYTES],
204 int avc_bridgeco_get_plug_section_type(struct fw_unit *unit,
207 int avc_bridgeco_get_plug_input(struct fw_unit *unit,
210 int avc_bridgeco_get_plug_strm_fmt(struct fw_unit *unit,
254 int snd_bebob_maudio_load_firmware(struct fw_unit *unit);