Home
last modified time | relevance | path

Searched full:compare (Results 1 – 25 of 2169) sorted by relevance

12345678910>>...87

/kernel/linux/linux-4.19/drivers/base/
Dcomponent.c23 int (*compare)(struct device *, void *); member
32 struct component_match_array *compare; member
77 struct component *component = match->compare[i].component; in component_devices_show()
145 int (*compare)(struct device *, void *), void *compare_data) in find_component()
153 if (compare(c->dev, compare_data)) in find_component()
171 struct component_match_array *mc = &match->compare[i]; in find_components()
176 if (match->compare[i].component) in find_components()
179 c = find_component(master, mc->compare, mc->data); in find_components()
188 match->compare[i].duplicate = !!c->master; in find_components()
189 match->compare[i].component = c; in find_components()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/macsec/
Dmacsec_struct.h13 /*! This is used to store the 48 bit value used to compare SA, DA or
26 /*! 0: No compare, i.e. This entry is not used
27 * 1: compare DA only
28 * 2: compare SA only
29 * 3: compare half DA + half SA
30 * 4: compare ether type only
31 * 5: compare DA + ethertype
32 * 6: compare SA + ethertype
33 * 7: compare DA+ range.
52 /*! The 8 bit value used to compare with extracted value for byte 3. */
[all …]
/kernel/linux/linux-5.10/drivers/base/
Dcomponent.c48 int (*compare)(struct device *, void *); member
58 struct component_match_array *compare; member
104 struct component *component = match->compare[i].component; in component_devices_show()
170 if (mc->compare && mc->compare(c->dev, mc->data)) in find_component()
192 struct component_match_array *mc = &match->compare[i]; in find_components()
197 if (match->compare[i].component) in find_components()
209 match->compare[i].duplicate = !!c->master; in find_components()
210 match->compare[i].component = c; in find_components()
223 if (master->match->compare[i].component == c) in remove_component()
224 master->match->compare[i].component = NULL; in remove_component()
[all …]
/kernel/liteos_a/lib/libc/src/
Dmemcmp.c41 while (num >= 8) { /* 8, compare size, the number of chars of one uint64_t data */ in memcmp()
45 s1 += 8; /* 8, compare size, the number of chars of one uint64_t data */ in memcmp()
46 s2 += 8; /* 8, compare size, the number of chars of one uint64_t data */ in memcmp()
47 num -= 8; /* 8, compare size, the number of chars of one uint64_t data */ in memcmp()
54 if (num >= 4) { /* 4, compare size, the number of chars of one uint32_t data */ in memcmp()
58 s1 += 4; /* 4, compare size, the number of chars of one uint32_t data */ in memcmp()
59 s2 += 4; /* 4, compare size, the number of chars of one uint32_t data */ in memcmp()
60 num -= 4; /* 4, compare size, the number of chars of one uint32_t data */ in memcmp()
74 s1 += 4; /* 4, compare size, the number of chars of one uint32_t data */ in memcmp()
75 s2 += 4; /* 4, compare size, the number of chars of one uint32_t data */ in memcmp()
[all …]
/kernel/liteos_m/targets/riscv_nuclei_gd32vf103_soc_gcc/SoC/gd32vf103/Common/Include/
Dgd32vf103_timer.h65 … REG32((timerx) + 0x34U) /*!< TIMER channel 0 capture/compare value register */
66 … REG32((timerx) + 0x38U) /*!< TIMER channel 1 capture/compare value register */
67 … REG32((timerx) + 0x3CU) /*!< TIMER channel 2 capture/compare value register */
68 … REG32((timerx) + 0x40U) /*!< TIMER channel 3 capture/compare value register */
109 #define TIMER_DMAINTEN_CH0IE BIT(1) /*!< channel 0 capture/compare interru…
110 #define TIMER_DMAINTEN_CH1IE BIT(2) /*!< channel 1 capture/compare interru…
111 #define TIMER_DMAINTEN_CH2IE BIT(3) /*!< channel 2 capture/compare interru…
112 #define TIMER_DMAINTEN_CH3IE BIT(4) /*!< channel 3 capture/compare interru…
117 #define TIMER_DMAINTEN_CH0DEN BIT(9) /*!< channel 0 capture/compare DMA req…
118 #define TIMER_DMAINTEN_CH1DEN BIT(10) /*!< channel 1 capture/compare DMA req…
[all …]
/kernel/linux/linux-4.19/arch/powerpc/include/asm/
Dreg_booke.h73 #define SPRN_IAC3 0x13A /* Instruction Address Compare 3 */
74 #define SPRN_IAC4 0x13B /* Instruction Address Compare 4 */
75 #define SPRN_DVC1 0x13E /* Data Value Compare Register 1 */
76 #define SPRN_DVC2 0x13F /* Data Value Compare Register 2 */
173 #define SPRN_DCMP 0x3D1 /* Data TLB Compare Register */
202 #define SPRN_IAC1 0x138 /* Instruction Address Compare 1 */
203 #define SPRN_IAC2 0x139 /* Instruction Address Compare 2 */
204 #define SPRN_DAC1 0x13C /* Data Address Compare 1 */
205 #define SPRN_DAC2 0x13D /* Data Address Compare 2 */
219 #define SPRN_DAC1 0x3F6 /* Data Address Compare 1 */
[all …]
/kernel/linux/linux-5.10/net/batman-adv/
Dhash.h21 /* callback to a compare function. should compare 2 element datas for their
67 * @compare: callback to determine if 2 hash elements are identical
76 batadv_hashdata_compare_cb compare, in batadv_hash_add() argument
97 if (!compare(node, data)) in batadv_hash_add()
119 * @compare: callback to determine if 2 hash elements are identical
130 batadv_hashdata_compare_cb compare, in batadv_hash_remove() argument
144 if (!compare(node, data)) in batadv_hash_remove()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dreg_booke.h70 #define SPRN_IAC3 0x13A /* Instruction Address Compare 3 */
71 #define SPRN_IAC4 0x13B /* Instruction Address Compare 4 */
72 #define SPRN_DVC1 0x13E /* Data Value Compare Register 1 */
73 #define SPRN_DVC2 0x13F /* Data Value Compare Register 2 */
170 #define SPRN_DCMP 0x3D1 /* Data TLB Compare Register */
198 #define SPRN_IAC1 0x138 /* Instruction Address Compare 1 */
199 #define SPRN_IAC2 0x139 /* Instruction Address Compare 2 */
200 #define SPRN_DAC1 0x13C /* Data Address Compare 1 */
201 #define SPRN_DAC2 0x13D /* Data Address Compare 2 */
215 #define SPRN_DAC1 0x3F6 /* Data Address Compare 1 */
[all …]
/kernel/linux/linux-4.19/net/batman-adv/
Dhash.h33 /* callback to a compare function. should compare 2 element datas for their
76 * @compare: callback to determine if 2 hash elements are identical
85 batadv_hashdata_compare_cb compare, in batadv_hash_add() argument
106 if (!compare(node, data)) in batadv_hash_add()
127 * @compare: callback to determine if 2 hash elements are identical
138 batadv_hashdata_compare_cb compare, in batadv_hash_remove() argument
152 if (!compare(node, data)) in batadv_hash_remove()
/kernel/liteos_m/testsuites/sample/kernel/hwi/
Dit_los_hwi_040.c128 ICUNIT_GOTO_EQUAL(g_testCount, 1, g_testCount, EXIT); // Compare wiht the expected value 1. in Testcase()
130 ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // Compare wiht the expected value 2. in Testcase()
132 ICUNIT_GOTO_EQUAL(g_testCount, 3, g_testCount, EXIT); // Compare wiht the expected value 3. in Testcase()
134 ICUNIT_GOTO_EQUAL(g_testCount, 4, g_testCount, EXIT); // Compare wiht the expected value 4. in Testcase()
136 ICUNIT_GOTO_EQUAL(g_testCount, 5, g_testCount, EXIT); // Compare wiht the expected value 5. in Testcase()
139 ICUNIT_GOTO_EQUAL(g_testCount, 6, g_testCount, EXIT); // Compare wiht the expected value 6. in Testcase()
152 ICUNIT_GOTO_EQUAL(g_testCount, 6, g_testCount, EXIT); // Compare wiht the expected value 6. in Testcase()
154 ICUNIT_GOTO_EQUAL(g_testCount, 7, g_testCount, EXIT); // Compare wiht the expected value 7. in Testcase()
157 ICUNIT_GOTO_EQUAL(g_testCount, 8, g_testCount, EXIT); // Compare wiht the expected value 8. in Testcase()
/kernel/linux/linux-5.10/arch/parisc/math-emu/
Dsfcmp.c15 * sgl_cmp: compare two values
33 * sgl_cmp: compare two values
82 /* NaNs always compare unordered. */ in sgl_fcmp()
86 /* infinities will drop down to the normal compare mechanisms */ in sgl_fcmp()
88 /* First compare for unequal signs => less or greater or in sgl_fcmp()
117 /* Positive compare */ in sgl_fcmp()
129 /* Negative compare. Signed or unsigned compares in sgl_fcmp()
Ddfcmp.c15 * dbl_cmp: compare two values
34 * dbl_cmp: compare two values
82 /* NaNs always compare unordered. */ in dbl_fcmp()
86 /* infinities will drop down to the normal compare mechanisms */ in dbl_fcmp()
88 /* First compare for unequal signs => less or greater or in dbl_fcmp()
117 /* Positive compare */ in dbl_fcmp()
142 /* Negative compare. Signed or unsigned compares in dbl_fcmp()
/kernel/linux/linux-5.10/arch/alpha/lib/
Ddivide.S46 * $28 - compare status
57 #define compare $28 macro
125 1: cmpult divisor,modulus,compare
128 bne compare,1b
130 1: cmpult divisor,modulus,compare
134 bne compare,1b
141 cmpule divisor,modulus,compare
143 DIV_ONLY(cmovne compare,tmp2,quotient)
145 cmovne compare,tmp1,modulus
Dev6-divide.S46 * $28 - compare status
67 #define compare $28 macro
144 1: cmpult divisor,modulus,compare # E :
147 bne compare,1b # U : U L U L
149 1: cmpult divisor,modulus,compare # E :
157 bne compare,1b # U : U L U L
172 cmpule divisor,modulus,compare # E :
176 DIV_ONLY(cmovne compare,tmp2,quotient) # E : Latency 2, extra map slot
182 cmovne compare,tmp1,modulus # E : Latency 2, extra map slot
187 cmovne compare,tmp1,modulus # E : Latency 2, extra map slot
/kernel/linux/linux-4.19/arch/alpha/lib/
Ddivide.S46 * $28 - compare status
57 #define compare $28 macro
125 1: cmpult divisor,modulus,compare
128 bne compare,1b
130 1: cmpult divisor,modulus,compare
134 bne compare,1b
141 cmpule divisor,modulus,compare
143 DIV_ONLY(cmovne compare,tmp2,quotient)
145 cmovne compare,tmp1,modulus
Dev6-divide.S46 * $28 - compare status
67 #define compare $28 macro
144 1: cmpult divisor,modulus,compare # E :
147 bne compare,1b # U : U L U L
149 1: cmpult divisor,modulus,compare # E :
157 bne compare,1b # U : U L U L
172 cmpule divisor,modulus,compare # E :
176 DIV_ONLY(cmovne compare,tmp2,quotient) # E : Latency 2, extra map slot
182 cmovne compare,tmp1,modulus # E : Latency 2, extra map slot
187 cmovne compare,tmp1,modulus # E : Latency 2, extra map slot
/kernel/linux/linux-4.19/arch/parisc/math-emu/
Dsfcmp.c28 * sgl_cmp: compare two values
46 * sgl_cmp: compare two values
95 /* NaNs always compare unordered. */ in sgl_fcmp()
99 /* infinities will drop down to the normal compare mechanisms */ in sgl_fcmp()
101 /* First compare for unequal signs => less or greater or in sgl_fcmp()
130 /* Positive compare */ in sgl_fcmp()
142 /* Negative compare. Signed or unsigned compares in sgl_fcmp()
Ddfcmp.c28 * dbl_cmp: compare two values
47 * dbl_cmp: compare two values
95 /* NaNs always compare unordered. */ in dbl_fcmp()
99 /* infinities will drop down to the normal compare mechanisms */ in dbl_fcmp()
101 /* First compare for unequal signs => less or greater or in dbl_fcmp()
130 /* Positive compare */ in dbl_fcmp()
155 /* Negative compare. Signed or unsigned compares in dbl_fcmp()
/kernel/linux/linux-5.10/include/linux/
Dcomponent.h95 int (*compare)(struct device *, void *), void *compare_data);
104 * @compare: compare function to match against all components
105 * @compare_data: opaque pointer passed to the @compare function
119 int (*compare)(struct device *, void *), void *compare_data) in component_match_add()
121 component_match_add_release(master, matchptr, NULL, compare, in component_match_add()
/kernel/linux/linux-5.10/include/clocksource/
Dtimer-davinci.h25 * @cmp_off: if set - it specifies the compare register used for clockevent
27 * Note: if the compare register is specified, the driver will use the bottom
28 * clock half for both clocksource and clockevent and the compare register
29 * to generate event irqs. The user must supply the correct compare register
/kernel/liteos_m/arch/risc-v/nuclei/gcc/nmsis/Core/Include/
Dcore_feature_timer.h54 …__IOM uint64_t MTIMERCMP; /*!< Offset: 0x008 (R/W) System Timer compare Value 64bit…
125 * \brief Set system timer compare value
127 * This function set the system Timer compare value in MTIMERCMP register.
128 * \param [in] value compare value to set system timer MTIMERCMP register.
130 * - Compare value is 64bits wide.
131 * - If compare value is larger than current value timer interrupt generate.
132 * - Modify the load value or compare value less to clear the interrupt.
141 * \brief Get system timer compare value
143 * This function get the system timer compare value in MTIMERCMP register.
144 * \return compare value of system timer MTIMERCMP register.
[all …]
/kernel/linux/linux-4.19/scripts/coccinelle/api/
Dcheck_bq27xxx_data.cocci83 List.sort compare i1regs_vals = List.sort compare i2regs_vals
119 List.sort compare i1dmregs_vals = List.sort compare i2dmregs_vals
155 List.sort compare i1props_vals = List.sort compare i2props_vals
/kernel/linux/linux-5.10/fs/ntfs/
Dunistr.c41 * ntfs_are_names_equal - compare two Unicode names for equality
42 * @s1: name to compare to @s2
44 * @s2: name to compare to @s1
50 * Compare the names @s1 and @s2 and return 'true' (1) if the names are
67 * @name1: first Unicode name to compare
68 * @name2: second Unicode name to compare
122 * ntfs_ucsncmp - compare two little endian Unicode strings
125 * @n: maximum unicode characters to compare
127 * Compare the first @n characters of the Unicode strings @s1 and @s2,
154 * ntfs_ucsncasecmp - compare two little endian Unicode strings, ignoring case
[all …]
/kernel/linux/linux-5.10/scripts/coccinelle/api/
Dcheck_bq27xxx_data.cocci84 List.sort compare i1regs_vals = List.sort compare i2regs_vals
120 List.sort compare i1dmregs_vals = List.sort compare i2dmregs_vals
156 List.sort compare i1props_vals = List.sort compare i2props_vals
/kernel/linux/linux-4.19/fs/ntfs/
Dunistr.c55 * ntfs_are_names_equal - compare two Unicode names for equality
56 * @s1: name to compare to @s2
58 * @s2: name to compare to @s1
64 * Compare the names @s1 and @s2 and return 'true' (1) if the names are
81 * @name1: first Unicode name to compare
82 * @name2: second Unicode name to compare
136 * ntfs_ucsncmp - compare two little endian Unicode strings
139 * @n: maximum unicode characters to compare
141 * Compare the first @n characters of the Unicode strings @s1 and @s2,
168 * ntfs_ucsncasecmp - compare two little endian Unicode strings, ignoring case
[all …]

12345678910>>...87