/sound/usb/usx2y/ |
D | usb_stream.c | 27 int l = usb_stream_next_packet_size(sk); in playback_prep_freqn() local 29 if (s->idle_outsize + lb + l > s->period_size) in playback_prep_freqn() 34 urb->iso_frame_desc[pack].length = l; in playback_prep_freqn() 35 lb += l; in playback_prep_freqn() 288 int p = 0, lb = 0, l = 0; in usb_stream_prepare_playback() local 298 l = id->actual_length; in usb_stream_prepare_playback() 300 od[p].length = l; in usb_stream_prepare_playback() 302 lb += l; in usb_stream_prepare_playback() 308 l = inurb->iso_frame_desc[s->sync_packet].actual_length; in usb_stream_prepare_playback() 310 if (s->idle_outsize + lb + l > s->period_size) in usb_stream_prepare_playback() [all …]
|
/sound/pci/asihpi/ |
D | hpios.h | 97 static inline void cond_lock(struct hpios_spinlock *l) in cond_lock() argument 103 spin_lock(&((l)->lock)); in cond_lock() 104 l->lock_context = IN_LOCK_IRQ; in cond_lock() 106 spin_lock_bh(&((l)->lock)); in cond_lock() 107 l->lock_context = IN_LOCK_BH; in cond_lock() 111 static inline void cond_unlock(struct hpios_spinlock *l) in cond_unlock() argument 113 if (l->lock_context == IN_LOCK_BH) in cond_unlock() 114 spin_unlock_bh(&((l)->lock)); in cond_unlock() 116 spin_unlock(&((l)->lock)); in cond_unlock()
|
D | hpi_internal.h | 1017 struct hpi_gpio_msg l; /* digital i/o */ member 1078 struct hpi_gpio_res l; /* digital i/o */ member 1186 struct hpi_gpio_msg l; member 1205 struct hpi_gpio_res l; member
|
/sound/core/ |
D | pcm_timer.c | 21 unsigned long rate, mult, fsize, l, post; in snd_pcm_timer_resolution_change() local 28 l = gcd(mult, rate); in snd_pcm_timer_resolution_change() 29 mult /= l; in snd_pcm_timer_resolution_change() 30 rate /= l; in snd_pcm_timer_resolution_change() 34 l = gcd(rate, fsize); in snd_pcm_timer_resolution_change() 35 rate /= l; in snd_pcm_timer_resolution_change() 36 fsize /= l; in snd_pcm_timer_resolution_change()
|
D | control_led.c | 417 size_t l = min(count, sizeof(_buf) - 1); in mode_store() local 420 memcpy(_buf, buf, l); in mode_store() 421 _buf[l] = '\0'; in mode_store() 620 size_t l = 0; in list_show() local 631 if (l) in list_show() 632 l += sysfs_emit_at(buf, l, " "); in list_show() 633 l += sysfs_emit_at(buf, l, "%u", in list_show() 640 return l; in list_show()
|
D | pcm_lib.c | 1274 const struct snd_pcm_hw_constraint_list *l) in snd_pcm_hw_constraint_list() argument 1277 snd_pcm_hw_rule_list, (void *)l, in snd_pcm_hw_constraint_list() 1385 unsigned int l = (unsigned long) rule->private; in snd_pcm_hw_rule_msbits() local 1386 int width = l & 0xffff; in snd_pcm_hw_rule_msbits() 1387 unsigned int msbits = l >> 16; in snd_pcm_hw_rule_msbits() 1420 unsigned long l = (msbits << 16) | width; in snd_pcm_hw_constraint_msbits() local 1423 (void*) l, in snd_pcm_hw_constraint_msbits()
|
/sound/core/seq/oss/ |
D | seq_oss_event.c | 198 if (q->l.chn >= 32) in chn_common_event() 200 switch (q->l.cmd) { in chn_common_event() 202 return set_control_event(dp, q->l.dev, SNDRV_SEQ_EVENT_PGMCHANGE, in chn_common_event() 203 q->l.chn, 0, q->l.p1, ev); in chn_common_event() 206 return set_control_event(dp, q->l.dev, SNDRV_SEQ_EVENT_CONTROLLER, in chn_common_event() 207 q->l.chn, q->l.p1, q->l.val, ev); in chn_common_event() 211 return set_control_event(dp, q->l.dev, SNDRV_SEQ_EVENT_PITCHBEND, in chn_common_event() 212 q->l.chn, 0, q->l.val - 8192, ev); in chn_common_event() 215 return set_control_event(dp, q->l.dev, SNDRV_SEQ_EVENT_CHANPRESS, in chn_common_event() 216 q->l.chn, 0, q->l.val, ev); in chn_common_event()
|
D | seq_oss_midi.c | 568 ossev.l.cmd = MIDI_CTL_CHANGE; break; in send_synth_event() 570 ossev.l.cmd = MIDI_PGM_CHANGE; break; in send_synth_event() 572 ossev.l.cmd = MIDI_CHN_PRESSURE; break; in send_synth_event() 574 ossev.l.cmd = MIDI_PITCH_BEND; break; in send_synth_event() 593 ossev.l.code = EV_CHN_COMMON; in send_synth_event() 594 ossev.l.p1 = ev->data.control.param; in send_synth_event() 595 ossev.l.val = ev->data.control.value; in send_synth_event() 596 ossev.l.chn = ev->data.control.channel; in send_synth_event() 599 ossev.l.code = EV_CHN_COMMON; in send_synth_event() 600 ossev.l.val = ev->data.control.value + 8192; in send_synth_event() [all …]
|
D | seq_oss_event.h | 82 struct evrec_long l; member
|
/sound/aoa/fabrics/ |
D | layout.c | 564 struct layout *l; in find_layout_by_id() local 566 l = layouts; in find_layout_by_id() 567 while (l->codecs[0].name) { in find_layout_by_id() 568 if (l->layout_id == id) in find_layout_by_id() 569 return l; in find_layout_by_id() 570 l++; in find_layout_by_id() 577 struct layout *l; in find_layout_by_device() local 579 l = layouts; in find_layout_by_device() 580 while (l->codecs[0].name) { in find_layout_by_device() 581 if (l->device_id == id) in find_layout_by_device() [all …]
|
/sound/isa/gus/ |
D | gus_main.c | 226 int l, idx, local; in snd_gus_detect_memory() local 249 for (l = 0, local = gus->gf1.memory; l < 4; l++, local -= 256 * 1024) { in snd_gus_detect_memory() 250 gus->gf1.mem_alloc.banks_8[l].address = in snd_gus_detect_memory() 251 gus->gf1.mem_alloc.banks_8[l].size = 0; in snd_gus_detect_memory() 252 gus->gf1.mem_alloc.banks_16[l].address = l << 18; in snd_gus_detect_memory() 253 gus->gf1.mem_alloc.banks_16[l].size = local > 0 ? 256 * 1024 : 0; in snd_gus_detect_memory()
|
/sound/isa/msnd/ |
D | msnd.h | 169 #define HIWORD(l) ((u16)((((u32)(l)) >> 16) & 0xFFFF)) argument 170 #define LOWORD(l) ((u16)(u32)(l)) argument
|
/sound/soc/intel/avs/ |
D | utils.c | 309 unsigned int l, off; in __kfifo_fromio_locked() local 314 l = min(len, kfifo_size(fifo) - off); in __kfifo_fromio_locked() 316 memcpy_fromio(__fifo->data + off, src, l); in __kfifo_fromio_locked() 317 memcpy_fromio(__fifo->data, src + l, len - l); in __kfifo_fromio_locked()
|
/sound/mips/ |
D | hal2.c | 191 int l, r; in hal2_gain_get() local 197 l = 0; in hal2_gain_get() 200 l = 31 - ((tmp >> H2I_C2_L_ATT_SHIFT) & 31); in hal2_gain_get() 206 l = (tmp >> H2I_C2_L_GAIN_SHIFT) & 15; in hal2_gain_get() 212 ucontrol->value.integer.value[0] = l; in hal2_gain_get() 223 int l, r; in hal2_gain_put() local 225 l = ucontrol->value.integer.value[0]; in hal2_gain_put() 232 if (l | r) { in hal2_gain_put() 233 l = 31 - l; in hal2_gain_put() 235 new |= (l << H2I_C2_L_ATT_SHIFT); in hal2_gain_put() [all …]
|
D | sgio2audio.c | 395 s64 l, r; in snd_sgio2audio_dma_push_frag() local 421 l = src[0]; /* sign extend */ in snd_sgio2audio_dma_push_frag() 424 *dst = ((l & 0x00ffffff) << CHANNEL_LEFT_SHIFT) | in snd_sgio2audio_dma_push_frag()
|
/sound/soc/codecs/ |
D | sgtl5000.c | 545 int l; in dac_get_volsw() local 551 l = (reg & SGTL5000_DAC_VOL_LEFT_MASK) >> SGTL5000_DAC_VOL_LEFT_SHIFT; in dac_get_volsw() 557 l = clamp(l, 0x3c, 0xfc); in dac_get_volsw() 561 l = 0xfc - l; in dac_get_volsw() 564 ucontrol->value.integer.value[0] = l; in dac_get_volsw() 598 int l; in dac_put_volsw() local 601 l = ucontrol->value.integer.value[0]; in dac_put_volsw() 605 l = clamp(l, 0, 0xfc - 0x3c); in dac_put_volsw() 609 l = 0xfc - l; in dac_put_volsw() 613 reg = l << SGTL5000_DAC_VOL_LEFT_SHIFT | in dac_put_volsw()
|
/sound/hda/ext/ |
D | hdac_ext_controller.c | 118 struct hdac_ext_link *l; in snd_hdac_link_free_all() local 121 l = list_first_entry(&bus->hlink_list, struct hdac_ext_link, list); in snd_hdac_link_free_all() 122 list_del(&l->list); in snd_hdac_link_free_all() 123 kfree(l); in snd_hdac_link_free_all()
|
/sound/pci/emu10k1/ |
D | emufx.c | 1525 int j, k, l, d; in _snd_emu10k1_audigy_init_efx() local 1528 l = 0xe0 + (z * 8) + (j * 4); in _snd_emu10k1_audigy_init_efx() 1539 A_OP(icode, &ptr, iMACMV, A_GPR(l+1), A_GPR(l), A_GPR(l+1), A_GPR(TREBLE_GPR + 4 + j)); in _snd_emu10k1_audigy_init_efx() 1540 A_OP(icode, &ptr, iMACMV, A_GPR(l), A_GPR(k+2), A_GPR(l), A_GPR(TREBLE_GPR + 2 + j)); in _snd_emu10k1_audigy_init_efx() 1541 A_OP(icode, &ptr, iMACMV, A_GPR(l+3), A_GPR(l+2), A_GPR(l+3), A_GPR(TREBLE_GPR + 8 + j)); in _snd_emu10k1_audigy_init_efx() 1542 A_OP(icode, &ptr, iMAC0, A_GPR(l+2), A_GPR_ACCU, A_GPR(l+2), A_GPR(TREBLE_GPR + 6 + j)); in _snd_emu10k1_audigy_init_efx() 1543 A_OP(icode, &ptr, iMACINT0, A_GPR(l+2), A_C_00000000, A_GPR(l+2), A_C_00000010); in _snd_emu10k1_audigy_init_efx() 1545 A_OP(icode, &ptr, iACC3, A_GPR(d), A_GPR(l+2), A_C_00000000, A_C_00000000); in _snd_emu10k1_audigy_init_efx() 2153 int j, k, l, d; in _snd_emu10k1_init_efx() local 2156 l = 0xd0 + (z * 8) + (j * 4); in _snd_emu10k1_init_efx() [all …]
|
/sound/soc/rockchip/ |
D | rockchip_i2s_tdm.h | 288 #define HIWORD_UPDATE(v, h, l) (((v) << (l)) | (GENMASK((h), (l)) << 16)) argument
|
/sound/aoa/codecs/ |
D | onyx.c | 122 s8 l, r; in onyx_snd_vol_get() local 125 onyx_read_register(onyx, ONYX_REG_DAC_ATTEN_LEFT, &l); in onyx_snd_vol_get() 129 ucontrol->value.integer.value[0] = l + VOLUME_RANGE_SHIFT; in onyx_snd_vol_get() 139 s8 l, r; in onyx_snd_vol_put() local 149 onyx_read_register(onyx, ONYX_REG_DAC_ATTEN_LEFT, &l); in onyx_snd_vol_put() 152 if (l + VOLUME_RANGE_SHIFT == ucontrol->value.integer.value[0] && in onyx_snd_vol_put()
|
/sound/ppc/ |
D | pmac.c | 899 unsigned int l; in snd_pmac_detect() local 1044 prop = of_get_property(sound, "sample-rates", &l); in snd_pmac_detect() 1046 prop = of_get_property(sound, "output-frame-rates", &l); in snd_pmac_detect() 1050 for (l /= sizeof(int); l > 0; --l) { in snd_pmac_detect()
|
/sound/isa/wavefront/ |
D | wavefront_synth.c | 739 int i, x, l, cnt; in wavefront_get_program_status() local 753 for (l = 0; l < WF_NUM_LAYERS; l++) { in wavefront_get_program_status() 754 if (prog.layer[l].mute) { in wavefront_get_program_status() 756 [prog.layer[l].patch_number] |= in wavefront_get_program_status()
|
/sound/pci/au88x0/ |
D | au88x0_a3d.c | 804 int l, r; in snd_vortex_a3d_ild_put() local 806 l = ucontrol->value.integer.value[0]; in snd_vortex_a3d_ild_put() 808 vortex_a3d_coord2ild(a->ild, l, r); in snd_vortex_a3d_ild_put() 810 a3dsrc_SetGainTarget(a, l, r); in snd_vortex_a3d_ild_put() 811 a3dsrc_SetGainCurrent(a, l, r); in snd_vortex_a3d_ild_put()
|
/sound/soc/intel/catpt/ |
D | dsp.c | 197 u32 h, l; in catpt_dsp_update_srampge() local 200 l = (res->start - sram->start) / CATPT_MEMBLOCK_SIZE; in catpt_dsp_update_srampge() 201 new |= GENMASK(h, l); in catpt_dsp_update_srampge()
|
/sound/drivers/vx/ |
D | vx_mixer.c | 37 u32 l; member 41 u16 l; member 51 u16 l; member 66 #define SET_CDC_DATA_INIT(di) ((di).l = 0L, SET_CDC_DATA_SEL(di,XX_CODEC_SELECTOR)) 81 vx_write_codec_reg(chip, codec, data.l); in vx_set_codec_reg()
|