Home
last modified time | relevance | path

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

12345678910>>...54

/linux/Documentation/devicetree/bindings/timer/
H A Drenesas,rz-mtu3.yaml22 - Waveform output on compare match
27 - Simultaneous clearing on compare match or input capture
122 - description: MTU0.TGRA input capture/compare match
123 - description: MTU0.TGRB input capture/compare match
124 - description: MTU0.TGRC input capture/compare match
125 - description: MTU0.TGRD input capture/compare match
127 - description: MTU0.TGRE compare match
128 - description: MTU0.TGRF compare match
129 - description: MTU1.TGRA input capture/compare match
130 - description: MTU1.TGRB input capture/compare match
[all …]
H A Dbrcm,bcm2835-system-timer.yaml15 single 64-bit free running counter. Each channel has an output compare
28 - description: System Timer Compare 0 match (used by VideoCore GPU)
29 - description: System Timer Compare 1 match (usable for ARM core)
30 - description: System Timer Compare 2 match (used by VideoCore GPU)
31 - description: System Timer Compare 3 match (usable for ARM core)
/linux/drivers/base/
H A Dcomponent.c43 int (*compare)(struct device *, void *); member
53 struct component_match_array *compare; member
98 struct component *component = match->compare[i].component; in component_devices_show()
162 if (mc->compare && mc->compare(c->dev, mc->data)) in find_component()
184 struct component_match_array *mc = &match->compare[i]; in find_components()
189 if (match->compare[i].component) in find_components()
202 match->compare[i].duplicate = !!c->adev; in find_components()
203 match->compare[i].component = c; in find_components()
216 if (adev->match->compare[i].component == c) in remove_component()
217 adev->match->compare[i].component = NULL; in remove_component()
[all …]
/linux/drivers/net/ethernet/aquantia/atlantic/macsec/
H A 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 …]
/linux/net/batman-adv/
H A Dhash.h21 /* callback to a compare function. should compare 2 element data 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()
/linux/arch/parisc/math-emu/
H A 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()
H A 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()
/linux/arch/alpha/lib/
H A 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
H A 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
/linux/include/linux/
H A Dcomponent.h85 /* A set helper functions for component compare/release */
101 int (*compare)(struct device *, void *), void *compare_data);
110 * @compare: compare function to match against all components
111 * @compare_data: opaque pointer passed to the @compare function
125 int (*compare)(struct device *, void *), void *compare_data) in component_match_add()
127 component_match_add_release(parent, matchptr, NULL, compare, in component_match_add()
H A Detherdevice.h225 /* cast both to u16 and compare since LSB can be ignored */ in eth_proto_is_802_3()
344 * ether_addr_equal - Compare two Ethernet addresses
348 * Compare two Ethernet addresses, returns true if equal
368 * ether_addr_equal_64bits - Compare two Ethernet addresses
372 * Compare two Ethernet addresses, returns true if equal, false otherwise.
397 * ether_addr_equal_unaligned - Compare two not u16 aligned Ethernet addresses
401 * Compare two Ethernet addresses, returns true if equal
415 * ether_addr_equal_masked - Compare two Ethernet addresses with a mask
420 * Compare two Ethernet addresses with a mask, returns true if for every bit
533 * Compare passed address with all addresses of the device. Return true if the
[all …]
/linux/lib/
H A Dmemcpy_kunit.c40 #define compare(name, one, two) do { \ macro
82 compare("static initializers", dest, zero); in memcpy_test()
86 compare("direct assignment", dest, control); in memcpy_test()
90 compare("complete overwrite", dest, zero); in memcpy_test()
95 compare("middle overwrite", dest, middle); in memcpy_test()
104 compare("argument side-effects", dest, three); in memcpy_test()
156 compare("static initializers", zero, dest); in memmove_test()
160 compare("direct assignment", dest, control); in memmove_test()
164 compare("complete overwrite", dest, zero); in memmove_test()
169 compare("middle overwrite", dest, middle); in memmove_test()
[all …]
/linux/include/clocksource/
H A 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
/linux/arch/powerpc/include/asm/
H A Dreg_booke.h64 #define SPRN_IAC3 0x13A /* Instruction Address Compare 3 */
65 #define SPRN_IAC4 0x13B /* Instruction Address Compare 4 */
66 #define SPRN_DVC1 0x13E /* Data Value Compare Register 1 */
67 #define SPRN_DVC2 0x13F /* Data Value Compare Register 2 */
162 #define SPRN_DCMP 0x3D1 /* Data TLB Compare Register */
188 #define SPRN_IAC1 0x138 /* Instruction Address Compare 1 */
189 #define SPRN_IAC2 0x139 /* Instruction Address Compare 2 */
190 #define SPRN_DAC1 0x13C /* Data Address Compare 1 */
191 #define SPRN_DAC2 0x13D /* Data Address Compare 2 */
279 #define DBSR_IAC1 0x00800000 /* Instr Address Compare 1 Event */
[all …]
/linux/scripts/coccinelle/api/
H A 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
/linux/drivers/acpi/acpica/
H A 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()
/linux/include/soc/at91/
H A Datmel_tcb.h170 #define ATMEL_TC_CPCTRG (1 << 14) /* RC compare trigger enable */
183 #define ATMEL_TC_CPCSTOP (1 << 6) /* RC compare stops counter */
184 #define ATMEL_TC_CPCDIS (1 << 7) /* RC compare disables counter */
201 #define ATMEL_TC_ACPA (3 << 16) /* RA compare changes TIOA */
206 #define ATMEL_TC_ACPC (3 << 18) /* RC compare changes TIOA */
221 #define ATMEL_TC_BCPB (3 << 24) /* RB compare changes TIOB */
226 #define ATMEL_TC_BCPC (3 << 26) /* RC compare changes TIOB */
260 #define ATMEL_TC_CPAS (1 << 2) /* RA compare */
261 #define ATMEL_TC_CPBS (1 << 3) /* RB compare */
262 #define ATMEL_TC_CPCS (1 << 4) /* RC compare */
/linux/tools/testing/selftests/seccomp/
H A Dseccomp_benchmark.c106 long compare(const char *name_one, const char *name_eval, const char *name_two, in compare() function
277 ret |= compare("native", "≤", "1 bitmap", native, le, bitmap1, in main()
279 bits = compare("native", "≤", "1 filter", native, le, filter1, in main()
284 ret |= compare("per-filter (last 2 diff)", "≈", "per-filter (filters / 4)", in main()
287 bits = compare("1 bitmapped", "≈", "2 bitmapped", in main()
294 ret |= compare("entry", "≈", "1 bitmapped", entry, approx, in main()
296 ret |= compare("entry", "≈", "2 bitmapped", entry, approx, in main()
298 ret |= compare("native + entry + (per filter * 4)", "≈", "4 filters total", in main()
/linux/tools/testing/selftests/powerpc/pmu/event_code_tests/
H A Dgroup_constraint_thresh_cmp_test.c27 * used to program thresh compare field in Monitor Mode Control Register A
29 * All events in the group should match thresh compare bits otherwise
57 /* Init the event for the group contraint thresh compare test */ in group_constraint_thresh_cmp()
80 /* Init the event for the group contraint thresh compare test */ in group_constraint_thresh_cmp()
/linux/arch/mips/include/asm/
H A Dmips-gic.h262 /* GIC_Vx_COMPARE_MAP - Route the local count/compare interrupt */
265 /* GIC_Vx_TIMER_MAP - Route the local CPU timer (cp0 count/compare) interrupt */
288 /* GIC_Vx_COMPARE - Value to compare with GIC_SH_COUNTER */
289 GIC_VX_ACCESSOR_RW(64, 0x0a0, compare)
297 * @GIC_LOCAL_INT_COMPARE: GIC count/compare interrupt
298 * @GIC_LOCAL_INT_TIMER: CP0 count/compare interrupt
349 /* WD, Compare & Timer are 1:1 */ in mips_gic_vx_map_reg()
362 * gic_get_c0_compare_int() - Return cp0 count/compare interrupt virq
364 * Determine the virq number to use for the coprocessor 0 count/compare
/linux/tools/testing/selftests/bpf/verifier/
H A 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",
/linux/scripts/dtc/
H A Dof_unittest_expect29 sub compare { subroutine
83 print "** ERROR: $script_name internal error, at end of compare(), CONSOLE_LOG line: $.\n";
314 if (compare($data, $begin)) {
340 } elsif (! compare($data, $begin) and ($data ne $begin)) {
388 if (compare($data, $begin)) {
423 if (! compare($data, $begin) and ($data ne $begin)) {
449 if (compare($begin, $line)) {
457 while (! compare($begin, $line)) {
472 if (compare($begin, $line)) {
480 while (! compare($begin, $line)) {
/linux/drivers/net/ethernet/freescale/
H A Dfec_ptp.c139 /* clear capture or output compare interrupt status if have. in fec_ptp_enable_pps()
144 * TCSR register to be cleared before the first compare counter in fec_ptp_enable_pps()
156 /* We want to find the first compare event in the next in fec_ptp_enable_pps()
176 * is still running when we calculate the first compare event, it is in fec_ptp_enable_pps()
177 * possible that the remaining nanoseonds run out before the compare in fec_ptp_enable_pps()
179 * this possibility, we will set the compare event to be the next in fec_ptp_enable_pps()
195 /* Calculate the second the compare event timestamp */ in fec_ptp_enable_pps()
198 /* * Enable compare event when overflow */ in fec_ptp_enable_pps()
203 /* Compare channel setting. */ in fec_ptp_enable_pps()
211 /* Write the second compare event timestamp and calculate in fec_ptp_enable_pps()
[all …]
/linux/arch/sparc/kernel/
H A 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()
/linux/arch/x86/math-emu/
H A Dreg_compare.c5 | Compare two floating point registers |
15 | compare() is the core FPU_REG comparison function |
24 static int compare(FPU_REG const *b, int tagb) in compare() function
174 c = compare(loaded_data, loaded_tag); in FPU_compare_st_data()
220 c = compare(st_ptr, FPU_gettagi(nr)); in compare_st_st()
267 c = compare(st_ptr, FPU_gettagi(nr)); in compare_i_st_st()
314 c = compare(st_ptr, FPU_gettagi(nr)); in compare_u_st_st()
365 c = compare(st_ptr, FPU_gettagi(nr)); in compare_ui_st_st()
453 /* P6+ compare-to-EFLAGS ops */

12345678910>>...54