Home
last modified time | relevance | path

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

12345678910>>...47

/linux/Documentation/devicetree/bindings/pwm/
H A Drenesas,rzg2l-gpt.yaml20 * Two output compare/input capture registers per channel.
21 * For the two output compare/input capture registers of each channel,
24 * In output compare operation, buffer switching can be at crests or
75 - description: GPT32E0.GTCCRA input capture/compare match
76 - description: GPT32E0.GTCCRB input capture/compare
77 - description: GPT32E0.GTCCRC compare match
78 - description: GPT32E0.GTCCRD compare match
79 - description: GPT32E0.GTCCRE compare match
80 - description: GPT32E0.GTCCRF compare match
81 - description: GPT32E0.GTADTRA compare match
[all …]
/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/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/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/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/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/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/drivers/net/ethernet/freescale/
H A Dfec_ptp.c137 /* clear capture or output compare interrupt status if have. in fec_ptp_enable_pps()
142 * TCSR register to be cleared before the first compare counter in fec_ptp_enable_pps()
154 /* We want to find the first compare event in the next in fec_ptp_enable_pps()
174 * is still running when we calculate the first compare event, it is in fec_ptp_enable_pps()
175 * possible that the remaining nanoseconds run out before the compare in fec_ptp_enable_pps()
177 * this possibility, we will set the compare event to be the next in fec_ptp_enable_pps()
193 /* Calculate the second the compare event timestamp */ in fec_ptp_enable_pps()
196 /* * Enable compare event when overflow */ in fec_ptp_enable_pps()
201 /* Compare channel setting. */ in fec_ptp_enable_pps()
209 /* Write the second compare event timestamp and calculate in fec_ptp_enable_pps()
[all …]
/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/tools/testing/selftests/bpf/verifier/
H A Djset.c77 "jset: known const compare",
90 "jset: known const compare bad",
104 "jset: unknown const compare taken",
119 "jset: unknown const compare not taken",
133 "jset: half-known const compare",
/linux/include/linux/mfd/
H A Dstm32-lptimer.h20 #define STM32_LPTIM_CMP 0x14 /* Compare Reg (MP25 CCR1) */
23 #define STM32_LPTIM_CCMR1 0x2C /* Capture/Compare Mode MP25 */
24 #define STM32_LPTIM_CCR2 0x34 /* Compare Reg2 MP25 */
88 * @num_cc_chans: indicates the number of capture/compare channels
/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 */
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_prototype.h461 * @maj: API major value to compare
462 * @min: API minor value to compare
475 * @maj: API major value to compare
476 * @min: API minor value to compare
488 * @maj: API major value to compare
489 * @min: API minor value to compare
502 * @maj: API major value to compare
503 * @min: API minor value to compare
515 * @maj: API major value to compare
516 * @min: API minor value to compare
/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()

12345678910>>...47