| /kernel/linux/linux-5.10/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
|
| /kernel/linux/linux-6.6/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
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/include/uapi/linux/ |
| D | omap3isp.h | 395 * @b_mg: B/Mg pixels. 2's complement. -128 to +127. 396 * @gb_g: Gb/G pixels. 2's complement. -128 to +127. 397 * @gr_cy: Gr/Cy pixels. 2's complement. -128 to +127. 398 * @r_ye: R/Ye pixels. 2's complement. -128 to +127. 425 * @blcomp: Black level compensation value for RGrGbB Pixels. 2's complement. 538 * @red: Black level offset adjustment for Red in 2's complement format 539 * @green: Black level offset adjustment for Green in 2's complement format 540 * @blue: Black level offset adjustment for Blue in 2's complement format 543 /*Black level offset adjustment for Red in 2's complement format */ 545 /*Black level offset adjustment for Green in 2's complement format */ [all …]
|
| /kernel/linux/linux-6.6/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
|
| /kernel/linux/linux-5.10/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
|
| /kernel/linux/linux-6.6/arch/mips/include/asm/sn/ |
| 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 */
|
| 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*/
|
| /kernel/linux/linux-5.10/arch/mips/include/asm/sn/ |
| 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 */
|
| 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*/
|
| /kernel/linux/linux-6.6/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 | 85 * Documented as a 13 bit twos complement register in ad7314_temperature_show() 86 * with a sign bit - which is a 14 bit 2's complement in ad7314_temperature_show()
|
| /kernel/linux/linux-6.6/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 */
|
| /kernel/linux/linux-5.10/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 */
|
| /kernel/linux/linux-6.6/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()
|
| /kernel/linux/linux-5.10/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()
|
| /kernel/linux/linux-6.6/tools/testing/selftests/net/ |
| D | nat6to4.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()
|
| /kernel/linux/linux-5.10/drivers/hwmon/ |
| D | lm70.c | 74 * complement value. Only the MSB 11 bits (1 sign + 10 temperature in temp1_input_show() 84 * 13 bits of 2's complement data, discard LSB 3 bits, in temp1_input_show() 88 * 14 bits of 2's complement data, discard LSB 2 bits, 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()
|
| /kernel/linux/linux-5.10/drivers/staging/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()
|
| /kernel/linux/linux-6.6/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()
|
| /kernel/linux/linux-5.10/tools/perf/util/ |
| D | string.c | 75 bool complement = false, ret = true; in __match_charclass() local 78 complement = true; in __match_charclass() 104 return complement ? !ret : ret; in __match_charclass()
|
| /kernel/linux/linux-5.10/include/net/netfilter/ |
| D | nf_reject.h | 10 /* Skip protocols that don't use 16-bit one's complement checksum in nf_reject_verify_csum()
|
| /kernel/linux/linux-6.6/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()
|
| /kernel/linux/linux-6.6/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()
|