/sound/drivers/ |
D | pcm-indirect2.c | 45 int j; in snd_pcm_indirect2_stat() local 76 for (j = 0; j < 8; j++) { in snd_pcm_indirect2_stat() 77 for (i = j * 8; i < (j + 1) * 8; i++) in snd_pcm_indirect2_stat() 90 for (j = 0; j < 8; j++) { in snd_pcm_indirect2_stat() 92 for (i = j * 8; i < (j + 1) * 8; i++) in snd_pcm_indirect2_stat() 103 for (j = 0; j < 8; j++) { in snd_pcm_indirect2_stat() 104 if (rec->min_adds[j] != 0) in snd_pcm_indirect2_stat() 105 snd_printk(KERN_DEBUG "%u: %u", j, rec->min_adds[j]); in snd_pcm_indirect2_stat() 109 for (j = 0; j < 8; j++) { in snd_pcm_indirect2_stat() 110 if (rec->mul_adds[j] != 0) in snd_pcm_indirect2_stat() [all …]
|
/sound/pci/pcxhr/ |
D | pcxhr_hwdep.c | 242 int err, i, j; in pcxhr_config_pipes() local 254 for(j = 0; j < chip->nb_streams_play; j++) in pcxhr_config_pipes() 255 chip->playback_stream[j].pipe = pipe; in pcxhr_config_pipes() 257 for (j = 0; j < chip->nb_streams_capt; j++) { in pcxhr_config_pipes() 258 pipe = &chip->capture_pipe[j]; in pcxhr_config_pipes() 259 err = pcxhr_dsp_allocate_pipe(mgr, pipe, 1, i*2 + j); in pcxhr_config_pipes() 262 chip->capture_stream[j].pipe = pipe; in pcxhr_config_pipes() 270 int i, j; in pcxhr_start_pipes() local 280 for (j = 0; j < chip->nb_streams_capt; j++) in pcxhr_start_pipes() 281 capture_mask |= 1 << chip->capture_pipe[j].first_audio; in pcxhr_start_pipes()
|
D | pcxhr.c | 707 int i, j, err; in pcxhr_trigger_tasklet() local 723 for (j = 0; j < chip->nb_streams_capt; j++) { in pcxhr_trigger_tasklet() 724 if (pcxhr_stream_scheduled_get_pipe(&chip->capture_stream[j], &pipe)) in pcxhr_trigger_tasklet() 727 for (j = 0; j < chip->nb_streams_play; j++) { in pcxhr_trigger_tasklet() 728 if (pcxhr_stream_scheduled_get_pipe(&chip->playback_stream[j], &pipe)) { in pcxhr_trigger_tasklet() 760 for (j = 0; j < chip->nb_streams_capt; j++) { in pcxhr_trigger_tasklet() 761 stream = &chip->capture_stream[j]; in pcxhr_trigger_tasklet() 767 for (j = 0; j < chip->nb_streams_play; j++) { in pcxhr_trigger_tasklet() 768 stream = &chip->playback_stream[j]; in pcxhr_trigger_tasklet() 779 for (j = 0; j < chip->nb_streams_capt; j++) { in pcxhr_trigger_tasklet() [all …]
|
D | pcxhr_core.c | 1045 int i, j; in pcxhr_msg_tasklet() local 1093 for (j = 0; j < nb_stream; j++) { in pcxhr_msg_tasklet() 1103 for (j = 0; j < nb_audio; j++) { in pcxhr_msg_tasklet() 1222 int i, j; in pcxhr_interrupt() local 1284 for (j = 0; j < chip->nb_streams_capt; j++) in pcxhr_interrupt() 1286 &chip->capture_stream[j], in pcxhr_interrupt() 1291 for (j = 0; j < chip->nb_streams_play; j++) in pcxhr_interrupt() 1293 &chip->playback_stream[j], in pcxhr_interrupt()
|
/sound/pci/ac97/ |
D | ac97_pcm.c | 450 int i, j, k; in snd_ac97_pcm_assign() local 473 for (j = 0; j < i; j++) { in snd_ac97_pcm_assign() 474 if (bus->codec[j]) in snd_ac97_pcm_assign() 475 avail_slots[1][i] &= ~avail_slots[1][j]; in snd_ac97_pcm_assign() 495 for (j = 0; j < 4 && slots; j++) { in snd_ac97_pcm_assign() 496 if (!bus->codec[j]) in snd_ac97_pcm_assign() 500 tmp = spdif_slots[j]; in snd_ac97_pcm_assign() 502 tmp = avail_slots[pcm->stream][j]; in snd_ac97_pcm_assign() 508 tmp &= ~rpcms[k].r[0].rslots[j]; in snd_ac97_pcm_assign() 515 rpcm->r[0].rslots[j] = tmp; in snd_ac97_pcm_assign() [all …]
|
/sound/pci/ctxfi/ |
D | ctresource.c | 30 int i, j, k, n; in get_resource() local 34 j = i / 8; in get_resource() 36 if (rscs[j] & ((u8)1 << k)) { in get_resource() 51 j = i / 8; in get_resource() 53 rscs[j] |= ((u8)1 << k); in get_resource() 64 unsigned int i, j, k, n; in put_resource() local 68 j = i / 8; in put_resource() 70 rscs[j] &= ~((u8)1 << k); in put_resource()
|
D | ctmixer.c | 374 int i, j, val, oval, change = 0; in ct_alsa_mix_volume_put() local 391 for (j = 1; j < 4; j++) { in ct_alsa_mix_volume_put() 393 amixers[(type+j)*CHN_NUM+i]; in ct_alsa_mix_volume_put() 939 enum CT_AMIXER_CTL i, j; in ct_mixer_topology_build() local 944 for (i = AMIXER_MASTER_F, j = SUM_IN_F; in ct_mixer_topology_build() 945 i <= AMIXER_MASTER_S; i++, j++) { in ct_mixer_topology_build() 947 sum = mixer->sums[j*CHN_NUM]; in ct_mixer_topology_build() 950 sum = mixer->sums[j*CHN_NUM+1]; in ct_mixer_topology_build() 955 for (i = AMIXER_WAVE_F, j = AMIXER_MASTER_F; in ct_mixer_topology_build() 956 i <= AMIXER_WAVE_S; i++, j++) { in ct_mixer_topology_build() [all …]
|
/sound/pci/asihpi/ |
D | hpidebug.c | 61 int j; in hpi_debug_data() local 70 for (i = 0, j = 0; j < lines; j++) { in hpi_debug_data()
|
/sound/pci/ca0106/ |
D | ca0106_proc.c | 367 int i,j; in snd_ca0106_proc_reg_read1() local 372 for (j = 0; j < 4; j++) { in snd_ca0106_proc_reg_read1() 373 value = snd_ca0106_ptr_read(emu, i, j); in snd_ca0106_proc_reg_read1() 385 int i,j; in snd_ca0106_proc_reg_read2() local 390 for (j = 0; j < 4; j++) { in snd_ca0106_proc_reg_read2() 391 value = snd_ca0106_ptr_read(emu, i, j); in snd_ca0106_proc_reg_read2()
|
/sound/pci/lola/ |
D | lola_proc.c | 64 int i, j, num_clocks; in print_clock_widget() local 81 for (j = 0; j < 4; j++) { in print_clock_widget() 82 unsigned char type = items[j] >> 8; in print_clock_widget() 83 unsigned int freq = items[j] & 0xff; in print_clock_widget() 84 if (i + j >= num_clocks) in print_clock_widget() 96 i + j, type, name, freq); in print_clock_widget()
|
D | lola_clock.c | 126 int i, j, nitems, nb_verbs, idx, idx_list; in lola_init_clock_widget() local 170 for (j = 0; j < 4; j++) { in lola_init_clock_widget() 171 unsigned char type = items[j] >> 8; in lola_init_clock_widget() 172 unsigned int freq = items[j] & 0xff; in lola_init_clock_widget() 189 if (items[j] & 0x80) in lola_init_clock_widget()
|
/sound/pci/emu10k1/ |
D | emufx.c | 369 unsigned int i, j; in snd_emu10k1_gpr_ctl_put() local 394 for (j = 0; j < 5; j++) in snd_emu10k1_gpr_ctl_put() 395 … snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[j * ctl->vcount + i], 0, bass_table[val][j]); in snd_emu10k1_gpr_ctl_put() 402 for (j = 0; j < 5; j++) in snd_emu10k1_gpr_ctl_put() 403 …snd_emu10k1_ptr_write(emu, emu->gpr_base + ctl->gpr[j * ctl->vcount + i], 0, treble_table[val][j]); in snd_emu10k1_gpr_ctl_put() 787 unsigned int i, j; in snd_emu10k1_add_controls() local 834 for (j = 0; j < 32; j++) { in snd_emu10k1_add_controls() 835 nctl->gpr[j] = gctl->gpr[j]; in snd_emu10k1_add_controls() 836 nctl->value[j] = ~gctl->value[j]; /* inverted, we want to write new value in gpr_ctl_put() */ in snd_emu10k1_add_controls() 837 val->value.integer.value[j] = gctl->value[j]; in snd_emu10k1_add_controls() [all …]
|
D | voice.c | 52 int i, j, k, first_voice, last_voice, skip; in voice_alloc() local 56 for (i = emu->next_free_voice, j = 0; j < NUM_G ; i += number, j += number) { in voice_alloc()
|
/sound/pci/hda/ |
D | hda_eld.c | 385 int i, j; in hdmi_print_pcm_rates() local 387 for (i = 0, j = 0; i < ARRAY_SIZE(alsa_rates); i++) in hdmi_print_pcm_rates() 389 j += snprintf(buf + j, buflen - j, " %d", in hdmi_print_pcm_rates() 392 buf[j] = '\0'; /* necessary when j == 0 */ in hdmi_print_pcm_rates() 425 int i, j; in snd_print_channel_allocation() local 427 for (i = 0, j = 0; i < ARRAY_SIZE(cea_speaker_allocation_names); i++) { in snd_print_channel_allocation() 429 j += snprintf(buf + j, buflen - j, " %s", in snd_print_channel_allocation() 432 buf[j] = '\0'; /* necessary when j == 0 */ in snd_print_channel_allocation()
|
/sound/usb/ |
D | midi.c | 355 unsigned int i, j; in snd_usbmidi_error_timer() local 366 for (j = 0; j < INPUT_URBS; ++j) { in snd_usbmidi_error_timer() 367 in->urbs[j]->dev = umidi->dev; in snd_usbmidi_error_timer() 368 snd_usbmidi_submit_urb(in->urbs[j], GFP_ATOMIC); in snd_usbmidi_error_timer() 1085 int i, j; in snd_usbmidi_output_open() local 1089 for (j = 0; j < 0x10; ++j) in snd_usbmidi_output_open() 1090 if (umidi->endpoints[i].out->ports[j].substream == substream) { in snd_usbmidi_output_open() 1091 port = &umidi->endpoints[i].out->ports[j]; in snd_usbmidi_output_open() 1405 unsigned int i, j; in snd_usbmidi_disconnect() local 1424 for (j = 0; j < OUTPUT_URBS; ++j) in snd_usbmidi_disconnect() [all …]
|
/sound/soc/samsung/ |
D | s3c24xx_uda134x.c | 84 int i, j; in s3c24xx_uda134x_startup() local 90 for (j = 1; j < 33; j++) in s3c24xx_uda134x_startup() 91 rates[i*33 + j] = clk_get_rate(pclk) / in s3c24xx_uda134x_startup() 92 (j * fs); in s3c24xx_uda134x_startup()
|
/sound/usb/usx2y/ |
D | usbusx2y.c | 237 int j, send = us428ctls->p4outSent + 1; in i_usX2Y_In04Int() local 240 for (j = 0; j < URBS_AsyncSeq && !err; ++j) in i_usX2Y_In04Int() 241 if (0 == usX2Y->AS04.urb[j]->status) { in i_usX2Y_In04Int() 243 usb_fill_bulk_urb(usX2Y->AS04.urb[j], usX2Y->dev, in i_usX2Y_In04Int() 247 err = usb_submit_urb(usX2Y->AS04.urb[j], GFP_ATOMIC); in i_usX2Y_In04Int()
|
/sound/pci/oxygen/ |
D | oxygen_lib.c | 204 int i, j; in oxygen_proc_read() local 215 for (j = 0; j < 0x10; ++j) in oxygen_proc_read() 216 snd_iprintf(buffer, " %02x", oxygen_read8(chip, i + j)); in oxygen_proc_read() 225 for (j = 0; j < 0x10; j += 2) in oxygen_proc_read() 227 oxygen_read_ac97(chip, 0, i + j)); in oxygen_proc_read() 235 for (j = 0; j < 0x10; j += 2) in oxygen_proc_read() 237 oxygen_read_ac97(chip, 1, i + j)); in oxygen_proc_read()
|
/sound/ppc/ |
D | beep.c | 108 int i, j, f; in snd_pmac_beep_event() local 153 j = 0; in snd_pmac_beep_event() 156 p[0] = p[1] = beep_wform[j >> 8] * beep->volume; in snd_pmac_beep_event() 157 j = (j + f) & 0xffff; in snd_pmac_beep_event()
|
/sound/oss/ |
D | soundcard.c | 547 int i, j; in oss_init() local 564 j = 0; in oss_init() 566 unsigned short minor = dev_list[i].minor + j * 0x10; in oss_init() 568 dev_list[i].enabled = (1 << j); in oss_init() 569 } while (++j < num_audiodevs); in oss_init() 580 int i, j; in oss_cleanup() local 583 j = 0; in oss_cleanup() 585 if (dev_list[i].enabled & (1 << j)) in oss_cleanup() 587 } while (++j < num_audiodevs); in oss_cleanup()
|
/sound/soc/codecs/ |
D | tlv320aic23.c | 232 int i, j; in find_rate() local 251 for (j = 0; j < ARRAY_SIZE(sr_adc_mult_table); in find_rate() 252 j++, mask >>= 1) { in find_rate() 258 adc = base * sr_adc_mult_table[j]; in find_rate() 259 dac = base * sr_dac_mult_table[j]; in find_rate() 265 best_j = j; in find_rate() 274 best_j = j; in find_rate()
|
D | tlv320aic3x.c | 870 u8 data, j, r, p, pll_q, pll_p = 1, pll_r = 1, pll_j = 1; in aic3x_hw_params() local 946 for (j = 4; j <= 55; j++) { in aic3x_hw_params() 951 int tmp_clk = (1000 * j * r) / p; in aic3x_hw_params() 958 pll_j = j; pll_d = 0; in aic3x_hw_params() 971 j = codec_clk * p / 1000; in aic3x_hw_params() 973 if (j < 4 || j > 11) in aic3x_hw_params() 977 d = ((2048 * p * fsref) - j * aic3x->sysclk) in aic3x_hw_params() 980 clk = (10000 * j + d) / (10 * p); in aic3x_hw_params() 985 pll_j = j; pll_d = d; pll_r = 1; pll_p = p; in aic3x_hw_params()
|
D | wm2000.c | 542 int i, j; in wm2000_anc_transition() local 567 for (j = 0; j < ARRAY_SIZE(anc_transitions[j].step); j++) { in wm2000_anc_transition() 568 if (!anc_transitions[i].step[j]) in wm2000_anc_transition() 570 ret = anc_transitions[i].step[j](i2c, in wm2000_anc_transition()
|
/sound/pci/riptide/ |
D | riptide.c | 840 int i, j; in sendcmd() local 877 for (j = 0, time = 0; time < CMDIF_TIMEOUT; j++, time += 2) { in sendcmd() 878 cmdport = &(hwport->port[j % 2]); in sendcmd() 959 int i, j = 0; in getpaths() local 964 o[j++] = sink[i]; in getpaths() 965 o[j++] = i; in getpaths() 968 return j; in getpaths() 1096 int i, j; in riptide_handleirq() local 1110 for (j = 0; j < data->pages; j++) { in riptide_handleirq() 1111 c = &data->sgdbuf[j]; in riptide_handleirq() [all …]
|
/sound/pci/lx6464es/ |
D | lx6464es.c | 928 int i, j; in lx_proc_levels_read() local 937 for (j = 0; j != 8; ++j) in lx_proc_levels_read() 938 snd_iprintf(buffer, "%08x ", levels[i*8+j]); in lx_proc_levels_read() 949 for (j = 0; j != 8; ++j) in lx_proc_levels_read() 950 snd_iprintf(buffer, "%08x ", levels[i*8+j]); in lx_proc_levels_read()
|