Lines Matching refs:nblks
64 u32 cid, int nblks) in smp_request_block() argument
76 nblks = max(0, nblks - reserved); in smp_request_block()
77 DBG("%d MMBs allocated (%d reserved)", nblks, reserved); in smp_request_block()
81 if (nblks > avail) { in smp_request_block()
83 nblks, avail); in smp_request_block()
87 for (i = 0; i < nblks; i++) { in smp_request_block()
97 enum mdp5_pipe pipe, int nblks) in set_fifo_thresholds() argument
103 val = (nblks * smp_entries_per_blk) / 4; in set_fifo_thresholds()
222 unsigned nblks = 0; in update_smp_state() local
249 nblks++; in update_smp_state()
252 return nblks; in update_smp_state()
293 unsigned i, nblks = 0; in mdp5_smp_prepare_commit() local
299 nblks += update_smp_state(smp, cid, cs); in mdp5_smp_prepare_commit()
302 pipe2name(pipe), i, nblks); in mdp5_smp_prepare_commit()
305 set_fifo_thresholds(smp, pipe, nblks); in mdp5_smp_prepare_commit()