| /kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/ |
| D | rvu_reg.h | 29 #define RVU_AF_AFPFX_MBOXX(a, b) (0x2000 | (a) << 4 | (b) << 3) argument 53 #define RVU_PRIV_PFX_CFG(a) (0x8000100 | (a) << 16) argument 54 #define RVU_PRIV_PFX_MSIX_CFG(a) (0x8000110 | (a) << 16) argument 55 #define RVU_PRIV_PFX_ID_CFG(a) (0x8000120 | (a) << 16) argument 56 #define RVU_PRIV_PFX_INT_CFG(a) (0x8000200 | (a) << 16) argument 63 #define RVU_PRIV_BLOCK_TYPEX_REV(a) (0x8000400 | (a) << 3) argument 64 #define RVU_PRIV_HWVFX_INT_CFG(a) (0x8001280 | (a) << 16) argument 75 #define RVU_PF_VFX_PFVF_MBOXX(a, b) (0x0 | (a) << 12 | (b) << 3) argument 77 #define RVU_PF_BLOCK_ADDRX_DISC(a) (0x200 | (a) << 3) argument 78 #define RVU_PF_VFME_STATUSX(a) (0x800 | (a) << 3) argument [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/af/ |
| D | rvu_reg.h | 26 #define RVU_AF_AFPFX_MBOXX(a, b) (0x2000 | (a) << 4 | (b) << 3) argument 44 #define RVU_AF_PFX_BAR4_ADDR(a) (0x5000 | (a) << 4) argument 45 #define RVU_AF_PFX_BAR4_CFG (0x5200 | (a) << 4) 46 #define RVU_AF_PFX_VF_BAR4_ADDR (0x5400 | (a) << 4) 47 #define RVU_AF_PFX_VF_BAR4_CFG (0x5600 | (a) << 4) 48 #define RVU_AF_PFX_LMTLINE_ADDR (0x5800 | (a) << 4) 60 #define RVU_PRIV_PFX_CFG(a) (0x8000100 | (a) << 16) argument 61 #define RVU_PRIV_PFX_MSIX_CFG(a) (0x8000110 | (a) << 16) argument 62 #define RVU_PRIV_PFX_ID_CFG(a) (0x8000120 | (a) << 16) argument 63 #define RVU_PRIV_PFX_INT_CFG(a) (0x8000200 | (a) << 16) argument [all …]
|
| D | mcs_reg.h | 14 #define MCSX_MCS_TOP_SLAVE_PORT_RESET(a) ({ \ argument 20 offset += (a) * 0x8ull; \ 24 #define MCSX_MCS_TOP_SLAVE_CHANNEL_CFG(a) ({ \ argument 30 offset += (a) * 0x8ull; \ 41 #define MCSX_MIL_RX_LMACX_CFG(a) ({ \ argument 47 offset += (a) * 0x800ull; \ 58 #define MCSX_LINK_LMACX_CFG(a) ({ \ argument 64 offset += (a) * 0x800ull; \ 84 #define MCSX_PAB_RX_SLAVE_PORT_CFGX(a) ({ \ argument 90 offset += (a) * 0x40ull; \ [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/nic/ |
| D | otx2_reg.h | 16 #define RVU_PF_VFX_PFVF_MBOXX(a, b) (0x0 | (a) << 12 | (b) << 3) argument 18 #define RVU_PF_BLOCK_ADDRX_DISC(a) (0x200 | (a) << 3) argument 19 #define RVU_PF_VFME_STATUSX(a) (0x800 | (a) << 3) argument 20 #define RVU_PF_VFTRPENDX(a) (0x820 | (a) << 3) argument 21 #define RVU_PF_VFTRPEND_W1SX(a) (0x840 | (a) << 3) argument 22 #define RVU_PF_VFPF_MBOX_INTX(a) (0x880 | (a) << 3) argument 23 #define RVU_PF_VFPF_MBOX_INT_W1SX(a) (0x8A0 | (a) << 3) argument 24 #define RVU_PF_VFPF_MBOX_INT_ENA_W1SX(a) (0x8C0 | (a) << 3) argument 25 #define RVU_PF_VFPF_MBOX_INT_ENA_W1CX(a) (0x8E0 | (a) << 3) argument 26 #define RVU_PF_VFFLR_INTX(a) (0x900 | (a) << 3) argument [all …]
|
| /kernel/linux/linux-6.6/drivers/scsi/esas2r/ |
| D | esas2r_init.c | 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22 * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is 38 * You should have received a copy of the GNU General Public License 46 static bool esas2r_initmem_alloc(struct esas2r_adapter *a, in esas2r_initmem_alloc() argument 53 mem_desc->esas2r_data = dma_alloc_coherent(&a->pcid->dev, in esas2r_initmem_alloc() 75 static void esas2r_initmem_free(struct esas2r_adapter *a, in esas2r_initmem_free() argument 92 dma_free_coherent(&a->pcid->dev, in esas2r_initmem_free() 103 static bool alloc_vda_req(struct esas2r_adapter *a, in alloc_vda_req() argument 117 if (!esas2r_initmem_alloc(a, memdesc, 256)) { in alloc_vda_req() 123 a->num_vrqs++; in alloc_vda_req() [all …]
|
| D | esas2r_int.c | 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23 * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is 39 * You should have received a copy of the GNU General Public License 48 static void esas2r_doorbell_interrupt(struct esas2r_adapter *a, u32 doorbell); 49 static void esas2r_get_outbound_responses(struct esas2r_adapter *a); 50 static void esas2r_process_bus_reset(struct esas2r_adapter *a); 56 void esas2r_polled_interrupt(struct esas2r_adapter *a) in esas2r_polled_interrupt() argument 61 esas2r_disable_chip_interrupts(a); in esas2r_polled_interrupt() 63 intstat = esas2r_read_register_dword(a, MU_INT_STATUS_OUT); in esas2r_polled_interrupt() 68 esas2r_write_register_dword(a, MU_OUT_LIST_INT_STAT, in esas2r_polled_interrupt() [all …]
|
| /kernel/linux/linux-5.10/drivers/scsi/esas2r/ |
| D | esas2r_init.c | 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22 * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is 38 * You should have received a copy of the GNU General Public License 46 static bool esas2r_initmem_alloc(struct esas2r_adapter *a, in esas2r_initmem_alloc() argument 53 mem_desc->esas2r_data = dma_alloc_coherent(&a->pcid->dev, in esas2r_initmem_alloc() 75 static void esas2r_initmem_free(struct esas2r_adapter *a, in esas2r_initmem_free() argument 92 dma_free_coherent(&a->pcid->dev, in esas2r_initmem_free() 103 static bool alloc_vda_req(struct esas2r_adapter *a, in alloc_vda_req() argument 117 if (!esas2r_initmem_alloc(a, memdesc, 256)) { in alloc_vda_req() 123 a->num_vrqs++; in alloc_vda_req() [all …]
|
| D | esas2r_int.c | 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23 * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is 39 * You should have received a copy of the GNU General Public License 48 static void esas2r_doorbell_interrupt(struct esas2r_adapter *a, u32 doorbell); 49 static void esas2r_get_outbound_responses(struct esas2r_adapter *a); 50 static void esas2r_process_bus_reset(struct esas2r_adapter *a); 56 void esas2r_polled_interrupt(struct esas2r_adapter *a) in esas2r_polled_interrupt() argument 61 esas2r_disable_chip_interrupts(a); in esas2r_polled_interrupt() 63 intstat = esas2r_read_register_dword(a, MU_INT_STATUS_OUT); in esas2r_polled_interrupt() 68 esas2r_write_register_dword(a, MU_OUT_LIST_INT_STAT, in esas2r_polled_interrupt() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/nic/ |
| D | otx2_reg.h | 19 #define RVU_PF_VFX_PFVF_MBOXX(a, b) (0x0 | (a) << 12 | (b) << 3) argument 21 #define RVU_PF_BLOCK_ADDRX_DISC(a) (0x200 | (a) << 3) argument 22 #define RVU_PF_VFME_STATUSX(a) (0x800 | (a) << 3) argument 23 #define RVU_PF_VFTRPENDX(a) (0x820 | (a) << 3) argument 24 #define RVU_PF_VFTRPEND_W1SX(a) (0x840 | (a) << 3) argument 25 #define RVU_PF_VFPF_MBOX_INTX(a) (0x880 | (a) << 3) argument 26 #define RVU_PF_VFPF_MBOX_INT_W1SX(a) (0x8A0 | (a) << 3) argument 27 #define RVU_PF_VFPF_MBOX_INT_ENA_W1SX(a) (0x8C0 | (a) << 3) argument 28 #define RVU_PF_VFPF_MBOX_INT_ENA_W1CX(a) (0x8E0 | (a) << 3) argument 29 #define RVU_PF_VFFLR_INTX(a) (0x900 | (a) << 3) argument [all …]
|
| /kernel/linux/linux-5.10/drivers/crypto/cavium/cpt/ |
| D | cpt_common.h | 39 #define CPTX_PF_CONSTANTS(a) (0x0ll + ((u64)(a) << 36)) argument 40 #define CPTX_PF_RESET(a) (0x100ll + ((u64)(a) << 36)) argument 41 #define CPTX_PF_DIAG(a) (0x120ll + ((u64)(a) << 36)) argument 42 #define CPTX_PF_BIST_STATUS(a) (0x160ll + ((u64)(a) << 36)) argument 43 #define CPTX_PF_ECC0_CTL(a) (0x200ll + ((u64)(a) << 36)) argument 44 #define CPTX_PF_ECC0_FLIP(a) (0x210ll + ((u64)(a) << 36)) argument 45 #define CPTX_PF_ECC0_INT(a) (0x220ll + ((u64)(a) << 36)) argument 46 #define CPTX_PF_ECC0_INT_W1S(a) (0x230ll + ((u64)(a) << 36)) argument 47 #define CPTX_PF_ECC0_ENA_W1S(a) (0x240ll + ((u64)(a) << 36)) argument 48 #define CPTX_PF_ECC0_ENA_W1C(a) (0x250ll + ((u64)(a) << 36)) argument [all …]
|
| /kernel/linux/linux-6.6/drivers/crypto/cavium/cpt/ |
| D | cpt_common.h | 39 #define CPTX_PF_CONSTANTS(a) (0x0ll + ((u64)(a) << 36)) argument 40 #define CPTX_PF_RESET(a) (0x100ll + ((u64)(a) << 36)) argument 41 #define CPTX_PF_DIAG(a) (0x120ll + ((u64)(a) << 36)) argument 42 #define CPTX_PF_BIST_STATUS(a) (0x160ll + ((u64)(a) << 36)) argument 43 #define CPTX_PF_ECC0_CTL(a) (0x200ll + ((u64)(a) << 36)) argument 44 #define CPTX_PF_ECC0_FLIP(a) (0x210ll + ((u64)(a) << 36)) argument 45 #define CPTX_PF_ECC0_INT(a) (0x220ll + ((u64)(a) << 36)) argument 46 #define CPTX_PF_ECC0_INT_W1S(a) (0x230ll + ((u64)(a) << 36)) argument 47 #define CPTX_PF_ECC0_ENA_W1S(a) (0x240ll + ((u64)(a) << 36)) argument 48 #define CPTX_PF_ECC0_ENA_W1C(a) (0x250ll + ((u64)(a) << 36)) argument [all …]
|
| /kernel/linux/linux-6.6/arch/powerpc/include/asm/ |
| D | ppc-opcode.h | 322 #define ___PPC_RA(a) (((a) & 0x1f) << 16) argument 330 #define __PPC_RA(a) ___PPC_RA(__REG_##a) argument 331 #define __PPC_RA0(a) ___PPC_RA(__REGA0_##a) argument 335 #define __PPC_XA(a) ((((a) & 0x1f) << 16) | (((a) & 0x20) >> 3)) argument 375 #define PPC_RAW_COPY(a, b) (PPC_INST_COPY | ___PPC_RA(a) | ___PPC_RB(b)) argument 377 #define PPC_RAW_DCBAL(a, b) (0x7c2005ec | __PPC_RA(a) | __PPC_RB(b)) argument 378 #define PPC_RAW_DCBZL(a, b) (0x7c2007ec | __PPC_RA(a) | __PPC_RB(b)) argument 379 #define PPC_RAW_LQARX(t, a, b, eh) (0x7c000228 | ___PPC_RT(t) | ___PPC_RA(a) | ___PPC_RB(b) | __PPC… argument 380 #define PPC_RAW_LDARX(t, a, b, eh) (0x7c0000a8 | ___PPC_RT(t) | ___PPC_RA(a) | ___PPC_RB(b) | __PPC… argument 381 #define PPC_RAW_LWARX(t, a, b, eh) (0x7c000028 | ___PPC_RT(t) | ___PPC_RA(a) | ___PPC_RB(b) | __PPC… argument [all …]
|
| /kernel/linux/linux-6.6/Documentation/i2c/ |
| D | smbus-protocol.rst | 5 The following is a summary of the SMBus protocol. It applies to 11 which is a subset from the I2C protocol. Fortunately, many devices use 14 If you write a driver for some I2C device, please try to use the SMBus 21 Below is a list of SMBus protocol operations, and the functions executing 23 don't match these function names. For some of the operations which pass a 25 a different protocol operation entirely. 27 Each transaction type corresponds to a functionality flag. Before calling a 28 transaction function, a device driver should always check (just once) for 43 A, NA (1 bit) Acknowledge (ACK) and Not Acknowledge (NACK) bit 45 get a 10 bit I2C address. [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
| D | ppc-opcode.h | 282 #define ___PPC_RA(a) (((a) & 0x1f) << 16) argument 290 #define __PPC_RA(a) ___PPC_RA(__REG_##a) argument 291 #define __PPC_RA0(a) ___PPC_RA(__REGA0_##a) argument 295 #define __PPC_XA(a) ((((a) & 0x1f) << 16) | (((a) & 0x20) >> 3)) argument 324 * Only use the larx hint bit on 64bit CPUs. e500v1/v2 based CPUs will treat a 335 #define PPC_RAW_COPY(a, b) (PPC_INST_COPY | ___PPC_RA(a) | ___PPC_RB(b)) argument 337 #define PPC_RAW_DCBAL(a, b) (0x7c2005ec | __PPC_RA(a) | __PPC_RB(b)) argument 338 #define PPC_RAW_DCBZL(a, b) (0x7c2007ec | __PPC_RA(a) | __PPC_RB(b)) argument 339 #define PPC_RAW_LQARX(t, a, b, eh) (0x7c000228 | ___PPC_RT(t) | ___PPC_RA(a) | ___PPC_RB(b) | __PPC… argument 340 #define PPC_RAW_LDARX(t, a, b, eh) (0x7c0000a8 | ___PPC_RT(t) | ___PPC_RA(a) | ___PPC_RB(b) | __PPC… argument [all …]
|
| /kernel/linux/linux-5.10/Documentation/i2c/ |
| D | smbus-protocol.rst | 5 The following is a summary of the SMBus protocol. It applies to 11 which is a subset from the I2C protocol. Fortunately, many devices use 14 If you write a driver for some I2C device, please try to use the SMBus 21 Below is a list of SMBus protocol operations, and the functions executing 23 don't match these function names. For some of the operations which pass a 25 a different protocol operation entirely. 27 Each transaction type corresponds to a functionality flag. Before calling a 28 transaction function, a device driver should always check (just once) for 41 A, NA (1 bit) Acknowledge (ACK) and Not Acknowledge (NACK) bit 43 get a 10 bit I2C address. [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | tnum.h | 3 * A tnum tracks knowledge about the bits of a value. Each bit can be either 20 /* Represent a known constant as a tnum. */ 22 /* A completely unknown value */ 24 /* A value that's unknown except that @min <= value <= @max */ 28 /* Shift a tnum left (by a fixed shift) */ 29 struct tnum tnum_lshift(struct tnum a, u8 shift); 30 /* Shift (rsh) a tnum right (by a fixed shift) */ 31 struct tnum tnum_rshift(struct tnum a, u8 shift); 32 /* Shift (arsh) a tnum right (by a fixed min_shift) */ 33 struct tnum tnum_arshift(struct tnum a, u8 min_shift, u8 insn_bitness); [all …]
|
| D | skb_array.h | 13 * Implemented as a type-safe wrapper around ptr_ring. 30 * this in a loop must use a compiler barrier, for example cpu_relax(). 32 static inline bool __skb_array_full(struct skb_array *a) in __skb_array_full() argument 34 return __ptr_ring_full(&a->ring); in __skb_array_full() 37 static inline bool skb_array_full(struct skb_array *a) in skb_array_full() argument 39 return ptr_ring_full(&a->ring); in skb_array_full() 42 static inline int skb_array_produce(struct skb_array *a, struct sk_buff *skb) in skb_array_produce() argument 44 return ptr_ring_produce(&a->ring, skb); in skb_array_produce() 47 static inline int skb_array_produce_irq(struct skb_array *a, struct sk_buff *skb) in skb_array_produce_irq() argument 49 return ptr_ring_produce_irq(&a->ring, skb); in skb_array_produce_irq() [all …]
|
| /kernel/linux/linux-5.10/sound/pci/au88x0/ |
| D | au88x0_a3d.c | 21 a3dsrc_SetTimeConsts(a3dsrc_t * a, short HrtfTrack, short ItdTrack, in a3dsrc_SetTimeConsts() argument 24 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetTimeConsts() 26 a3d_addrA(a->slice, a->source, A3D_A_HrtfTrackTC), HrtfTrack); in a3dsrc_SetTimeConsts() 28 a3d_addrA(a->slice, a->source, A3D_A_ITDTrackTC), ItdTrack); in a3dsrc_SetTimeConsts() 30 a3d_addrA(a->slice, a->source, A3D_A_GainTrackTC), GTrack); in a3dsrc_SetTimeConsts() 32 a3d_addrA(a->slice, a->source, A3D_A_CoeffTrackTC), CTrack); in a3dsrc_SetTimeConsts() 37 a3dsrc_GetTimeConsts(a3dsrc_t * a, short *HrtfTrack, short *ItdTrack, 47 a3dsrc_SetAtmosTarget(a3dsrc_t * a, short aa, short b, short c, short d, in a3dsrc_SetAtmosTarget() argument 50 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetAtmosTarget() 52 a3d_addrB(a->slice, a->source, A3D_B_A21Target), in a3dsrc_SetAtmosTarget() [all …]
|
| /kernel/linux/linux-6.6/sound/pci/au88x0/ |
| D | au88x0_a3d.c | 21 a3dsrc_SetTimeConsts(a3dsrc_t * a, short HrtfTrack, short ItdTrack, in a3dsrc_SetTimeConsts() argument 24 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetTimeConsts() 26 a3d_addrA(a->slice, a->source, A3D_A_HrtfTrackTC), HrtfTrack); in a3dsrc_SetTimeConsts() 28 a3d_addrA(a->slice, a->source, A3D_A_ITDTrackTC), ItdTrack); in a3dsrc_SetTimeConsts() 30 a3d_addrA(a->slice, a->source, A3D_A_GainTrackTC), GTrack); in a3dsrc_SetTimeConsts() 32 a3d_addrA(a->slice, a->source, A3D_A_CoeffTrackTC), CTrack); in a3dsrc_SetTimeConsts() 37 a3dsrc_GetTimeConsts(a3dsrc_t * a, short *HrtfTrack, short *ItdTrack, 47 a3dsrc_SetAtmosTarget(a3dsrc_t * a, short aa, short b, short c, short d, in a3dsrc_SetAtmosTarget() argument 50 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetAtmosTarget() 52 a3d_addrB(a->slice, a->source, A3D_B_A21Target), in a3dsrc_SetAtmosTarget() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/i2c/ |
| D | renesas,i2c.txt | 5 "renesas,i2c-r8a7742" if the device is a part of a R8A7742 SoC. 6 "renesas,i2c-r8a7743" if the device is a part of a R8A7743 SoC. 7 "renesas,i2c-r8a7744" if the device is a part of a R8A7744 SoC. 8 "renesas,i2c-r8a7745" if the device is a part of a R8A7745 SoC. 9 "renesas,i2c-r8a77470" if the device is a part of a R8A77470 SoC. 10 "renesas,i2c-r8a774a1" if the device is a part of a R8A774A1 SoC. 11 "renesas,i2c-r8a774b1" if the device is a part of a R8A774B1 SoC. 12 "renesas,i2c-r8a774c0" if the device is a part of a R8A774C0 SoC. 13 "renesas,i2c-r8a774e1" if the device is a part of a R8A774E1 SoC. 14 "renesas,i2c-r8a7778" if the device is a part of a R8A7778 SoC. [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | tnum.h | 3 * A tnum tracks knowledge about the bits of a value. Each bit can be either 20 /* Represent a known constant as a tnum. */ 22 /* A completely unknown value */ 24 /* An unknown value that is a superset of @min <= value <= @max. 33 /* Shift a tnum left (by a fixed shift) */ 34 struct tnum tnum_lshift(struct tnum a, u8 shift); 35 /* Shift (rsh) a tnum right (by a fixed shift) */ 36 struct tnum tnum_rshift(struct tnum a, u8 shift); 37 /* Shift (arsh) a tnum right (by a fixed min_shift) */ 38 struct tnum tnum_arshift(struct tnum a, u8 min_shift, u8 insn_bitness); [all …]
|
| D | skb_array.h | 13 * Implemented as a type-safe wrapper around ptr_ring. 30 * this in a loop must use a compiler barrier, for example cpu_relax(). 32 static inline bool __skb_array_full(struct skb_array *a) in __skb_array_full() argument 34 return __ptr_ring_full(&a->ring); in __skb_array_full() 37 static inline bool skb_array_full(struct skb_array *a) in skb_array_full() argument 39 return ptr_ring_full(&a->ring); in skb_array_full() 42 static inline int skb_array_produce(struct skb_array *a, struct sk_buff *skb) in skb_array_produce() argument 44 return ptr_ring_produce(&a->ring, skb); in skb_array_produce() 47 static inline int skb_array_produce_irq(struct skb_array *a, struct sk_buff *skb) in skb_array_produce_irq() argument 49 return ptr_ring_produce_irq(&a->ring, skb); in skb_array_produce_irq() [all …]
|
| /kernel/linux/linux-6.6/net/ceph/crush/ |
| D | hash.c | 11 * a, b = random bits, c = input and output 13 #define crush_hashmix(a, b, c) do { \ argument 14 a = a-b; a = a-c; a = a^(c>>13); \ 15 b = b-c; b = b-a; b = b^(a<<8); \ 16 c = c-a; c = c-b; c = c^(b>>13); \ 17 a = a-b; a = a-c; a = a^(c>>12); \ 18 b = b-c; b = b-a; b = b^(a<<16); \ 19 c = c-a; c = c-b; c = c^(b>>5); \ 20 a = a-b; a = a-c; a = a^(c>>3); \ 21 b = b-c; b = b-a; b = b^(a<<10); \ [all …]
|
| /kernel/linux/linux-5.10/net/ceph/crush/ |
| D | hash.c | 11 * a, b = random bits, c = input and output 13 #define crush_hashmix(a, b, c) do { \ argument 14 a = a-b; a = a-c; a = a^(c>>13); \ 15 b = b-c; b = b-a; b = b^(a<<8); \ 16 c = c-a; c = c-b; c = c^(b>>13); \ 17 a = a-b; a = a-c; a = a^(c>>12); \ 18 b = b-c; b = b-a; b = b^(a<<16); \ 19 c = c-a; c = c-b; c = c^(b>>5); \ 20 a = a-b; a = a-c; a = a^(c>>3); \ 21 b = b-c; b = b-a; b = b^(a<<10); \ [all …]
|
| /kernel/linux/linux-6.6/kernel/bpf/ |
| D | tnum.c | 4 * A tnum tracks knowledge about the bits of a value. Each bit can be either 13 /* A completely unknown value */ 37 struct tnum tnum_lshift(struct tnum a, u8 shift) in tnum_lshift() argument 39 return TNUM(a.value << shift, a.mask << shift); in tnum_lshift() 42 struct tnum tnum_rshift(struct tnum a, u8 shift) in tnum_rshift() argument 44 return TNUM(a.value >> shift, a.mask >> shift); in tnum_rshift() 47 struct tnum tnum_arshift(struct tnum a, u8 min_shift, u8 insn_bitness) in tnum_arshift() argument 49 /* if a.value is negative, arithmetic shifting by minimum shift in tnum_arshift() 51 * If a.value is nonnegative, arithmetic shifting by minimum shift in tnum_arshift() 55 return TNUM((u32)(((s32)a.value) >> min_shift), in tnum_arshift() [all …]
|