| /freebsd-14.2/contrib/jemalloc/src/ |
| H A D | bitmap.c | 24 binfo->levels[0].group_offset = 0; in bitmap_info_init() 28 binfo->levels[i].group_offset = binfo->levels[i-1].group_offset in bitmap_info_init() 32 binfo->levels[i].group_offset = binfo->levels[i-1].group_offset in bitmap_info_init() 34 assert(binfo->levels[i].group_offset <= BITMAP_GROUPS_MAX); in bitmap_info_init() 41 return binfo->levels[binfo->nlevels].group_offset; in bitmap_info_ngroups() 70 bitmap[binfo->levels[1].group_offset - 1] >>= extra; in bitmap_init() 73 size_t group_count = binfo->levels[i].group_offset - in bitmap_init() 74 binfo->levels[i-1].group_offset; in bitmap_init() 78 bitmap[binfo->levels[i+1].group_offset - 1] >>= extra; in bitmap_init()
|
| /freebsd-14.2/sys/dev/pwm/ |
| H A D | pwm_backlight.c | 65 uint32_t *levels; member 118 (void **)&sc->levels); in pwm_backlight_attach() 134 sc->channel->duty = sc->channel->period * sc->levels[sc->default_level] / 100; in pwm_backlight_attach() 179 OF_prop_free(sc->levels); in pwm_backlight_detach() 195 if (sc->levels[i] == percent) in pwm_backlight_find_level_per_percent() 197 else if (sc->levels[i] < percent) in pwm_backlight_find_level_per_percent() 198 diff = percent - sc->levels[i]; in pwm_backlight_find_level_per_percent() 200 if (diff < abs((percent - sc->levels[i]))) in pwm_backlight_find_level_per_percent() 226 sc->levels[sc->current_level] / 100; in pwm_backlight_update_status() 264 props->brightness = sc->levels[sc->current_level]; in pwm_backlight_get_status() [all …]
|
| /freebsd-14.2/sys/kern/ |
| H A D | kern_cpu.c | 457 struct cf_level *levels; in cf_get_method() local 465 levels = NULL; in cf_get_method() 501 levels = malloc(count * sizeof(*levels), M_TEMP, M_NOWAIT); in cf_get_method() 502 if (levels == NULL) in cf_get_method() 508 free(levels, M_TEMP); in cf_get_method() 559 if (levels) in cf_get_method() 560 free(levels, M_TEMP); in cf_get_method() 703 levels[i] = *lev; in cf_levels_method() 938 struct cf_level *levels; in cpufreq_curr_sysctl() local 944 levels = sc->levels_buf; in cpufreq_curr_sysctl() [all …]
|
| H A D | cpufreq_if.m | 57 # Get the current possible levels, based on all drivers. 59 METHOD int levels { 61 struct cf_level *levels;
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/leds/backlight/ |
| H A D | pwm-backlight.yaml | 42 brightness-levels: 44 Array of distinct brightness levels. Typically these are in the range 54 "brightness-levels" property). 59 Number of interpolated steps between each value of brightness-levels 65 default-brightness-level: [brightness-levels] 66 num-interpolated-steps: [brightness-levels] 81 brightness-levels = <0 4 8 16 32 64 128 255>; 96 brightness-levels = <0 2048 4096 8192 16384 65535>;
|
| H A D | pwm-backlight.txt | 17 - brightness-levels: Array of distinct brightness levels. Typically these 24 array defined by the "brightness-levels" property). 26 of brightness-levels table. This way a high 40 brightness-levels = <0 4 8 16 32 64 128 255>; 55 brightness-levels = <0 2048 4096 8192 16384 65535>;
|
| H A D | led-backlight.yaml | 29 brightness-levels: 31 Array of distinct brightness levels. The levels must be in the range 40 "brightness-levels" property). 55 brightness-levels = <0 4 8 16 32 64 128 255>;
|
| H A D | led-backlight.txt | 12 - brightness-levels: Array of distinct brightness levels. The levels must be 26 brightness-levels = <0 4 8 16 32 64 128 255>;
|
| /freebsd-14.2/crypto/openssl/crypto/ |
| H A D | sparse_array.c | 52 int levels; member 88 if (l < sa->levels - 1) { in sa_doall() 166 for (level = sa->levels - 1; p != NULL && level > 0; level--) in ossl_sa_get() 192 for (;sa->levels < level; sa->levels++) { in ossl_sa_set() 203 for (level = sa->levels - 1; level > 0; level--) { in ossl_sa_set()
|
| /freebsd-14.2/crypto/openssl/crypto/x509/ |
| H A D | pcy_tree.c | 60 curr = tree->levels + tree->nlevel; in tree_print() 66 (long)(curr - tree->levels)); in tree_print() 67 for (plev = tree->levels; plev != curr; plev++) { in tree_print() 71 (long)(plev - tree->levels), plev->flags); in tree_print() 189 if ((tree->levels = OPENSSL_zalloc(sizeof(*tree->levels)*(n+1))) == NULL) { in tree_init() 195 level = tree->levels; in tree_init() 441 if (curr == tree->levels) { in tree_prune() 488 curr = tree->levels + tree->nlevel - 1; in tree_calculate_authority_set() 499 curr = tree->levels; in tree_calculate_authority_set() 604 X509_POLICY_LEVEL *curr = tree->levels + 1; in tree_evaluate() [all …]
|
| /freebsd-14.2/usr.sbin/makefs/ |
| H A D | zfs.c | 696 assert(levels > 0); in _dnode_cursor_flush() 697 assert(levels <= c->dnode->dn_nlevels - 1U); in _dnode_cursor_flush() 701 for (unsigned int level = 1; level <= levels; level++) { in _dnode_cursor_flush() 740 unsigned int levels; in dnode_cursor_next() local 752 for (levels = 0; levels < c->dnode->dn_nlevels - 1U; levels++) { in dnode_cursor_next() 757 if (levels > 0) in dnode_cursor_next() 758 _dnode_cursor_flush(zfs, c, levels); in dnode_cursor_next() 769 unsigned int levels; in dnode_cursor_finish() local 772 levels = c->dnode->dn_nlevels - 1; in dnode_cursor_finish() 773 if (levels > 0) in dnode_cursor_finish() [all …]
|
| /freebsd-14.2/lib/libc/db/btree/ |
| H A D | bt_debug.c | 251 int levels; in __bt_stat() local 276 for (i = P_ROOT, levels = 0 ;; ++levels) { in __bt_stat() 279 if (levels == 0) in __bt_stat() 280 levels = 1; in __bt_stat() 289 levels, levels == 1 ? "" : "s", nkeys); in __bt_stat()
|
| /freebsd-14.2/sys/contrib/device-tree/src/arm/ |
| H A D | nuvoton-npcm750-evb.dts | 285 cooling-levels = <127 255>; 290 cooling-levels = /bits/ 8 <127 255>; 295 cooling-levels = /bits/ 8 <127 255>; 300 cooling-levels = /bits/ 8 <127 255>; 305 cooling-levels = /bits/ 8 <127 255>; 310 cooling-levels = /bits/ 8 <127 255>; 315 cooling-levels = /bits/ 8 <127 255>; 320 cooling-levels = /bits/ 8 <127 255>;
|
| H A D | nuvoton-npcm750-runbmc-olympus.dts | 849 cooling-levels = <127 255>; 854 cooling-levels = /bits/ 8 <127 255>; 859 cooling-levels = /bits/ 8 <127 255>; 864 cooling-levels = /bits/ 8 <127 255>; 869 cooling-levels = /bits/ 8 <127 255>; 874 cooling-levels = /bits/ 8 <127 255>; 879 cooling-levels = /bits/ 8 <127 255>; 884 cooling-levels = /bits/ 8 <127 255>;
|
| /freebsd-14.2/contrib/jemalloc/include/jemalloc/internal/ |
| H A D | bitmap.h | 164 bitmap_level_t levels[BITMAP_MAX_LEVELS+1]; member 178 size_t rgoff = binfo->levels[binfo->nlevels].group_offset - 1; in bitmap_full() 227 gp = &bitmap[binfo->levels[i].group_offset + goff]; in bitmap_set() 250 bitmap_t group = bitmap[binfo->levels[level].group_offset + (bit in bitmap_ffu() 310 g = bitmap[binfo->levels[i].group_offset]; in bitmap_sfu() 314 g = bitmap[binfo->levels[i].group_offset + bit]; in bitmap_sfu() 354 gp = &bitmap[binfo->levels[i].group_offset + goff]; in bitmap_unset()
|
| /freebsd-14.2/sys/dev/acpica/ |
| H A D | acpi_thermal.c | 1044 struct cf_level *levels; in acpi_tz_cpufreq_update() local 1047 levels = malloc(CPUFREQ_MAX_LEVELS * sizeof(*levels), M_TEMP, M_NOWAIT); in acpi_tz_cpufreq_update() 1048 if (levels == NULL) in acpi_tz_cpufreq_update() 1061 error = CPUFREQ_GET(dev, &levels[0]); in acpi_tz_cpufreq_update() 1064 freq = levels[0].total_set.freq; in acpi_tz_cpufreq_update() 1086 if (levels[i].total_set.freq <= desired_freq) in acpi_tz_cpufreq_update() 1105 if (levels[i].total_set.freq >= desired_freq) in acpi_tz_cpufreq_update() 1122 if (levels[i].total_set.freq != freq) { in acpi_tz_cpufreq_update() 1128 freq, levels[i].total_set.freq); in acpi_tz_cpufreq_update() 1137 if (levels) in acpi_tz_cpufreq_update() [all …]
|
| /freebsd-14.2/tools/test/stress2/tools/ |
| H A D | fstool.c | 162 int c, i, levels, leave, times; in main() local 170 levels = 1; in main() 191 levels = atoi(optarg); in main() 222 max = levels; in main()
|
| /freebsd-14.2/usr.sbin/bhyve/ |
| H A D | acpi.h | 63 void dsdt_indent(int levels); 64 void dsdt_unindent(int levels);
|
| /freebsd-14.2/tests/sys/cddl/zfs/tests/inheritance/ |
| H A D | state023.cfg | 32 # when each levels properties are set locally, results in the top level 36 # the top levels (now default) values 39 # the middle levels (now default) values
|
| /freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/inheritance/ |
| H A D | state023.cfg | 34 # when each levels properties are set locally, results in the top level 38 # the top levels (now default) values 41 # the middle levels (now default) values
|
| /freebsd-14.2/lib/libc/amd64/string/ |
| H A D | amd64_archlevel.c | 49 } levels[] = { variable 113 const struct archlevel *lvl = &levels[level]; in supported_archlevel() 139 const char *candidate = levels[level].name; in match_archlevel()
|
| /freebsd-14.2/sys/x86/x86/ |
| H A D | tsc.c | 824 struct cf_level *levels; in tsc_levels_changed() local 841 levels = malloc(count * sizeof(*levels), M_TEMP, M_NOWAIT); in tsc_levels_changed() 842 if (levels == NULL) in tsc_levels_changed() 844 error = CPUFREQ_LEVELS(cf_dev, levels, &count); in tsc_levels_changed() 846 max_freq = (uint64_t)levels[0].total_set.freq * 1000000; in tsc_levels_changed() 850 free(levels, M_TEMP); in tsc_levels_changed()
|
| /freebsd-14.2/cddl/contrib/opensolaris/lib/libdtrace/common/ |
| H A D | dt_consume.c | 63 uint16_t levels; member 78 int levels; member 960 uint16_t step, levels; in dt_format_lquantize_prepare() local 975 last_bin = levels + 1; in dt_format_lquantize_prepare() 995 if (last_bin < levels + 1) in dt_format_lquantize_prepare() 1014 uint16_t step, levels; in dt_format_lquantize() local 1059 uint16_t step, levels; in dt_print_lquantize() local 1116 uint16_t step, levels; in dt_print_lquantize_packed() local 1134 max = levels + 1; in dt_print_lquantize_packed() 1196 last_bin = levels - 1; in dt_format_llquantize_prepare() [all …]
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/hwmon/ |
| H A D | aspeed-pwm-tacho.txt | 34 For PWM port can be configured cooling-levels to create cooling device. 42 - cooling-levels: PWM duty cycle values in a range from 0 to 255 65 cooling-levels = /bits/ 8 <125 151 177 203 229 255>;
|
| H A D | npcm750-pwm-fan.txt | 28 For PWM channel can be configured cooling-levels to create cooling device. 43 - cooling-levels: PWM duty cycle values in a range from 0 to 255 73 cooling-levels = <127 255>;
|