/Linux-v5.4/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 …]
|
/Linux-v5.4/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 …]
|
/Linux-v5.4/drivers/scsi/esas2r/ |
D | esas2r_init.c | 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() 124 list_add(&memdesc->next_desc, &a->vrq_mds_head); in alloc_vda_req() 128 rq->vrq->scsi.handle = a->num_vrqs; in alloc_vda_req() 133 static void esas2r_unmap_regions(struct esas2r_adapter *a) in esas2r_unmap_regions() argument [all …]
|
D | esas2r_int.c | 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() 70 esas2r_flush_register_dword(a, MU_OUT_LIST_INT_STAT); in esas2r_polled_interrupt() 72 esas2r_get_outbound_responses(a); in esas2r_polled_interrupt() 76 doorbell = esas2r_read_register_dword(a, MU_DOORBELL_OUT); in esas2r_polled_interrupt() [all …]
|
D | esas2r_disc.c | 48 static void esas2r_disc_abort(struct esas2r_adapter *a, 50 static bool esas2r_disc_continue(struct esas2r_adapter *a, 52 static void esas2r_disc_fix_curr_requests(struct esas2r_adapter *a); 54 static bool esas2r_disc_start_request(struct esas2r_adapter *a, 58 static bool esas2r_disc_block_dev_scan(struct esas2r_adapter *a, 60 static void esas2r_disc_block_dev_scan_cb(struct esas2r_adapter *a, 62 static bool esas2r_disc_dev_add(struct esas2r_adapter *a, 64 static bool esas2r_disc_dev_remove(struct esas2r_adapter *a, 66 static bool esas2r_disc_part_info(struct esas2r_adapter *a, 68 static void esas2r_disc_part_info_cb(struct esas2r_adapter *a, [all …]
|
D | esas2r_ioctl.c | 68 struct esas2r_adapter *a; member 82 static void complete_fm_api_req(struct esas2r_adapter *a, in complete_fm_api_req() argument 85 a->fm_api_command_done = 1; in complete_fm_api_req() 86 wake_up_interruptible(&a->fm_api_waiter); in complete_fm_api_req() 92 struct esas2r_adapter *a = (struct esas2r_adapter *)sgc->adapter; in get_physaddr_fm_api() local 93 int offset = sgc->cur_offset - a->save_offset; in get_physaddr_fm_api() 95 (*addr) = a->firmware.phys + offset; in get_physaddr_fm_api() 96 return a->firmware.orig_len - offset; in get_physaddr_fm_api() 101 struct esas2r_adapter *a = (struct esas2r_adapter *)sgc->adapter; in get_physaddr_fm_api_header() local 102 int offset = sgc->cur_offset - a->save_offset; in get_physaddr_fm_api_header() [all …]
|
/Linux-v5.4/tools/testing/selftests/net/ |
D | fcnal-test.sh | 92 read a 93 [ "$a" = "q" ] && exit 1 100 read a 101 [ "$a" = "q" ] && exit 1 214 read a 236 read a 455 local a 460 for a in ${NSB_IP} ${NSB_LO_IP} 463 run_cmd ping -c1 -w1 ${a} 464 log_test_addr ${a} $? 0 "ping out" [all …]
|
/Linux-v5.4/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 …]
|
/Linux-v5.4/drivers/acpi/acpica/ |
D | acmacros.h | 169 #define ACPI_DIV_2(a) _ACPI_DIV(a, 1) argument 170 #define ACPI_MUL_2(a) _ACPI_MUL(a, 1) argument 171 #define ACPI_MOD_2(a) _ACPI_MOD(a, 2) argument 173 #define ACPI_DIV_4(a) _ACPI_DIV(a, 2) argument 174 #define ACPI_MUL_4(a) _ACPI_MUL(a, 2) argument 175 #define ACPI_MOD_4(a) _ACPI_MOD(a, 4) argument 177 #define ACPI_DIV_8(a) _ACPI_DIV(a, 3) argument 178 #define ACPI_MUL_8(a) _ACPI_MUL(a, 3) argument 179 #define ACPI_MOD_8(a) _ACPI_MOD(a, 8) argument 181 #define ACPI_DIV_16(a) _ACPI_DIV(a, 4) argument [all …]
|
/Linux-v5.4/include/linux/ |
D | skb_array.h | 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() 52 static inline int skb_array_produce_bh(struct skb_array *a, struct sk_buff *skb) in skb_array_produce_bh() argument 54 return ptr_ring_produce_bh(&a->ring, skb); in skb_array_produce_bh() [all …]
|
D | jhash.h | 35 #define __jhash_mix(a, b, c) \ argument 37 a -= c; a ^= rol32(c, 4); c += b; \ 38 b -= a; b ^= rol32(a, 6); a += c; \ 39 c -= b; c ^= rol32(b, 8); b += a; \ 40 a -= c; a ^= rol32(c, 16); c += b; \ 41 b -= a; b ^= rol32(a, 19); a += c; \ 42 c -= b; c ^= rol32(b, 4); b += a; \ 46 #define __jhash_final(a, b, c) \ argument 49 a ^= c; a -= rol32(c, 11); \ 50 b ^= a; b -= rol32(a, 25); \ [all …]
|
/Linux-v5.4/lib/mpi/ |
D | mpiutil.c | 32 MPI a; in mpi_alloc() local 34 a = kmalloc(sizeof *a, GFP_KERNEL); in mpi_alloc() 35 if (!a) in mpi_alloc() 36 return a; in mpi_alloc() 39 a->d = mpi_alloc_limb_space(nlimbs); in mpi_alloc() 40 if (!a->d) { in mpi_alloc() 41 kfree(a); in mpi_alloc() 45 a->d = NULL; in mpi_alloc() 48 a->alloced = nlimbs; in mpi_alloc() 49 a->nlimbs = 0; in mpi_alloc() [all …]
|
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-debug.h | 41 #define IWL_ERR_DEV(d, f, a...) \ argument 44 __iwl_err((d), false, false, f, ## a); \ 46 #define IWL_ERR(m, f, a...) \ argument 47 IWL_ERR_DEV((m)->dev, f, ## a) 48 #define IWL_WARN(m, f, a...) \ argument 51 __iwl_warn((m)->dev, f, ## a); \ 53 #define IWL_INFO(m, f, a...) \ argument 56 __iwl_info((m)->dev, f, ## a); \ 58 #define IWL_CRIT(m, f, a...) \ argument 61 __iwl_crit((m)->dev, f, ## a); \ [all …]
|
/Linux-v5.4/tools/testing/selftests/bpf/progs/ |
D | core_reloc_types.h | 8 int a; member 15 int a; member 25 int a; member 34 struct core_reloc_nesting_substruct a; member 35 } a; member 46 int a; member 47 } a; member 48 } a; member 63 int a; member 64 } a; member [all …]
|
/Linux-v5.4/net/ceph/crush/ |
D | hash.c | 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); \ 22 c = c-a; c = c-b; c = c^(b>>15); \ [all …]
|
/Linux-v5.4/drivers/staging/rtl8723bs/include/ |
D | osdep_service.h | 183 #define RTW_GET_BE16(a) ((u16) (((a)[0] << 8) | (a)[1])) argument 184 #define RTW_PUT_BE16(a, val) \ argument 186 (a)[0] = ((u16) (val)) >> 8; \ 187 (a)[1] = ((u16) (val)) & 0xff; \ 190 #define RTW_GET_LE16(a) ((u16) (((a)[1] << 8) | (a)[0])) argument 191 #define RTW_PUT_LE16(a, val) \ argument 193 (a)[1] = ((u16) (val)) >> 8; \ 194 (a)[0] = ((u16) (val)) & 0xff; \ 197 #define RTW_GET_BE24(a) ((((u32) (a)[0]) << 16) | (((u32) (a)[1]) << 8) | \ argument 198 ((u32) (a)[2])) [all …]
|
/Linux-v5.4/net/ceph/ |
D | ceph_hash.c | 10 #define mix(a, b, c) \ argument 12 a = a - b; a = a - c; a = a ^ (c >> 13); \ 13 b = b - c; b = b - a; b = b ^ (a << 8); \ 14 c = c - a; c = c - b; c = c ^ (b >> 13); \ 15 a = a - b; a = a - c; a = a ^ (c >> 12); \ 16 b = b - c; b = b - a; b = b ^ (a << 16); \ 17 c = c - a; c = c - b; c = c ^ (b >> 5); \ 18 a = a - b; a = a - c; a = a ^ (c >> 3); \ 19 b = b - c; b = b - a; b = b ^ (a << 10); \ 20 c = c - a; c = c - b; c = c ^ (b >> 15); \ [all …]
|
/Linux-v5.4/tools/include/linux/ |
D | jhash.h | 35 #define __jhash_mix(a, b, c) \ argument 37 a -= c; a ^= rol32(c, 4); c += b; \ 38 b -= a; b ^= rol32(a, 6); a += c; \ 39 c -= b; c ^= rol32(b, 8); b += a; \ 40 a -= c; a ^= rol32(c, 16); c += b; \ 41 b -= a; b ^= rol32(a, 19); a += c; \ 42 c -= b; c ^= rol32(b, 4); b += a; \ 46 #define __jhash_final(a, b, c) \ argument 49 a ^= c; a -= rol32(c, 11); \ 50 b ^= a; b -= rol32(a, 25); \ [all …]
|
/Linux-v5.4/arch/powerpc/net/ |
D | bpf_jit.h | 41 #define PPC_ADDI(d, a, i) EMIT(PPC_INST_ADDI | ___PPC_RT(d) | \ argument 42 ___PPC_RA(a) | IMM_L(i)) 43 #define PPC_MR(d, a) PPC_OR(d, a, a) argument 45 #define PPC_ADDIS(d, a, i) EMIT(PPC_INST_ADDIS | \ argument 46 ___PPC_RT(d) | ___PPC_RA(a) | IMM_L(i)) 78 #define PPC_BPF_LDARX(t, a, b, eh) EMIT(PPC_INST_LDARX | ___PPC_RT(t) | \ argument 79 ___PPC_RA(a) | ___PPC_RB(b) | \ 81 #define PPC_BPF_LWARX(t, a, b, eh) EMIT(PPC_INST_LWARX | ___PPC_RT(t) | \ argument 82 ___PPC_RA(a) | ___PPC_RB(b) | \ 84 #define PPC_BPF_STWCX(s, a, b) EMIT(PPC_INST_STWCX | ___PPC_RS(s) | \ argument [all …]
|
/Linux-v5.4/lib/crypto/ |
D | des.c | 609 #define DES_PC2(a, b, c, d) (T4(d) | T3(c) | T2(b) | T1(a)) argument 626 unsigned long a, b, c, d, w; in des_ekey() local 632 a = k[7]; a &= 0x0e; a <<= 4; a |= k[3] & 0x1e; a = pc1[a]; in des_ekey() 634 pe[15 * 2 + 0] = DES_PC2(a, b, c, d); d = rs[d]; in des_ekey() 635 pe[14 * 2 + 0] = DES_PC2(d, a, b, c); c = rs[c]; b = rs[b]; in des_ekey() 636 pe[13 * 2 + 0] = DES_PC2(b, c, d, a); a = rs[a]; d = rs[d]; in des_ekey() 637 pe[12 * 2 + 0] = DES_PC2(d, a, b, c); c = rs[c]; b = rs[b]; in des_ekey() 638 pe[11 * 2 + 0] = DES_PC2(b, c, d, a); a = rs[a]; d = rs[d]; in des_ekey() 639 pe[10 * 2 + 0] = DES_PC2(d, a, b, c); c = rs[c]; b = rs[b]; in des_ekey() 640 pe[ 9 * 2 + 0] = DES_PC2(b, c, d, a); a = rs[a]; d = rs[d]; in des_ekey() [all …]
|
/Linux-v5.4/lib/math/ |
D | gcd.c | 23 unsigned long gcd(unsigned long a, unsigned long b) in gcd() argument 25 unsigned long r = a | b; in gcd() 27 if (!a || !b) in gcd() 35 a >>= __ffs(a); in gcd() 36 if (a == 1) in gcd() 38 if (a == b) in gcd() 39 return a << __ffs(r); in gcd() 41 if (a < b) in gcd() 42 swap(a, b); in gcd() 43 a -= b; in gcd() [all …]
|
/Linux-v5.4/kernel/bpf/ |
D | tnum.c | 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) in tnum_arshift() argument 54 return TNUM((s64)a.value >> min_shift, (s64)a.mask >> min_shift); in tnum_arshift() 57 struct tnum tnum_add(struct tnum a, struct tnum b) in tnum_add() argument 61 sm = a.mask + b.mask; in tnum_add() 62 sv = a.value + b.value; in tnum_add() 65 mu = chi | a.mask | b.mask; in tnum_add() [all …]
|
/Linux-v5.4/arch/sh/include/asm/ |
D | addrspace.h | 26 #define PXSEG(a) (((unsigned long)(a)) & 0xe0000000) argument 32 #define P1SEGADDR(a) \ argument 33 ((__typeof__(a))(((unsigned long)(a) & 0x1fffffff) | P1SEG)) 34 #define P2SEGADDR(a) \ argument 35 ((__typeof__(a))(((unsigned long)(a) & 0x1fffffff) | P2SEG)) 36 #define P3SEGADDR(a) \ argument 37 ((__typeof__(a))(((unsigned long)(a) & 0x1fffffff) | P3SEG)) 38 #define P4SEGADDR(a) \ argument 39 ((__typeof__(a))(((unsigned long)(a) & 0x1fffffff) | P4SEG)) 44 #define P1SEGADDR(a) ({ (void)(a); BUG(); NULL; }) argument [all …]
|
/Linux-v5.4/arch/arm/nwfpe/ |
D | softfloat.c | 113 INLINE bits32 extractFloat32Frac( float32 a ) in extractFloat32Frac() argument 116 return a & 0x007FFFFF; in extractFloat32Frac() 125 INLINE int16 extractFloat32Exp( float32 a ) in extractFloat32Exp() argument 128 return ( a>>23 ) & 0xFF; in extractFloat32Exp() 138 INLINE flag extractFloat32Sign( float32 a ) 141 return a>>31; 294 INLINE bits64 extractFloat64Frac( float64 a ) in extractFloat64Frac() argument 297 return a & LIT64( 0x000FFFFFFFFFFFFF ); in extractFloat64Frac() 306 INLINE int16 extractFloat64Exp( float64 a ) in extractFloat64Exp() argument 309 return ( a>>52 ) & 0x7FF; in extractFloat64Exp() [all …]
|
/Linux-v5.4/crypto/ |
D | memneq.c | 68 __crypto_memneq_generic(const void *a, const void *b, size_t size) in __crypto_memneq_generic() argument 74 neq |= *(unsigned long *)a ^ *(unsigned long *)b; in __crypto_memneq_generic() 76 a += sizeof(unsigned long); in __crypto_memneq_generic() 82 neq |= *(unsigned char *)a ^ *(unsigned char *)b; in __crypto_memneq_generic() 84 a += 1; in __crypto_memneq_generic() 92 static inline unsigned long __crypto_memneq_16(const void *a, const void *b) in __crypto_memneq_16() argument 98 neq |= *(unsigned long *)(a) ^ *(unsigned long *)(b); in __crypto_memneq_16() 100 neq |= *(unsigned long *)(a+8) ^ *(unsigned long *)(b+8); in __crypto_memneq_16() 103 neq |= *(unsigned int *)(a) ^ *(unsigned int *)(b); in __crypto_memneq_16() 105 neq |= *(unsigned int *)(a+4) ^ *(unsigned int *)(b+4); in __crypto_memneq_16() [all …]
|