Home
last modified time | relevance | path

Searched +full:count +full:- +full:threshold (Results 1 – 25 of 1060) sorted by relevance

12345678910>>...43

/kernel/linux/linux-6.6/lib/zstd/common/
Dentropy_common.c6 * - FSE+HUF source repository : https://github.com/Cyan4973/FiniteStateEntropy
7 * - Public forum : https://groups.google.com/forum/#!forum/lz4c
9 * This source code is licensed under both the BSD-style license (found in the
12 * You may select, at your option, one of the above-listed licenses.
38 /*-**************************************************************
39 * FSE NCount encoding-decoding
48 U32 count = 0; in FSE_ctz()
51 ++count; in FSE_ctz()
53 return count; in FSE_ctz()
67 int threshold; in FSE_readNCount_body() local
[all …]
/kernel/linux/linux-5.10/drivers/gpu/host1x/hw/
Dhost1x07_hardware.h1 /* SPDX-License-Identifier: GPL-2.0-only */
20 unsigned indx, unsigned threshold) in host1x_class_host_wait_syncpt() argument
23 | host1x_uclass_wait_syncpt_thresh_f(threshold); in host1x_class_host_wait_syncpt()
27 unsigned indx, unsigned threshold) in host1x_class_host_load_syncpt_base() argument
30 | host1x_uclass_load_syncpt_base_value_f(threshold); in host1x_class_host_load_syncpt_base()
84 static inline u32 host1x_opcode_incr(unsigned offset, unsigned count) in host1x_opcode_incr() argument
86 return (1 << 28) | (offset << 16) | count; in host1x_opcode_incr()
89 static inline u32 host1x_opcode_nonincr(unsigned offset, unsigned count) in host1x_opcode_nonincr() argument
91 return (2 << 28) | (offset << 16) | count; in host1x_opcode_nonincr()
115 static inline u32 host1x_opcode_gather(unsigned count) in host1x_opcode_gather() argument
[all …]
Dhost1x06_hardware.h1 /* SPDX-License-Identifier: GPL-2.0-only */
20 unsigned indx, unsigned threshold) in host1x_class_host_wait_syncpt() argument
23 | host1x_uclass_wait_syncpt_thresh_f(threshold); in host1x_class_host_wait_syncpt()
27 unsigned indx, unsigned threshold) in host1x_class_host_load_syncpt_base() argument
30 | host1x_uclass_load_syncpt_base_value_f(threshold); in host1x_class_host_load_syncpt_base()
84 static inline u32 host1x_opcode_incr(unsigned offset, unsigned count) in host1x_opcode_incr() argument
86 return (1 << 28) | (offset << 16) | count; in host1x_opcode_incr()
89 static inline u32 host1x_opcode_nonincr(unsigned offset, unsigned count) in host1x_opcode_nonincr() argument
91 return (2 << 28) | (offset << 16) | count; in host1x_opcode_nonincr()
115 static inline u32 host1x_opcode_gather(unsigned count) in host1x_opcode_gather() argument
[all …]
Dhost1x02_hardware.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (c) 2010-2013 NVIDIA Corporation.
19 unsigned indx, unsigned threshold) in host1x_class_host_wait_syncpt() argument
22 | host1x_uclass_wait_syncpt_thresh_f(threshold); in host1x_class_host_wait_syncpt()
26 unsigned indx, unsigned threshold) in host1x_class_host_load_syncpt_base() argument
29 | host1x_uclass_load_syncpt_base_value_f(threshold); in host1x_class_host_load_syncpt_base()
83 static inline u32 host1x_opcode_incr(unsigned offset, unsigned count) in host1x_opcode_incr() argument
85 return (1 << 28) | (offset << 16) | count; in host1x_opcode_incr()
88 static inline u32 host1x_opcode_nonincr(unsigned offset, unsigned count) in host1x_opcode_nonincr() argument
90 return (2 << 28) | (offset << 16) | count; in host1x_opcode_nonincr()
[all …]
Dhost1x04_hardware.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (c) 2010-2013 NVIDIA Corporation.
19 unsigned indx, unsigned threshold) in host1x_class_host_wait_syncpt() argument
22 | host1x_uclass_wait_syncpt_thresh_f(threshold); in host1x_class_host_wait_syncpt()
26 unsigned indx, unsigned threshold) in host1x_class_host_load_syncpt_base() argument
29 | host1x_uclass_load_syncpt_base_value_f(threshold); in host1x_class_host_load_syncpt_base()
83 static inline u32 host1x_opcode_incr(unsigned offset, unsigned count) in host1x_opcode_incr() argument
85 return (1 << 28) | (offset << 16) | count; in host1x_opcode_incr()
88 static inline u32 host1x_opcode_nonincr(unsigned offset, unsigned count) in host1x_opcode_nonincr() argument
90 return (2 << 28) | (offset << 16) | count; in host1x_opcode_nonincr()
[all …]
Dhost1x01_hardware.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (c) 2010-2013 NVIDIA Corporation.
19 unsigned indx, unsigned threshold) in host1x_class_host_wait_syncpt() argument
22 | host1x_uclass_wait_syncpt_thresh_f(threshold); in host1x_class_host_wait_syncpt()
26 unsigned indx, unsigned threshold) in host1x_class_host_load_syncpt_base() argument
29 | host1x_uclass_load_syncpt_base_value_f(threshold); in host1x_class_host_load_syncpt_base()
84 static inline u32 host1x_opcode_incr(unsigned offset, unsigned count) in host1x_opcode_incr() argument
86 return (1 << 28) | (offset << 16) | count; in host1x_opcode_incr()
89 static inline u32 host1x_opcode_nonincr(unsigned offset, unsigned count) in host1x_opcode_nonincr() argument
91 return (2 << 28) | (offset << 16) | count; in host1x_opcode_nonincr()
[all …]
Dhost1x05_hardware.h1 /* SPDX-License-Identifier: GPL-2.0-only */
19 unsigned indx, unsigned threshold) in host1x_class_host_wait_syncpt() argument
22 | host1x_uclass_wait_syncpt_thresh_f(threshold); in host1x_class_host_wait_syncpt()
26 unsigned indx, unsigned threshold) in host1x_class_host_load_syncpt_base() argument
29 | host1x_uclass_load_syncpt_base_value_f(threshold); in host1x_class_host_load_syncpt_base()
83 static inline u32 host1x_opcode_incr(unsigned offset, unsigned count) in host1x_opcode_incr() argument
85 return (1 << 28) | (offset << 16) | count; in host1x_opcode_incr()
88 static inline u32 host1x_opcode_nonincr(unsigned offset, unsigned count) in host1x_opcode_nonincr() argument
90 return (2 << 28) | (offset << 16) | count; in host1x_opcode_nonincr()
114 static inline u32 host1x_opcode_gather(unsigned count) in host1x_opcode_gather() argument
[all …]
/kernel/linux/linux-5.10/lib/zstd/
Dentropy_common.c5 * BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
32 * Free Software Foundation. This program is dual-licensed; you may select
37 * - Source repository : https://github.com/Cyan4973/FiniteStateEntropy
56 /*-**************************************************************
57 * FSE NCount encoding-decoding
66 int threshold; in FSE_readNCount() local
82 threshold = 1 << nbBits; in FSE_readNCount()
90 if (ip < iend - 5) { in FSE_readNCount()
109 if ((ip <= iend - 7) || (ip + (bitCount >> 3) <= iend - 4)) { in FSE_readNCount()
118 int const max = (2 * threshold - 1) - remaining; in FSE_readNCount()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/host1x/hw/
Dopcodes.h1 /* SPDX-License-Identifier: GPL-2.0-only */
14 unsigned indx, unsigned threshold) in host1x_class_host_wait_syncpt() argument
17 | host1x_uclass_wait_syncpt_thresh_f(threshold); in host1x_class_host_wait_syncpt()
21 unsigned indx, unsigned threshold) in host1x_class_host_load_syncpt_base() argument
24 | host1x_uclass_load_syncpt_base_value_f(threshold); in host1x_class_host_load_syncpt_base()
77 static inline u32 host1x_opcode_incr(unsigned offset, unsigned count) in host1x_opcode_incr() argument
79 return (1 << 28) | (offset << 16) | count; in host1x_opcode_incr()
82 static inline u32 host1x_opcode_nonincr(unsigned offset, unsigned count) in host1x_opcode_nonincr() argument
84 return (2 << 28) | (offset << 16) | count; in host1x_opcode_nonincr()
108 static inline u32 host1x_opcode_gather(unsigned count) in host1x_opcode_gather() argument
[all …]
/kernel/linux/linux-6.6/drivers/md/persistent-data/
Ddm-space-map-metadata.c1 // SPDX-License-Identifier: GPL-2.0-only
8 #include "dm-space-map.h"
9 #include "dm-space-map-common.h"
10 #include "dm-space-map-metadata.h"
14 #include <linux/device-mapper.h>
19 /*----------------------------------------------------------------*/
22 * An edge triggered threshold.
24 struct threshold { struct
27 dm_block_t threshold; member
33 static void threshold_init(struct threshold *t) in threshold_init() argument
[all …]
Ddm-space-map.h1 /* SPDX-License-Identifier: GPL-2.0-only */
11 #include "dm-block-manager.h"
28 * Extensions do not appear in this count until after commit has
31 int (*get_nr_blocks)(struct dm_space_map *sm, dm_block_t *count);
38 * have blocks with a zero reference count that will not be
41 int (*get_nr_free)(struct dm_space_map *sm, dm_block_t *count);
46 int (*set_count)(struct dm_space_map *sm, dm_block_t b, uint32_t count);
67 * You can register one threshold callback which is edge-triggered
68 * when the free space in the space map drops below the threshold.
71 dm_block_t threshold,
[all …]
/kernel/linux/linux-5.10/drivers/md/persistent-data/
Ddm-space-map-metadata.c7 #include "dm-space-map.h"
8 #include "dm-space-map-common.h"
9 #include "dm-space-map-metadata.h"
13 #include <linux/device-mapper.h>
18 /*----------------------------------------------------------------*/
21 * An edge triggered threshold.
23 struct threshold { struct
26 dm_block_t threshold; argument
32 static void threshold_init(struct threshold *t) in threshold_init() argument
34 t->threshold_set = false; in threshold_init()
[all …]
Ddm-space-map.h10 #include "dm-block-manager.h"
27 * Extensions do not appear in this count until after commit has
30 int (*get_nr_blocks)(struct dm_space_map *sm, dm_block_t *count);
37 * have blocks with a zero reference count that will not be
40 int (*get_nr_free)(struct dm_space_map *sm, dm_block_t *count);
45 int (*set_count)(struct dm_space_map *sm, dm_block_t b, uint32_t count);
66 * You can register one threshold callback which is edge-triggered
67 * when the free space in the space map drops below the threshold.
70 dm_block_t threshold,
75 /*----------------------------------------------------------------*/
[all …]
/kernel/linux/linux-5.10/tools/perf/pmu-events/arch/powerpc/power8/
Dpmc.json83 "BriefDescription": "Threshold counter exceeded a value of 1024",
89 "BriefDescription": "Threshold counter exceeded a value of 128",
95 "BriefDescription": "Threshold counter exceeded a value of 2048",
101 "BriefDescription": "Threshold counter exceed a count of 256",
107 "BriefDescription": "Threshold counter exceeded a value of 32",
113 "BriefDescription": "Threshold counter exceed a count of 4096",
119 "BriefDescription": "Threshold counter exceeded a value of 512",
125 "BriefDescription": "IFU non-branch finished",
126 "PublicDescription": "Threshold counter exceeded a value of 64"
131 "BriefDescription": "threshold exceeded",
[all …]
/kernel/linux/linux-6.6/tools/perf/pmu-events/arch/powerpc/power8/
Dpmc.json83 "BriefDescription": "Threshold counter exceeded a value of 1024",
89 "BriefDescription": "Threshold counter exceeded a value of 128",
95 "BriefDescription": "Threshold counter exceeded a value of 2048",
101 "BriefDescription": "Threshold counter exceed a count of 256",
107 "BriefDescription": "Threshold counter exceeded a value of 32",
113 "BriefDescription": "Threshold counter exceed a count of 4096",
119 "BriefDescription": "Threshold counter exceeded a value of 512",
125 "BriefDescription": "IFU non-branch finished",
126 "PublicDescription": "Threshold counter exceeded a value of 64"
131 "BriefDescription": "threshold exceeded",
[all …]
/kernel/linux/linux-5.10/tools/perf/tests/
Dbp_signal_overflow.c1 // SPDX-License-Identifier: GPL-2.0
9 * 'int-ll64.h' and avoid compile warnings when printing __u64 with %llu.
28 #include "../perf-sys.h"
47 long long count; in bp_count() local
50 ret = read(fd, &count, sizeof(long long)); in bp_count()
56 return count; in bp_count()
60 #define THRESHOLD 100 macro
66 long long count; in test__bp_signal_overflow() local
88 pe.sample_period = THRESHOLD; in test__bp_signal_overflow()
96 fd = sys_perf_event_open(&pe, 0, -1, -1, in test__bp_signal_overflow()
[all …]
/kernel/linux/linux-6.6/tools/perf/tests/
Dbp_signal_overflow.c1 // SPDX-License-Identifier: GPL-2.0
9 * 'int-ll64.h' and avoid compile warnings when printing __u64 with %llu.
28 #include "../perf-sys.h"
47 long long count; in bp_count() local
50 ret = read(fd, &count, sizeof(long long)); in bp_count()
56 return count; in bp_count()
60 #define THRESHOLD 100 macro
66 long long count; in test__bp_signal_overflow() local
93 pe.sample_period = THRESHOLD; in test__bp_signal_overflow()
101 fd = sys_perf_event_open(&pe, 0, -1, -1, in test__bp_signal_overflow()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgb/
Dixgb_param.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2008 Intel Corporation. */
14 #define OPTION_UNSET -1
31 /* Transmit Descriptor Count
33 * Valid Range: 64-4096
40 /* Receive Descriptor Count
42 * Valid Range: 64-4096
51 * Valid Range: 0-3
52 * - 0 - No Flow Control
53 * - 1 - Rx only, respond to PAUSE frames but do not generate them
[all …]
/kernel/linux/linux-6.6/drivers/thermal/intel/
Dtherm_throt.c1 // SPDX-License-Identifier: GPL-2.0-only
45 * struct _thermal_state - Represent the current thermal event state
48 * @last_interrupt_time: Stores the timestamp for the last threshold
51 * @count: Stores the current running count for thermal
52 * or power threshold interrupts.
53 * @last_count: Stores the previous running count for thermal
54 * or power threshold interrupts.
57 * threshold high to low state.
61 * This is used for the purpose of rate-control.
72 * @baseline_temp: Temperature at which thermal threshold high
[all …]
/kernel/linux/linux-6.6/drivers/iio/proximity/
Dirsd200.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Driver for Murata IRS-D200 PIR sensor.
30 #define IRS_REG_COUNT 0x05 /* Count of exceeding threshold. */
32 #define IRS_REG_FILTER 0x07 /* High-pass and low-pass filter. */
35 #define IRS_REG_THR_HI 0x0b /* Upper threshold. */
36 #define IRS_REG_THR_LO 0x0c /* Lower threshold. */
43 #define IRS_INTR_COUNT_THR_AND 2 /* Count "AND" threshold. */
44 #define IRS_INTR_COUNT_THR_OR 3 /* Count "OR" threshold. */
51 * Quantization scale value for threshold. Used for conversion from/to register
56 #define IRS_UPPER_COUNT(count) FIELD_GET(GENMASK(7, 4), count) argument
[all …]
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mce/
Dtherm_throt.c1 // SPDX-License-Identifier: GPL-2.0-only
44 * struct _thermal_state - Represent the current thermal event state
47 * @last_interrupt_time: Stores the timestamp for the last threshold
50 * @count: Stores the current running count for thermal
51 * or power threshold interrupts.
52 * @last_count: Stores the previous running count for thermal
53 * or power threshold interrupts.
56 * threshold high to low state.
60 * This is used for the purpose of rate-control.
71 * @baseline_temp: Temperature at which thermal threshold high
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igb/
De1000_regs.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 2007 - 2018 Intel Corporation. */
7 #define E1000_CTRL 0x00000 /* Device Control - RW */
8 #define E1000_STATUS 0x00008 /* Device Status - RO */
9 #define E1000_EECD 0x00010 /* EEPROM/Flash Control - RW */
10 #define E1000_EERD 0x00014 /* EEPROM Read - RW */
11 #define E1000_CTRL_EXT 0x00018 /* Extended Device Control - RW */
12 #define E1000_MDIC 0x00020 /* MDI Control - RW */
13 #define E1000_MDICNFG 0x00E04 /* MDI Config - RW */
14 #define E1000_SCTL 0x00024 /* SerDes Control - RW */
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/
De1000_regs.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 2007 - 2018 Intel Corporation. */
7 #define E1000_CTRL 0x00000 /* Device Control - RW */
8 #define E1000_STATUS 0x00008 /* Device Status - RO */
9 #define E1000_EECD 0x00010 /* EEPROM/Flash Control - RW */
10 #define E1000_EERD 0x00014 /* EEPROM Read - RW */
11 #define E1000_CTRL_EXT 0x00018 /* Extended Device Control - RW */
12 #define E1000_MDIC 0x00020 /* MDI Control - RW */
13 #define E1000_MDICNFG 0x00E04 /* MDI Config - RW */
14 #define E1000_SCTL 0x00024 /* SerDes Control - RW */
[all …]
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
Dquatech_daqp_cs.c1 // SPDX-License-Identifier: GPL-2.0
8 * COMEDI - Linux Control and Measurement Device Interface
13 * ftp://ftp.quatech.com/Manuals/daqp-208.pdf
15 * This manual is for both the DAQP-208 and the DAQP-308.
18 * - A/D conversion
19 * - 8 channels
20 * - 4 gain ranges
21 * - ground ref or differential
22 * - single-shot and timed both supported
23 * - D/A conversion, single-shot
[all …]
/kernel/linux/linux-6.6/drivers/comedi/drivers/
Dquatech_daqp_cs.c1 // SPDX-License-Identifier: GPL-2.0
8 * COMEDI - Linux Control and Measurement Device Interface
13 * ftp://ftp.quatech.com/Manuals/daqp-208.pdf
15 * This manual is for both the DAQP-208 and the DAQP-308.
18 * - A/D conversion
19 * - 8 channels
20 * - 4 gain ranges
21 * - ground ref or differential
22 * - single-shot and timed both supported
23 * - D/A conversion, single-shot
[all …]

12345678910>>...43