Searched refs:threshold (Results 1 - 7 of 7) sorted by relevance

/u-boot/lib/zstd/common/
H A Dentropy_common.c67 int threshold; local
95 threshold = 1<<nbBits;
149 int const max = (2*threshold-1) - remaining;
152 if ((bitStream & (threshold-1)) < (U32)max) {
153 count = bitStream & (threshold-1);
156 count = bitStream & (2*threshold-1);
157 if (count >= threshold) count -= max;
174 assert(threshold > 1);
175 if (remaining < threshold) {
177 * threshold updat
[all...]
H A Dfse.h572 U32 const threshold = (minNbBits+1) << 16; local
576 U32 const deltaFromThreshold = threshold - (symbolTT[symbolValue].deltaNbBits + tableSize);
579 assert(symbolTT[symbolValue].deltaNbBits + tableSize <= threshold);
/u-boot/drivers/mtd/nand/raw/
H A Dmxs_nand.c644 unsigned int threshold; local
649 threshold = geo->gf_len / 2;
650 if (threshold > geo->ecc_strength)
651 threshold = geo->ecc_strength;
655 if (flip_bits > threshold)
664 if (flip_bits_noecc > threshold)
672 printf("The page(%d) is an erased page(%d,%d,%d,%d).\n", page, chunk, threshold, flip_bits, flip_bits_noecc);
1243 /* Set erase threshold to ecc strength for mx6ul, mx6qp and mx7 */
/u-boot/arch/mips/mach-octeon/
H A Dcvmx-fpa.c188 u64 limit, u64 threshold, int ptr_dis)
235 /* Initialize AURA count, limit and threshold registers */
246 thresh_reg.cn78xx.thresh = threshold;
248 if ((threshold + __cvmx_fpa3_cnt_offset) < CVMX_FPA3_AURAX_LIMIT_MAX)
379 /* Set POOL threshold just above buf count so it does not misfire */
187 cvmx_fpa3_aura_cfg(cvmx_fpa3_gaura_t aura, cvmx_fpa3_pool_t pool, u64 limit, u64 threshold, int ptr_dis) argument
/u-boot/fs/yaffs2/
H A Dyaffs_guts.c2644 int threshold; local
2689 threshold = dev->param.chunks_per_block;
2702 threshold = background ? (dev->gc_not_done + 2) * 2 : 0;
2703 if (threshold < YAFFS_GC_PASSIVE_THRESHOLD)
2704 threshold = YAFFS_GC_PASSIVE_THRESHOLD;
2705 if (threshold > max_threshold)
2706 threshold = max_threshold;
2738 if (dev->gc_dirtiest > 0 && dev->gc_pages_in_use <= threshold)
2781 "GC none: finder %d skip %d threshold %d dirtiest %d using %d oldest %d%s",
2782 dev->gc_block_finder, dev->gc_not_done, threshold,
[all...]
/u-boot/include/linux/mtd/
H A Drawnand.h1327 int threshold);
/u-boot/arch/mips/mach-octeon/include/mach/
H A Dcvmx-pko-defs.h815 u64 threshold : 36; member in struct:cvmx_pko_dqx_wm_buf_ctl::cvmx_pko_dqx_wm_buf_ctl_s
871 u64 threshold : 48; member in struct:cvmx_pko_dqx_wm_ctl::cvmx_pko_dqx_wm_ctl_s

Completed in 305 milliseconds