| /kernel/linux/linux-6.6/arch/sh/drivers/pci/ |
| D | pcie-sh7786.h | 13 #define SH4A_PCIE_SPW_BASE1 0xFE200000 /* spw config address for controller 1 (Rev1.14)*/ 18 #define SH4A_PCI_CNFG_BASE1 0xFE240000 /* pci config address for controller 1 (Rev1.14)*/ 44 #define BITS_BADOPC (5) /* 5 BADOPC 0 R/W */ 45 #define MASK_BADOPC (1<<BITS_BADOPC) 46 #define BITS_BADDEST (4) /*4 BADDEST 0 R/W */ 47 #define MASK_BADDEST (1<<BITS_BADDEST) 48 #define BITS_UNSOLRESP (3) /* 3 UNSOLRESP 0 R/W */ 49 #define MASK_UNSOLRESP (1<<BITS_UNSOLRESP) 50 #define BITS_ERRSNT (1) /* 1 ERRSNT 0 */ 51 #define MASK_ERRSNT (1<<BITS_ERRSNT) [all …]
|
| /kernel/linux/linux-5.10/arch/sh/drivers/pci/ |
| D | pcie-sh7786.h | 13 #define SH4A_PCIE_SPW_BASE1 0xFE200000 /* spw config address for controller 1 (Rev1.14)*/ 18 #define SH4A_PCI_CNFG_BASE1 0xFE240000 /* pci config address for controller 1 (Rev1.14)*/ 44 #define BITS_BADOPC (5) /* 5 BADOPC 0 R/W */ 45 #define MASK_BADOPC (1<<BITS_BADOPC) 46 #define BITS_BADDEST (4) /*4 BADDEST 0 R/W */ 47 #define MASK_BADDEST (1<<BITS_BADDEST) 48 #define BITS_UNSOLRESP (3) /* 3 UNSOLRESP 0 R/W */ 49 #define MASK_UNSOLRESP (1<<BITS_UNSOLRESP) 50 #define BITS_ERRSNT (1) /* 1 ERRSNT 0 */ 51 #define MASK_ERRSNT (1<<BITS_ERRSNT) [all …]
|
| /kernel/linux/linux-5.10/tools/include/asm-generic/bitops/ |
| D | const_hweight.h | 8 #define __const_hweight8(w) \ argument 10 ((!!((w) & (1ULL << 0))) + \ 11 (!!((w) & (1ULL << 1))) + \ 12 (!!((w) & (1ULL << 2))) + \ 13 (!!((w) & (1ULL << 3))) + \ 14 (!!((w) & (1ULL << 4))) + \ 15 (!!((w) & (1ULL << 5))) + \ 16 (!!((w) & (1ULL << 6))) + \ 17 (!!((w) & (1ULL << 7))))) 19 #define __const_hweight16(w) (__const_hweight8(w) + __const_hweight8((w) >> 8 )) argument [all …]
|
| /kernel/linux/linux-6.6/include/asm-generic/bitops/ |
| D | const_hweight.h | 8 #define __const_hweight8(w) \ argument 10 ((!!((w) & (1ULL << 0))) + \ 11 (!!((w) & (1ULL << 1))) + \ 12 (!!((w) & (1ULL << 2))) + \ 13 (!!((w) & (1ULL << 3))) + \ 14 (!!((w) & (1ULL << 4))) + \ 15 (!!((w) & (1ULL << 5))) + \ 16 (!!((w) & (1ULL << 6))) + \ 17 (!!((w) & (1ULL << 7))))) 19 #define __const_hweight16(w) (__const_hweight8(w) + __const_hweight8((w) >> 8 )) argument [all …]
|
| /kernel/linux/linux-6.6/tools/include/asm-generic/bitops/ |
| D | const_hweight.h | 8 #define __const_hweight8(w) \ argument 10 ((!!((w) & (1ULL << 0))) + \ 11 (!!((w) & (1ULL << 1))) + \ 12 (!!((w) & (1ULL << 2))) + \ 13 (!!((w) & (1ULL << 3))) + \ 14 (!!((w) & (1ULL << 4))) + \ 15 (!!((w) & (1ULL << 5))) + \ 16 (!!((w) & (1ULL << 6))) + \ 17 (!!((w) & (1ULL << 7))))) 19 #define __const_hweight16(w) (__const_hweight8(w) + __const_hweight8((w) >> 8 )) argument [all …]
|
| /kernel/linux/linux-5.10/include/asm-generic/bitops/ |
| D | const_hweight.h | 8 #define __const_hweight8(w) \ argument 10 ((!!((w) & (1ULL << 0))) + \ 11 (!!((w) & (1ULL << 1))) + \ 12 (!!((w) & (1ULL << 2))) + \ 13 (!!((w) & (1ULL << 3))) + \ 14 (!!((w) & (1ULL << 4))) + \ 15 (!!((w) & (1ULL << 5))) + \ 16 (!!((w) & (1ULL << 6))) + \ 17 (!!((w) & (1ULL << 7))))) 19 #define __const_hweight16(w) (__const_hweight8(w) + __const_hweight8((w) >> 8 )) argument [all …]
|
| /kernel/linux/linux-5.10/drivers/input/joystick/ |
| D | walkera0701.c | 62 static inline void walkera0701_parse_frame(struct walkera_dev *w) in walkera0701_parse_frame() argument 70 crc1 += w->buf[i] & 7; in walkera0701_parse_frame() 71 crc2 += (w->buf[i] & 8) >> 3; in walkera0701_parse_frame() 73 if ((w->buf[10] & 7) != (crc1 & 7)) in walkera0701_parse_frame() 75 if (((w->buf[10] & 8) >> 3) != (((crc1 >> 3) + crc2) & 1)) in walkera0701_parse_frame() 78 crc1 += w->buf[i] & 7; in walkera0701_parse_frame() 79 crc2 += (w->buf[i] & 8) >> 3; in walkera0701_parse_frame() 81 if ((w->buf[23] & 7) != (crc1 & 7)) in walkera0701_parse_frame() 83 if (((w->buf[23] & 8) >> 3) != (((crc1 >> 3) + crc2) & 1)) in walkera0701_parse_frame() 85 val1 = ((w->buf[0] & 7) * 256 + w->buf[1] * 16 + w->buf[2]) >> 2; in walkera0701_parse_frame() [all …]
|
| /kernel/linux/linux-6.6/drivers/input/joystick/ |
| D | walkera0701.c | 62 static inline void walkera0701_parse_frame(struct walkera_dev *w) in walkera0701_parse_frame() argument 70 crc1 += w->buf[i] & 7; in walkera0701_parse_frame() 71 crc2 += (w->buf[i] & 8) >> 3; in walkera0701_parse_frame() 73 if ((w->buf[10] & 7) != (crc1 & 7)) in walkera0701_parse_frame() 75 if (((w->buf[10] & 8) >> 3) != (((crc1 >> 3) + crc2) & 1)) in walkera0701_parse_frame() 78 crc1 += w->buf[i] & 7; in walkera0701_parse_frame() 79 crc2 += (w->buf[i] & 8) >> 3; in walkera0701_parse_frame() 81 if ((w->buf[23] & 7) != (crc1 & 7)) in walkera0701_parse_frame() 83 if (((w->buf[23] & 8) >> 3) != (((crc1 >> 3) + crc2) & 1)) in walkera0701_parse_frame() 85 val1 = ((w->buf[0] & 7) * 256 + w->buf[1] * 16 + w->buf[2]) >> 2; in walkera0701_parse_frame() [all …]
|
| /kernel/linux/linux-5.10/drivers/usb/gadget/udc/ |
| D | s3c2410_udc_regs.h | 73 #define S3C2410_UDC_FUNCADDR_UPDATE (1 << 7) 75 #define S3C2410_UDC_PWR_ISOUP (1 << 7) /* R/W */ 76 #define S3C2410_UDC_PWR_RESET (1 << 3) /* R */ 77 #define S3C2410_UDC_PWR_RESUME (1 << 2) /* R/W */ 78 #define S3C2410_UDC_PWR_SUSPEND (1 << 1) /* R */ 79 #define S3C2410_UDC_PWR_ENSUSPEND (1 << 0) /* R/W */ 83 #define S3C2410_UDC_INT_EP4 (1 << 4) /* R/W (clear only) */ 84 #define S3C2410_UDC_INT_EP3 (1 << 3) /* R/W (clear only) */ 85 #define S3C2410_UDC_INT_EP2 (1 << 2) /* R/W (clear only) */ 86 #define S3C2410_UDC_INT_EP1 (1 << 1) /* R/W (clear only) */ [all …]
|
| /kernel/linux/linux-5.10/arch/m68k/math-emu/ |
| D | fp_util.S | 9 * 1. Redistributions of source code must retain the above copyright 64 jmi 1f 66 jmi 1f 69 1: printf ,"oops:%p,%p,%p\n",3,%a2@(TASK_MM-8),%a2@(TASK_MM-4),%a2@(TASK_MM) 102 jpl 1f | positive? 103 moveq #1,%d1 105 1: swap %d1 106 move.w #0x3fff+31,%d1 134 lsr.w #8,%d1 136 cmp.w #0xff,%d1 | NaN / Inf? [all …]
|
| /kernel/linux/linux-6.6/arch/m68k/math-emu/ |
| D | fp_util.S | 9 * 1. Redistributions of source code must retain the above copyright 64 jmi 1f 66 jmi 1f 69 1: printf ,"oops:%p,%p,%p\n",3,%a2@(TASK_MM-8),%a2@(TASK_MM-4),%a2@(TASK_MM) 102 jpl 1f | positive? 103 moveq #1,%d1 105 1: swap %d1 106 move.w #0x3fff+31,%d1 134 lsr.w #8,%d1 136 cmp.w #0xff,%d1 | NaN / Inf? [all …]
|
| /kernel/linux/linux-6.6/tools/lib/ |
| D | hweight.c | 12 unsigned int __sw_hweight32(unsigned int w) in __sw_hweight32() argument 15 w -= (w >> 1) & 0x55555555; in __sw_hweight32() 16 w = (w & 0x33333333) + ((w >> 2) & 0x33333333); in __sw_hweight32() 17 w = (w + (w >> 4)) & 0x0f0f0f0f; in __sw_hweight32() 18 return (w * 0x01010101) >> 24; in __sw_hweight32() 20 unsigned int res = w - ((w >> 1) & 0x55555555); in __sw_hweight32() 28 unsigned int __sw_hweight16(unsigned int w) in __sw_hweight16() argument 30 unsigned int res = w - ((w >> 1) & 0x5555); in __sw_hweight16() 36 unsigned int __sw_hweight8(unsigned int w) in __sw_hweight8() argument 38 unsigned int res = w - ((w >> 1) & 0x55); in __sw_hweight8() [all …]
|
| /kernel/linux/linux-5.10/tools/lib/ |
| D | hweight.c | 12 unsigned int __sw_hweight32(unsigned int w) in __sw_hweight32() argument 15 w -= (w >> 1) & 0x55555555; in __sw_hweight32() 16 w = (w & 0x33333333) + ((w >> 2) & 0x33333333); in __sw_hweight32() 17 w = (w + (w >> 4)) & 0x0f0f0f0f; in __sw_hweight32() 18 return (w * 0x01010101) >> 24; in __sw_hweight32() 20 unsigned int res = w - ((w >> 1) & 0x55555555); in __sw_hweight32() 28 unsigned int __sw_hweight16(unsigned int w) in __sw_hweight16() argument 30 unsigned int res = w - ((w >> 1) & 0x5555); in __sw_hweight16() 36 unsigned int __sw_hweight8(unsigned int w) in __sw_hweight8() argument 38 unsigned int res = w - ((w >> 1) & 0x55); in __sw_hweight8() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/intersil/hostap/ |
| D | hostap_common.h | 27 #define HFA384X_RID_CNFWDSADDRESS1 0xFC11 /* AP f/w only */ 28 #define HFA384X_RID_CNFWDSADDRESS2 0xFC12 /* AP f/w only */ 29 #define HFA384X_RID_CNFWDSADDRESS3 0xFC13 /* AP f/w only */ 30 #define HFA384X_RID_CNFWDSADDRESS4 0xFC14 /* AP f/w only */ 31 #define HFA384X_RID_CNFWDSADDRESS5 0xFC15 /* AP f/w only */ 32 #define HFA384X_RID_CNFWDSADDRESS6 0xFC16 /* AP f/w only */ 33 #define HFA384X_RID_CNFMULTICASTPMBUFFERING 0xFC17 /* AP f/w only */ 44 #define HFA384X_RID_CNFMAXASSOCSTA 0xFC2B /* AP f/w only */ 47 #define HFA384X_RID_CNFHOSTAUTHENTICATION 0xFC2E /* AP f/w only */ 52 #define HFA384X_RID_CNFAPPCFINFO 0xFC34 /* AP f/w only */ [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/intersil/hostap/ |
| D | hostap_common.h | 27 #define HFA384X_RID_CNFWDSADDRESS1 0xFC11 /* AP f/w only */ 28 #define HFA384X_RID_CNFWDSADDRESS2 0xFC12 /* AP f/w only */ 29 #define HFA384X_RID_CNFWDSADDRESS3 0xFC13 /* AP f/w only */ 30 #define HFA384X_RID_CNFWDSADDRESS4 0xFC14 /* AP f/w only */ 31 #define HFA384X_RID_CNFWDSADDRESS5 0xFC15 /* AP f/w only */ 32 #define HFA384X_RID_CNFWDSADDRESS6 0xFC16 /* AP f/w only */ 33 #define HFA384X_RID_CNFMULTICASTPMBUFFERING 0xFC17 /* AP f/w only */ 44 #define HFA384X_RID_CNFMAXASSOCSTA 0xFC2B /* AP f/w only */ 47 #define HFA384X_RID_CNFHOSTAUTHENTICATION 0xFC2E /* AP f/w only */ 52 #define HFA384X_RID_CNFAPPCFINFO 0xFC34 /* AP f/w only */ [all …]
|
| /kernel/linux/linux-6.6/lib/ |
| D | hweight.c | 13 unsigned int __sw_hweight32(unsigned int w) in __sw_hweight32() argument 16 w -= (w >> 1) & 0x55555555; in __sw_hweight32() 17 w = (w & 0x33333333) + ((w >> 2) & 0x33333333); in __sw_hweight32() 18 w = (w + (w >> 4)) & 0x0f0f0f0f; in __sw_hweight32() 19 return (w * 0x01010101) >> 24; in __sw_hweight32() 21 unsigned int res = w - ((w >> 1) & 0x55555555); in __sw_hweight32() 30 unsigned int __sw_hweight16(unsigned int w) in __sw_hweight16() argument 32 unsigned int res = w - ((w >> 1) & 0x5555); in __sw_hweight16() 39 unsigned int __sw_hweight8(unsigned int w) in __sw_hweight8() argument 41 unsigned int res = w - ((w >> 1) & 0x55); in __sw_hweight8() [all …]
|
| /kernel/linux/linux-5.10/lib/ |
| D | hweight.c | 13 unsigned int __sw_hweight32(unsigned int w) in __sw_hweight32() argument 16 w -= (w >> 1) & 0x55555555; in __sw_hweight32() 17 w = (w & 0x33333333) + ((w >> 2) & 0x33333333); in __sw_hweight32() 18 w = (w + (w >> 4)) & 0x0f0f0f0f; in __sw_hweight32() 19 return (w * 0x01010101) >> 24; in __sw_hweight32() 21 unsigned int res = w - ((w >> 1) & 0x55555555); in __sw_hweight32() 30 unsigned int __sw_hweight16(unsigned int w) in __sw_hweight16() argument 32 unsigned int res = w - ((w >> 1) & 0x5555); in __sw_hweight16() 39 unsigned int __sw_hweight8(unsigned int w) in __sw_hweight8() argument 41 unsigned int res = w - ((w >> 1) & 0x55); in __sw_hweight8() [all …]
|
| /kernel/linux/linux-5.10/arch/x86/crypto/ |
| D | sha1_ssse3_asm.S | 3 * This is a SIMD SHA-1 implementation. It requires the Intel(R) Supplemental 17 … http://software.intel.com/en-us/articles/improving-the-performance-of-the-secure-hash-algorithm-1/ 61 /* we keep window of 64 w[i]+K pre-calculated values in a circular buffer */ 66 * This macro implements the SHA-1 function's body for single 64-byte block 108 * This macro implements 80 rounds of SHA-1 for one 64-byte block 122 .set i, (i+1) 126 1: 187 jne 1b 249 * RR does two rounds of SHA-1 back to back with W[] pre-calc 250 * t1 = F(b, c, d); e += w(i) [all …]
|
| D | sha512-ssse3-asm.S | 77 RSPSAVE_SIZE = 1*8 88 # WK_2(t) points to 1 of 2 qwords at frame.WK depdending on t being odd/even 102 # W[t]+K[t] (stack frame) 129 add WK_2(idx), T1 # W[t] + K[t] from message scheduler 133 add h_64, T1 # T1 = CH(e,f,g) + W[t] + K[t] + h 135 add tmp0, T1 # T1 = CH(e,f,g) + W[t] + K[t] + S1(e) 155 # Compute rounds t-2 and t-1 156 # Compute message schedule QWORDS t and t+1 158 # Two rounds are computed based on the values for K[t-2]+W[t-2] and 159 # K[t-1]+W[t-1] which were previously stored at WK_2 by the message [all …]
|
| /kernel/linux/linux-6.6/arch/x86/crypto/ |
| D | sha1_ssse3_asm.S | 3 * This is a SIMD SHA-1 implementation. It requires the Intel(R) Supplemental 17 … http://software.intel.com/en-us/articles/improving-the-performance-of-the-secure-hash-algorithm-1/ 62 /* we keep window of 64 w[i]+K pre-calculated values in a circular buffer */ 67 * This macro implements the SHA-1 function's body for single 64-byte block 109 * This macro implements 80 rounds of SHA-1 for one 64-byte block 123 .set i, (i+1) 127 1: 188 jne 1b 250 * RR does two rounds of SHA-1 back to back with W[] pre-calc 251 * t1 = F(b, c, d); e += w(i) [all …]
|
| /kernel/linux/linux-5.10/drivers/scsi/ |
| D | nsp32.h | 33 MODEL_KME = 1, 65 # define TRUE 1 70 #define ASSERT 1 81 #define IRQ_CONTROL 0x00 /* BASE+00, W, W */ 82 #define IRQ_STATUS 0x00 /* BASE+00, W, R */ 84 # define IRQSTATUS_LATCHED_IO BIT(1) 112 #define TRANSFER_CONTROL 0x02 /* BASE+02, W, W */ 113 #define TRANSFER_STATUS 0x02 /* BASE+02, W, R */ 115 # define CB_IO_MODE BIT(1) 130 #define INDEX_REG 0x04 /* BASE+04, Byte(R/W), Word(R) */ [all …]
|
| /kernel/linux/linux-6.6/drivers/scsi/ |
| D | nsp32.h | 33 MODEL_KME = 1, 65 # define TRUE 1 70 #define ASSERT 1 81 #define IRQ_CONTROL 0x00 /* BASE+00, W, W */ 82 #define IRQ_STATUS 0x00 /* BASE+00, W, R */ 84 # define IRQSTATUS_LATCHED_IO BIT(1) 112 #define TRANSFER_CONTROL 0x02 /* BASE+02, W, W */ 113 #define TRANSFER_STATUS 0x02 /* BASE+02, W, R */ 115 # define CB_IO_MODE BIT(1) 130 #define INDEX_REG 0x04 /* BASE+04, Byte(R/W), Word(R) */ [all …]
|
| /kernel/linux/linux-5.10/tools/bpf/bpftool/bash-completion/ |
| D | bpftool | 12 local w idx found 13 for w in $*; do 15 for (( idx=3; idx < ${#words[@]}-1; idx++ )); do 16 if [[ $w == ${words[idx]} ]]; then 17 found=1 22 COMPREPLY+=( $( compgen -W "$w" -- "$cur" ) ) 27 # command line, return 0. Otherwise, return 1. 30 local w idx 31 for w in $*; do 32 for (( idx=3; idx < ${#words[@]}-1; idx++ )); do [all …]
|
| /kernel/linux/linux-5.10/arch/arm/mach-omap1/ |
| D | lcd_dma.c | 39 return 1; in omap_lcd_dma_running() 44 return 1; in omap_lcd_dma_running() 134 u16 w; in set_b1_regs() local 142 es = 1; in set_b1_regs() 156 xscale = lcd_dma.xscale ? lcd_dma.xscale : 1; in set_b1_regs() 157 yscale = lcd_dma.yscale ? lcd_dma.yscale : 1; in set_b1_regs() 162 #define PIXSTEP(sx, sy, dx, dy) (PIXADDR(dx, dy) - PIXADDR(sx, sy) - es + 1) in set_b1_regs() 168 bottom = PIXADDR(lcd_dma.xres - 1, lcd_dma.yres - 1); in set_b1_regs() 174 ei = PIXSTEP(0, 0, 1, 0); in set_b1_regs() 175 fi = PIXSTEP(lcd_dma.xres - 1, 0, 0, 1); in set_b1_regs() [all …]
|
| /kernel/linux/linux-6.6/drivers/video/fbdev/omap/ |
| D | lcd_dma.c | 42 return 1; in omap_lcd_dma_running() 47 return 1; in omap_lcd_dma_running() 137 u16 w; in set_b1_regs() local 145 es = 1; in set_b1_regs() 159 xscale = lcd_dma.xscale ? lcd_dma.xscale : 1; in set_b1_regs() 160 yscale = lcd_dma.yscale ? lcd_dma.yscale : 1; in set_b1_regs() 165 #define PIXSTEP(sx, sy, dx, dy) (PIXADDR(dx, dy) - PIXADDR(sx, sy) - es + 1) in set_b1_regs() 171 bottom = PIXADDR(lcd_dma.xres - 1, lcd_dma.yres - 1); in set_b1_regs() 177 ei = PIXSTEP(0, 0, 1, 0); in set_b1_regs() 178 fi = PIXSTEP(lcd_dma.xres - 1, 0, 0, 1); in set_b1_regs() [all …]
|