Home
last modified time | relevance | path

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

12345678910>>...51

/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/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/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-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()
Detherdevice.h212 /* cast both to u16 and compare since LSB can be ignored */ in eth_proto_is_802_3()
318 * ether_addr_equal - Compare two Ethernet addresses
322 * Compare two Ethernet addresses, returns true if equal
342 * ether_addr_equal_64bits - Compare two Ethernet addresses
346 * Compare two Ethernet addresses, returns true if equal, false otherwise.
372 * ether_addr_equal_unaligned - Compare two not u16 aligned Ethernet addresses
376 * Compare two Ethernet addresses, returns true if equal
390 * ether_addr_equal_masked - Compare two Ethernet addresses with a mask
395 * Compare two Ethernet addresses with a mask, returns true if for every bit
474 * Compare passed address with all addresses of the device. Return true if the
[all …]
/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-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-5.10/drivers/acpi/acpica/
Dexmisc.c284 int compare; in acpi_ex_do_logical_op() local
377 /* Lexicographic compare: compare the data bytes */ in acpi_ex_do_logical_op()
379 compare = memcmp(operand0->buffer.pointer, in acpi_ex_do_logical_op()
388 if ((length0 == length1) && (compare == 0)) { in acpi_ex_do_logical_op()
398 if (compare > 0) { in acpi_ex_do_logical_op()
402 if (compare < 0) { in acpi_ex_do_logical_op()
406 /* Bytes match (to shortest length), compare lengths */ in acpi_ex_do_logical_op()
415 if (compare > 0) { in acpi_ex_do_logical_op()
418 if (compare < 0) { in acpi_ex_do_logical_op()
423 /* Bytes match (to shortest length), compare lengths */ in acpi_ex_do_logical_op()
/kernel/linux/linux-5.10/include/soc/at91/
Datmel_tcb.h173 #define ATMEL_TC_CPCTRG (1 << 14) /* RC compare trigger enable */
186 #define ATMEL_TC_CPCSTOP (1 << 6) /* RC compare stops counter */
187 #define ATMEL_TC_CPCDIS (1 << 7) /* RC compare disables counter */
204 #define ATMEL_TC_ACPA (3 << 16) /* RA compare changes TIOA */
209 #define ATMEL_TC_ACPC (3 << 18) /* RC compare changes TIOA */
224 #define ATMEL_TC_BCPB (3 << 24) /* RB compare changes TIOB */
229 #define ATMEL_TC_BCPC (3 << 26) /* RC compare changes TIOB */
263 #define ATMEL_TC_CPAS (1 << 2) /* RA compare */
264 #define ATMEL_TC_CPBS (1 << 3) /* RB compare */
265 #define ATMEL_TC_CPCS (1 << 4) /* RC compare */
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dmips-gic.h244 /* GIC_Vx_COMPARE_MAP - Route the local count/compare interrupt */
247 /* GIC_Vx_TIMER_MAP - Route the local CPU timer (cp0 count/compare) interrupt */
270 /* GIC_Vx_COMPARE - Value to compare with GIC_SH_COUNTER */
271 GIC_VX_ACCESSOR_RW(64, 0x0a0, compare)
279 * @GIC_LOCAL_INT_COMPARE: GIC count/compare interrupt
280 * @GIC_LOCAL_INT_TIMER: CP0 count/compare interrupt
331 /* WD, Compare & Timer are 1:1 */ in mips_gic_vx_map_reg()
344 * gic_get_c0_compare_int() - Return cp0 count/compare interrupt virq
346 * Determine the virq number to use for the coprocessor 0 count/compare
/kernel/linux/linux-5.10/arch/arm64/lib/
Dmemcmp.S17 * compare memory areas(when two memory areas' offset are different,
23 * x2 - the maximal compare byte length
25 * x0 - a compare result, maybe less than, equal to, or greater than ZERO
60 * Directly compare eight bytes each time.
127 b.lo .Ltiny8proc /*limit < 8: compare byte by byte*/
139 /*compare the proceeding bytes in the first 8 byte segment.*/
181 * to an alignment boundary,load eight bytes and compare from
/kernel/liteos_m/testsuites/sample/kernel/queue/
DIt_los_queue_108.c47 …ICUNIT_GOTO_EQUAL(queueInfo.queueLen, 3, queueInfo.queueLen, EXIT); // Compare wiht the expected v… in HwiF01()
76 ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // Compare wiht the expected value 2. in Testcase()
82 …ICUNIT_GOTO_EQUAL(queueInfo.queueLen, 3, queueInfo.queueLen, EXIT); // Compare wiht the expected v… in Testcase()
88 ICUNIT_GOTO_EQUAL(g_testCount, 3, g_testCount, EXIT); // Compare wiht the expected value 3. in Testcase()
DIt_los_queue_110.c45 …ICUNIT_GOTO_EQUAL(queueInfo.queueLen, 3, queueInfo.queueLen, EXIT); // Compare wiht the expected v… in SwtmrF01()
85 ICUNIT_GOTO_EQUAL(g_testCount, 2, g_testCount, EXIT); // Compare wiht the expected value 2. in Testcase()
89 …ICUNIT_GOTO_EQUAL(queueInfo.queueLen, 3, queueInfo.queueLen, EXIT); // Compare wiht the expected v… in Testcase()
96 ICUNIT_GOTO_EQUAL(g_testCount, 3, g_testCount, EXIT); // Compare wiht the expected value 3. in Testcase()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/verifier/
Djset.c77 "jset: known const compare",
91 "jset: known const compare bad",
105 "jset: unknown const compare taken",
120 "jset: unknown const compare not taken",
134 "jset: half-known const compare",
/kernel/liteos_a/testsuites/unittest/net/resolv/smoke/
Dnet_resolv_test_002.cpp56 …_EQUAL(eaddr->ether_addr_octet[2], r[2], eaddr->ether_addr_octet[2]); // 2: compare r[2] with eaddr in EtherAtonTest()
57 …_EQUAL(eaddr->ether_addr_octet[3], r[3], eaddr->ether_addr_octet[3]); // 3: compare r[3] with eaddr in EtherAtonTest()
58 …_EQUAL(eaddr->ether_addr_octet[4], r[4], eaddr->ether_addr_octet[4]); // 4: compare r[4] with eaddr in EtherAtonTest()
59 …_EQUAL(eaddr->ether_addr_octet[5], r[5], eaddr->ether_addr_octet[5]); // 5: compare r[5] with eaddr in EtherAtonTest()
Dnet_resolv_test_003.cpp57 …_EQUAL(eaddr->ether_addr_octet[2], r[2], eaddr->ether_addr_octet[2]); // 2: compare r[2] with eaddr in EtherAtonrTest()
58 …_EQUAL(eaddr->ether_addr_octet[3], r[3], eaddr->ether_addr_octet[3]); // 3: compare r[3] with eaddr in EtherAtonrTest()
59 …_EQUAL(eaddr->ether_addr_octet[4], r[4], eaddr->ether_addr_octet[4]); // 4: compare r[4] with eaddr in EtherAtonrTest()
60 …_EQUAL(eaddr->ether_addr_octet[5], r[5], eaddr->ether_addr_octet[5]); // 5: compare r[5] with eaddr in EtherAtonrTest()
/kernel/linux/linux-5.10/arch/sparc/kernel/
Ddevices.c35 int (*compare)(phandle, int, void *), void *compare_arg, in check_cpu_node()
38 if (!compare(nd, *cur_inst, compare_arg)) { in check_cpu_node()
54 static int __cpu_find_by(int (*compare)(phandle, int, void *), in __cpu_find_by()
63 compare, compare_arg, in __cpu_find_by()

12345678910>>...51