Home
last modified time | relevance | path

Searched refs:fw_unit (Results 1 – 25 of 35) sorted by relevance

12

/linux/sound/firewire/
H A Dfcp.h7 struct fw_unit;
18 int avc_general_set_sig_fmt(struct fw_unit *unit, unsigned int rate,
21 int avc_general_get_sig_fmt(struct fw_unit *unit, unsigned int *rate,
24 int avc_general_get_plug_info(struct fw_unit *unit, unsigned int subunit_type,
28 int fcp_avc_transaction(struct fw_unit *unit,
32 void fcp_bus_reset(struct fw_unit *unit);
H A Diso-resources.h8 struct fw_unit;
21 struct fw_unit *unit;
31 struct fw_unit *unit);
H A Dpackets-buffer.h21 int iso_packets_buffer_init(struct iso_packets_buffer *b, struct fw_unit *unit,
25 struct fw_unit *unit);
H A Dlib.h10 struct fw_unit;
16 int snd_fw_transaction(struct fw_unit *unit, int tcode,
H A Dpackets-buffer.c21 int iso_packets_buffer_init(struct iso_packets_buffer *b, struct fw_unit *unit, in iso_packets_buffer_init()
72 struct fw_unit *unit) in iso_packets_buffer_destroy()
H A Damdtp-stream.h94 struct fw_unit;
121 struct fw_unit *unit;
216 int amdtp_stream_init(struct amdtp_stream *s, struct fw_unit *unit,
H A Damdtp-am824.h47 int amdtp_am824_init(struct amdtp_stream *s, struct fw_unit *unit,
H A Disight.c50 struct fw_unit *unit;
596 static u64 get_unit_base(struct fw_unit *unit) in get_unit_base()
608 static int isight_probe(struct fw_unit *unit, in isight_probe()
668 static void isight_bus_reset(struct fw_unit *unit) in isight_bus_reset()
680 static void isight_remove(struct fw_unit *unit) in isight_remove()
H A Dlib.c33 int snd_fw_transaction(struct fw_unit *unit, int tcode, in snd_fw_transaction()
/linux/sound/firewire/bebob/
H A Dbebob.h84 struct fw_unit *unit;
121 snd_bebob_read_block(struct fw_unit *unit, u64 addr, void *buf, int size) in snd_bebob_read_block()
129 snd_bebob_read_quad(struct fw_unit *unit, u64 addr, u32 *buf) in snd_bebob_read_quad()
137 int avc_audio_set_selector(struct fw_unit *unit, unsigned int subunit_id,
139 int avc_audio_get_selector(struct fw_unit *unit, unsigned int subunit_id,
195 int avc_bridgeco_get_plug_ch_pos(struct fw_unit *unit,
198 int avc_bridgeco_get_plug_type(struct fw_unit *unit,
201 int avc_bridgeco_get_plug_ch_count(struct fw_unit *unit, u8 addr[AVC_BRIDGECO_ADDR_BYTES],
203 int avc_bridgeco_get_plug_section_type(struct fw_unit *unit,
206 int avc_bridgeco_get_plug_input(struct fw_unit *unit,
[all …]
H A Dbebob_command.c10 int avc_audio_set_selector(struct fw_unit *unit, unsigned int subunit_id, in avc_audio_set_selector()
48 int avc_audio_get_selector(struct fw_unit *unit, unsigned int subunit_id, in avc_audio_get_selector()
109 int avc_bridgeco_get_plug_type(struct fw_unit *unit, in avc_bridgeco_get_plug_type()
146 int avc_bridgeco_get_plug_ch_count(struct fw_unit *unit, u8 addr[AVC_BRIDGECO_ADDR_BYTES], in avc_bridgeco_get_plug_ch_count()
182 int avc_bridgeco_get_plug_ch_pos(struct fw_unit *unit, in avc_bridgeco_get_plug_ch_pos()
214 int avc_bridgeco_get_plug_section_type(struct fw_unit *unit, in avc_bridgeco_get_plug_section_type()
253 int avc_bridgeco_get_plug_input(struct fw_unit *unit, in avc_bridgeco_get_plug_input()
289 int avc_bridgeco_get_plug_strm_fmt(struct fw_unit *unit, in avc_bridgeco_get_plug_strm_fmt()
/linux/sound/firewire/oxfw/
H A Doxfw.h65 struct fw_unit *unit;
98 int avc_stream_set_format(struct fw_unit *unit, enum avc_general_plug_dir dir,
100 int avc_stream_get_format(struct fw_unit *unit,
104 avc_stream_get_format_single(struct fw_unit *unit, in avc_stream_get_format_single()
111 avc_stream_get_format_list(struct fw_unit *unit, in avc_stream_get_format_list()
123 int avc_general_inquiry_sig_fmt(struct fw_unit *unit, unsigned int rate,
H A Doxfw-command.c10 int avc_stream_set_format(struct fw_unit *unit, enum avc_general_plug_dir dir, in avc_stream_set_format()
52 int avc_stream_get_format(struct fw_unit *unit, in avc_stream_get_format()
111 int avc_general_inquiry_sig_fmt(struct fw_unit *unit, unsigned int rate, in avc_general_inquiry_sig_fmt()
/linux/include/linux/
H A Dfirewire.h253 struct fw_unit { struct
259 #define fw_unit(dev) container_of_const(dev, struct fw_unit, device) argument
261 static inline struct fw_unit *fw_unit_get(struct fw_unit *unit) in fw_unit_get()
268 static inline void fw_unit_put(struct fw_unit *unit) in fw_unit_put()
277 int (*probe)(struct fw_unit *unit, const struct ieee1394_device_id *id);
279 void (*update)(struct fw_unit *unit);
280 void (*remove)(struct fw_unit *unit);
/linux/sound/firewire/fireworks/
H A Dfireworks.h61 struct fw_unit *unit;
110 int snd_efw_transaction_cmd(struct fw_unit *unit,
112 int snd_efw_transaction_run(struct fw_unit *unit,
117 void snd_efw_transaction_bus_reset(struct fw_unit *unit);
H A Dfireworks.c202 static int efw_probe(struct fw_unit *unit, const struct ieee1394_device_id *entry) in efw_probe()
280 static void efw_update(struct fw_unit *unit) in efw_update()
290 static void efw_remove(struct fw_unit *unit) in efw_remove()
/linux/drivers/firewire/
H A Dcore-device.c151 static void get_modalias_ids(const struct fw_unit *unit, int *id) in get_modalias_ids()
197 get_modalias_ids(fw_unit(dev), id); in unit_match()
219 return driver->probe(fw_unit(dev), unit_match(dev, dev->driver)); in fw_unit_probe()
227 driver->remove(fw_unit(dev)); in fw_unit_remove()
230 static int get_modalias(const struct fw_unit *unit, char *buffer, size_t buffer_size) in get_modalias()
243 const struct fw_unit *unit = fw_unit(dev); in fw_unit_uevent()
292 directories[0] = fw_unit(dev)->directory; in show_immediate()
341 directories[0] = fw_unit(dev)->directory; in show_text_leaf()
434 struct fw_unit *unit = fw_unit(dev); in modalias_show()
447 struct fw_unit *unit = fw_unit(dev); in rom_index_show()
[all …]
H A Ddevice-attribute-test.c91 static const struct fw_unit unit0 = { in device_attr_simple_avc()
114 KUNIT_ASSERT_PTR_EQ(test, fw_unit(unit0_dev), &unit0); in device_attr_simple_avc()
173 static const struct fw_unit unit0 = { in device_attr_legacy_avc()
196 KUNIT_ASSERT_PTR_EQ(test, fw_unit(unit0_dev), &unit0); in device_attr_legacy_avc()
/linux/sound/firewire/motu/
H A Dmotu.c65 static int motu_probe(struct fw_unit *unit, const struct ieee1394_device_id *entry) in motu_probe()
135 static void motu_remove(struct fw_unit *unit) in motu_remove()
143 static void motu_bus_update(struct fw_unit *unit) in motu_bus_update()
/linux/sound/firewire/digi00x/
H A Ddigi00x.h34 struct fw_unit *unit;
114 int amdtp_dot_init(struct amdtp_stream *s, struct fw_unit *unit,
/linux/sound/firewire/fireface/
H A Dff.c52 static int snd_ff_probe(struct fw_unit *unit, const struct ieee1394_device_id *entry) in snd_ff_probe()
117 static void snd_ff_update(struct fw_unit *unit) in snd_ff_update()
126 static void snd_ff_remove(struct fw_unit *unit) in snd_ff_remove()
H A Dff.h67 struct fw_unit *unit;
143 int amdtp_ff_init(struct amdtp_stream *s, struct fw_unit *unit,
/linux/sound/firewire/dice/
H A Ddice.c34 static int check_dice_category(struct fw_unit *unit) in check_dice_category()
144 static int dice_probe(struct fw_unit *unit, const struct ieee1394_device_id *entry) in dice_probe()
227 static void dice_remove(struct fw_unit *unit) in dice_remove()
235 static void dice_bus_reset(struct fw_unit *unit) in dice_bus_reset()
/linux/sound/firewire/tascam/
H A Dtascam.h67 struct fw_unit *unit;
157 int amdtp_tscm_init(struct amdtp_stream *s, struct fw_unit *unit,
/linux/drivers/media/firewire/
H A Dfiredtv-fw.c251 static int node_probe(struct fw_unit *unit, const struct ieee1394_device_id *id) in node_probe()
314 static void node_remove(struct fw_unit *unit) in node_remove()
329 static void node_update(struct fw_unit *unit) in node_update()

12