/linux-6.6.21/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 …]
|
/linux-6.6.21/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 …]
|
/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/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 …]
|
/linux-6.6.21/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-6.6.21/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 …]
|
/linux-6.6.21/drivers/staging/media/atomisp/pci/hive_isp_css_include/ |
D | math_support.h | 21 #define IS_ODD(a) ((a) & 0x1) argument 22 #define IS_EVEN(a) (!IS_ODD(a)) argument 32 #define IMPLIES(a, b) (!(a) || (b)) argument 36 #define MAX(a, b) (((a) > (b)) ? (a) : (b)) argument 37 #define MIN(a, b) (((a) < (b)) ? (a) : (b)) argument 39 #define ROUND_DIV(a, b) (((b) != 0) ? ((a) + ((b) >> 1)) / (b) : 0) argument 40 #define CEIL_DIV(a, b) (((b) != 0) ? ((a) + (b) - 1) / (b) : 0) argument 41 #define CEIL_MUL(a, b) (CEIL_DIV(a, b) * (b)) argument 42 #define CEIL_MUL2(a, b) (((a) + (b) - 1) & ~((b) - 1)) argument 43 #define CEIL_SHIFT(a, b) (((a) + (1 << (b)) - 1) >> (b)) argument [all …]
|
/linux-6.6.21/tools/testing/selftests/net/ |
D | fcnal-test.sh | 122 read a 123 [ "$a" = "q" ] && exit 1 130 read a 131 [ "$a" = "q" ] && exit 1 249 read a 271 read a 293 read a 574 local a 579 for a in ${NSB_IP} ${NSB_LO_IP} 582 run_cmd ping -c1 -w1 ${a} [all …]
|
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-debug.h | 43 #define __IWL_ERR_DEV(d, mode, f, a...) \ argument 46 __iwl_err((d), mode, f, ## a); \ 48 #define IWL_ERR_DEV(d, f, a...) \ argument 49 __IWL_ERR_DEV(d, IWL_ERR_MODE_REGULAR, f, ## a) 50 #define IWL_ERR(m, f, a...) \ argument 51 IWL_ERR_DEV((m)->dev, f, ## a) 52 #define IWL_ERR_LIMIT(m, f, a...) \ argument 53 __IWL_ERR_DEV((m)->dev, IWL_ERR_MODE_RATELIMIT, f, ## a) 54 #define IWL_WARN(m, f, a...) \ argument 57 __iwl_warn((m)->dev, f, ## a); \ [all …]
|
/linux-6.6.21/Documentation/mm/ |
D | arch_pgtable_helpers.rst | 9 These page table helpers need to conform to a common semantics across platforms. 21 | pte_bad | Tests a non-table mapped PTE | 23 | pte_present | Tests a valid mapped PTE | 25 | pte_young | Tests a young PTE | 27 | pte_dirty | Tests a dirty PTE | 29 | pte_write | Tests a writable PTE | 31 | pte_special | Tests a special PTE | 33 | pte_protnone | Tests a PROT_NONE PTE | 35 | pte_devmap | Tests a ZONE_DEVICE mapped PTE | 37 | pte_soft_dirty | Tests a soft dirty PTE | [all …]
|
/linux-6.6.21/drivers/gpu/drm/nouveau/include/nvhw/class/ |
D | cl907d.h | 72 #define NV907D_DAC_SET_CONTROL(a) (0x00000180 + (a)*0… argument 83 #define NV907D_SOR_SET_CONTROL(a) (0x00000200 + (a)*0… argument 106 #define NV907D_HEAD_SET_CONTROL_OUTPUT_RESOURCE(a) (0x00000404 + (a)*0… argument 128 #define NV907D_HEAD_SET_CONTROL(a) (0x00000408 + (a)*0… argument 132 #define NV907D_HEAD_SET_OVERSCAN_COLOR(a) (0x00000410 + (a)*0… argument 136 #define NV907D_HEAD_SET_RASTER_SIZE(a) (0x00000414 + (a)*0… argument 139 #define NV907D_HEAD_SET_RASTER_SYNC_END(a) (0x00000418 + (a)*0… argument 142 #define NV907D_HEAD_SET_RASTER_BLANK_END(a) (0x0000041C + (a)*0… argument 145 #define NV907D_HEAD_SET_RASTER_BLANK_START(a) (0x00000420 + (a)*0… argument 148 #define NV907D_HEAD_SET_RASTER_VERT_BLANK2(a) (0x00000424 + (a)*0… argument [all …]
|
D | cl507d.h | 88 #define NV507D_DAC_SET_CONTROL(a) (0x00000400 + (a)*0… argument 122 #define NV507D_DAC_SET_POLARITY(a) (0x00000404 + (a)*0… argument 131 #define NV507D_SOR_SET_CONTROL(a) (0x00000600 + (a)*0… argument 160 #define NV507D_PIOR_SET_CONTROL(a) (0x00000700 + (a)*0… argument 183 #define NV507D_HEAD_SET_PIXEL_CLOCK(a) (0x00000804 + (a)*0… argument 195 #define NV507D_HEAD_SET_CONTROL(a) (0x00000808 + (a)*0… argument 199 #define NV507D_HEAD_SET_OVERSCAN_COLOR(a) (0x00000810 + (a)*0… argument 203 #define NV507D_HEAD_SET_RASTER_SIZE(a) (0x00000814 + (a)*0… argument 206 #define NV507D_HEAD_SET_RASTER_SYNC_END(a) (0x00000818 + (a)*0… argument 209 #define NV507D_HEAD_SET_RASTER_BLANK_END(a) (0x0000081C + (a)*0… argument [all …]
|
/linux-6.6.21/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, u8 insn_bitness) in tnum_arshift() argument 55 return TNUM((u32)(((s32)a.value) >> min_shift), in tnum_arshift() 56 (u32)(((s32)a.mask) >> min_shift)); in tnum_arshift() 58 return TNUM((s64)a.value >> min_shift, in tnum_arshift() 59 (s64)a.mask >> min_shift); in tnum_arshift() 62 struct tnum tnum_add(struct tnum a, struct tnum b) in tnum_add() argument [all …]
|
/linux-6.6.21/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-6.6.21/lib/crypto/mpi/ |
D | mpiutil.c | 89 MPI a; in mpi_alloc() local 91 a = kmalloc(sizeof *a, GFP_KERNEL); in mpi_alloc() 92 if (!a) in mpi_alloc() 93 return a; in mpi_alloc() 96 a->d = mpi_alloc_limb_space(nlimbs); in mpi_alloc() 97 if (!a->d) { in mpi_alloc() 98 kfree(a); in mpi_alloc() 102 a->d = NULL; in mpi_alloc() 105 a->alloced = nlimbs; in mpi_alloc() 106 a->nlimbs = 0; in mpi_alloc() [all …]
|
D | mpi-bit.c | 30 void mpi_normalize(MPI a) in mpi_normalize() argument 32 for (; a->nlimbs && !a->d[a->nlimbs - 1]; a->nlimbs--) in mpi_normalize() 40 unsigned mpi_get_nbits(MPI a) in mpi_get_nbits() argument 44 mpi_normalize(a); in mpi_get_nbits() 46 if (a->nlimbs) { in mpi_get_nbits() 47 mpi_limb_t alimb = a->d[a->nlimbs - 1]; in mpi_get_nbits() 52 n = BITS_PER_MPI_LIMB - n + (a->nlimbs - 1) * BITS_PER_MPI_LIMB; in mpi_get_nbits() 62 int mpi_test_bit(MPI a, unsigned int n) in mpi_test_bit() argument 70 if (limbno >= a->nlimbs) in mpi_test_bit() 72 limb = a->d[limbno]; in mpi_test_bit() [all …]
|
/linux-6.6.21/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-6.6.21/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-6.6.21/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 …]
|