Searched refs:ptr1 (Results 1 – 6 of 6) sorted by relevance
/sound/isa/gus/ |
D | gus_mem.c | 143 unsigned int ptr1, ptr2; in snd_gf1_mem_find() local 166 ptr1 = ALIGN(pblock->ptr + pblock->size, align); in snd_gf1_mem_find() 167 if (ptr1 >= ptr2) in snd_gf1_mem_find() 169 size1 = ptr2 - ptr1; in snd_gf1_mem_find() 171 block->ptr = ptr1; in snd_gf1_mem_find()
|
/sound/pci/emu10k1/ |
D | p16v.c | 523 snd_pcm_uframes_t ptr, ptr1, ptr2,ptr3,ptr4 = 0; in snd_p16v_pcm_pointer_playback() local 529 ptr1 = snd_emu10k1_ptr20_read(emu, PLAYBACK_POINTER, channel); in snd_p16v_pcm_pointer_playback() 531 if (ptr3 != ptr4) ptr1 = snd_emu10k1_ptr20_read(emu, PLAYBACK_POINTER, channel); in snd_p16v_pcm_pointer_playback() 532 ptr2 = bytes_to_frames(runtime, ptr1); in snd_p16v_pcm_pointer_playback() 548 snd_pcm_uframes_t ptr, ptr1, ptr2 = 0; in snd_p16v_pcm_pointer_capture() local 554 ptr1 = snd_emu10k1_ptr20_read(emu, CAPTURE_POINTER, channel); in snd_p16v_pcm_pointer_capture() 555 ptr2 = bytes_to_frames(runtime, ptr1); in snd_p16v_pcm_pointer_capture()
|
D | emu10k1x.c | 521 snd_pcm_uframes_t ptr = 0, ptr1 = 0, ptr2= 0,ptr3 = 0,ptr4 = 0; in snd_emu10k1x_pcm_pointer() local 527 ptr1 = snd_emu10k1x_ptr_read(emu, PLAYBACK_POINTER, channel); in snd_emu10k1x_pcm_pointer() 530 if(ptr4 == 0 && ptr1 == frames_to_bytes(runtime, runtime->buffer_size)) in snd_emu10k1x_pcm_pointer() 534 ptr1 = snd_emu10k1x_ptr_read(emu, PLAYBACK_POINTER, channel); in snd_emu10k1x_pcm_pointer() 535 ptr2 = bytes_to_frames(runtime, ptr1); in snd_emu10k1x_pcm_pointer()
|
/sound/pci/ca0106/ |
D | ca0106_main.c | 960 snd_pcm_uframes_t ptr, ptr1, ptr2,ptr3,ptr4 = 0; in snd_ca0106_pcm_pointer_playback() local 967 ptr1 = snd_ca0106_ptr_read(emu, PLAYBACK_POINTER, channel); in snd_ca0106_pcm_pointer_playback() 969 if (ptr3 != ptr4) ptr1 = snd_ca0106_ptr_read(emu, PLAYBACK_POINTER, channel); in snd_ca0106_pcm_pointer_playback() 970 ptr2 = bytes_to_frames(runtime, ptr1); in snd_ca0106_pcm_pointer_playback() 987 snd_pcm_uframes_t ptr, ptr1, ptr2 = 0; in snd_ca0106_pcm_pointer_capture() local 993 ptr1 = snd_ca0106_ptr_read(emu, CAPTURE_POINTER, channel); in snd_ca0106_pcm_pointer_capture() 994 ptr2 = bytes_to_frames(runtime, ptr1); in snd_ca0106_pcm_pointer_capture()
|
/sound/pci/ |
D | intel8x0m.c | 573 size_t ptr1, ptr; in snd_intel8x0_pcm_pointer() local 575 ptr1 = igetword(chip, ichdev->reg_offset + ichdev->roff_picb) << chip->pcm_pos_shift; in snd_intel8x0_pcm_pointer() 576 if (ptr1 != 0) in snd_intel8x0_pcm_pointer() 577 ptr = ichdev->fragsize1 - ptr1; in snd_intel8x0_pcm_pointer()
|
D | intel8x0.c | 1052 size_t ptr1, ptr; in snd_intel8x0_pcm_pointer() local 1059 ptr1 = igetword(chip, ichdev->reg_offset + ichdev->roff_picb); in snd_intel8x0_pcm_pointer() 1061 if (ptr1 == 0) { in snd_intel8x0_pcm_pointer() 1066 ptr1 == igetword(chip, ichdev->reg_offset + ichdev->roff_picb)) in snd_intel8x0_pcm_pointer() 1069 ptr1 <<= ichdev->pos_shift; in snd_intel8x0_pcm_pointer() 1070 ptr = ichdev->fragsize1 - ptr1; in snd_intel8x0_pcm_pointer()
|