Home
last modified time | relevance | path

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

12345678910>>...30

/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
158 struct snd_seq_device *dev = device->device_data; in snd_seq_device_dev_register() local
171 struct snd_seq_device *dev = device->device_data; in snd_seq_device_dev_disconnect() local
177 static void snd_seq_dev_release(struct device *dev) in snd_seq_dev_release()
192 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()
186 static void dw_i2s_config(struct dw_i2s_dev *dev, int stream) in dw_i2s_config()
215 struct dw_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); in dw_i2s_hw_params() local
287 struct dw_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); in dw_i2s_prepare() 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()
143 struct dw_i2s_dev *dev = snd_soc_dai_get_drvdata(asoc_rtd_to_cpu(rtd, 0)); in dw_pcm_open() local
164 struct dw_i2s_dev *dev = runtime->private_data; in dw_pcm_hw_params() local
196 struct dw_i2s_dev *dev = runtime->private_data; in dw_pcm_trigger() local
231 struct dw_i2s_dev *dev = runtime->private_data; in dw_pcm_pointer() local
/sound/soc/intel/atom/sst/
Dsst_drv_interface.c35 #define GET_USAGE_COUNT(dev) (atomic_read(&dev->power.usage_count)) argument
37 #define GET_USAGE_COUNT(dev) 1 argument
132 static int sst_power_control(struct device *dev, bool state) in sst_power_control()
171 static int sst_open_pcm_stream(struct device *dev, in sst_open_pcm_stream()
189 static int sst_cdev_open(struct device *dev, in sst_cdev_open()
218 static int sst_cdev_close(struct device *dev, unsigned int str_id) in sst_cdev_close()
241 static int sst_cdev_ack(struct device *dev, unsigned int str_id, in sst_cdev_ack()
272 static int sst_cdev_set_metadata(struct device *dev, in sst_cdev_set_metadata()
294 static int sst_cdev_stream_pause(struct device *dev, unsigned int str_id) in sst_cdev_stream_pause()
301 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/soc/sof/
Dpm.c86 static int sof_resume(struct device *dev, bool runtime_resume) in sof_resume()
178 static int sof_suspend(struct device *dev, bool runtime_suspend) in sof_suspend()
273 int snd_sof_runtime_suspend(struct device *dev) in snd_sof_runtime_suspend()
279 int snd_sof_runtime_idle(struct device *dev) in snd_sof_runtime_idle()
287 int snd_sof_runtime_resume(struct device *dev) in snd_sof_runtime_resume()
293 int snd_sof_resume(struct device *dev) in snd_sof_resume()
299 int snd_sof_suspend(struct device *dev) in snd_sof_suspend()
305 int snd_sof_prepare(struct device *dev) in snd_sof_prepare()
325 void snd_sof_complete(struct device *dev) in snd_sof_complete()
/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/soc/
Dsoc-devres.c12 static void devm_dai_release(struct device *dev, void *res) in devm_dai_release()
25 struct snd_soc_dai *devm_snd_soc_register_dai(struct device *dev, in devm_snd_soc_register_dai()
49 static void devm_component_release(struct device *dev, void *res) in devm_component_release()
66 int devm_snd_soc_register_component(struct device *dev, in devm_snd_soc_register_component()
89 static void devm_card_release(struct device *dev, void *res) in devm_card_release()
102 int devm_snd_soc_register_card(struct device *dev, struct snd_soc_card *card) in devm_snd_soc_register_card()
125 static void devm_dmaengine_pcm_release(struct device *dev, void *res) in devm_dmaengine_pcm_release()
139 int devm_snd_dmaengine_pcm_register(struct device *dev, in devm_snd_dmaengine_pcm_register()
/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()
134 #define dev_to_hdac(dev) (container_of((dev), \ argument
137 static inline struct hdac_driver *get_hdrv(struct device *dev) in get_hdrv()
143 static inline struct hdac_device *get_hdev(struct device *dev) in get_hdev()
149 static int hda_ext_drv_probe(struct device *dev) in hda_ext_drv_probe()
154 static int hdac_ext_drv_remove(struct device *dev) in hdac_ext_drv_remove()
159 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 …]
/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/atmel/
Dmchp-spdiftx.c109 static bool mchp_spdiftx_readable_reg(struct device *dev, unsigned int reg) in mchp_spdiftx_readable_reg()
133 static bool mchp_spdiftx_writeable_reg(struct device *dev, unsigned int reg) in mchp_spdiftx_writeable_reg()
159 static bool mchp_spdiftx_precious_reg(struct device *dev, unsigned int reg) in mchp_spdiftx_precious_reg()
194 struct device *dev; member
202 static inline int mchp_spdiftx_is_running(struct mchp_spdiftx_dev *dev) in mchp_spdiftx_is_running()
210 static void mchp_spdiftx_channel_status_write(struct mchp_spdiftx_dev *dev) in mchp_spdiftx_channel_status_write()
226 static void mchp_spdiftx_user_data_write(struct mchp_spdiftx_dev *dev) in mchp_spdiftx_user_data_write()
244 struct mchp_spdiftx_dev *dev = dev_id; in mchp_spdiftx_interrupt() local
287 struct mchp_spdiftx_dev *dev = snd_soc_dai_get_drvdata(dai); in mchp_spdiftx_dai_startup() local
299 struct mchp_spdiftx_dev *dev = snd_soc_dai_get_drvdata(dai); in mchp_spdiftx_dai_shutdown() local
[all …]
Dmchp-spdifrx.c130 static bool mchp_spdifrx_readable_reg(struct device *dev, unsigned int reg) in mchp_spdifrx_readable_reg()
170 static bool mchp_spdifrx_writeable_reg(struct device *dev, unsigned int reg) in mchp_spdifrx_writeable_reg()
184 static bool mchp_spdifrx_precious_reg(struct device *dev, unsigned int reg) in mchp_spdifrx_precious_reg()
234 struct device *dev; member
243 static void mchp_spdifrx_channel_status_read(struct mchp_spdifrx_dev *dev, in mchp_spdifrx_channel_status_read()
260 static void mchp_spdifrx_channel_user_data_read(struct mchp_spdifrx_dev *dev, in mchp_spdifrx_channel_user_data_read()
279 struct mchp_spdifrx_dev *dev = dev_id; in mchp_spdif_interrupt() local
323 struct mchp_spdifrx_dev *dev = snd_soc_dai_get_drvdata(dai); in mchp_spdifrx_trigger() local
364 struct mchp_spdifrx_dev *dev = snd_soc_dai_get_drvdata(dai); in mchp_spdifrx_hw_params() local
442 struct mchp_spdifrx_dev *dev = snd_soc_dai_get_drvdata(dai); in mchp_spdifrx_hw_free() local
[all …]
/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()
218 struct device *dev = &micfil->pdev->dev; in fsl_micfil_set_mclk_rate() local
250 struct device *dev = &micfil->pdev->dev; in fsl_micfil_trigger() local
313 static int fsl_set_clock_params(struct device *dev, unsigned int rate) in fsl_set_clock_params()
353 struct device *dev = &micfil->pdev->dev; in fsl_micfil_hw_params() local
388 struct device *dev = &micfil->pdev->dev; in fsl_micfil_set_dai_sysclk() local
413 struct device *dev = cpu_dai->dev; in fsl_micfil_dai_probe() local
496 static bool fsl_micfil_readable_reg(struct device *dev, unsigned int reg) in fsl_micfil_readable_reg()
528 static bool fsl_micfil_writeable_reg(struct device *dev, unsigned int reg) in fsl_micfil_writeable_reg()
551 static bool fsl_micfil_volatile_reg(struct device *dev, unsigned int reg) in fsl_micfil_volatile_reg()
[all …]
/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/soc/codecs/
Dda7219-aad.c467 da7219_aad_fw_micbias_pulse_lvl(struct device *dev, u32 val) in da7219_aad_fw_micbias_pulse_lvl()
481 da7219_aad_fw_btn_cfg(struct device *dev, u32 val) in da7219_aad_fw_btn_cfg()
505 da7219_aad_fw_mic_det_thr(struct device *dev, u32 val) in da7219_aad_fw_mic_det_thr()
523 da7219_aad_fw_jack_ins_deb(struct device *dev, u32 val) in da7219_aad_fw_jack_ins_deb()
549 da7219_aad_fw_jack_det_rate(struct device *dev, const char *str) in da7219_aad_fw_jack_det_rate()
566 da7219_aad_fw_jack_rem_deb(struct device *dev, u32 val) in da7219_aad_fw_jack_rem_deb()
584 da7219_aad_fw_btn_avg(struct device *dev, u32 val) in da7219_aad_fw_btn_avg()
602 da7219_aad_fw_adc_1bit_rpt(struct device *dev, u32 val) in da7219_aad_fw_adc_1bit_rpt()
619 static struct da7219_aad_pdata *da7219_aad_fw_to_pdata(struct device *dev) in da7219_aad_fw_to_pdata()
954 struct device *dev = &i2c->dev; in da7219_aad_probe() local
/sound/soc/intel/catpt/
Ddevice.c31 static int __maybe_unused catpt_suspend(struct device *dev) in catpt_suspend()
75 static int __maybe_unused catpt_resume(struct device *dev) in catpt_resume()
109 static int __maybe_unused catpt_runtime_suspend(struct device *dev) in catpt_runtime_suspend()
120 static int __maybe_unused catpt_runtime_resume(struct device *dev) in catpt_runtime_resume()
212 static void catpt_dev_init(struct catpt_dev *cdev, struct device *dev, in catpt_dev_init()
241 struct device *dev = &pdev->dev; in catpt_acpi_probe() local
/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
156 struct i2sbus_dev *dev; in i2sbus_add_dev() local
335 static int i2sbus_probe(struct macio_dev* dev, const struct of_device_id *match) in i2sbus_probe()
367 static int i2sbus_remove(struct macio_dev* dev) in i2sbus_remove()
379 static int i2sbus_suspend(struct macio_dev* dev, pm_message_t state) in i2sbus_suspend()
403 static int i2sbus_resume(struct macio_dev* dev) in i2sbus_resume()
428 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 …]

12345678910>>...30