/Linux-v6.1/drivers/base/ |
D | component.c | 43 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-v6.1/drivers/net/ethernet/aquantia/atlantic/macsec/ |
D | macsec_struct.h | 13 /*! 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-v6.1/arch/powerpc/include/asm/ |
D | reg_booke.h | 70 #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 …]
|
/Linux-v6.1/net/batman-adv/ |
D | hash.h | 21 /* 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-v6.1/arch/parisc/math-emu/ |
D | sfcmp.c | 15 * 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()
|
D | dfcmp.c | 15 * 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-v6.1/lib/ |
D | memcpy_kunit.c | 40 #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() 154 compare("static initializers", zero, dest); in memmove_test() 158 compare("direct assignment", dest, control); in memmove_test() 162 compare("complete overwrite", dest, zero); in memmove_test() 167 compare("middle overwrite", dest, middle); in memmove_test() [all …]
|
/Linux-v6.1/arch/alpha/lib/ |
D | divide.S | 46 * $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
|
D | ev6-divide.S | 46 * $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-v6.1/include/linux/ |
D | component.h | 85 /* 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()
|
D | etherdevice.h | 219 /* cast both to u16 and compare since LSB can be ignored */ in eth_proto_is_802_3() 338 * ether_addr_equal - Compare two Ethernet addresses 342 * Compare two Ethernet addresses, returns true if equal 362 * ether_addr_equal_64bits - Compare two Ethernet addresses 366 * Compare two Ethernet addresses, returns true if equal, false otherwise. 391 * ether_addr_equal_unaligned - Compare two not u16 aligned Ethernet addresses 395 * Compare two Ethernet addresses, returns true if equal 409 * ether_addr_equal_masked - Compare two Ethernet addresses with a mask 414 * Compare two Ethernet addresses with a mask, returns true if for every bit 515 * Compare passed address with all addresses of the device. Return true if the [all …]
|
/Linux-v6.1/include/clocksource/ |
D | timer-davinci.h | 25 * @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-v6.1/fs/ntfs/ |
D | unistr.c | 41 * 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 …]
|
/Linux-v6.1/tools/testing/selftests/seccomp/ |
D | seccomp_benchmark.c | 100 long compare(const char *name_one, const char *name_eval, const char *name_two, in compare() function 222 ret |= compare("native", "≤", "1 bitmap", native, le, bitmap1); in main() 223 bits = compare("native", "≤", "1 filter", native, le, filter1); in main() 227 ret |= compare("per-filter (last 2 diff)", "≈", "per-filter (filters / 4)", in main() 230 bits = compare("1 bitmapped", "≈", "2 bitmapped", in main() 237 ret |= compare("entry", "≈", "1 bitmapped", entry, approx, bitmap1 - native); in main() 238 ret |= compare("entry", "≈", "2 bitmapped", entry, approx, bitmap2 - native); in main() 239 ret |= compare("native + entry + (per filter * 4)", "≈", "4 filters total", in main()
|
/Linux-v6.1/scripts/coccinelle/api/ |
D | check_bq27xxx_data.cocci | 84 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-v6.1/drivers/acpi/acpica/ |
D | exmisc.c | 284 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-v6.1/include/soc/at91/ |
D | atmel_tcb.h | 173 #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 */
|
/Linux-v6.1/arch/mips/include/asm/ |
D | mips-gic.h | 244 /* 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
|
/Linux-v6.1/tools/testing/selftests/powerpc/pmu/event_code_tests/ |
D | group_constraint_thresh_cmp_test.c | 27 * 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-v6.1/tools/testing/selftests/bpf/verifier/ |
D | jset.c | 77 "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-v6.1/drivers/net/ethernet/freescale/ |
D | fec_ptp.c | 114 /* clear capture or output compare interrupt status if have. in fec_ptp_enable_pps() 119 * TCSR register to be cleared before the first compare counter in fec_ptp_enable_pps() 131 /* We want to find the first compare event in the next in fec_ptp_enable_pps() 151 * is still running when we calculate the first compare event, it is in fec_ptp_enable_pps() 152 * possible that the remaining nanoseonds run out before the compare in fec_ptp_enable_pps() 154 * this possibility, we will set the compare event to be the next in fec_ptp_enable_pps() 170 /* Calculate the second the compare event timestamp */ in fec_ptp_enable_pps() 173 /* * Enable compare event when overflow */ in fec_ptp_enable_pps() 178 /* Compare channel setting. */ in fec_ptp_enable_pps() 186 /* Write the second compare event timestamp and calculate in fec_ptp_enable_pps() [all …]
|
/Linux-v6.1/arch/sparc/kernel/ |
D | devices.c | 35 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-v6.1/arch/x86/math-emu/ |
D | reg_compare.c | 5 | 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-v6.1/arch/mips/math-emu/ |
D | dp_fmax.c | 110 /* Compare signs */ in ieee754dp_fmax() 116 /* Signs of inputs are equal, let's compare exponents */ in ieee754dp_fmax() 131 /* Signs and exponents of inputs are equal, let's compare mantissas */ in ieee754dp_fmax() 238 /* Compare exponent */ in ieee754dp_fmaxa() 244 /* Compare mantissa */ in ieee754dp_fmaxa()
|
D | dp_fmin.c | 110 /* Compare signs */ in ieee754dp_fmin() 116 /* Signs of inputs are the same, let's compare exponents */ in ieee754dp_fmin() 131 /* Signs and exponents of inputs are equal, let's compare mantissas */ in ieee754dp_fmin() 238 /* Compare exponent */ in ieee754dp_fmina() 244 /* Compare mantissa */ in ieee754dp_fmina()
|