Home
last modified time | relevance | path

Searched refs:l (Results 1 – 25 of 25) sorted by relevance

/sound/usb/usx2y/
Dusb_stream.c27 int l = usb_stream_next_packet_size(sk); in playback_prep_freqn() local
28 if (s->idle_outsize + lb + l > s->period_size) in playback_prep_freqn()
33 urb->iso_frame_desc[pack].length = l; in playback_prep_freqn()
34 lb += l; in playback_prep_freqn()
283 int p = 0, lb = 0, l = 0; in usb_stream_prepare_playback() local
292 l = id->actual_length; in usb_stream_prepare_playback()
294 od[p].length = l; in usb_stream_prepare_playback()
296 lb += l; in usb_stream_prepare_playback()
302 l = inurb->iso_frame_desc[s->sync_packet].actual_length; in usb_stream_prepare_playback()
304 if (s->idle_outsize + lb + l > s->period_size) in usb_stream_prepare_playback()
[all …]
/sound/pci/asihpi/
Dhpios.h97 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()
Dhpi_internal.h1017 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/
Dpcm_timer.c21 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()
Dpcm_lib.c1273 const struct snd_pcm_hw_constraint_list *l) in snd_pcm_hw_constraint_list() argument
1276 snd_pcm_hw_rule_list, (void *)l, in snd_pcm_hw_constraint_list()
1384 unsigned int l = (unsigned long) rule->private; in snd_pcm_hw_rule_msbits() local
1385 int width = l & 0xffff; in snd_pcm_hw_rule_msbits()
1386 unsigned int msbits = l >> 16; in snd_pcm_hw_rule_msbits()
1419 unsigned long l = (msbits << 16) | width; in snd_pcm_hw_constraint_msbits() local
1422 (void*) l, in snd_pcm_hw_constraint_msbits()
/sound/core/seq/oss/
Dseq_oss_event.c198 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()
Dseq_oss_midi.c559 ossev.l.cmd = MIDI_CTL_CHANGE; break; in send_synth_event()
561 ossev.l.cmd = MIDI_PGM_CHANGE; break; in send_synth_event()
563 ossev.l.cmd = MIDI_CHN_PRESSURE; break; in send_synth_event()
565 ossev.l.cmd = MIDI_PITCH_BEND; break; in send_synth_event()
584 ossev.l.code = EV_CHN_COMMON; in send_synth_event()
585 ossev.l.p1 = ev->data.control.param; in send_synth_event()
586 ossev.l.val = ev->data.control.value; in send_synth_event()
587 ossev.l.chn = ev->data.control.channel; in send_synth_event()
590 ossev.l.code = EV_CHN_COMMON; in send_synth_event()
591 ossev.l.val = ev->data.control.value + 8192; in send_synth_event()
[all …]
Dseq_oss_event.h82 struct evrec_long l; member
/sound/aoa/fabrics/
Dlayout.c564 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/
Dgus_main.c223 int l, idx, local; in snd_gus_detect_memory() local
246 for (l = 0, local = gus->gf1.memory; l < 4; l++, local -= 256 * 1024) { in snd_gus_detect_memory()
247 gus->gf1.mem_alloc.banks_8[l].address = in snd_gus_detect_memory()
248 gus->gf1.mem_alloc.banks_8[l].size = 0; in snd_gus_detect_memory()
249 gus->gf1.mem_alloc.banks_16[l].address = l << 18; in snd_gus_detect_memory()
250 gus->gf1.mem_alloc.banks_16[l].size = local > 0 ? 256 * 1024 : 0; in snd_gus_detect_memory()
/sound/isa/msnd/
Dmsnd.h169 #define HIWORD(l) ((u16)((((u32)(l)) >> 16) & 0xFFFF)) argument
170 #define LOWORD(l) ((u16)(u32)(l)) argument
/sound/hda/ext/
Dhdac_ext_controller.c125 struct hdac_ext_link *l; in snd_hdac_link_free_all() local
128 l = list_first_entry(&bus->hlink_list, struct hdac_ext_link, list); in snd_hdac_link_free_all()
129 list_del(&l->list); in snd_hdac_link_free_all()
130 kfree(l); in snd_hdac_link_free_all()
/sound/mips/
Dhal2.c191 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 …]
Dsgio2audio.c396 s64 l, r; in snd_sgio2audio_dma_push_frag() local
422 l = src[0]; /* sign extend */ in snd_sgio2audio_dma_push_frag()
425 *dst = ((l & 0x00ffffff) << CHANNEL_LEFT_SHIFT) | in snd_sgio2audio_dma_push_frag()
/sound/soc/codecs/
Dsgtl5000.c545 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/pci/emu10k1/
Demufx.c1522 int j, k, l, d; in _snd_emu10k1_audigy_init_efx() local
1525 l = 0xe0 + (z * 8) + (j * 4); in _snd_emu10k1_audigy_init_efx()
1536 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()
1537 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()
1538 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()
1539 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()
1540 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()
1542 A_OP(icode, &ptr, iACC3, A_GPR(d), A_GPR(l+2), A_C_00000000, A_C_00000000); in _snd_emu10k1_audigy_init_efx()
2150 int j, k, l, d; in _snd_emu10k1_init_efx() local
2153 l = 0xd0 + (z * 8) + (j * 4); in _snd_emu10k1_init_efx()
[all …]
Dmemory.c72 #define get_emu10k1_memblk(l,member) list_entry(l, struct snd_emu10k1_memblk, member) argument
/sound/aoa/codecs/
Donyx.c122 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/isa/wavefront/
Dwavefront_synth.c736 int i, x, l, cnt; in wavefront_get_program_status() local
749 for (l = 0; l < WF_NUM_LAYERS; l++) { in wavefront_get_program_status()
750 if (prog.layer[l].mute) { in wavefront_get_program_status()
752 [prog.layer[l].patch_number] |= in wavefront_get_program_status()
/sound/ppc/
Dpmac.c899 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/pci/au88x0/
Dau88x0_a3d.c804 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/drivers/vx/
Dvx_mixer.c37 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()
/sound/soc/intel/catpt/
Ddsp.c197 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/pci/ymfpci/
Dymfpci.c160 static inline int snd_ymfpci_create_gameport(struct snd_ymfpci *chip, int dev, int l, int l2) { ret… in snd_ymfpci_create_gameport() argument
/sound/pci/korg1212/
Dkorg1212.c292 } l; member
938 sensVals.l.v.leftChanId = SET_SENS_LEFTCHANID; in snd_korg1212_WriteADCSensitivity()
940 sensVals.l.v.leftChanVal = korg1212->leftADCInSens; in snd_korg1212_WriteADCSensitivity()
959 if (sensVals.l.leftSensBits & (0x0001 << bitPosition)) in snd_korg1212_WriteADCSensitivity()