Home
last modified time | relevance | path

Searched refs:num_frames (Results 1 – 12 of 12) sorted by relevance

/drivers/gpu/drm/i915/
Dintel_dsi_pll.c63 u32 num_frames; in dsi_rr_formula() local
119 num_frames = drm_mode_vrefresh(mode); in dsi_rr_formula()
120 bytes_per_x_frames = num_frames * bytes_per_frame; in dsi_rr_formula()
/drivers/media/usb/cpia2/
Dcpia2_v4l.c441 for (frame = 0; frame < cam->num_frames; ++frame) { in cpia2_s_fmt_vid_cap()
531 cap->readbuffers = cam->num_frames; in cpia2_g_parm()
795 DBG("REQBUFS requested:%d returning:%d\n", req->count, cam->num_frames); in cpia2_reqbufs()
796 req->count = cam->num_frames; in cpia2_reqbufs()
815 buf->index > cam->num_frames) in cpia2_querybuf()
866 buf->index > cam->num_frames) in cpia2_qbuf()
889 for (i=0; i<cam->num_frames; i++) { in find_earliest_filled_buffer()
1032 cam->num_frames = num_buffers; in reset_camera_struct_v4l()
Dcpia2_core.c2238 u32 size = cam->num_frames*sizeof(struct framebuf); in cpia2_allocate_buffers()
2247 cam->frame_buffer = rvmalloc(cam->frame_size*cam->num_frames); in cpia2_allocate_buffers()
2256 for(i=0; i<cam->num_frames-1; ++i) { in cpia2_allocate_buffers()
2289 rvfree(cam->frame_buffer, cam->frame_size*cam->num_frames); in cpia2_free_buffers()
2397 if (size > cam->frame_size*cam->num_frames || in cpia2_remap_buffer()
2399 (start_offset+size > cam->frame_size*cam->num_frames)) in cpia2_remap_buffer()
Dcpia2_usb.c132 if(!cam->mmapped && cam->num_frames > 2) { in process_frame()
719 for(i=0; i<cam->num_frames; ++i) { in cpia2_usb_stream_start()
Dcpia2.h407 int num_frames; member
/drivers/video/fbdev/
Dps3fb.c125 unsigned int num_frames; /* num of frame buffers */ member
485 if (frame > par->num_frames - 1) { in ps3fb_sync()
624 par->num_frames = info->fix.smem_len / in ps3fb_set_par()
655 lines = vmode->yres * par->num_frames; in ps3fb_set_par()
854 res.num_frames = par->num_frames; in ps3fb_ioctl()
1129 par->num_frames = 1; in ps3fb_probe()
/drivers/media/usb/usbvision/
Dusbvision-core.c1783 usbvision->num_frames = number_of_frames; in usbvision_frames_alloc()
1784 while (usbvision->num_frames > 0) { in usbvision_frames_alloc()
1785 usbvision->fbuf_size = usbvision->num_frames * usbvision->max_frame_size; in usbvision_frames_alloc()
1789 usbvision->num_frames--; in usbvision_frames_alloc()
1797 for (i = 0; i < usbvision->num_frames; i++) { in usbvision_frames_alloc()
1812 usbvision->num_frames, usbvision->max_frame_size); in usbvision_frames_alloc()
1813 return usbvision->num_frames; in usbvision_frames_alloc()
1823 PDEBUG(DBG_FUNC, "free %d frames", usbvision->num_frames); in usbvision_frames_free()
1829 usbvision->num_frames = 0; in usbvision_frames_free()
Dusbvision-video.c766 if (vb->index >= usbvision->num_frames) in vidioc_querybuf()
798 if (vb->index >= usbvision->num_frames) in vidioc_qbuf()
988 if (!usbvision->num_frames) { in usbvision_read()
1004 for (i = 0; i < usbvision->num_frames; i++) { in usbvision_read()
1105 for (i = 0; i < usbvision->num_frames; i++) { in usbvision_mmap()
1110 if (i == usbvision->num_frames) { in usbvision_mmap()
Dusbvision.h415 int num_frames; /* number of frames allocated */ member
/drivers/dma/xilinx/
Dxilinx_vdma.c1255 u32 num_frames; in xilinx_vdma_probe() local
1274 err = of_property_read_u32(node, "xlnx,num-fstores", &num_frames); in xilinx_vdma_probe()
1313 xdev->chan[i]->num_frms = num_frames; in xilinx_vdma_probe()
/drivers/net/wireless/iwlwifi/mvm/
Dmac80211.c1875 int num_frames, in iwl_mvm_mac_allow_buffered_frames() argument
1883 iwl_mvm_sta_modify_sleep_tx_count(mvm, sta, reason, num_frames, in iwl_mvm_mac_allow_buffered_frames()
1890 int num_frames, in iwl_mvm_mac_release_buffered_frames() argument
1898 iwl_mvm_sta_modify_sleep_tx_count(mvm, sta, reason, num_frames, in iwl_mvm_mac_release_buffered_frames()
/drivers/block/
Dpktcdvd.c1037 int num_frames = bio->bi_iter.bi_size / CD_FRAMESIZE; in pkt_gather_data() local
1038 pd->stats.secs_w += num_frames * (CD_FRAMESIZE >> 9); in pkt_gather_data()
1040 BUG_ON(first_frame + num_frames > pkt->frames); in pkt_gather_data()
1041 for (f = first_frame; f < first_frame + num_frames; f++) in pkt_gather_data()