Home
last modified time | relevance | path

Searched defs:dev (Results 1 – 25 of 510) sorted by relevance

12345678910>>...21

/sound/core/
Ddevice.c47 struct snd_device *dev; in snd_device_new() local
74 static void __snd_device_disconnect(struct snd_device *dev) in __snd_device_disconnect()
84 static void __snd_device_free(struct snd_device *dev) in __snd_device_free()
99 struct snd_device *dev; in look_for_dev() local
123 struct snd_device *dev; in snd_device_disconnect() local
147 struct snd_device *dev; in snd_device_free() local
160 static int __snd_device_register(struct snd_device *dev) in __snd_device_register()
188 struct snd_device *dev; in snd_device_register() local
206 struct snd_device *dev; in snd_device_register_all() local
225 struct snd_device *dev; in snd_device_disconnect_all() local
[all …]
/sound/oss/
Dsb_audio.c34 int sb_audio_open(int dev, int mode) in sb_audio_open()
97 void sb_audio_close(int dev) in sb_audio_close()
124 static void sb_set_output_parms(int dev, unsigned long buf, int nr_bytes, in sb_set_output_parms()
145 static void sb_set_input_parms(int dev, unsigned long buf, int count, int intrflag) in sb_set_input_parms()
169 static void sb1_audio_output_block(int dev, unsigned long buf, int nr_bytes, int intrflag) in sb1_audio_output_block()
195 static void sb1_audio_start_input(int dev, unsigned long buf, int nr_bytes, int intrflag) in sb1_audio_start_input()
226 static void sb1_audio_trigger(int dev, int bits) in sb1_audio_trigger()
252 static int sb1_audio_prepare_for_input(int dev, int bsize, int bcount) in sb1_audio_prepare_for_input()
267 static int sb1_audio_prepare_for_output(int dev, int bsize, int bcount) in sb1_audio_prepare_for_output()
281 static int sb1_audio_set_speed(int dev, int speed) in sb1_audio_set_speed()
[all …]
Dsb_midi.c31 static int sb_midi_open(int dev, int mode, in sb_midi_open()
71 static void sb_midi_close(int dev) in sb_midi_close()
87 static int sb_midi_out(int dev, unsigned char midi_byte) in sb_midi_out()
105 static int sb_midi_start_read(int dev) in sb_midi_start_read()
110 static int sb_midi_end_read(int dev) in sb_midi_end_read()
122 static int sb_midi_ioctl(int dev, unsigned cmd, void __user *arg) in sb_midi_ioctl()
164 int dev; in sb_dsp_midi_init() local
Dpas2_midi.c35 static int pas_midi_open(int dev, int mode, in pas_midi_open()
93 static void pas_midi_close(int dev) in pas_midi_close()
127 static int pas_midi_out(int dev, unsigned char midi_byte) in pas_midi_out()
172 static int pas_midi_start_read(int dev) in pas_midi_start_read()
177 static int pas_midi_end_read(int dev) in pas_midi_end_read()
182 static void pas_midi_kick(int dev) in pas_midi_kick()
186 static int pas_buffer_status(int dev) in pas_buffer_status()
212 int dev = sound_alloc_mididev(); in pas_midi_init() local
Dmidi_synth.c126 int dev; in midi_synth_input() local
235 leave_sysex(int dev) in leave_sysex()
253 midi_synth_output(int dev) in midi_synth_output()
260 int midi_synth_ioctl(int dev, unsigned int cmd, void __user *arg) in midi_synth_ioctl()
283 midi_synth_kill_note(int dev, int channel, int note, int velocity) in midi_synth_kill_note()
350 midi_synth_set_instr(int dev, int channel, int instr_no) in midi_synth_set_instr()
373 midi_synth_start_note(int dev, int channel, int note, int velocity) in midi_synth_start_note()
415 midi_synth_reset(int dev) in midi_synth_reset()
423 midi_synth_open(int dev, int mode) in midi_synth_open()
456 midi_synth_close(int dev) in midi_synth_close()
[all …]
Ddmabuf.c238 static unsigned int default_set_bits(int dev, unsigned int bits) in default_set_bits()
248 static int default_set_speed(int dev, int speed) in default_set_speed()
258 static short default_set_channels(int dev, short channels) in default_set_channels()
279 int DMAbuf_open(int dev, int mode) in DMAbuf_open()
327 void DMAbuf_reset(int dev) in DMAbuf_reset()
336 static void dma_reset_output(int dev) in dma_reset_output()
380 static void dma_reset_input(int dev) in dma_reset_input()
399 void DMAbuf_launch_output(int dev, struct dma_buffparms *dmap) in DMAbuf_launch_output()
427 int DMAbuf_sync(int dev) in DMAbuf_sync()
480 int DMAbuf_release(int dev, int mode) in DMAbuf_release()
[all …]
Dmidibuf.c81 static void drain_midi_queue(int dev) in drain_midi_queue()
93 static void midi_input_intr(int dev, unsigned char data) in midi_input_intr()
111 static void midi_output_intr(int dev) in midi_output_intr()
121 int dev; in midi_poll() local
155 int MIDIbuf_open(int dev, struct file *file) in MIDIbuf_open()
214 void MIDIbuf_release(int dev, struct file *file) in MIDIbuf_release()
259 int MIDIbuf_write(int dev, struct file *file, const char __user *buf, int count) in MIDIbuf_write()
313 int MIDIbuf_read(int dev, struct file *file, char __user *buf, int count) in MIDIbuf_read()
362 int MIDIbuf_ioctl(int dev, struct file *file, in MIDIbuf_ioctl()
398 unsigned int MIDIbuf_poll(int dev, struct file *file, poll_table * wait) in MIDIbuf_poll()
[all …]
Dv_midi.c43 static int v_midi_open (int dev, int mode, in v_midi_open()
74 static void v_midi_close (int dev) in v_midi_close()
89 static int v_midi_out (int dev, unsigned char midi_byte) in v_midi_out()
106 static inline int v_midi_start_read (int dev) in v_midi_start_read()
111 static int v_midi_end_read (int dev) in v_midi_end_read()
123 static inline int v_midi_ioctl (int dev, unsigned cmd, void __user *arg) in v_midi_ioctl()
Dvidc.c118 static int vidc_mixer_ioctl(int dev, unsigned int cmd, void __user *arg) in vidc_mixer_ioctl()
172 static unsigned int vidc_audio_set_format(int dev, unsigned int fmt) in vidc_audio_set_format()
190 static int vidc_audio_set_speed(int dev, int rate) in vidc_audio_set_speed()
257 static short vidc_audio_set_channels(int dev, short channels) in vidc_audio_set_channels()
275 static int vidc_audio_open(int dev, int mode) in vidc_audio_open()
291 static void vidc_audio_close(int dev) in vidc_audio_close()
305 vidc_audio_output_block(int dev, unsigned long buf, int total_count, int one) in vidc_audio_output_block()
317 vidc_audio_start_input(int dev, unsigned long buf, int count, int intrflag) in vidc_audio_start_input()
321 static int vidc_audio_prepare_for_input(int dev, int bsize, int bcount) in vidc_audio_prepare_for_input()
338 static int vidc_audio_prepare_for_output(int dev, int bsize, int bcount) in vidc_audio_prepare_for_output()
[all …]
Duart6850.c140 static int uart6850_open(int dev, int mode, in uart6850_open()
162 static void uart6850_close(int dev) in uart6850_close()
169 static int uart6850_out(int dev, unsigned char midi_byte) in uart6850_out()
202 static inline int uart6850_command(int dev, unsigned char *midi_byte) in uart6850_command()
207 static inline int uart6850_start_read(int dev) in uart6850_start_read()
212 static inline int uart6850_end_read(int dev) in uart6850_end_read()
217 static inline void uart6850_kick(int dev) in uart6850_kick()
221 static inline int uart6850_buffer_status(int dev) in uart6850_buffer_status()
Dpas2_pcm.c150 static int pas_audio_ioctl(int dev, unsigned int cmd, void __user *arg) in pas_audio_ioctl()
199 static void pas_audio_reset(int dev) in pas_audio_reset()
204 static int pas_audio_open(int dev, int mode) in pas_audio_open()
228 static void pas_audio_close(int dev) in pas_audio_close()
242 static void pas_audio_output_block(int dev, unsigned long buf, int count, in pas_audio_output_block()
286 static void pas_audio_start_input(int dev, unsigned long buf, int count, in pas_audio_start_input()
329 static void pas_audio_trigger(int dev, int state) in pas_audio_trigger()
347 static int pas_audio_prepare_for_input(int dev, int bsize, int bcount) in pas_audio_prepare_for_input()
353 static int pas_audio_prepare_for_output(int dev, int bsize, int bcount) in pas_audio_prepare_for_output()
Daudio.c43 static int set_format(int dev, int fmt) in set_format()
71 int audio_open(int dev, struct file *file) in audio_open()
135 static void sync_output(int dev) in sync_output()
179 void audio_release(int dev, struct file *file) in audio_release()
222 int audio_write(int dev, struct file *file, const char __user *buf, int count) in audio_write()
303 int audio_read(int dev, struct file *file, char __user *buf, int count) in audio_read()
368 int audio_ioctl(int dev, struct file *file, unsigned int cmd, void __user *arg) in audio_ioctl()
538 void reorganize_buffers(int dev, struct dma_buffparms *dmap, int recording) in reorganize_buffers()
666 static int dma_subdivide(int dev, struct dma_buffparms *dmap, int fact) in dma_subdivide()
688 static int dma_set_fragment(int dev, struct dma_buffparms *dmap, int fact) in dma_set_fragment()
[all …]
Dsequencer.c85 int sequencer_read(int dev, struct file *file, char __user *buf, int count) in sequencer_read()
129 static void sequencer_midi_output(int dev) in sequencer_midi_output()
161 static void sequencer_midi_input(int dev, unsigned char data) in sequencer_midi_input()
211 int sequencer_write(int dev, struct file *file, const char __user *buf, int count) in sequencer_write()
286 int dev = event_rec[2]; in sequencer_write() local
362 int dev = q[2]; in extended_event() local
415 static int find_voice(int dev, int chn, int note) in find_voice()
427 static int alloc_voice(int dev, int chn, int note) in alloc_voice()
444 #define dev event_rec[1] in seq_chn_voice_event() macro
526 unsigned char dev = event_rec[1]; in seq_chn_common_event() local
[all …]
Dmsnd.c47 int msnd_register(multisound_dev_t *dev) in msnd_register()
63 void msnd_unregister(multisound_dev_t *dev) in msnd_unregister()
243 static int msnd_wait_TXDE(multisound_dev_t *dev) in msnd_wait_TXDE()
255 static int msnd_wait_HC0(multisound_dev_t *dev) in msnd_wait_HC0()
267 int msnd_send_dsp_cmd(multisound_dev_t *dev, BYTE cmd) in msnd_send_dsp_cmd()
284 int msnd_send_word(multisound_dev_t *dev, unsigned char high, in msnd_send_word()
301 int msnd_upload_host(multisound_dev_t *dev, char *bin, int len) in msnd_upload_host()
320 int msnd_enable_irq(multisound_dev_t *dev) in msnd_enable_irq()
348 int msnd_disable_irq(multisound_dev_t *dev) in msnd_disable_irq()
/sound/soc/intel/atom/sst/
Dsst_drv_interface.c46 #define GET_USAGE_COUNT(dev) (atomic_read(&dev->power.usage_count)) argument
48 #define GET_USAGE_COUNT(dev) 1 argument
143 static int sst_power_control(struct device *dev, bool state) in sst_power_control()
182 static int sst_open_pcm_stream(struct device *dev, in sst_open_pcm_stream()
200 static int sst_cdev_open(struct device *dev, in sst_cdev_open()
229 static int sst_cdev_close(struct device *dev, unsigned int str_id) in sst_cdev_close()
262 static int sst_cdev_ack(struct device *dev, unsigned int str_id, in sst_cdev_ack()
295 static int sst_cdev_set_metadata(struct device *dev, in sst_cdev_set_metadata()
317 static int sst_cdev_stream_pause(struct device *dev, unsigned int str_id) in sst_cdev_stream_pause()
324 static int sst_cdev_stream_pause_release(struct device *dev, in sst_cdev_stream_pause_release()
[all …]
/sound/core/seq/
Dseq_midi_event.c117 struct snd_midi_event *dev; in snd_midi_event_new() local
138 void snd_midi_event_free(struct snd_midi_event *dev) in snd_midi_event_free()
149 static inline void reset_encode(struct snd_midi_event *dev) in reset_encode()
156 void snd_midi_event_reset_encode(struct snd_midi_event *dev) in snd_midi_event_reset_encode()
165 void snd_midi_event_reset_decode(struct snd_midi_event *dev) in snd_midi_event_reset_decode()
182 void snd_midi_event_no_status(struct snd_midi_event *dev, int on) in snd_midi_event_no_status()
216 long snd_midi_event_encode(struct snd_midi_event *dev, unsigned char *buf, long count, in snd_midi_event_encode()
242 int snd_midi_event_encode_byte(struct snd_midi_event *dev, int c, in snd_midi_event_encode_byte()
312 static void note_event(struct snd_midi_event *dev, struct snd_seq_event *ev) in note_event()
320 static void one_param_ctrl_event(struct snd_midi_event *dev, struct snd_seq_event *ev) in one_param_ctrl_event()
[all …]
Dseq_device.c58 static int snd_seq_bus_match(struct device *dev, struct device_driver *drv) in snd_seq_bus_match()
78 static int print_dev_info(struct device *dev, void *data) in print_dev_info()
104 static int request_seq_drv(struct device *dev, void *data) in request_seq_drv()
162 struct snd_seq_device *dev = device->device_data; in snd_seq_device_dev_free() local
173 struct snd_seq_device *dev = device->device_data; in snd_seq_device_dev_register() local
186 struct snd_seq_device *dev = device->device_data; in snd_seq_device_dev_disconnect() local
192 static void snd_seq_dev_release(struct device *dev) in snd_seq_dev_release()
207 struct snd_seq_device *dev; in snd_seq_device_new() local
/sound/soc/
Dsoc-devres.c17 static void devm_component_release(struct device *dev, void *res) in devm_component_release()
32 int devm_snd_soc_register_component(struct device *dev, in devm_snd_soc_register_component()
55 static void devm_platform_release(struct device *dev, void *res) in devm_platform_release()
68 int devm_snd_soc_register_platform(struct device *dev, in devm_snd_soc_register_platform()
90 static void devm_card_release(struct device *dev, void *res) in devm_card_release()
103 int devm_snd_soc_register_card(struct device *dev, struct snd_soc_card *card) in devm_snd_soc_register_card()
126 static void devm_dmaengine_pcm_release(struct device *dev, void *res) in devm_dmaengine_pcm_release()
140 int devm_snd_dmaengine_pcm_register(struct device *dev, in devm_snd_dmaengine_pcm_register()
/sound/isa/wavefront/
Dwavefront_synth.c262 wavefront_status (snd_wavefront_t *dev) in wavefront_status()
278 wavefront_wait (snd_wavefront_t *dev, int mask) in wavefront_wait()
309 wavefront_read (snd_wavefront_t *dev) in wavefront_read()
321 wavefront_write (snd_wavefront_t *dev, unsigned char data) in wavefront_write()
335 snd_wavefront_cmd (snd_wavefront_t *dev, in snd_wavefront_cmd()
599 wavefront_delete_sample (snd_wavefront_t *dev, int sample_num) in wavefront_delete_sample()
616 wavefront_get_sample_status (snd_wavefront_t *dev, int assume_rom) in wavefront_get_sample_status()
684 wavefront_get_patch_status (snd_wavefront_t *dev) in wavefront_get_patch_status()
732 wavefront_get_program_status (snd_wavefront_t *dev) in wavefront_get_program_status()
779 wavefront_send_patch (snd_wavefront_t *dev, wavefront_patch_info *header) in wavefront_send_patch()
[all …]
/sound/aoa/soundbus/
Dcore.c16 struct soundbus_dev *soundbus_dev_get(struct soundbus_dev *dev) in soundbus_dev_get()
30 void soundbus_dev_put(struct soundbus_dev *dev) in soundbus_dev_put()
37 static int soundbus_probe(struct device *dev) in soundbus_probe()
59 static int soundbus_uevent(struct device *dev, struct kobj_uevent_env *env) in soundbus_uevent()
108 static int soundbus_device_remove(struct device *dev) in soundbus_device_remove()
120 static void soundbus_device_shutdown(struct device *dev) in soundbus_device_shutdown()
140 int soundbus_add_one(struct soundbus_dev *dev) in soundbus_add_one()
159 void soundbus_remove_one(struct soundbus_dev *dev) in soundbus_remove_one()
/sound/isa/cs423x/
Dcs4236.c254 static int snd_cs423x_pnp_init_wss(int dev, struct pnp_dev *pdev) in snd_cs423x_pnp_init_wss()
275 static int snd_cs423x_pnp_init_ctrl(int dev, struct pnp_dev *pdev) in snd_cs423x_pnp_init_ctrl()
287 static int snd_cs423x_pnp_init_mpu(int dev, struct pnp_dev *pdev) in snd_cs423x_pnp_init_mpu()
307 static int snd_card_cs423x_pnp(int dev, struct snd_card_cs4236 *acard, in snd_card_cs423x_pnp()
321 static int snd_card_cs423x_pnpc(int dev, struct snd_card_cs4236 *acard, in snd_card_cs423x_pnpc()
356 #define is_isapnp_selected(dev) isapnp[dev] argument
358 #define is_isapnp_selected(dev) 0 argument
368 static int snd_cs423x_card_new(struct device *pdev, int dev, in snd_cs423x_card_new()
383 static int snd_cs423x_probe(struct snd_card *card, int dev) in snd_cs423x_probe()
461 unsigned int dev) in snd_cs423x_isa_match()
[all …]
/sound/isa/sb/
Dsb16.c139 struct pnp_dev *dev; member
253 static int snd_card_sb16_pnp(int dev, struct snd_card_sb16 *acard, in snd_card_sb16_pnp()
321 #define is_isapnp_selected(dev) isapnp[dev] argument
323 #define is_isapnp_selected(dev) 0 argument
326 static int snd_sb16_card_new(struct device *devptr, int dev, in snd_sb16_card_new()
341 static int snd_sb16_probe(struct snd_card *card, int dev) in snd_sb16_probe()
491 static int snd_sb16_isa_probe1(int dev, struct device *pdev) in snd_sb16_isa_probe1()
520 static int snd_sb16_isa_match(struct device *pdev, unsigned int dev) in snd_sb16_isa_match()
525 static int snd_sb16_isa_probe(struct device *pdev, unsigned int dev) in snd_sb16_isa_probe()
566 static int snd_sb16_isa_remove(struct device *pdev, unsigned int dev) in snd_sb16_isa_remove()
[all …]
/sound/core/seq/oss/
Dseq_oss_synth.c104 struct snd_seq_device *dev = to_seq_dev(_dev); in snd_seq_oss_synth_probe() local
155 struct snd_seq_device *dev = to_seq_dev(_dev); in snd_seq_oss_synth_remove() local
194 get_sdev(int dev) in get_sdev()
344 get_synthinfo_nospec(struct seq_oss_devinfo *dp, int dev) in get_synthinfo_nospec()
356 get_synthdev(struct seq_oss_devinfo *dp, int dev) in get_synthdev()
403 snd_seq_oss_synth_reset(struct seq_oss_devinfo *dp, int dev) in snd_seq_oss_synth_reset()
454 snd_seq_oss_synth_load_patch(struct seq_oss_devinfo *dp, int dev, int fmt, in snd_seq_oss_synth_load_patch()
482 snd_seq_oss_synth_info(struct seq_oss_devinfo *dp, int dev) in snd_seq_oss_synth_info()
501 snd_seq_oss_synth_sysex(struct seq_oss_devinfo *dp, int dev, unsigned char *buf, struct snd_seq_eve… in snd_seq_oss_synth_sysex()
560 snd_seq_oss_synth_addr(struct seq_oss_devinfo *dp, int dev, struct snd_seq_event *ev) in snd_seq_oss_synth_addr()
[all …]
/sound/hda/ext/
Dhdac_ext_bus.c90 int snd_hdac_ext_bus_init(struct hdac_ext_bus *ebus, struct device *dev, in snd_hdac_ext_bus_init()
123 static void default_release(struct device *dev) in default_release()
200 #define dev_to_hdac(dev) (container_of((dev), \ argument
203 static inline struct hdac_ext_driver *get_edrv(struct device *dev) in get_edrv()
211 static inline struct hdac_ext_device *get_edev(struct device *dev) in get_edev()
219 static int hda_ext_drv_probe(struct device *dev) in hda_ext_drv_probe()
224 static int hdac_ext_drv_remove(struct device *dev) in hdac_ext_drv_remove()
229 static void hdac_ext_drv_shutdown(struct device *dev) in hdac_ext_drv_shutdown()
/sound/soc/davinci/
Ddavinci-i2s.c125 struct device *dev; member
162 static inline void davinci_mcbsp_write_reg(struct davinci_mcbsp_dev *dev, in davinci_mcbsp_write_reg()
168 static inline u32 davinci_mcbsp_read_reg(struct davinci_mcbsp_dev *dev, int reg) in davinci_mcbsp_read_reg()
173 static void toggle_clock(struct davinci_mcbsp_dev *dev, int playback) in toggle_clock()
183 static void davinci_mcbsp_start(struct davinci_mcbsp_dev *dev, in davinci_mcbsp_start()
249 static void davinci_mcbsp_stop(struct davinci_mcbsp_dev *dev, int playback) in davinci_mcbsp_stop()
266 struct davinci_mcbsp_dev *dev = snd_soc_dai_get_drvdata(cpu_dai); in davinci_i2s_set_dai_fmt() local
410 struct davinci_mcbsp_dev *dev = snd_soc_dai_get_drvdata(cpu_dai); in davinci_i2s_dai_set_clkdiv() local
423 struct davinci_mcbsp_dev *dev = snd_soc_dai_get_drvdata(dai); in davinci_i2s_hw_params() local
571 struct davinci_mcbsp_dev *dev = snd_soc_dai_get_drvdata(dai); in davinci_i2s_prepare() local
[all …]

12345678910>>...21