Lines Matching refs:nblks
164 int i, hsub, nlines, nblks, ret; in request_smp_blocks() local
171 for (i = 0, nblks = 0; i < nplanes; i++) { in request_smp_blocks()
191 nblks += n; in request_smp_blocks()
195 return nblks; in request_smp_blocks()
198 static void set_fifo_thresholds(struct drm_plane *plane, int nblks) in set_fifo_thresholds() argument
206 val = (nblks * SMP_ENTRIES_PER_BLK) / 4; in set_fifo_thresholds()
228 int i, nblks; in mdp5_plane_mode_set() local
249 nblks = request_smp_blocks(plane, fb->pixel_format, nplanes, src_w); in mdp5_plane_mode_set()
250 if (nblks < 0) in mdp5_plane_mode_set()
251 return nblks; in mdp5_plane_mode_set()
333 set_fifo_thresholds(plane, nblks); in mdp5_plane_mode_set()