Home
last modified time | relevance | path

Searched full:complement (Results 1 – 25 of 259) sorted by relevance

1234567891011

/Linux-v6.6/Documentation/networking/
Dchecksum-offloads.rst32 In brief, it allows to request the device fill in a single ones-complement
34 The device should compute the 16-bit ones-complement checksum (i.e. the
87 The ones-complement sum of a correctly checksummed TCP or UDP packet is equal
88 to the complement of the sum of the pseudo header, because everything else gets
92 More generally, this holds in any case where the 'IP-style' ones complement
96 know that after the device has filled in that checksum, the ones complement sum
97 from csum_start to the end of the packet will be equal to the complement of
100 summing when we get to csum_start, then add the complement of the 16-bit word
/Linux-v6.6/include/uapi/linux/
Domap3isp.h400 * @b_mg: B/Mg pixels. 2's complement. -128 to +127.
401 * @gb_g: Gb/G pixels. 2's complement. -128 to +127.
402 * @gr_cy: Gr/Cy pixels. 2's complement. -128 to +127.
403 * @r_ye: R/Ye pixels. 2's complement. -128 to +127.
430 * @blcomp: Black level compensation value for RGrGbB Pixels. 2's complement.
543 * @red: Black level offset adjustment for Red in 2's complement format
544 * @green: Black level offset adjustment for Green in 2's complement format
545 * @blue: Black level offset adjustment for Blue in 2's complement format
548 /*Black level offset adjustment for Red in 2's complement format */
550 /*Black level offset adjustment for Green in 2's complement format */
[all …]
Dserial_reg.h133 #define UART_MCR_OUT2 0x08 /* Out2 complement */
134 #define UART_MCR_OUT1 0x04 /* Out1 complement */
135 #define UART_MCR_RTS 0x02 /* RTS complement */
136 #define UART_MCR_DTR 0x01 /* DTR complement */
/Linux-v6.6/Documentation/w1/slaves/
Dw1_ds2413.rst33 Bit 4-7: Complement of Bit 3 to Bit 0 (verified by the kernel module)
52 When reading the state, there is a four complement bits.
53 The driver is checking this complement, and when it is wrong then it is
/Linux-v6.6/arch/mips/include/asm/sn/
Dlaunch.h52 * The launch routine is called only if the complement address is correct.
54 * Before control is transferred to a routine, the complement address
71 volatile u64 call_addr_c; /* 1's complement of call_addr*/
Dnmi.h42 * The NMI routine is called only if the complement address is
45 * Before control is transferred to a routine, the complement address
57 volatile void *call_addr_c; /* 1's complement of address */
/Linux-v6.6/drivers/hwmon/
Dlm70.c75 * complement value. Only the MSB 11 bits (1 sign + 10 temperature in temp1_input_show()
85 * 13 bits of 2's complement data, discard LSB 3 bits, in temp1_input_show()
89 * 14 bits of 2's complement data, discard LSB 2 bits, in temp1_input_show()
94 * followed by 9 temperature bits (D13..D5) in 2's complement in temp1_input_show()
Dad7314.c75 * Documented as a 13 bit twos complement register in ad7314_temperature_show()
76 * with a sign bit - which is a 14 bit 2's complement in ad7314_temperature_show()
Dlm75.h24 * REG: (0.5C/bit, two's complement) << 7
/Linux-v6.6/include/scsi/fc/
Dfc_encaps.h26 __u8 fc_proto_n; /* ones complement of protocol */
27 __u8 fc_ver_n; /* ones complement of version */
32 __be16 fc_len_flags_n; /* ones complement of length / flags */
/Linux-v6.6/sound/core/oss/
Dmulaw.c77 * Ordinarily the complement of the resulting code word is used for
83 static unsigned char linear2ulaw(int pcm_val) /* 2's complement (16-bit range) */ in linear2ulaw()
105 * and complement the code word. in linear2ulaw()
117 * Note that this function expects to be passed the complement of the
124 /* Complement to obtain normal u-law value. */ in ulaw2linear()
/Linux-v6.6/tools/testing/selftests/net/
Dnat6to4.c108 // Calculate the IPv4 one's complement checksum of the IPv4 header. in sched_cls_ingress6_nat_6_prog()
119 // Calculate the *negative* IPv6 16-bit one's complement checksum of the IPv6 header. in sched_cls_ingress6_nat_6_prog()
182 // Calculate the IPv4 one's complement checksum of the IPv4 header. in sched_cls_egress4_snat4_prog()
246 // Calculate the IPv6 16-bit one's complement checksum of the IPv6 header. in sched_cls_egress4_snat4_prog()
258 // In such a case, skb->csum is a 16-bit one's complement sum of the entire payload, in sched_cls_egress4_snat4_prog()
/Linux-v6.6/drivers/comedi/drivers/
Dpcmad.c28 * 1 = two's complement (+-10V input range)
93 /* munge the two's complement value */ in pcmad_ai_insn_read()
/Linux-v6.6/tools/perf/util/
Dstring.c74 bool complement = false, ret = true; in __match_charclass() local
77 complement = true; in __match_charclass()
103 return complement ? !ret : ret; in __match_charclass()
/Linux-v6.6/drivers/net/ethernet/amd/
Da2065.h107 short length; /* This length is 2s complement (negative)!
117 short length; /* Length is 2s complement (negative)! */
/Linux-v6.6/include/net/netfilter/
Dnf_reject.h11 /* Skip protocols that don't use 16-bit one's complement checksum in nf_reject_verify_csum()
/Linux-v6.6/drivers/acpi/
Dbutton.c220 * Send the unreliable complement switch event: in acpi_lid_notify_state()
241 * complement switch event, it then is guaranteed that the in acpi_lid_notify_state()
248 * Do generate complement switch event for "close" in acpi_lid_notify_state()
251 * Do not generate complement switch event for in acpi_lid_notify_state()
/Linux-v6.6/drivers/gpu/drm/sun4i/
Dsun8i_csc.c18 * Factors are in two's complement format, 10 bits for fractinal part.
51 * DE3 has a bit different CSC units. Factors are in two's complement format.
/Linux-v6.6/Documentation/input/devices/
Delantech.rst757 x7..x0 = delta x (two's complement)
764 y7..y0 = delta y (two's complement)
778 x7..x0 = delta x (two's complement)
785 y7..y0 = delta y (two's complement)
836 x and y are written in two's complement spread
/Linux-v6.6/Documentation/ABI/testing/
Dsysfs-bus-iio-health-afe440x20 The values are expressed in 24-bit twos complement.
/Linux-v6.6/net/rfkill/
Dinput.c83 const bool complement) in __rfkill_handle_normal_op() argument
88 if (complement) in __rfkill_handle_normal_op()
/Linux-v6.6/include/sound/
Dcs4231-regs.h98 #define CS4231_LINEAR_16 0x40 /* 16-bit twos complement data - little endian */
99 #define CS4231_LINEAR_16_BIG 0xc0 /* 16-bit twos complement data - big endian */
/Linux-v6.6/include/linux/
Dsched_clock.h16 * @sched_clock_mask: Bitmask for two's complement subtraction of non 64bit
/Linux-v6.6/arch/loongarch/include/asm/
Dchecksum.h19 * 1's complement 16-bit checksum.
/Linux-v6.6/drivers/media/dvb-frontends/
Dlgs8gxx.h51 /*External ADC output two's complement*/

1234567891011