Home
last modified time | relevance | path

Searched refs:levels (Results 1 – 25 of 351) sorted by relevance

12345678910>>...15

/freebsd-13.1/contrib/jemalloc/src/
H A Dbitmap.c24 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-13.1/sys/dev/pwm/
H A Dpwm_backlight.c70 uint32_t *levels; member
123 (void **)&sc->levels); in pwm_backlight_attach()
139 sc->channel->duty = sc->channel->period * sc->levels[sc->default_level] / 100; in pwm_backlight_attach()
184 OF_prop_free(sc->levels); in pwm_backlight_detach()
200 if (sc->levels[i] == percent) in pwm_backlight_find_level_per_percent()
202 else if (sc->levels[i] < percent) in pwm_backlight_find_level_per_percent()
203 diff = percent - sc->levels[i]; in pwm_backlight_find_level_per_percent()
205 if (diff < abs((percent - sc->levels[i]))) in pwm_backlight_find_level_per_percent()
231 sc->levels[sc->current_level] / 100; in pwm_backlight_update_status()
269 props->brightness = sc->levels[sc->current_level]; in pwm_backlight_get_status()
[all …]
/freebsd-13.1/sys/kern/
H A Dkern_cpu.c458 struct cf_level *levels; in cf_get_method() local
466 levels = NULL; in cf_get_method()
502 levels = malloc(count * sizeof(*levels), M_TEMP, M_NOWAIT); in cf_get_method()
503 if (levels == NULL) in cf_get_method()
509 free(levels, M_TEMP); in cf_get_method()
560 if (levels) in cf_get_method()
561 free(levels, M_TEMP); in cf_get_method()
704 levels[i] = *lev; in cf_levels_method()
939 struct cf_level *levels; in cpufreq_curr_sysctl() local
945 levels = sc->levels_buf; in cpufreq_curr_sysctl()
[all …]
H A Dcpufreq_if.m58 # Get the current possible levels, based on all drivers.
60 METHOD int levels {
62 struct cf_level *levels;
/freebsd-13.1/sys/contrib/device-tree/Bindings/leds/backlight/
H A Dpwm-backlight.yaml42 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 Dpwm-backlight.txt17 - 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 Dled-backlight.yaml27 brightness-levels:
29 Array of distinct brightness levels. The levels must be in the range
38 "brightness-levels" property).
53 brightness-levels = <0 4 8 16 32 64 128 255>;
H A Dled-backlight.txt12 - brightness-levels: Array of distinct brightness levels. The levels must be
26 brightness-levels = <0 4 8 16 32 64 128 255>;
/freebsd-13.1/crypto/openssl/crypto/x509v3/
H A Dpcy_tree.c57 curr = tree->levels + tree->nlevel; in tree_print()
63 for (plev = tree->levels; plev != curr; plev++) { in tree_print()
67 (long)(plev - tree->levels), plev->flags); in tree_print()
178 if ((tree->levels = OPENSSL_zalloc(sizeof(*tree->levels)*(n+1))) == NULL) { in tree_init()
184 level = tree->levels; in tree_init()
426 if (curr == tree->levels) { in tree_prune()
473 curr = tree->levels + tree->nlevel - 1; in tree_calculate_authority_set()
484 curr = tree->levels; in tree_calculate_authority_set()
532 anyPolicy = tree->levels[tree->nlevel - 1].anyPolicy; in tree_calculate_user_set()
580 X509_POLICY_LEVEL *curr = tree->levels + 1; in tree_evaluate()
[all …]
/freebsd-13.1/lib/libc/db/btree/
H A Dbt_debug.c254 int levels; in __bt_stat() local
279 for (i = P_ROOT, levels = 0 ;; ++levels) { in __bt_stat()
282 if (levels == 0) in __bt_stat()
283 levels = 1; in __bt_stat()
292 levels, levels == 1 ? "" : "s", nkeys); in __bt_stat()
/freebsd-13.1/sys/dev/acpica/
H A Dacpi_thermal.c1029 struct cf_level *levels; in acpi_tz_cpufreq_update() local
1032 levels = malloc(CPUFREQ_MAX_LEVELS * sizeof(*levels), M_TEMP, M_NOWAIT); in acpi_tz_cpufreq_update()
1033 if (levels == NULL) in acpi_tz_cpufreq_update()
1046 error = CPUFREQ_GET(dev, &levels[0]); in acpi_tz_cpufreq_update()
1049 freq = levels[0].total_set.freq; in acpi_tz_cpufreq_update()
1071 if (levels[i].total_set.freq <= desired_freq) in acpi_tz_cpufreq_update()
1090 if (levels[i].total_set.freq >= desired_freq) in acpi_tz_cpufreq_update()
1107 if (levels[i].total_set.freq != freq) { in acpi_tz_cpufreq_update()
1113 freq, levels[i].total_set.freq); in acpi_tz_cpufreq_update()
1122 if (levels) in acpi_tz_cpufreq_update()
[all …]
/freebsd-13.1/contrib/jemalloc/include/jemalloc/internal/
H A Dbitmap.h164 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-13.1/usr.sbin/bhyve/
H A Dacpi.h62 void dsdt_indent(int levels);
63 void dsdt_unindent(int levels);
/freebsd-13.1/tests/sys/cddl/zfs/tests/inheritance/
H A Dstate023.cfg34 # 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
H A Dstate013.cfg34 # and bottom levels properties are set locally results in the middle and
35 # bottom levels inheriting values from the next level up in the hierarchy.
H A Dstate024.cfg34 # when each levels properties are set locally, results in the top level
38 # Executing 'zfs inherit -r' at the middle and bottom levels after doing so
/freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/inheritance/
H A Dstate023.cfg34 # 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
H A Dstate013.cfg34 # and bottom levels properties are set locally results in the middle and
35 # bottom levels inheriting values from the next level up in the hierarchy.
/freebsd-13.1/sys/x86/x86/
H A Dtsc.c768 struct cf_level *levels; in tsc_levels_changed() local
785 levels = malloc(count * sizeof(*levels), M_TEMP, M_NOWAIT); in tsc_levels_changed()
786 if (levels == NULL) in tsc_levels_changed()
788 error = CPUFREQ_LEVELS(cf_dev, levels, &count); in tsc_levels_changed()
790 max_freq = (uint64_t)levels[0].total_set.freq * 1000000; in tsc_levels_changed()
794 free(levels, M_TEMP); in tsc_levels_changed()
/freebsd-13.1/sys/contrib/device-tree/Bindings/hwmon/
H A Daspeed-pwm-tacho.txt34 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 Dnpcm750-pwm-fan.txt28 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>;
H A Dpwm-fan.txt6 - cooling-levels : PWM duty cycle values in a range from 0 to 255
26 cooling-levels = <0 102 170 230>;
/freebsd-13.1/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_consume.c870 uint16_t step, levels; in dt_print_lquantize() local
884 last_bin = levels + 1; in dt_print_lquantize()
892 if (first_bin > levels + 1) { in dt_print_lquantize()
902 if (last_bin < levels + 1) in dt_print_lquantize()
923 } else if (i == levels + 1) { in dt_print_lquantize()
925 base + (levels * step)); in dt_print_lquantize()
949 uint16_t step, levels; in dt_print_lquantize_packed() local
967 max = levels + 1; in dt_print_lquantize_packed()
1028 last_bin = levels - 1; in dt_print_llquantize()
1033 if (first_bin == levels) { in dt_print_llquantize()
[all …]
/freebsd-13.1/contrib/libpcap/
H A Doptimize.c258 struct block **levels; member
379 b->link = opt_state->levels[level]; in find_levels_r()
380 opt_state->levels[level] = b; in find_levels_r()
392 memset((char *)opt_state->levels, 0, opt_state->n_blocks * sizeof(*opt_state->levels)); in find_levels()
421 for (b = opt_state->levels[i]; b; b = b->link) { in find_dom()
488 for (b = opt_state->levels[i]; b; b = b->link) { in find_closure()
658 for (p = opt_state->levels[i]; p; p = p->link) { in find_ud()
1788 for (p = opt_state->levels[i]; p; p = p->link) in opt_blks()
2036 free((void *)opt_state->levels); in opt_cleanup()
2169 opt_state->levels = (struct block **)calloc(opt_state->n_blocks, sizeof(*opt_state->levels)); in opt_init()
[all …]
/freebsd-13.1/sys/contrib/device-tree/src/arm64/rockchip/
H A Drk3399-nanopc-t4.dts59 * With 20KHz PWM and an EVERCOOL EC4007H12SA fan, these levels
62 cooling-levels = <0 12 18 255>;

12345678910>>...15