Home
last modified time | relevance | path

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

12345678910>>...27

/sound/core/
Ddevice.c32 struct snd_device *dev; in snd_device_new() local
59 static void __snd_device_disconnect(struct snd_device *dev) in __snd_device_disconnect()
69 static void __snd_device_free(struct snd_device *dev) in __snd_device_free()
84 struct snd_device *dev; in look_for_dev() local
108 struct snd_device *dev; in snd_device_disconnect() local
132 struct snd_device *dev; in snd_device_free() local
145 static int __snd_device_register(struct snd_device *dev) in __snd_device_register()
173 struct snd_device *dev; in snd_device_register() local
191 struct snd_device *dev; in snd_device_register_all() local
210 struct snd_device *dev; in snd_device_disconnect_all() local
[all …]
Dseq_device.c43 static int snd_seq_bus_match(struct device *dev, struct device_driver *drv) in snd_seq_bus_match()
63 static int print_dev_info(struct device *dev, void *data) in print_dev_info()
89 static int request_seq_drv(struct device *dev, void *data) in request_seq_drv()
147 struct snd_seq_device *dev = device->device_data; in snd_seq_device_dev_free() local
156 struct snd_seq_device *dev = device->device_data; in snd_seq_device_dev_register() local
169 struct snd_seq_device *dev = device->device_data; in snd_seq_device_dev_disconnect() local
175 static void snd_seq_dev_release(struct device *dev) in snd_seq_dev_release()
194 struct snd_seq_device *dev; in snd_seq_device_new() local
/sound/soc/dwc/
Ddwc-i2s.c39 static inline void i2s_disable_channels(struct dw_i2s_dev *dev, u32 stream) in i2s_disable_channels()
52 static inline void i2s_clear_irqs(struct dw_i2s_dev *dev, u32 stream) in i2s_clear_irqs()
65 static inline void i2s_disable_irqs(struct dw_i2s_dev *dev, u32 stream, in i2s_disable_irqs()
83 static inline void i2s_enable_irqs(struct dw_i2s_dev *dev, u32 stream, in i2s_enable_irqs()
103 struct dw_i2s_dev *dev = dev_id; in i2s_irq_handler() local
152 static void i2s_start(struct dw_i2s_dev *dev, in i2s_start()
168 static void i2s_stop(struct dw_i2s_dev *dev, in i2s_stop()
189 struct dw_i2s_dev *dev = snd_soc_dai_get_drvdata(cpu_dai); in dw_i2s_startup() local
210 static void dw_i2s_config(struct dw_i2s_dev *dev, int stream) in dw_i2s_config()
239 struct dw_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); in dw_i2s_hw_params() local
[all …]
Ddwc-pcm.c95 static void dw_pcm_transfer(struct dw_i2s_dev *dev, bool push) in dw_pcm_transfer()
128 void dw_pcm_push_tx(struct dw_i2s_dev *dev) in dw_pcm_push_tx()
133 void dw_pcm_pop_rx(struct dw_i2s_dev *dev) in dw_pcm_pop_rx()
142 struct dw_i2s_dev *dev = snd_soc_dai_get_drvdata(rtd->cpu_dai); in dw_pcm_open() local
161 struct dw_i2s_dev *dev = runtime->private_data; in dw_pcm_hw_params() local
203 struct dw_i2s_dev *dev = runtime->private_data; in dw_pcm_trigger() local
237 struct dw_i2s_dev *dev = runtime->private_data; in dw_pcm_pointer() local
/sound/soc/intel/atom/sst/
Dsst_drv_interface.c38 #define GET_USAGE_COUNT(dev) (atomic_read(&dev->power.usage_count)) argument
40 #define GET_USAGE_COUNT(dev) 1 argument
135 static int sst_power_control(struct device *dev, bool state) in sst_power_control()
174 static int sst_open_pcm_stream(struct device *dev, in sst_open_pcm_stream()
192 static int sst_cdev_open(struct device *dev, in sst_cdev_open()
221 static int sst_cdev_close(struct device *dev, unsigned int str_id) in sst_cdev_close()
244 static int sst_cdev_ack(struct device *dev, unsigned int str_id, in sst_cdev_ack()
275 static int sst_cdev_set_metadata(struct device *dev, in sst_cdev_set_metadata()
297 static int sst_cdev_stream_pause(struct device *dev, unsigned int str_id) in sst_cdev_stream_pause()
304 static int sst_cdev_stream_pause_release(struct device *dev, in sst_cdev_stream_pause_release()
[all …]
/sound/core/seq/
Dseq_midi_event.c104 struct snd_midi_event *dev; in snd_midi_event_new() local
126 void snd_midi_event_free(struct snd_midi_event *dev) in snd_midi_event_free()
138 static inline void reset_encode(struct snd_midi_event *dev) in reset_encode()
145 void snd_midi_event_reset_encode(struct snd_midi_event *dev) in snd_midi_event_reset_encode()
155 void snd_midi_event_reset_decode(struct snd_midi_event *dev) in snd_midi_event_reset_decode()
165 void snd_midi_event_no_status(struct snd_midi_event *dev, int on) in snd_midi_event_no_status()
176 bool snd_midi_event_encode_byte(struct snd_midi_event *dev, unsigned char c, in snd_midi_event_encode_byte()
245 static void note_event(struct snd_midi_event *dev, struct snd_seq_event *ev) in note_event()
253 static void one_param_ctrl_event(struct snd_midi_event *dev, struct snd_seq_event *ev) in one_param_ctrl_event()
260 static void pitchbend_ctrl_event(struct snd_midi_event *dev, struct snd_seq_event *ev) in pitchbend_ctrl_event()
[all …]
/sound/isa/wavefront/
Dwavefront_synth.c260 wavefront_status (snd_wavefront_t *dev) in wavefront_status()
276 wavefront_wait (snd_wavefront_t *dev, int mask) in wavefront_wait()
307 wavefront_read (snd_wavefront_t *dev) in wavefront_read()
319 wavefront_write (snd_wavefront_t *dev, unsigned char data) in wavefront_write()
333 snd_wavefront_cmd (snd_wavefront_t *dev, in snd_wavefront_cmd()
597 wavefront_delete_sample (snd_wavefront_t *dev, int sample_num) in wavefront_delete_sample()
614 wavefront_get_sample_status (snd_wavefront_t *dev, int assume_rom) in wavefront_get_sample_status()
682 wavefront_get_patch_status (snd_wavefront_t *dev) in wavefront_get_patch_status()
730 wavefront_get_program_status (snd_wavefront_t *dev) in wavefront_get_program_status()
777 wavefront_send_patch (snd_wavefront_t *dev, wavefront_patch_info *header) in wavefront_send_patch()
[all …]
Dwavefront_fx.c27 wavefront_fx_idle (snd_wavefront_t *dev) in wavefront_fx_idle()
49 wavefront_fx_mute (snd_wavefront_t *dev, int onoff) in wavefront_fx_mute()
60 wavefront_fx_memset (snd_wavefront_t *dev, in wavefront_fx_memset()
116 snd_wavefront_fx_detect (snd_wavefront_t *dev) in snd_wavefront_fx_detect()
158 snd_wavefront_t *dev; in snd_wavefront_fx_ioctl() local
231 snd_wavefront_fx_start (snd_wavefront_t *dev) in snd_wavefront_fx_start()
/sound/hda/ext/
Dhdac_ext_bus.c29 int snd_hdac_ext_bus_init(struct hdac_bus *bus, struct device *dev, in snd_hdac_ext_bus_init()
63 static void default_release(struct device *dev) in default_release()
132 #define dev_to_hdac(dev) (container_of((dev), \ argument
135 static inline struct hdac_driver *get_hdrv(struct device *dev) in get_hdrv()
141 static inline struct hdac_device *get_hdev(struct device *dev) in get_hdev()
147 static int hda_ext_drv_probe(struct device *dev) in hda_ext_drv_probe()
152 static int hdac_ext_drv_remove(struct device *dev) in hdac_ext_drv_remove()
157 static void hdac_ext_drv_shutdown(struct device *dev) in hdac_ext_drv_shutdown()
/sound/isa/cs423x/
Dcs4236.c239 static int snd_cs423x_pnp_init_wss(int dev, struct pnp_dev *pdev) in snd_cs423x_pnp_init_wss()
260 static int snd_cs423x_pnp_init_ctrl(int dev, struct pnp_dev *pdev) in snd_cs423x_pnp_init_ctrl()
272 static int snd_cs423x_pnp_init_mpu(int dev, struct pnp_dev *pdev) in snd_cs423x_pnp_init_mpu()
292 static int snd_card_cs423x_pnp(int dev, struct snd_card_cs4236 *acard, in snd_card_cs423x_pnp()
306 static int snd_card_cs423x_pnpc(int dev, struct snd_card_cs4236 *acard, in snd_card_cs423x_pnpc()
341 #define is_isapnp_selected(dev) isapnp[dev] argument
343 #define is_isapnp_selected(dev) 0 argument
353 static int snd_cs423x_card_new(struct device *pdev, int dev, in snd_cs423x_card_new()
368 static int snd_cs423x_probe(struct snd_card *card, int dev) in snd_cs423x_probe()
448 unsigned int dev) in snd_cs423x_isa_match()
[all …]
Dcs4231.c57 static int snd_cs4231_match(struct device *dev, unsigned int n) in snd_cs4231_match()
77 static int snd_cs4231_probe(struct device *dev, unsigned int n) in snd_cs4231_probe()
138 static int snd_cs4231_remove(struct device *dev, unsigned int n) in snd_cs4231_remove()
145 static int snd_cs4231_suspend(struct device *dev, unsigned int n, pm_message_t state) in snd_cs4231_suspend()
155 static int snd_cs4231_resume(struct device *dev, unsigned int n) in snd_cs4231_resume()
/sound/aoa/soundbus/
Dcore.c15 struct soundbus_dev *soundbus_dev_get(struct soundbus_dev *dev) in soundbus_dev_get()
29 void soundbus_dev_put(struct soundbus_dev *dev) in soundbus_dev_put()
36 static int soundbus_probe(struct device *dev) in soundbus_probe()
58 static int soundbus_uevent(struct device *dev, struct kobj_uevent_env *env) in soundbus_uevent()
107 static int soundbus_device_remove(struct device *dev) in soundbus_device_remove()
119 static void soundbus_device_shutdown(struct device *dev) in soundbus_device_shutdown()
139 int soundbus_add_one(struct soundbus_dev *dev) in soundbus_add_one()
158 void soundbus_remove_one(struct soundbus_dev *dev) in soundbus_remove_one()
/sound/soc/
Dsoc-devres.c12 static void devm_component_release(struct device *dev, void *res) in devm_component_release()
27 int devm_snd_soc_register_component(struct device *dev, in devm_snd_soc_register_component()
50 static void devm_card_release(struct device *dev, void *res) in devm_card_release()
63 int devm_snd_soc_register_card(struct device *dev, struct snd_soc_card *card) in devm_snd_soc_register_card()
86 static void devm_dmaengine_pcm_release(struct device *dev, void *res) in devm_dmaengine_pcm_release()
100 int devm_snd_dmaengine_pcm_register(struct device *dev, in devm_snd_dmaengine_pcm_register()
/sound/core/seq/oss/
Dseq_oss_synth.c91 struct snd_seq_device *dev = to_seq_dev(_dev); in snd_seq_oss_synth_probe() local
142 struct snd_seq_device *dev = to_seq_dev(_dev); in snd_seq_oss_synth_remove() local
181 get_sdev(int dev) in get_sdev()
331 get_synthinfo_nospec(struct seq_oss_devinfo *dp, int dev) in get_synthinfo_nospec()
343 get_synthdev(struct seq_oss_devinfo *dp, int dev) in get_synthdev()
390 snd_seq_oss_synth_reset(struct seq_oss_devinfo *dp, int dev) in snd_seq_oss_synth_reset()
441 snd_seq_oss_synth_load_patch(struct seq_oss_devinfo *dp, int dev, int fmt, in snd_seq_oss_synth_load_patch()
469 snd_seq_oss_synth_info(struct seq_oss_devinfo *dp, int dev) in snd_seq_oss_synth_info()
488 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()
547 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/isa/sb/
Dsb16.c124 struct pnp_dev *dev; member
238 static int snd_card_sb16_pnp(int dev, struct snd_card_sb16 *acard, in snd_card_sb16_pnp()
306 #define is_isapnp_selected(dev) isapnp[dev] argument
308 #define is_isapnp_selected(dev) 0 argument
311 static int snd_sb16_card_new(struct device *devptr, int dev, in snd_sb16_card_new()
326 static int snd_sb16_probe(struct snd_card *card, int dev) in snd_sb16_probe()
475 static int snd_sb16_isa_probe1(int dev, struct device *pdev) in snd_sb16_isa_probe1()
504 static int snd_sb16_isa_match(struct device *pdev, unsigned int dev) in snd_sb16_isa_match()
509 static int snd_sb16_isa_probe(struct device *pdev, unsigned int dev) in snd_sb16_isa_probe()
550 static int snd_sb16_isa_remove(struct device *pdev, unsigned int dev) in snd_sb16_isa_remove()
[all …]
/sound/soc/fsl/
Dfsl_micfil.c170 static int fsl_micfil_reset(struct device *dev) in fsl_micfil_reset()
199 struct device *dev = &micfil->pdev->dev; in fsl_micfil_set_mclk_rate() local
232 struct device *dev = &micfil->pdev->dev; in fsl_micfil_trigger() local
295 static int fsl_set_clock_params(struct device *dev, unsigned int rate) in fsl_set_clock_params()
335 struct device *dev = &micfil->pdev->dev; in fsl_micfil_hw_params() local
370 struct device *dev = &micfil->pdev->dev; in fsl_micfil_set_dai_sysclk() local
395 struct device *dev = cpu_dai->dev; in fsl_micfil_dai_probe() local
478 static bool fsl_micfil_readable_reg(struct device *dev, unsigned int reg) in fsl_micfil_readable_reg()
510 static bool fsl_micfil_writeable_reg(struct device *dev, unsigned int reg) in fsl_micfil_writeable_reg()
533 static bool fsl_micfil_volatile_reg(struct device *dev, unsigned int reg) in fsl_micfil_volatile_reg()
[all …]
/sound/soc/sof/
Dpm.c263 static int sof_resume(struct device *dev, bool runtime_resume) in sof_resume()
332 static int sof_suspend(struct device *dev, bool runtime_suspend) in sof_suspend()
391 int snd_sof_runtime_suspend(struct device *dev) in snd_sof_runtime_suspend()
397 int snd_sof_runtime_idle(struct device *dev) in snd_sof_runtime_idle()
405 int snd_sof_runtime_resume(struct device *dev) in snd_sof_runtime_resume()
411 int snd_sof_resume(struct device *dev) in snd_sof_resume()
417 int snd_sof_suspend(struct device *dev) in snd_sof_suspend()
/sound/soc/bcm/
Dbcm2835-i2s.c113 struct device *dev; member
128 static void bcm2835_i2s_start_clock(struct bcm2835_i2s_dev *dev) in bcm2835_i2s_start_clock()
146 static void bcm2835_i2s_stop_clock(struct bcm2835_i2s_dev *dev) in bcm2835_i2s_stop_clock()
153 static void bcm2835_i2s_clear_fifos(struct bcm2835_i2s_dev *dev, in bcm2835_i2s_clear_fifos()
222 struct bcm2835_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); in bcm2835_i2s_set_dai_fmt() local
230 struct bcm2835_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); in bcm2835_i2s_set_dai_bclk_ratio() local
253 struct bcm2835_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); in bcm2835_i2s_set_dai_tdm_slot() local
333 struct bcm2835_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); in bcm2835_i2s_hw_params() local
620 struct bcm2835_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); in bcm2835_i2s_prepare() local
641 static void bcm2835_i2s_stop(struct bcm2835_i2s_dev *dev, in bcm2835_i2s_stop()
[all …]
/sound/drivers/pcsp/
Dpcsp.c96 static int snd_card_pcsp_probe(int devnum, struct device *dev) in snd_card_pcsp_probe()
140 static int alsa_card_pcsp_init(struct device *dev) in alsa_card_pcsp_init()
164 static int pcsp_probe(struct platform_device *dev) in pcsp_probe()
182 static int pcsp_remove(struct platform_device *dev) in pcsp_remove()
197 static int pcsp_suspend(struct device *dev) in pcsp_suspend()
210 static void pcsp_shutdown(struct platform_device *dev) in pcsp_shutdown()
/sound/soc/ti/
Ddavinci-i2s.c129 struct device *dev; member
166 static inline void davinci_mcbsp_write_reg(struct davinci_mcbsp_dev *dev, in davinci_mcbsp_write_reg()
172 static inline u32 davinci_mcbsp_read_reg(struct davinci_mcbsp_dev *dev, int reg) in davinci_mcbsp_read_reg()
177 static void toggle_clock(struct davinci_mcbsp_dev *dev, int playback) in toggle_clock()
187 static void davinci_mcbsp_start(struct davinci_mcbsp_dev *dev, in davinci_mcbsp_start()
205 static void davinci_mcbsp_stop(struct davinci_mcbsp_dev *dev, int playback) in davinci_mcbsp_stop()
222 struct davinci_mcbsp_dev *dev = snd_soc_dai_get_drvdata(cpu_dai); in davinci_i2s_set_dai_fmt() local
367 struct davinci_mcbsp_dev *dev = snd_soc_dai_get_drvdata(cpu_dai); in davinci_i2s_dai_set_clkdiv() local
380 struct davinci_mcbsp_dev *dev = snd_soc_dai_get_drvdata(dai); in davinci_i2s_hw_params() local
528 struct davinci_mcbsp_dev *dev = snd_soc_dai_get_drvdata(dai); in davinci_i2s_prepare() local
[all …]
/sound/aoa/soundbus/i2sbus/
Dcore.c70 static void i2sbus_release_dev(struct device *dev) in i2sbus_release_dev()
92 struct i2sbus_dev *dev = devid; in i2sbus_bus_intr() local
155 struct i2sbus_dev *dev; in i2sbus_add_dev() local
330 static int i2sbus_probe(struct macio_dev* dev, const struct of_device_id *match) in i2sbus_probe()
362 static int i2sbus_remove(struct macio_dev* dev) in i2sbus_remove()
374 static int i2sbus_suspend(struct macio_dev* dev, pm_message_t state) in i2sbus_suspend()
398 static int i2sbus_resume(struct macio_dev* dev) in i2sbus_resume()
423 static int i2sbus_shutdown(struct macio_dev* dev) in i2sbus_shutdown()
/sound/ac97/
Dbus.c90 static void ac97_codec_release(struct device *dev) in ac97_codec_release()
239 static ssize_t cold_reset_store(struct device *dev, in cold_reset_store()
253 static ssize_t warm_reset_store(struct device *dev, in warm_reset_store()
296 static void ac97_adapter_release(struct device *dev) in ac97_adapter_release()
349 const struct ac97_controller_ops *ops, struct device *dev, in snd_ac97_controller_register()
391 static int ac97_pm_runtime_suspend(struct device *dev) in ac97_pm_runtime_suspend()
406 static int ac97_pm_runtime_resume(struct device *dev) in ac97_pm_runtime_resume()
458 static ssize_t vendor_id_show(struct device *dev, in vendor_id_show()
473 static int ac97_bus_match(struct device *dev, struct device_driver *drv) in ac97_bus_match()
491 static int ac97_bus_probe(struct device *dev) in ac97_bus_probe()
[all …]
/sound/isa/ad1848/
Dad1848.c52 static int snd_ad1848_match(struct device *dev, unsigned int n) in snd_ad1848_match()
72 static int snd_ad1848_probe(struct device *dev, unsigned int n) in snd_ad1848_probe()
121 static int snd_ad1848_remove(struct device *dev, unsigned int n) in snd_ad1848_remove()
128 static int snd_ad1848_suspend(struct device *dev, unsigned int n, pm_message_t state) in snd_ad1848_suspend()
138 static int snd_ad1848_resume(struct device *dev, unsigned int n) in snd_ad1848_resume()
/sound/soc/sh/
Dsiu_pcm.c109 struct device *dev = substream->pcm->card->dev; in siu_pcm_wr_set() local
157 struct device *dev = substream->pcm->card->dev; in siu_pcm_rd_set() local
205 struct device *dev = substream->pcm->card->dev; in siu_io_tasklet() local
266 struct device *dev = siu_stream->substream->pcm->card->dev; in siu_pcm_stmread_stop() local
288 struct device *dev = ss->pcm->card->dev; in siu_pcm_hw_params() local
304 struct device *dev = ss->pcm->card->dev; in siu_pcm_hw_free() local
337 struct device *dev = ss->pcm->card->dev; in siu_pcm_open() local
373 struct device *dev = ss->pcm->card->dev; in siu_pcm_close() local
396 struct device *dev = ss->pcm->card->dev; in siu_pcm_prepare() local
441 struct device *dev = ss->pcm->card->dev; in siu_pcm_trigger() local
[all …]
/sound/soc/codecs/
Dts3a227e.c24 struct device *dev; member
114 static bool ts3a227e_readable_reg(struct device *dev, unsigned int reg) in ts3a227e_readable_reg()
124 static bool ts3a227e_writeable_reg(struct device *dev, unsigned int reg) in ts3a227e_writeable_reg()
135 static bool ts3a227e_volatile_reg(struct device *dev, unsigned int reg) in ts3a227e_volatile_reg()
192 struct device *dev = ts3a227e->dev; in ts3a227e_interrupt() local
270 struct device *dev) in ts3a227e_parse_device_property()
289 struct device *dev = &i2c->dev; in ts3a227e_i2c_probe() local
338 static int ts3a227e_suspend(struct device *dev) in ts3a227e_suspend()
348 static int ts3a227e_resume(struct device *dev) in ts3a227e_resume()

12345678910>>...27