Searched refs:curpos (Results 1 – 4 of 4) sorted by relevance
/linux-4.4.14/drivers/media/pci/cx25821/ |
D | cx25821-video-upstream.c | 313 int curpos = out->curpos; in cx25821_write_frame() local 322 if (curpos == 0) { in cx25821_write_frame() 331 if (frame_size - curpos < count) in cx25821_write_frame() 332 count = frame_size - curpos; in cx25821_write_frame() 333 if (copy_from_user((__force char *)out->_data_buf_virt_addr + frame_offset + curpos, in cx25821_write_frame() 336 curpos += count; in cx25821_write_frame() 337 if (curpos == frame_size) { in cx25821_write_frame() 339 curpos = 0; in cx25821_write_frame() 341 out->curpos = curpos; in cx25821_write_frame() 649 out->curpos = 0; in cx25821_vidupstream_init()
|
D | cx25821.h | 209 int curpos; member
|
/linux-4.4.14/drivers/gpu/drm/nouveau/dispnv04/ |
D | hw.h | 349 uint32_t curpos = NVReadRAMDAC(dev, head, NV_PRAMDAC_CU_START_POS); in nv_fix_nv40_hw_cursor() local 350 NVWriteRAMDAC(dev, head, NV_PRAMDAC_CU_START_POS, curpos); in nv_fix_nv40_hw_cursor()
|
/linux-4.4.14/fs/ |
D | buffer.c | 2305 loff_t curpos; in cont_expand_zero() local 2312 while (index > (curidx = (curpos = *bytes)>>PAGE_CACHE_SHIFT)) { in cont_expand_zero() 2313 zerofrom = curpos & ~PAGE_CACHE_MASK; in cont_expand_zero() 2320 err = pagecache_write_begin(file, mapping, curpos, len, in cont_expand_zero() 2326 err = pagecache_write_end(file, mapping, curpos, len, len, in cont_expand_zero() 2343 zerofrom = curpos & ~PAGE_CACHE_MASK; in cont_expand_zero() 2354 err = pagecache_write_begin(file, mapping, curpos, len, in cont_expand_zero() 2360 err = pagecache_write_end(file, mapping, curpos, len, len, in cont_expand_zero()
|