Home
last modified time | relevance | path

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

12

/linux/sound/firewire/bebob/
H A Dbebob.h85 struct fw_unit *unit;
122 snd_bebob_read_block(struct fw_unit *unit, u64 addr, void *buf, int size) in snd_bebob_read_block()
130 snd_bebob_read_quad(struct fw_unit *unit, u64 addr, u32 *buf) 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,
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,
[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()
H A Dbebob.c136 get_saffire_spec(struct fw_unit *unit) in get_saffire_spec()
150 check_audiophile_booted(struct fw_unit *unit) in check_audiophile_booted()
184 static int bebob_probe(struct fw_unit *unit, const struct ieee1394_device_id *entry) in bebob_probe()
319 bebob_update(struct fw_unit *unit) in bebob_update()
329 static void bebob_remove(struct fw_unit *unit) in bebob_remove()
/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 Dfcp.c28 int avc_general_set_sig_fmt(struct fw_unit *unit, unsigned int rate, in avc_general_set_sig_fmt()
84 int avc_general_get_sig_fmt(struct fw_unit *unit, unsigned int *rate, in avc_general_get_sig_fmt()
139 int avc_general_get_plug_info(struct fw_unit *unit, unsigned int subunit_type, in avc_general_get_plug_info()
198 struct fw_unit *unit;
229 int fcp_avc_transaction(struct fw_unit *unit, in fcp_avc_transaction()
299 void fcp_bus_reset(struct fw_unit *unit) in fcp_bus_reset()
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 Dcmp.h9 struct fw_unit;
39 struct fw_unit *unit,
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 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()
/linux/sound/firewire/oxfw/
H A Doxfw.h66 struct fw_unit *unit;
99 int avc_stream_set_format(struct fw_unit *unit, enum avc_general_plug_dir dir,
101 int avc_stream_get_format(struct fw_unit *unit,
105 avc_stream_get_format_single(struct fw_unit *unit, in avc_stream_get_format_single()
112 avc_stream_get_format_list(struct fw_unit *unit, in avc_stream_get_format_list()
124 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()
H A Doxfw.c46 static bool detect_loud_models(struct fw_unit *unit) in detect_loud_models()
209 static int oxfw_probe(struct fw_unit *unit, const struct ieee1394_device_id *entry) in oxfw_probe()
279 static void oxfw_bus_reset(struct fw_unit *unit) in oxfw_bus_reset()
295 static void oxfw_remove(struct fw_unit *unit) in oxfw_remove()
/linux/include/linux/
H A Dfirewire.h225 struct fw_unit { struct
231 #define fw_unit(dev) container_of_const(dev, struct fw_unit, device) argument
233 static inline struct fw_unit *fw_unit_get(struct fw_unit *unit) in fw_unit_get()
240 static inline void fw_unit_put(struct fw_unit *unit) in fw_unit_put()
251 int (*probe)(struct fw_unit *unit, const struct ieee1394_device_id *id);
253 void (*update)(struct fw_unit *unit);
254 void (*remove)(struct fw_unit *unit);
/linux/drivers/firewire/
H A Dcore-device.c152 static void get_modalias_ids(const struct fw_unit *unit, int *id) in get_modalias_ids()
198 get_modalias_ids(fw_unit(dev), id); in unit_match()
220 return driver->probe(fw_unit(dev), unit_match(dev, dev->driver)); in fw_unit_probe()
228 driver->remove(fw_unit(dev)); in fw_unit_remove()
231 static int get_modalias(const struct fw_unit *unit, char *buffer, size_t buffer_size) in get_modalias()
244 const struct fw_unit *unit = fw_unit(dev); in fw_unit_uevent()
293 directories[0] = fw_unit(dev)->directory; in show_immediate()
342 directories[0] = fw_unit(dev)->directory; in show_text_leaf()
435 struct fw_unit *unit = fw_unit(dev); in modalias_show()
448 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()
113 KUNIT_ASSERT_PTR_EQ(test, fw_unit(unit0_dev), &unit0); in device_attr_simple_avc()
172 static const struct fw_unit unit0 = { in device_attr_legacy_avc()
194 KUNIT_ASSERT_PTR_EQ(test, fw_unit(unit0_dev), &unit0); in device_attr_legacy_avc()
/linux/sound/firewire/fireworks/
H A Dfireworks.h62 struct fw_unit *unit;
111 int snd_efw_transaction_cmd(struct fw_unit *unit,
113 int snd_efw_transaction_run(struct fw_unit *unit,
118 void snd_efw_transaction_bus_reset(struct fw_unit *unit);
H A Dfireworks_transaction.c54 struct fw_unit *unit;
62 int snd_efw_transaction_cmd(struct fw_unit *unit, in snd_efw_transaction_cmd()
70 int snd_efw_transaction_run(struct fw_unit *unit, in snd_efw_transaction_run()
289 void snd_efw_transaction_bus_reset(struct fw_unit *unit) in snd_efw_transaction_bus_reset()
/linux/sound/firewire/digi00x/
H A Ddigi00x.c55 static int snd_dg00x_probe(struct fw_unit *unit, const struct ieee1394_device_id *entry) in snd_dg00x_probe()
113 static void snd_dg00x_update(struct fw_unit *unit) in snd_dg00x_update()
124 static void snd_dg00x_remove(struct fw_unit *unit) in snd_dg00x_remove()
H A Ddigi00x.h35 struct fw_unit *unit;
115 int amdtp_dot_init(struct amdtp_stream *s, struct fw_unit *unit,
/linux/sound/firewire/tascam/
H A Dtascam.c98 static int snd_tscm_probe(struct fw_unit *unit, in snd_tscm_probe()
155 static void snd_tscm_update(struct fw_unit *unit) in snd_tscm_update()
166 static void snd_tscm_remove(struct fw_unit *unit) in snd_tscm_remove()
/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/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()
/linux/sound/firewire/dice/
H A Ddice.c33 static int check_dice_category(struct fw_unit *unit) in check_dice_category()
143 static int dice_probe(struct fw_unit *unit, const struct ieee1394_device_id *entry) in dice_probe()
226 static void dice_remove(struct fw_unit *unit) in dice_remove()
234 static void dice_bus_reset(struct fw_unit *unit) in dice_bus_reset()

12