/linux-6.12.1/Documentation/networking/ |
D | checksum-offloads.rst | 32 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-6.12.1/include/uapi/linux/ |
D | omap3isp.h | 400 * @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 …]
|
D | serial_reg.h | 134 #define UART_MCR_OUT2 0x08 /* Out2 complement */ 135 #define UART_MCR_OUT1 0x04 /* Out1 complement */ 136 #define UART_MCR_RTS 0x02 /* RTS complement */ 137 #define UART_MCR_DTR 0x01 /* DTR complement */
|
/linux-6.12.1/Documentation/w1/slaves/ |
D | w1_ds2413.rst | 33 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-6.12.1/arch/mips/include/asm/sn/ |
D | launch.h | 52 * 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*/
|
D | nmi.h | 42 * 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-6.12.1/drivers/hwmon/ |
D | lm70.c | 75 * 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()
|
D | ad7314.c | 75 * 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()
|
D | lm75.h | 24 * REG: (0.5C/bit, two's complement) << 7
|
/linux-6.12.1/include/scsi/fc/ |
D | fc_encaps.h | 26 __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-6.12.1/sound/core/oss/ |
D | mulaw.c | 77 * 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-6.12.1/tools/testing/selftests/net/ |
D | nat6to4.bpf.c | 108 // 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-6.12.1/drivers/comedi/drivers/ |
D | pcmad.c | 28 * 1 = two's complement (+-10V input range) 93 /* munge the two's complement value */ in pcmad_ai_insn_read()
|
/linux-6.12.1/tools/perf/util/ |
D | string.c | 74 bool complement = false, ret = true; in __match_charclass() local 77 complement = true; in __match_charclass() 103 return complement ? !ret : ret; in __match_charclass()
|
/linux-6.12.1/drivers/net/ethernet/amd/ |
D | a2065.h | 107 short length; /* This length is 2s complement (negative)! 117 short length; /* Length is 2s complement (negative)! */
|
/linux-6.12.1/include/net/netfilter/ |
D | nf_reject.h | 11 /* Skip protocols that don't use 16-bit one's complement checksum in nf_reject_verify_csum()
|
/linux-6.12.1/drivers/gpu/drm/sun4i/ |
D | sun8i_csc.c | 18 * 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-6.12.1/drivers/acpi/ |
D | button.c | 231 * Send the unreliable complement switch event: in acpi_lid_notify_state() 252 * complement switch event, it then is guaranteed that the in acpi_lid_notify_state() 259 * Do generate complement switch event for "close" in acpi_lid_notify_state() 262 * Do not generate complement switch event for in acpi_lid_notify_state()
|
/linux-6.12.1/Documentation/input/devices/ |
D | elantech.rst | 757 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-6.12.1/Documentation/ABI/testing/ |
D | sysfs-bus-iio-health-afe440x | 20 The values are expressed in 24-bit twos complement.
|
/linux-6.12.1/include/sound/ |
D | cs4231-regs.h | 98 #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-6.12.1/net/rfkill/ |
D | input.c | 83 const bool complement) in __rfkill_handle_normal_op() argument 88 if (complement) in __rfkill_handle_normal_op()
|
/linux-6.12.1/include/linux/ |
D | sched_clock.h | 16 * @sched_clock_mask: Bitmask for two's complement subtraction of non 64bit
|
/linux-6.12.1/drivers/media/dvb-frontends/ |
D | lgs8gxx.h | 51 /*External ADC output two's complement*/
|
/linux-6.12.1/Documentation/hwmon/ |
D | lm70.rst | 47 complement digital temperature (sent via the SIO line), is available in the
|