/Linux-v4.19/drivers/crypto/cavium/cpt/ |
D | cpt_common.h | 42 #define CPTX_PF_CONSTANTS(a) (0x0ll + ((u64)(a) << 36)) argument 43 #define CPTX_PF_RESET(a) (0x100ll + ((u64)(a) << 36)) argument 44 #define CPTX_PF_DIAG(a) (0x120ll + ((u64)(a) << 36)) argument 45 #define CPTX_PF_BIST_STATUS(a) (0x160ll + ((u64)(a) << 36)) argument 46 #define CPTX_PF_ECC0_CTL(a) (0x200ll + ((u64)(a) << 36)) argument 47 #define CPTX_PF_ECC0_FLIP(a) (0x210ll + ((u64)(a) << 36)) argument 48 #define CPTX_PF_ECC0_INT(a) (0x220ll + ((u64)(a) << 36)) argument 49 #define CPTX_PF_ECC0_INT_W1S(a) (0x230ll + ((u64)(a) << 36)) argument 50 #define CPTX_PF_ECC0_ENA_W1S(a) (0x240ll + ((u64)(a) << 36)) argument 51 #define CPTX_PF_ECC0_ENA_W1C(a) (0x250ll + ((u64)(a) << 36)) argument [all …]
|
/Linux-v4.19/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-v4.19/drivers/isdn/hardware/eicon/ |
D | os_bri.c | 27 extern int diva_card_read_xlog(diva_os_xdi_adapter_t *a); 37 static int diva_bri_cleanup_adapter(diva_os_xdi_adapter_t *a); 38 static dword diva_bri_get_serial_number(diva_os_xdi_adapter_t *a); 39 static int diva_bri_cmd_card_proc(struct _diva_os_xdi_adapter *a, 41 static int diva_bri_reregister_io(diva_os_xdi_adapter_t *a); 48 static int diva_bri_stop_adapter(diva_os_xdi_adapter_t *a); 50 static void diva_bri_set_addresses(diva_os_xdi_adapter_t *a) in diva_bri_set_addresses() argument 52 a->resources.pci.mem_type_id[MEM_TYPE_RAM] = 0; in diva_bri_set_addresses() 53 a->resources.pci.mem_type_id[MEM_TYPE_CFG] = 1; in diva_bri_set_addresses() 54 a->resources.pci.mem_type_id[MEM_TYPE_ADDRESS] = 2; in diva_bri_set_addresses() [all …]
|
D | os_4bri.c | 31 extern void diva_add_slave_adapter(diva_os_xdi_adapter_t *a); 36 extern int diva_card_read_xlog(diva_os_xdi_adapter_t *a); 61 static int diva_4bri_cleanup_adapter(diva_os_xdi_adapter_t *a); 62 static int _4bri_get_serial_number(diva_os_xdi_adapter_t *a); 63 static int diva_4bri_cmd_card_proc(struct _diva_os_xdi_adapter *a, 66 static int diva_4bri_cleanup_slave_adapters(diva_os_xdi_adapter_t *a); 67 static int diva_4bri_write_fpga_image(diva_os_xdi_adapter_t *a, 77 static int diva_4bri_stop_adapter(diva_os_xdi_adapter_t *a); 103 static void diva_4bri_set_addresses(diva_os_xdi_adapter_t *a) in diva_4bri_set_addresses() argument 105 dword offset = a->resources.pci.qoffset; in diva_4bri_set_addresses() [all …]
|
D | os_pri.c | 32 extern int diva_card_read_xlog(diva_os_xdi_adapter_t *a); 41 static int diva_pri_cleanup_adapter(diva_os_xdi_adapter_t *a); 42 static int diva_pri_cmd_card_proc(struct _diva_os_xdi_adapter *a, 44 static int pri_get_serial_number(diva_os_xdi_adapter_t *a); 45 static int diva_pri_stop_adapter(diva_os_xdi_adapter_t *a); 46 static dword diva_pri_detect_dsps(diva_os_xdi_adapter_t *a); 61 static void diva_pri_set_addresses(diva_os_xdi_adapter_t *a) in diva_pri_set_addresses() argument 63 a->resources.pci.mem_type_id[MEM_TYPE_ADDRESS] = 0; in diva_pri_set_addresses() 64 a->resources.pci.mem_type_id[MEM_TYPE_CONTROL] = 2; in diva_pri_set_addresses() 65 a->resources.pci.mem_type_id[MEM_TYPE_CONFIG] = 4; in diva_pri_set_addresses() [all …]
|
D | di.c | 43 void pr_out(ADAPTER *a); 44 byte pr_dpc(ADAPTER *a); 45 static byte pr_ready(ADAPTER *a); 78 void pr_out(ADAPTER *a) in pr_out() argument 93 e_no = look_req(a); in pr_out() 99 ReadyCount = pr_ready(a); in pr_out() 107 next_req(a); in pr_out() 108 this = entity_ptr(a, e_no); in pr_out() 113 xdi_xlog_sec++, (int)((ISDN_ADAPTER *)a->io)->ANum)) in pr_out() 114 e_no = look_req(a); in pr_out() [all …]
|
D | istream.c | 56 void diva_xdi_provide_istream_info(ADAPTER *a, in diva_xdi_provide_istream_info() argument 77 ADAPTER *a = (ADAPTER *)context; in diva_istream_write() local 82 a->ram_in_dw(a, in diva_istream_write() 84 ULongToPtr(a->tx_stream[Id] + a->tx_pos[Id]), in diva_istream_write() 86 (void *)(a->tx_stream[Id] + a->tx_pos[Id]), in diva_istream_write() 97 a->ram_out_buffer(a, in diva_istream_write() 99 ULongToPtr(a->tx_stream[Id] + a->tx_pos[Id] + 4), in diva_istream_write() 101 (void *)(a->tx_stream[Id] + a->tx_pos[Id] + 4), in diva_istream_write() 117 a->ram_out_dw(a, in diva_istream_write() 119 ULongToPtr(a->tx_stream[Id] + a->tx_pos[Id]), in diva_istream_write() [all …]
|
D | diva.c | 32 extern int create_adapter_proc(diva_os_xdi_adapter_t *a); 33 extern void remove_adapter_proc(diva_os_xdi_adapter_t *a); 156 diva_os_xdi_adapter_t *a = NULL; in diva_q_get_next() local 159 a = list_entry(what->next, diva_os_xdi_adapter_t, link); in diva_q_get_next() 161 return (a); in diva_q_get_next() 264 diva_os_xdi_adapter_t *a = NULL; in get_and_remove_from_queue() local 269 a = list_entry(adapter_queue.next, diva_os_xdi_adapter_t, link); in get_and_remove_from_queue() 274 return (a); in get_and_remove_from_queue() 283 diva_os_xdi_adapter_t *a[4]; in diva_driver_remove_card() local 287 pa = a[0] = (diva_os_xdi_adapter_t *) pdiva; in diva_driver_remove_card() [all …]
|
/Linux-v4.19/sound/pci/au88x0/ |
D | au88x0_a3d.c | 33 a3dsrc_SetTimeConsts(a3dsrc_t * a, short HrtfTrack, short ItdTrack, in a3dsrc_SetTimeConsts() argument 36 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetTimeConsts() 38 a3d_addrA(a->slice, a->source, A3D_A_HrtfTrackTC), HrtfTrack); in a3dsrc_SetTimeConsts() 40 a3d_addrA(a->slice, a->source, A3D_A_ITDTrackTC), ItdTrack); in a3dsrc_SetTimeConsts() 42 a3d_addrA(a->slice, a->source, A3D_A_GainTrackTC), GTrack); in a3dsrc_SetTimeConsts() 44 a3d_addrA(a->slice, a->source, A3D_A_CoeffTrackTC), CTrack); in a3dsrc_SetTimeConsts() 49 a3dsrc_GetTimeConsts(a3dsrc_t * a, short *HrtfTrack, short *ItdTrack, 59 a3dsrc_SetAtmosTarget(a3dsrc_t * a, short aa, short b, short c, short d, in a3dsrc_SetAtmosTarget() argument 62 vortex_t *vortex = (vortex_t *) (a->vortex); in a3dsrc_SetAtmosTarget() 64 a3d_addrB(a->slice, a->source, A3D_B_A21Target), in a3dsrc_SetAtmosTarget() [all …]
|
/Linux-v4.19/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-v4.19/include/linux/ |
D | skb_array.h | 36 static inline bool __skb_array_full(struct skb_array *a) in __skb_array_full() argument 38 return __ptr_ring_full(&a->ring); in __skb_array_full() 41 static inline bool skb_array_full(struct skb_array *a) in skb_array_full() argument 43 return ptr_ring_full(&a->ring); in skb_array_full() 46 static inline int skb_array_produce(struct skb_array *a, struct sk_buff *skb) in skb_array_produce() argument 48 return ptr_ring_produce(&a->ring, skb); in skb_array_produce() 51 static inline int skb_array_produce_irq(struct skb_array *a, struct sk_buff *skb) in skb_array_produce_irq() argument 53 return ptr_ring_produce_irq(&a->ring, skb); in skb_array_produce_irq() 56 static inline int skb_array_produce_bh(struct skb_array *a, struct sk_buff *skb) in skb_array_produce_bh() argument 58 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-v4.19/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-v4.19/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-debug.h | 55 #define IWL_ERR_DEV(d, f, a...) \ argument 58 __iwl_err((d), false, false, f, ## a); \ 60 #define IWL_ERR(m, f, a...) \ argument 61 IWL_ERR_DEV((m)->dev, f, ## a) 62 #define IWL_WARN(m, f, a...) \ argument 65 __iwl_warn((m)->dev, f, ## a); \ 67 #define IWL_INFO(m, f, a...) \ argument 70 __iwl_info((m)->dev, f, ## a); \ 72 #define IWL_CRIT(m, f, a...) \ argument 75 __iwl_crit((m)->dev, f, ## a); \ [all …]
|
/Linux-v4.19/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-v4.19/drivers/staging/rtl8723bs/include/ |
D | osdep_service.h | 185 #define RTW_GET_BE16(a) ((u16) (((a)[0] << 8) | (a)[1])) argument 186 #define RTW_PUT_BE16(a, val) \ argument 188 (a)[0] = ((u16) (val)) >> 8; \ 189 (a)[1] = ((u16) (val)) & 0xff; \ 192 #define RTW_GET_LE16(a) ((u16) (((a)[1] << 8) | (a)[0])) argument 193 #define RTW_PUT_LE16(a, val) \ argument 195 (a)[1] = ((u16) (val)) >> 8; \ 196 (a)[0] = ((u16) (val)) & 0xff; \ 199 #define RTW_GET_BE24(a) ((((u32) (a)[0]) << 16) | (((u32) (a)[1]) << 8) | \ argument 200 ((u32) (a)[2])) [all …]
|
/Linux-v4.19/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-v4.19/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-v4.19/lib/ |
D | gcd.c | 22 unsigned long gcd(unsigned long a, unsigned long b) in gcd() argument 24 unsigned long r = a | b; in gcd() 26 if (!a || !b) in gcd() 34 a >>= __ffs(a); in gcd() 35 if (a == 1) in gcd() 37 if (a == b) in gcd() 38 return a << __ffs(r); in gcd() 40 if (a < b) in gcd() 41 swap(a, b); in gcd() 42 a -= b; in gcd() [all …]
|
/Linux-v4.19/kernel/bpf/ |
D | tnum.c | 36 struct tnum tnum_lshift(struct tnum a, u8 shift) in tnum_lshift() argument 38 return TNUM(a.value << shift, a.mask << shift); in tnum_lshift() 41 struct tnum tnum_rshift(struct tnum a, u8 shift) in tnum_rshift() argument 43 return TNUM(a.value >> shift, a.mask >> shift); in tnum_rshift() 46 struct tnum tnum_arshift(struct tnum a, u8 min_shift) in tnum_arshift() argument 53 return TNUM((s64)a.value >> min_shift, (s64)a.mask >> min_shift); in tnum_arshift() 56 struct tnum tnum_add(struct tnum a, struct tnum b) in tnum_add() argument 60 sm = a.mask + b.mask; in tnum_add() 61 sv = a.value + b.value; in tnum_add() 64 mu = chi | a.mask | b.mask; in tnum_add() [all …]
|
/Linux-v4.19/arch/sh/include/asm/ |
D | addrspace.h | 29 #define PXSEG(a) (((unsigned long)(a)) & 0xe0000000) argument 35 #define P1SEGADDR(a) \ argument 36 ((__typeof__(a))(((unsigned long)(a) & 0x1fffffff) | P1SEG)) 37 #define P2SEGADDR(a) \ argument 38 ((__typeof__(a))(((unsigned long)(a) & 0x1fffffff) | P2SEG)) 39 #define P3SEGADDR(a) \ argument 40 ((__typeof__(a))(((unsigned long)(a) & 0x1fffffff) | P3SEG)) 41 #define P4SEGADDR(a) \ argument 42 ((__typeof__(a))(((unsigned long)(a) & 0x1fffffff) | P4SEG)) 47 #define P1SEGADDR(a) ({ (void)(a); BUG(); NULL; }) argument [all …]
|
/Linux-v4.19/arch/powerpc/net/ |
D | bpf_jit.h | 45 #define PPC_ADDI(d, a, i) EMIT(PPC_INST_ADDI | ___PPC_RT(d) | \ argument 46 ___PPC_RA(a) | IMM_L(i)) 47 #define PPC_MR(d, a) PPC_OR(d, a, a) argument 49 #define PPC_ADDIS(d, a, i) EMIT(PPC_INST_ADDIS | \ argument 50 ___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 …]
|