/freebsd-src/sys/dev/clk/allwinner/ |
H A D | ccu_a83t.c | 210 8, 8, 0, AW_CLK_FACTOR_ZERO_BASED, /* n factor */ 211 0, 0, 1, AW_CLK_FACTOR_FIXED, /* k factor (fake) */ 212 0, 0, 1, AW_CLK_FACTOR_FIXED, /* m factor */ 213 0, 0, 1, AW_CLK_FACTOR_FIXED, /* p factor (fake) */ 221 8, 8, 0, AW_CLK_FACTOR_ZERO_BASED, /* n factor */ 222 0, 0, 1, AW_CLK_FACTOR_FIXED, /* k factor (fake) */ 223 0, 0, 1, AW_CLK_FACTOR_FIXED, /* m factor */ 224 0, 0, 1, AW_CLK_FACTOR_FIXED, /* p factor (fake) */ 234 8, 8, 0, AW_CLK_FACTOR_ZERO_BASED, /* n factor */ 235 0, 0, 1, AW_CLK_FACTOR_FIXED, /* k factor (fake) */ [all …]
|
H A D | ccu_a31.c | 245 8, 5, 0, 0, /* n factor */ 246 4, 2, 0, 0, /* k factor */ 247 0, 2, 0, 0, /* m factor */ 248 0, 0, 1, AW_CLK_FACTOR_FIXED, /* p factor (fake) */ 257 8, 7, 0, 0, /* n factor */ 258 0, 0, 1, AW_CLK_FACTOR_FIXED, /* k factor (fake) */ 259 0, 4, 1, 0, /* m factor */ 260 16, 3, 1, 0, /* p factor */ 295 8, 7, 0, 0, /* n factor */ 296 0, 4, 0, 0, /* m factor */ [all …]
|
H A D | ccu_a10.c | 202 8, 5, 0, AW_CLK_FACTOR_ZERO_IS_ONE, /* n factor */ 203 4, 2, 0, 0, /* k factor */ 204 0, 2, 0, 0, /* m factor */ 205 16, 2, 0, AW_CLK_FACTOR_POWER_OF_TWO, /* p factor */ 214 0, 7, 0, 0, /* n factor */ 215 0, 0, 1, AW_CLK_FACTOR_FIXED, /* m factor (fake) */ 234 0, 7, 0, 0, /* n factor */ 235 0, 0, 1, AW_CLK_FACTOR_FIXED, /* m factor (fake) */ 263 0, 0, 1, AW_CLK_FACTOR_FIXED, /* n factor (fake) */ 264 0, 2, 0, 0, /* m factor */ [all …]
|
H A D | ccu_h6.c | 176 8, 7, 0, 0, /* n factor */ 177 0, 2, 0, 0, /* p factor */ 187 8, 7, 0, 0, /* n factor */ 188 0, 1, 0, 0, /* m0 factor */ 189 1, 1, 0, 0, /* m1 factor */ 199 8, 7, 0, 0, /* n factor */ 200 0, 1, 0, 0, /* m0 factor */ 201 1, 1, 0, 0, /* m1 factor */ 229 8, 7, 0, 0, /* n factor */ 230 0, 1, 0, 0, /* m0 factor */ [all …]
|
H A D | ccu_h3.c | 247 8, 5, 0, 0, /* n factor */ 248 4, 2, 0, 0, /* k factor */ 249 0, 2, 0, 0, /* m factor */ 250 16, 2, 0, AW_CLK_FACTOR_POWER_OF_TWO, /* p factor */ 260 8, 7, 0, 0, /* n factor */ 261 0, 0, 1, AW_CLK_FACTOR_FIXED, /* k factor (fake) */ 262 0, 5, 0, 0, /* m factor */ 263 16, 4, 0, 0, /* p factor */ 299 8, 7, 0, 0, /* n factor */ 300 0, 4, 0, 0, /* m factor */ [all …]
|
H A D | aw_clk.h | 77 uint32_t shift; /* Shift bits for the factor */ 78 uint32_t mask; /* Mask to get the factor, will be override by the clk methods */ 79 uint32_t width; /* Number of bits for the factor */ 101 aw_clk_get_factor(uint32_t val, struct aw_clk_factor *factor) in aw_clk_get_factor() argument 106 if (factor->flags & AW_CLK_FACTOR_HAS_COND) { in aw_clk_get_factor() 107 cond = (val & factor->cond_mask) >> factor->cond_shift; in aw_clk_get_factor() 108 if (cond != factor->cond_value) in aw_clk_get_factor() 112 if (factor->flags & AW_CLK_FACTOR_FIXED) in aw_clk_get_factor() 113 return (factor->value); in aw_clk_get_factor() 115 factor_val = (val & factor->mask) >> factor->shift; in aw_clk_get_factor() [all …]
|
H A D | ccu_a64.c | 230 8, 5, 0, 0, /* n factor */ 231 4, 2, 0, 0, /* k factor */ 232 0, 2, 0, 0, /* m factor */ 233 16, 2, 0, AW_CLK_FACTOR_POWER_OF_TWO, /* p factor */ 243 8, 7, 0, 0, /* n factor */ 244 0, 0, 1, AW_CLK_FACTOR_FIXED, /* k factor (fake) */ 245 0, 5, 0, 0, /* m factor */ 246 16, 4, 0, 0, /* p factor */ 282 8, 7, 0, 0, /* n factor */ 283 0, 4, 0, 0, /* m factor */ [all …]
|
/freebsd-src/sys/arm/ti/clk/ |
H A D | ti_clk_dpll.c | 80 ti_clk_factor_get_max(struct ti_clk_factor *factor) in ti_clk_factor_get_max() argument 84 if (factor->flags & TI_CLK_FACTOR_FIXED) in ti_clk_factor_get_max() 85 max = factor->value; in ti_clk_factor_get_max() 87 max = (1 << factor->width); in ti_clk_factor_get_max() 94 ti_clk_factor_get_min(struct ti_clk_factor *factor) in ti_clk_factor_get_min() argument 98 if (factor->flags & TI_CLK_FACTOR_FIXED) in ti_clk_factor_get_min() 99 min = factor->value; in ti_clk_factor_get_min() 100 else if (factor->flags & TI_CLK_FACTOR_ZERO_BASED) in ti_clk_factor_get_min() 102 else if (factor->flags & TI_CLK_FACTOR_MIN_VALUE) in ti_clk_factor_get_min() 103 min = factor->min_value; in ti_clk_factor_get_min() [all …]
|
/freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | InterleavedAccessPass.cpp | 14 // DE-interleaving the data on a factor. An interleaved store writes several 15 // vectors to memory with RE-interleaving the data on a factor. 23 // E.g. An interleaved load (Factor = 2): 34 // E.g. An interleaved store (Factor = 3): 99 /// The maximum supported interleave factor. 205 /// E.g. DE-interleave masks (Factor = 2) could be: 208 static bool isDeInterleaveMask(ArrayRef<int> Mask, unsigned &Factor, in isDeInterleaveMaskOfFactor() 215 for (Factor = 2; Factor <= MaxFactor; Factor in isDeInterleaveMaskOfFactor() 206 isDeInterleaveMaskOfFactor(ArrayRef<int> Mask,unsigned Factor,unsigned & Index) isDeInterleaveMaskOfFactor() argument 230 isDeInterleaveMask(ArrayRef<int> Mask,unsigned & Factor,unsigned & Index,unsigned MaxFactor,unsigned NumLoadElements) isDeInterleaveMask() argument 259 isReInterleaveMask(ShuffleVectorInst * SVI,unsigned & Factor,unsigned MaxFactor) isReInterleaveMask() argument 316 unsigned Factor, Index; lowerInterleavedLoad() local 487 unsigned Factor; lowerInterleavedStore() local [all...] |
/freebsd-src/usr.bin/primes/ |
H A D | primes.c | 198 ubig factor; /* index and factor */ in primes() local 234 for (p = &prime[0], factor = prime[0]; in primes() 235 factor < stop && p <= pr_limit; factor = *(++p)) { in primes() 236 if (factor >= start) { in primes() 237 printf(hflag ? "%" PRIx64 "\n" : "%" PRIu64 "\n", factor); in primes() 253 * factor out 3, 5, 7, 11 and 13 in primes() 256 factor = (start%(2*3*5*7*11*13))/2; /* starting copy spot */ in primes() 257 memcpy(table, &pattern[factor], pattern_size-factor); in primes() 259 for (fact_lim=pattern_size-factor; in primes() 269 /* note highest useful factor and sieve spot */ in primes() [all …]
|
/freebsd-src/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | PseudoProbe.h | 37 // The saturated distrution factor representing 100% for block probes. 51 // [25:19] - probe distribution factor in packProbeData() 56 packProbeData(uint32_t Index, uint32_t Type, uint32_t Flags, uint32_t Factor, in packProbeData() 61 assert(Factor <= 100 && in extractProbeIndex() 62 "Probe distribution factor too big to encode, exceeding 100"); in extractProbeIndex() 63 uint32_t V = (Index << 3) | (Factor << 19) | (Type << 26) | 0x7; in extractProbeIndex() 102 // The saturated distrution factor representing 100% for callsites. 122 // Distribution factor that estimates the portion of the real execution count. 123 // A saturated distribution factor stands for 1.0 or 100%. A pesudo probe has 124 // a factor wit 100 float Factor; global() member [all...] |
/freebsd-src/share/man/man4/ |
H A D | ccd.4 | 75 concatenate the partitions, specify the interleave factor of 0. 76 Note that mirroring may not be used with an interleave factor of 0. 83 .Ss The Interleave Factor 90 The interleave factor is expressed in units of 93 For large writes, the optimum interleave factor 108 An interleave factor must be specified when using a mirroring configuration, 110 no matter what the interleave factor). 111 The interleave factor will determine 123 interleave factor (e.g., 65,536) is more desirable. 182 of devices and the interleave factor o [all...] |
/freebsd-src/contrib/llvm-project/llvm/lib/IR/ |
H A D | PseudoProbe.cpp | 36 Probe.Factor = in extractProbeFromDiscriminator() 62 Probe.Factor = II->getFactor()->getZExtValue() / in extractProbe() 76 void setProbeDistributionFactor(Instruction &Inst, float Factor) { in setProbeDistributionFactor() argument 77 assert(Factor >= 0 && Factor <= 1 && in setProbeDistributionFactor() 78 "Distribution factor must be in [0, 1.0]"); in setProbeDistributionFactor() 82 if (Factor < 1) in setProbeDistributionFactor() 83 IntFactor *= Factor; in setProbeDistributionFactor() 104 if (Factor < 1) in setProbeDistributionFactor() 105 IntFactor *= Factor; in setProbeDistributionFactor() [all...] |
/freebsd-src/contrib/wpa/src/ap/ |
H A D | acs.c | 43 * 2. interference factor is calculated for each channel 67 * Survey interference factor implementation details 71 * The survey interference factor is defined as the ratio of the 107 * All this "interference factor" is purely subjective and only time 110 * of the interference factor then is dependent on what the card itself 116 * The above channel interference factor is calculated with no respect to 125 * interference factor is computed by summing up interferences of each channel 128 * Note: This implies base channel interference factor must be non-negative 141 * ACS: * interference factor average: 0.0557166 148 * ACS: * interference factor averag 305 long double factor, busy, total; acs_survey_interference_factor() local 656 long double factor; acs_find_ideal_chan_mode() local [all...] |
/freebsd-src/sys/sys/ |
H A D | time.h | 164 __stime64_scale32_ceil(int64_t x, int32_t factor, int32_t divisor) in __stime64_scale32_ceil() argument 168 return (x / divisor * factor + (rem * factor + divisor - 1) / divisor); in __stime64_scale32_ceil() 172 __stime64_scale32_floor(int64_t x, int32_t factor, int32_t divisor) in __stime64_scale32_floor() argument 176 return (x / divisor * factor + (rem * factor) / divisor); in __stime64_scale32_floor() 180 __utime64_scale32_ceil(uint64_t x, uint32_t factor, uint32_t divisor) in __utime64_scale32_ceil() argument 184 return (x / divisor * factor + (rem * factor + divisor - 1) / divisor); in __utime64_scale32_ceil() 188 __utime64_scale32_floor(uint64_t x, uint32_t factor, uint32_ argument 218 __stime64_scale64_ceil(int64_t x,int64_t factor,int64_t divisor) __stime64_scale64_ceil() argument 226 __stime64_scale64_floor(int64_t x,int64_t factor,int64_t divisor) __stime64_scale64_floor() argument 234 __utime64_scale64_ceil(uint64_t x,uint64_t factor,uint64_t divisor) __utime64_scale64_ceil() argument 242 __utime64_scale64_floor(uint64_t x,uint64_t factor,uint64_t divisor) __utime64_scale64_floor() argument [all...] |
/freebsd-src/sys/contrib/device-tree/src/arm/ti/omap/ |
H A D | omap36xx-omap3430es2plus-clocks.dtsi | 49 compatible = "fixed-factor-clock"; 81 compatible = "fixed-factor-clock"; 105 compatible = "fixed-factor-clock"; 113 compatible = "fixed-factor-clock"; 121 compatible = "fixed-factor-clock"; 129 compatible = "fixed-factor-clock"; 137 compatible = "fixed-factor-clock"; 145 compatible = "fixed-factor-clock"; 153 compatible = "fixed-factor-clock"; 161 compatible = "fixed-factor [all...] |
H A D | am33xx-clocks.dtsi | 19 compatible = "fixed-factor-clock"; 28 compatible = "fixed-factor-clock"; 37 compatible = "fixed-factor-clock"; 46 compatible = "fixed-factor-clock"; 55 compatible = "fixed-factor-clock"; 64 compatible = "fixed-factor-clock"; 73 compatible = "fixed-factor-clock"; 82 compatible = "fixed-factor-clock"; 91 compatible = "fixed-factor-clock"; 100 compatible = "fixed-factor [all...] |
H A D | am43xx-clocks.dtsi | 37 compatible = "fixed-factor-clock"; 46 compatible = "fixed-factor-clock"; 55 compatible = "fixed-factor-clock"; 64 compatible = "fixed-factor-clock"; 73 compatible = "fixed-factor-clock"; 82 compatible = "fixed-factor-clock"; 91 compatible = "fixed-factor-clock"; 100 compatible = "fixed-factor-clock"; 109 compatible = "fixed-factor-clock"; 118 compatible = "fixed-factor-clock"; [all …]
|
/freebsd-src/usr.bin/factor/tests/ |
H A D | factor_tests.sh | 34 atf_check -o inline:"1: 1\n" factor 1.44 45 atf_check -o inline:"3: 3\n" factor $pi 55 atf_check -o inline:"8: 2 2 2\n" factor 8 65 atf_check -o inline:"31: 31\n" factor 31 75 atf_check -s not-exit:0 -e inline:"factor: negative numbers aren't permitted.\n" factor -- -4
|
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/include/ |
H A D | math.shlib | 74 *PB|*pb|*P|*p) factor='1024^5' ;; 75 *TB|*tb|*T|*t) factor='1024^4' ;; 76 *GB|*gb|*G|*g) factor='1024^3' ;; 77 *MB|*mb|*M|*m) factor='1024^2' ;; 78 *KB|*kb|*K|*k) factor='1024^1' ;; 79 *B|*b) factor='1024^0' ;; 81 *) factor='1024^0' ;; 84 echo "$value * ($factor)" | bc
|
/freebsd-src/contrib/netbsd-tests/games/ |
H A D | t_factor.sh | 30 ncrypt=$( ldd /usr/games/factor | grep -c -- -lcrypt ) 34 atf_check -s eq:0 -o file:expout -e empty /usr/games/factor ${1} 40 atf_set "require.progs" "/usr/games/factor" 49 atf_set "require.progs" "/usr/games/factor" 59 atf_set "require.progs" "/usr/games/factor" 69 atf_set "require.progs" "/usr/games/factor"
|
/freebsd-src/sys/contrib/device-tree/src/arm64/broadcom/stingray/ |
H A D | stingray-clock.dtsi | 43 compatible = "fixed-factor-clock"; 129 compatible = "fixed-factor-clock"; 137 compatible = "fixed-factor-clock"; 146 compatible = "fixed-factor-clock"; 154 compatible = "fixed-factor-clock"; 162 compatible = "fixed-factor-clock"; 170 compatible = "fixed-factor-clock"; 178 compatible = "fixed-factor-clock";
|
/freebsd-src/usr.bin/factor/ |
H A D | Makefile | 3 PROG= factor 4 SRCS= factor.c pr_tbl.c 12 MAN= factor.6 13 MLINKS+=factor.6 primes.6
|
/freebsd-src/sys/contrib/device-tree/Bindings/iio/light/ |
H A D | us5182d.txt | 8 - upisemi,glass-coef: glass attenuation factor - compensation factor of 14 - upisemi,upper-dark-gain: 8-bit dark gain compensation factor(4 int and 4 17 - upisemi,lower-dark-gain: 8-bit dark gain compensation factor(4 int and 4 34 (0 * dark-gain), and a 1.35 compensation factor when ALS < thresh.
|
/freebsd-src/sys/contrib/dev/athk/ |
H A D | dfs_pri_detector.c | 42 * Return value: factor if abs(val - factor*fraction) <= tolerance, 0 otherwise 47 u32 factor; in pde_get_multiple() local 59 factor = val / fraction; in pde_get_multiple() 65 factor++; in pde_get_multiple() 67 factor = 0; in pde_get_multiple() 69 return factor; in pde_get_multiple() 258 u32 factor; in pseq_handler_create_sequences() local 263 factor = pde_get_multiple(ps.last_ts - p2->ts, ps.pri, in pseq_handler_create_sequences() 265 if (factor > 0) { in pseq_handler_create_sequences() 310 u32 factor; in pseq_handler_add_to_existing_seqs() local [all …]
|