Searched refs:num_frames (Results 1 – 12 of 12) sorted by relevance
/drivers/gpu/drm/i915/ |
D | intel_dsi_pll.c | 63 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/ |
D | cpia2_v4l.c | 441 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()
|
D | cpia2_core.c | 2238 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()
|
D | cpia2_usb.c | 132 if(!cam->mmapped && cam->num_frames > 2) { in process_frame() 719 for(i=0; i<cam->num_frames; ++i) { in cpia2_usb_stream_start()
|
D | cpia2.h | 407 int num_frames; member
|
/drivers/video/fbdev/ |
D | ps3fb.c | 125 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/ |
D | usbvision-core.c | 1783 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()
|
D | usbvision-video.c | 766 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()
|
D | usbvision.h | 415 int num_frames; /* number of frames allocated */ member
|
/drivers/dma/xilinx/ |
D | xilinx_vdma.c | 1255 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/ |
D | mac80211.c | 1875 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/ |
D | pktcdvd.c | 1037 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()
|