Lines Matching refs:frag_tab
317 if (fh->buffers.buffer[i].jpg.frag_tab) in jpg_fbuffer_alloc()
334 fh->buffers.buffer[i].jpg.frag_tab = (__le32 *)mem; in jpg_fbuffer_alloc()
347 fh->buffers.buffer[i].jpg.frag_tab[0] = in jpg_fbuffer_alloc()
349 fh->buffers.buffer[i].jpg.frag_tab[1] = in jpg_fbuffer_alloc()
366 fh->buffers.buffer[i].jpg.frag_tab[2 * j] = in jpg_fbuffer_alloc()
368 fh->buffers.buffer[i].jpg.frag_tab[2 * j + 1] = in jpg_fbuffer_alloc()
373 fh->buffers.buffer[i].jpg.frag_tab[2 * j - 1] |= cpu_to_le32(1); in jpg_fbuffer_alloc()
393 __le32 frag_tab; in jpg_fbuffer_free() local
400 if (!buffer->jpg.frag_tab) in jpg_fbuffer_free()
404 frag_tab = buffer->jpg.frag_tab[0]; in jpg_fbuffer_free()
406 if (frag_tab) { in jpg_fbuffer_free()
407 mem = bus_to_virt(le32_to_cpu(frag_tab)); in jpg_fbuffer_free()
411 buffer->jpg.frag_tab[0] = 0; in jpg_fbuffer_free()
412 buffer->jpg.frag_tab[1] = 0; in jpg_fbuffer_free()
416 frag_tab = buffer->jpg.frag_tab[2 * j]; in jpg_fbuffer_free()
418 if (!frag_tab) in jpg_fbuffer_free()
420 ClearPageReserved(virt_to_page(bus_to_virt(le32_to_cpu(frag_tab)))); in jpg_fbuffer_free()
421 free_page((unsigned long)bus_to_virt(le32_to_cpu(frag_tab))); in jpg_fbuffer_free()
422 buffer->jpg.frag_tab[2 * j] = 0; in jpg_fbuffer_free()
423 buffer->jpg.frag_tab[2 * j + 1] = 0; in jpg_fbuffer_free()
427 free_page((unsigned long)buffer->jpg.frag_tab); in jpg_fbuffer_free()
428 buffer->jpg.frag_tab = NULL; in jpg_fbuffer_free()
2966 frag_tab[2 * j + 1]) & ~1) << 1; in zoran_mmap()
2972 buffer[i].jpg.frag_tab[2 * j]); in zoran_mmap()
2990 frag_tab[2 * j + 1]) & 1) in zoran_mmap()