/sound/usb/usx2y/ |
D | usb_stream.c | 40 int l = usb_stream_next_packet_size(sk); in playback_prep_freqn() local 41 if (s->idle_outsize + lb + l > s->period_size) in playback_prep_freqn() 46 urb->iso_frame_desc[pack].length = l; in playback_prep_freqn() 47 lb += l; in playback_prep_freqn() 281 int p = 0, lb = 0, l = 0; in usb_stream_prepare_playback() local 290 l = id->actual_length; in usb_stream_prepare_playback() 292 od[p].length = l; in usb_stream_prepare_playback() 294 lb += l; in usb_stream_prepare_playback() 300 l = inurb->iso_frame_desc[s->sync_packet].actual_length; in usb_stream_prepare_playback() 302 if (s->idle_outsize + lb + l > s->period_size) in usb_stream_prepare_playback() [all …]
|
/sound/ |
D | sound_firmware.c | 13 long l; in do_mod_firmware_load() local 22 l = i_size_read(file_inode(filp)); in do_mod_firmware_load() 23 if (l <= 0 || l > 131072) in do_mod_firmware_load() 29 dp = vmalloc(l); in do_mod_firmware_load() 36 if (kernel_read(filp, 0, dp, l) != l) in do_mod_firmware_load() 45 return (int) l; in do_mod_firmware_load()
|
/sound/pci/asihpi/ |
D | hpios.h | 108 static inline void cond_lock(struct hpios_spinlock *l) in cond_lock() argument 114 spin_lock(&((l)->lock)); in cond_lock() 115 l->lock_context = IN_LOCK_IRQ; in cond_lock() 117 spin_lock_bh(&((l)->lock)); in cond_lock() 118 l->lock_context = IN_LOCK_BH; in cond_lock() 122 static inline void cond_unlock(struct hpios_spinlock *l) in cond_unlock() argument 124 if (l->lock_context == IN_LOCK_BH) in cond_unlock() 125 spin_unlock_bh(&((l)->lock)); in cond_unlock() 127 spin_unlock(&((l)->lock)); in cond_unlock()
|
/sound/oss/ |
D | hex2hex.c | 17 int l=0, c, i; in loadhex() local 51 if (addr > l) in loadhex() 52 l = addr; in loadhex() 65 return l; in loadhex() 71 int i,l; in main() local 86 l = loadhex(stdin, buf); in main() 89 printf("static int %s_len = %d;\n", varline, l); in main() 92 for (i=0;i<l;i++) in main()
|
D | audio.c | 138 int l; in sync_output() local 147 if ((l = dmap->user_counter % dmap->fragment_size) > 0) in sync_output() 152 len = dmap->fragment_size - l; in sync_output() 224 int c, p, l, buf_size, used, returned; in audio_write() local 259 l = c; in audio_write() 261 if (l > buf_size) in audio_write() 262 l = buf_size; in audio_write() 264 returned = l; in audio_write() 265 used = l; in audio_write() 268 if ((dma_buf + l) > in audio_write() [all …]
|
D | swarm_cs4297a.c | 1187 unsigned char l, r, rl, rr, vidx; in mixer_ioctl() local 1344 l = val & 0xff; in mixer_ioctl() 1345 if (l > 100) in mixer_ioctl() 1346 l = 100; // Max soundcard.h vol is 100. in mixer_ioctl() 1347 if (l < 6) { in mixer_ioctl() 1349 l = 0; in mixer_ioctl() 1351 rl = attentbl[(10 * l) / 100]; // Convert 0-100 vol to 63-0 atten. in mixer_ioctl() 1373 s->mix.vol[8] = ((unsigned int) r << 8) | l; in mixer_ioctl() 1382 l = val & 0xff; in mixer_ioctl() 1383 if (l > 100) in mixer_ioctl() [all …]
|
D | msnd.h | 143 #define HIWORD(l) ((WORD)((((DWORD)(l)) >> 16) & 0xFFFF)) argument 144 #define LOWORD(l) ((WORD)(DWORD)(l)) argument
|
D | sound_calls.h | 10 int DMAbuf_start_output(int dev, int buff_no, int l); 11 int DMAbuf_move_wrpointer(int dev, int l);
|
D | sequencer.c | 712 int i, l = 0; in seq_sysex_message() local 722 l = 0; in seq_sysex_message() 724 l = i + 1; in seq_sysex_message() 728 if (l > 0) in seq_sysex_message() 729 synth_devs[dev]->send_sysex(dev, buf, l); in seq_sysex_message()
|
/sound/core/ |
D | pcm_timer.c | 34 unsigned long rate, mult, fsize, l, post; in snd_pcm_timer_resolution_change() local 41 l = gcd(mult, rate); in snd_pcm_timer_resolution_change() 42 mult /= l; in snd_pcm_timer_resolution_change() 43 rate /= l; in snd_pcm_timer_resolution_change() 47 l = gcd(rate, fsize); in snd_pcm_timer_resolution_change() 48 rate /= l; in snd_pcm_timer_resolution_change() 49 fsize /= l; in snd_pcm_timer_resolution_change()
|
/sound/core/seq/oss/ |
D | seq_oss_event.c | 211 if (q->l.chn >= 32) in chn_common_event() 213 switch (q->l.cmd) { in chn_common_event() 215 return set_control_event(dp, q->l.dev, SNDRV_SEQ_EVENT_PGMCHANGE, in chn_common_event() 216 q->l.chn, 0, q->l.p1, ev); in chn_common_event() 219 return set_control_event(dp, q->l.dev, SNDRV_SEQ_EVENT_CONTROLLER, in chn_common_event() 220 q->l.chn, q->l.p1, q->l.val, ev); in chn_common_event() 224 return set_control_event(dp, q->l.dev, SNDRV_SEQ_EVENT_PITCHBEND, in chn_common_event() 225 q->l.chn, 0, q->l.val - 8192, ev); in chn_common_event() 228 return set_control_event(dp, q->l.dev, SNDRV_SEQ_EVENT_CHANPRESS, in chn_common_event() 229 q->l.chn, 0, q->l.val, ev); in chn_common_event()
|
D | seq_oss_midi.c | 561 ossev.l.cmd = MIDI_CTL_CHANGE; break; in send_synth_event() 563 ossev.l.cmd = MIDI_PGM_CHANGE; break; in send_synth_event() 565 ossev.l.cmd = MIDI_CHN_PRESSURE; break; in send_synth_event() 567 ossev.l.cmd = MIDI_PITCH_BEND; break; in send_synth_event() 586 ossev.l.code = EV_CHN_COMMON; in send_synth_event() 587 ossev.l.p1 = ev->data.control.param; in send_synth_event() 588 ossev.l.val = ev->data.control.value; in send_synth_event() 589 ossev.l.chn = ev->data.control.channel; in send_synth_event() 592 ossev.l.code = EV_CHN_COMMON; in send_synth_event() 593 ossev.l.val = ev->data.control.value + 8192; in send_synth_event() [all …]
|
D | seq_oss_event.h | 95 struct evrec_long l; member
|
/sound/hda/ext/ |
D | hdac_ext_controller.c | 49 cur_cap = _snd_hdac_chip_read(l, bus, offset); in snd_hdac_ext_bus_parse_capabilities() 198 struct hdac_ext_link *l; in snd_hdac_link_free_all() local 201 l = list_first_entry(&ebus->hlink_list, struct hdac_ext_link, list); in snd_hdac_link_free_all() 202 list_del(&l->list); in snd_hdac_link_free_all() 203 kfree(l); in snd_hdac_link_free_all()
|
/sound/aoa/fabrics/ |
D | layout.c | 558 struct layout *l; in find_layout_by_id() local 560 l = layouts; in find_layout_by_id() 561 while (l->codecs[0].name) { in find_layout_by_id() 562 if (l->layout_id == id) in find_layout_by_id() 563 return l; in find_layout_by_id() 564 l++; in find_layout_by_id() 571 struct layout *l; in find_layout_by_device() local 573 l = layouts; in find_layout_by_device() 574 while (l->codecs[0].name) { in find_layout_by_device() 575 if (l->device_id == id) in find_layout_by_device() [all …]
|
/sound/isa/gus/ |
D | gus_main.c | 237 int l, idx, local; in snd_gus_detect_memory() local 260 for (l = 0, local = gus->gf1.memory; l < 4; l++, local -= 256 * 1024) { in snd_gus_detect_memory() 261 gus->gf1.mem_alloc.banks_8[l].address = in snd_gus_detect_memory() 262 gus->gf1.mem_alloc.banks_8[l].size = 0; in snd_gus_detect_memory() 263 gus->gf1.mem_alloc.banks_16[l].address = l << 18; in snd_gus_detect_memory() 264 gus->gf1.mem_alloc.banks_16[l].size = local > 0 ? 256 * 1024 : 0; in snd_gus_detect_memory()
|
/sound/isa/msnd/ |
D | msnd.h | 182 #define HIWORD(l) ((u16)((((u32)(l)) >> 16) & 0xFFFF)) argument 183 #define LOWORD(l) ((u16)(u32)(l)) argument
|
/sound/mips/ |
D | hal2.c | 204 int l, r; in hal2_gain_get() local 210 l = 0; in hal2_gain_get() 213 l = 31 - ((tmp >> H2I_C2_L_ATT_SHIFT) & 31); in hal2_gain_get() 219 l = (tmp >> H2I_C2_L_GAIN_SHIFT) & 15; in hal2_gain_get() 223 ucontrol->value.integer.value[0] = l; in hal2_gain_get() 234 int l, r; in hal2_gain_put() local 236 l = ucontrol->value.integer.value[0]; in hal2_gain_put() 243 if (l | r) { in hal2_gain_put() 244 l = 31 - l; in hal2_gain_put() 246 new |= (l << H2I_C2_L_ATT_SHIFT); in hal2_gain_put() [all …]
|
/sound/soc/codecs/ |
D | sgtl5000.c | 503 int l; in dac_get_volsw() local 509 l = (reg & SGTL5000_DAC_VOL_LEFT_MASK) >> SGTL5000_DAC_VOL_LEFT_SHIFT; in dac_get_volsw() 515 l = clamp(l, 0x3c, 0xfc); in dac_get_volsw() 519 l = 0xfc - l; in dac_get_volsw() 522 ucontrol->value.integer.value[0] = l; in dac_get_volsw() 556 int l; in dac_put_volsw() local 559 l = ucontrol->value.integer.value[0]; in dac_put_volsw() 563 l = clamp(l, 0, 0xfc - 0x3c); in dac_put_volsw() 567 l = 0xfc - l; in dac_put_volsw() 571 reg = l << SGTL5000_DAC_VOL_LEFT_SHIFT | in dac_put_volsw()
|
/sound/pci/emu10k1/ |
D | emufx.c | 1487 int j, k, l, d; in _snd_emu10k1_audigy_init_efx() local 1490 l = 0xe0 + (z * 8) + (j * 4); in _snd_emu10k1_audigy_init_efx() 1501 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() 1502 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() 1503 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() 1504 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() 1505 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() 1507 A_OP(icode, &ptr, iACC3, A_GPR(d), A_GPR(l+2), A_C_00000000, A_C_00000000); in _snd_emu10k1_audigy_init_efx() 2212 int j, k, l, d; in _snd_emu10k1_init_efx() local 2215 l = 0xd0 + (z * 8) + (j * 4); in _snd_emu10k1_init_efx() [all …]
|
/sound/aoa/codecs/ |
D | onyx.c | 125 s8 l, r; in onyx_snd_vol_get() local 128 onyx_read_register(onyx, ONYX_REG_DAC_ATTEN_LEFT, &l); in onyx_snd_vol_get() 132 ucontrol->value.integer.value[0] = l + VOLUME_RANGE_SHIFT; in onyx_snd_vol_get() 142 s8 l, r; in onyx_snd_vol_put() local 152 onyx_read_register(onyx, ONYX_REG_DAC_ATTEN_LEFT, &l); in onyx_snd_vol_put() 155 if (l + VOLUME_RANGE_SHIFT == ucontrol->value.integer.value[0] && in onyx_snd_vol_put()
|
/sound/ppc/ |
D | pmac.c | 937 unsigned int l; in snd_pmac_detect() local 1082 prop = of_get_property(sound, "sample-rates", &l); in snd_pmac_detect() 1084 prop = of_get_property(sound, "output-frame-rates", &l); in snd_pmac_detect() 1088 for (l /= sizeof(int); l > 0; --l) { in snd_pmac_detect()
|
/sound/isa/wavefront/ |
D | wavefront_synth.c | 738 int i, x, l, cnt; in wavefront_get_program_status() local 751 for (l = 0; l < WF_NUM_LAYERS; l++) { in wavefront_get_program_status() 752 if (prog.layer[l].mute) { in wavefront_get_program_status() 754 [prog.layer[l].patch_number] |= in wavefront_get_program_status()
|
/sound/pci/au88x0/ |
D | au88x0_a3d.c | 817 int l, r; in snd_vortex_a3d_ild_put() local 819 l = ucontrol->value.integer.value[0]; in snd_vortex_a3d_ild_put() 821 vortex_a3d_coord2ild(a->ild, l, r); in snd_vortex_a3d_ild_put() 823 a3dsrc_SetGainTarget(a, l, r); in snd_vortex_a3d_ild_put() 824 a3dsrc_SetGainCurrent(a, l, r); in snd_vortex_a3d_ild_put()
|
/sound/drivers/vx/ |
D | vx_mixer.c | 50 u32 l; member 54 u16 l; member 64 u16 l; member 79 #define SET_CDC_DATA_INIT(di) ((di).l = 0L, SET_CDC_DATA_SEL(di,XX_CODEC_SELECTOR)) 94 vx_write_codec_reg(chip, codec, data.l); in vx_set_codec_reg()
|