/sound/pci/hda/ |
D | hda_jack.c | 46 static u32 read_pin_sense(struct hda_codec *codec, hda_nid_t nid, int dev_id) in read_pin_sense() argument 58 AC_VERB_GET_PIN_SENSE, dev_id); in read_pin_sense() 71 snd_hda_jack_tbl_get_mst(struct hda_codec *codec, hda_nid_t nid, int dev_id) in snd_hda_jack_tbl_get_mst() argument 79 if (jack->nid == nid && jack->dev_id == dev_id) in snd_hda_jack_tbl_get_mst() 93 unsigned char tag, int dev_id) in snd_hda_jack_tbl_get_from_tag() argument 101 if (jack->tag == tag && jack->dev_id == dev_id) in snd_hda_jack_tbl_get_from_tag() 128 snd_hda_jack_tbl_new(struct hda_codec *codec, hda_nid_t nid, int dev_id) in snd_hda_jack_tbl_new() argument 131 snd_hda_jack_tbl_get_mst(codec, nid, dev_id); in snd_hda_jack_tbl_new() 135 WARN_ON(dev_id != 0 && !codec->dp_mst); in snd_hda_jack_tbl_new() 143 jack->dev_id = dev_id; in snd_hda_jack_tbl_new() [all …]
|
D | hda_jack.h | 22 int dev_id; member 32 int dev_id; member 55 snd_hda_jack_tbl_get_mst(struct hda_codec *codec, hda_nid_t nid, int dev_id); 70 unsigned char tag, int dev_id); 78 int dev_id); 82 int dev_id, hda_jack_callback_fn func); 111 u32 snd_hda_jack_pin_sense(struct hda_codec *codec, hda_nid_t nid, int dev_id); 119 int dev_id); 142 snd_hda_jack_detect_mst(struct hda_codec *codec, hda_nid_t nid, int dev_id) in snd_hda_jack_detect_mst() argument 144 return snd_hda_jack_detect_state_mst(codec, nid, dev_id) != in snd_hda_jack_detect_mst() [all …]
|
D | patch_via.c | 129 u16 dev_id = vendor_id & 0xffff; in get_codec_type() local 135 else if (dev_id >= 0x1708 && dev_id <= 0x170b) in get_codec_type() 137 else if (dev_id >= 0xe710 && dev_id <= 0xe713) in get_codec_type() 139 else if (dev_id >= 0xe714 && dev_id <= 0xe717) in get_codec_type() 141 else if (dev_id >= 0xe720 && dev_id <= 0xe723) { in get_codec_type() 145 } else if (dev_id >= 0xe724 && dev_id <= 0xe727) in get_codec_type() 147 else if ((dev_id & 0xfff) == 0x397 in get_codec_type() 148 && (dev_id >> 12) < 8) in get_codec_type() 150 else if ((dev_id & 0xfff) == 0x398 in get_codec_type() 151 && (dev_id >> 12) < 8) in get_codec_type() [all …]
|
D | patch_hdmi.c | 69 int dev_id; member 98 int dev_id, unsigned char *buf, int *eld_size); 101 int dev_id, 106 int dev_id, bool hbr); 109 hda_nid_t pin_nid, int dev_id, u32 stream_tag, 243 hda_nid_t pin_nid, int dev_id) in pin_id_to_pin_index() argument 253 if (dev_id == -1) in pin_id_to_pin_index() 254 dev_id = 0; in pin_id_to_pin_index() 259 (per_pin->dev_id == dev_id)) in pin_id_to_pin_index() 664 int dev_id, unsigned char *buf, int *eld_size) in hdmi_pin_get_eld() argument [all …]
|
/sound/pci/ca0106/ |
D | ca_midi.c | 103 midi->get_dev_id_port(midi->dev_id), in ca_midi_cmd() 113 if (snd_BUG_ON(!midi->dev_id)) in ca_midi_input_open() 133 if (snd_BUG_ON(!midi->dev_id)) in ca_midi_output_open() 153 if (snd_BUG_ON(!midi->dev_id)) in ca_midi_input_close() 173 if (snd_BUG_ON(!midi->dev_id)) in ca_midi_output_close() 195 if (snd_BUG_ON(!midi->dev_id)) in ca_midi_input_trigger() 210 if (snd_BUG_ON(!midi->dev_id)) in ca_midi_output_trigger() 274 int ca_midi_init(void *dev_id, struct snd_ca_midi *midi, int device, char *name) in ca_midi_init() argument 279 err = snd_rawmidi_new(midi->get_dev_id_card(midi->dev_id), name, device, 1, 1, &rmidi); in ca_midi_init() 283 midi->dev_id = dev_id; in ca_midi_init()
|
D | ca_midi.h | 24 void *dev_id; member 48 struct snd_card *(*get_dev_id_card)(void *dev_id); 49 int (*get_dev_id_port)(void *dev_id);
|
D | ca0106_main.c | 1193 static irqreturn_t snd_ca0106_interrupt(int irq, void *dev_id) in snd_ca0106_interrupt() argument 1197 struct snd_ca0106 *chip = dev_id; in snd_ca0106_interrupt() 1249 if (chip->midi.dev_id && in snd_ca0106_interrupt() 1647 snd_ca0106_intr_enable((struct snd_ca0106 *)(midi->dev_id), intr); in ca0106_midi_interrupt_enable() 1652 snd_ca0106_intr_disable((struct snd_ca0106 *)(midi->dev_id), intr); in ca0106_midi_interrupt_disable() 1657 return (unsigned char)snd_ca0106_ptr_read((struct snd_ca0106 *)(midi->dev_id), in ca0106_midi_read() 1663 snd_ca0106_ptr_write((struct snd_ca0106 *)(midi->dev_id), midi->port + idx, 0, data); in ca0106_midi_write() 1666 static struct snd_card *ca0106_dev_id_card(void *dev_id) in ca0106_dev_id_card() argument 1668 return ((struct snd_ca0106 *)dev_id)->card; in ca0106_dev_id_card() 1671 static int ca0106_dev_id_port(void *dev_id) in ca0106_dev_id_port() argument [all …]
|
/sound/hda/ |
D | hdac_component.c | 122 int dev_id, int rate) in snd_hdac_sync_audio_rate() argument 136 pipe = dev_id; in snd_hdac_sync_audio_rate() 162 int snd_hdac_acomp_get_eld(struct hdac_device *codec, hda_nid_t nid, int dev_id, in snd_hdac_acomp_get_eld() argument 178 pipe = dev_id; in snd_hdac_acomp_get_eld()
|
/sound/soc/au1x/ |
D | dbdma2.c | 106 static void au1x_pcm_dmatx_cb(int irq, void *dev_id) in au1x_pcm_dmatx_cb() argument 108 struct au1xpsc_audio_dmadata *cd = dev_id; in au1x_pcm_dmatx_cb() 119 static void au1x_pcm_dmarx_cb(int irq, void *dev_id) in au1x_pcm_dmarx_cb() argument 121 struct au1xpsc_audio_dmadata *cd = dev_id; in au1x_pcm_dmarx_cb()
|
/sound/soc/codecs/ |
D | rt1019.c | 568 unsigned int val, val2, dev_id; in rt1019_i2c_probe() local 587 dev_id = val << 8 | val2; in rt1019_i2c_probe() 588 if (dev_id != RT1019_DEVICE_ID_VAL && dev_id != RT1019_DEVICE_ID_VAL2) { in rt1019_i2c_probe() 590 "Device with ID register 0x%x is not rt1019\n", dev_id); in rt1019_i2c_probe()
|
D | cs43130.c | 1032 switch (cs43130->dev_id) { in cs43130_pcm_ch_put() 1150 switch (cs43130->dev_id) { in cs43130_dsd_event() 1161 switch (cs43130->dev_id) { in cs43130_dsd_event() 1170 switch (cs43130->dev_id) { in cs43130_dsd_event() 1207 switch (cs43130->dev_id) { in cs43130_pcm_event() 1218 switch (cs43130->dev_id) { in cs43130_pcm_event() 1227 switch (cs43130->dev_id) { in cs43130_pcm_event() 1276 switch (cs43130->dev_id) { in cs43130_dac_event() 1294 switch (cs43130->dev_id) { in cs43130_dac_event() 1317 switch (cs43130->dev_id) { in cs43130_dac_event() [all …]
|
/sound/soc/intel/catpt/ |
D | ipc.c | 241 irqreturn_t catpt_dsp_irq_thread(int irq, void *dev_id) in catpt_dsp_irq_thread() argument 243 struct catpt_dev *cdev = dev_id; in catpt_dsp_irq_thread() 264 irqreturn_t catpt_dsp_irq_handler(int irq, void *dev_id) in catpt_dsp_irq_handler() argument 266 struct catpt_dev *cdev = dev_id; in catpt_dsp_irq_handler()
|
D | core.h | 124 irqreturn_t catpt_dsp_irq_handler(int irq, void *dev_id); 125 irqreturn_t catpt_dsp_irq_thread(int irq, void *dev_id);
|
/sound/soc/intel/atom/sst/ |
D | sst_acpi.c | 245 unsigned int dev_id; in sst_acpi_probe() local 272 ret = kstrtouint(id->id, 16, &dev_id); in sst_acpi_probe() 278 dev_dbg(dev, "ACPI device id: %x\n", dev_id); in sst_acpi_probe() 280 ret = sst_alloc_drv_context(&ctx, dev, dev_id); in sst_acpi_probe()
|
D | sst.c | 176 switch (sst->dev_id) { in sst_driver_ops() 187 sst->dev_id); in sst_driver_ops() 225 struct device *dev, unsigned int dev_id) in sst_alloc_drv_context() argument 232 (*ctx)->dev_id = dev_id; in sst_alloc_drv_context()
|
D | sst_pci.c | 36 if (ctx->dev_id == SST_MRFLD_PCI_ID) { in sst_platform_get_resources() 128 sst_drv_ctx->dev_id, ".bin"); in intel_sst_probe()
|
/sound/pci/pcxhr/ |
D | pcxhr_core.h | 189 irqreturn_t pcxhr_interrupt(int irq, void *dev_id); 190 irqreturn_t pcxhr_threaded_irq(int irq, void *dev_id);
|
/sound/isa/gus/ |
D | gus_irq.c | 17 irqreturn_t snd_gus_interrupt(int irq, void *dev_id) in snd_gus_interrupt() argument 19 struct snd_gus_card * gus = dev_id; in snd_gus_interrupt()
|
/sound/drivers/mpu401/ |
D | mpu401_uart.c | 120 irqreturn_t snd_mpu401_uart_interrupt(int irq, void *dev_id) in snd_mpu401_uart_interrupt() argument 122 struct snd_mpu401 *mpu = dev_id; in snd_mpu401_uart_interrupt() 141 irqreturn_t snd_mpu401_uart_interrupt_tx(int irq, void *dev_id) in snd_mpu401_uart_interrupt_tx() argument 143 struct snd_mpu401 *mpu = dev_id; in snd_mpu401_uart_interrupt_tx()
|
/sound/xen/ |
D | xen_snd_front_evtchnl.c | 21 static irqreturn_t evtchnl_interrupt_req(int irq, void *dev_id) in evtchnl_interrupt_req() argument 23 struct xen_snd_front_evtchnl *channel = dev_id; in evtchnl_interrupt_req() 87 static irqreturn_t evtchnl_interrupt_evt(int irq, void *dev_id) in evtchnl_interrupt_evt() argument 89 struct xen_snd_front_evtchnl *channel = dev_id; in evtchnl_interrupt_evt()
|
/sound/soc/intel/skylake/ |
D | cnl-sst-dsp.c | 184 irqreturn_t cnl_dsp_sst_interrupt(int irq, void *dev_id) in cnl_dsp_sst_interrupt() argument 186 struct sst_dsp *ctx = dev_id; in cnl_dsp_sst_interrupt()
|
/sound/mips/ |
D | sgio2audio.c | 468 static irqreturn_t snd_sgio2audio_dma_in_isr(int irq, void *dev_id) in snd_sgio2audio_dma_in_isr() argument 470 struct snd_sgio2audio_chan *chan = dev_id; in snd_sgio2audio_dma_in_isr() 488 static irqreturn_t snd_sgio2audio_dma_out_isr(int irq, void *dev_id) in snd_sgio2audio_dma_out_isr() argument 490 struct snd_sgio2audio_chan *chan = dev_id; in snd_sgio2audio_dma_out_isr() 507 static irqreturn_t snd_sgio2audio_error_isr(int irq, void *dev_id) in snd_sgio2audio_error_isr() argument 509 struct snd_sgio2audio_chan *chan = dev_id; in snd_sgio2audio_error_isr()
|
/sound/soc/meson/ |
D | aiu-fifo.c | 123 static irqreturn_t aiu_fifo_isr(int irq, void *dev_id) in aiu_fifo_isr() argument 125 struct snd_pcm_substream *playback = dev_id; in aiu_fifo_isr()
|
/sound/pci/lx6464es/ |
D | lx_core.h | 168 irqreturn_t lx_interrupt(int irq, void *dev_id); 169 irqreturn_t lx_threaded_irq(int irq, void *dev_id);
|
/sound/isa/sb/ |
D | sb8.c | 46 static irqreturn_t snd_sb8_interrupt(int irq, void *dev_id) in snd_sb8_interrupt() argument 48 struct snd_sb *chip = dev_id; in snd_sb8_interrupt()
|