/linux-4.19.296/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 …]
|
D | di.h | 51 byte (*ram_in)(ADAPTER *a, void *adr); 52 word (*ram_inw)(ADAPTER *a, void *adr); 53 void (*ram_in_buffer)(ADAPTER *a, void *adr, void *P, word length); 54 void (*ram_look_ahead)(ADAPTER *a, PBUFFER *RBuffer, ENTITY *e); 55 void (*ram_out)(ADAPTER *a, void *adr, byte data); 56 void (*ram_outw)(ADAPTER *a, void *adr, word data); 57 void (*ram_out_buffer)(ADAPTER *a, void *adr, void *P, word length); 58 void (*ram_inc)(ADAPTER *a, void *adr); 65 dword (*ram_offset)(ADAPTER *a); 66 void (*ram_out_dw)(ADAPTER *a, [all …]
|
D | divasproc.c | 148 diva_os_xdi_adapter_t *a = PDE_DATA(file_inode(file)); in grp_opt_proc_write() local 149 PISDN_ADAPTER IoAdapter = IoAdapters[a->controller - 1]; in grp_opt_proc_write() 175 diva_os_xdi_adapter_t *a = PDE_DATA(file_inode(file)); in d_l1_down_proc_write() local 176 PISDN_ADAPTER IoAdapter = IoAdapters[a->controller - 1]; in d_l1_down_proc_write() 201 diva_os_xdi_adapter_t *a = m->private; in d_l1_down_proc_show() local 202 PISDN_ADAPTER IoAdapter = IoAdapters[a->controller - 1]; in d_l1_down_proc_show() 227 diva_os_xdi_adapter_t *a = m->private; in grp_opt_proc_show() local 228 PISDN_ADAPTER IoAdapter = IoAdapters[a->controller - 1]; in grp_opt_proc_show() 254 diva_os_xdi_adapter_t *a = PDE_DATA(file_inode(file)); in info_proc_write() local 255 PISDN_ADAPTER IoAdapter = IoAdapters[a->controller - 1]; in info_proc_write() [all …]
|
/linux-4.19.296/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 …]
|
D | overflow.h | 44 #define is_non_negative(a) ((a) > 0 || (a) == 0) argument 45 #define is_negative(a) (!(is_non_negative(a))) argument 56 #define check_add_overflow(a, b, d) ({ \ argument 57 typeof(a) __a = (a); \ 65 #define check_sub_overflow(a, b, d) ({ \ argument 66 typeof(a) __a = (a); \ 74 #define check_mul_overflow(a, b, d) ({ \ argument 75 typeof(a) __a = (a); \ 87 #define __unsigned_add_overflow(a, b, d) ({ \ argument 88 typeof(a) __a = (a); \ [all …]
|
D | jiffies.h | 105 #define time_after(a,b) \ argument 106 (typecheck(unsigned long, a) && \ 108 ((long)((b) - (a)) < 0)) 109 #define time_before(a,b) time_after(b,a) argument 111 #define time_after_eq(a,b) \ argument 112 (typecheck(unsigned long, a) && \ 114 ((long)((a) - (b)) >= 0)) 115 #define time_before_eq(a,b) time_after_eq(b,a) argument 120 #define time_in_range(a,b,c) \ argument 121 (time_after_eq(a,b) && \ [all …]
|
D | tnum.h | 25 struct tnum tnum_lshift(struct tnum a, u8 shift); 27 struct tnum tnum_rshift(struct tnum a, u8 shift); 29 struct tnum tnum_arshift(struct tnum a, u8 min_shift, u8 insn_bitness); 31 struct tnum tnum_add(struct tnum a, struct tnum b); 33 struct tnum tnum_sub(struct tnum a, struct tnum b); 35 struct tnum tnum_and(struct tnum a, struct tnum b); 37 struct tnum tnum_or(struct tnum a, struct tnum b); 39 struct tnum tnum_xor(struct tnum a, struct tnum b); 41 struct tnum tnum_mul(struct tnum a, struct tnum b); 44 struct tnum tnum_intersect(struct tnum a, struct tnum b); [all …]
|
/linux-4.19.296/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-4.19.296/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-4.19.296/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 …]
|
D | des_generic.c | 617 #define DES_PC2(a, b, c, d) (T4(d) | T3(c) | T2(b) | T1(a)) argument 634 unsigned long a, b, c, d, w; in des_ekey() local 640 a = k[7]; a &= 0x0e; a <<= 4; a |= k[3] & 0x1e; a = pc1[a]; in des_ekey() 642 pe[15 * 2 + 0] = DES_PC2(a, b, c, d); d = rs[d]; in des_ekey() 643 pe[14 * 2 + 0] = DES_PC2(d, a, b, c); c = rs[c]; b = rs[b]; in des_ekey() 644 pe[13 * 2 + 0] = DES_PC2(b, c, d, a); a = rs[a]; d = rs[d]; in des_ekey() 645 pe[12 * 2 + 0] = DES_PC2(d, a, b, c); c = rs[c]; b = rs[b]; in des_ekey() 646 pe[11 * 2 + 0] = DES_PC2(b, c, d, a); a = rs[a]; d = rs[d]; in des_ekey() 647 pe[10 * 2 + 0] = DES_PC2(d, a, b, c); c = rs[c]; b = rs[b]; in des_ekey() 648 pe[ 9 * 2 + 0] = DES_PC2(b, c, d, a); a = rs[a]; d = rs[d]; in des_ekey() [all …]
|
D | md4.c | 63 #define ROUND1(a,b,c,d,k,s) (a = lshift(a + F(b,c,d) + k, s)) argument 64 #define ROUND2(a,b,c,d,k,s) (a = lshift(a + G(b,c,d) + k + (u32)0x5A827999,s)) argument 65 #define ROUND3(a,b,c,d,k,s) (a = lshift(a + H(b,c,d) + k + (u32)0x6ED9EBA1,s)) argument 69 u32 a, b, c, d; in md4_transform() local 71 a = hash[0]; in md4_transform() 76 ROUND1(a, b, c, d, in[0], 3); in md4_transform() 77 ROUND1(d, a, b, c, in[1], 7); in md4_transform() 78 ROUND1(c, d, a, b, in[2], 11); in md4_transform() 79 ROUND1(b, c, d, a, in[3], 19); in md4_transform() 80 ROUND1(a, b, c, d, in[4], 3); in md4_transform() [all …]
|
D | md5.c | 45 u32 a, b, c, d; in md5_transform() local 47 a = hash[0]; in md5_transform() 52 MD5STEP(F1, a, b, c, d, in[0] + 0xd76aa478, 7); in md5_transform() 53 MD5STEP(F1, d, a, b, c, in[1] + 0xe8c7b756, 12); in md5_transform() 54 MD5STEP(F1, c, d, a, b, in[2] + 0x242070db, 17); in md5_transform() 55 MD5STEP(F1, b, c, d, a, in[3] + 0xc1bdceee, 22); in md5_transform() 56 MD5STEP(F1, a, b, c, d, in[4] + 0xf57c0faf, 7); in md5_transform() 57 MD5STEP(F1, d, a, b, c, in[5] + 0x4787c62a, 12); in md5_transform() 58 MD5STEP(F1, c, d, a, b, in[6] + 0xa8304613, 17); in md5_transform() 59 MD5STEP(F1, b, c, d, a, in[7] + 0xfd469501, 22); in md5_transform() [all …]
|
/linux-4.19.296/include/asm-generic/ |
D | local64.h | 25 local_t a; member 30 #define local64_read(l) local_read(&(l)->a) 31 #define local64_set(l,i) local_set((&(l)->a),(i)) 32 #define local64_inc(l) local_inc(&(l)->a) 33 #define local64_dec(l) local_dec(&(l)->a) 34 #define local64_add(i,l) local_add((i),(&(l)->a)) 35 #define local64_sub(i,l) local_sub((i),(&(l)->a)) 37 #define local64_sub_and_test(i, l) local_sub_and_test((i), (&(l)->a)) 38 #define local64_dec_and_test(l) local_dec_and_test(&(l)->a) 39 #define local64_inc_and_test(l) local_inc_and_test(&(l)->a) [all …]
|
/linux-4.19.296/include/net/tc_act/ |
D | tc_pedit.h | 22 #define to_pedit(a) ((struct tcf_pedit *)a) argument 24 static inline bool is_tcf_pedit(const struct tc_action *a) in is_tcf_pedit() argument 27 if (a->ops && a->ops->type == TCA_ACT_PEDIT) in is_tcf_pedit() 33 static inline int tcf_pedit_nkeys(const struct tc_action *a) in tcf_pedit_nkeys() argument 35 return to_pedit(a)->tcfp_nkeys; in tcf_pedit_nkeys() 38 static inline u32 tcf_pedit_htype(const struct tc_action *a, int index) in tcf_pedit_htype() argument 40 if (to_pedit(a)->tcfp_keys_ex) in tcf_pedit_htype() 41 return to_pedit(a)->tcfp_keys_ex[index].htype; in tcf_pedit_htype() 46 static inline u32 tcf_pedit_cmd(const struct tc_action *a, int index) in tcf_pedit_cmd() argument 48 if (to_pedit(a)->tcfp_keys_ex) in tcf_pedit_cmd() [all …]
|
D | tc_gact.h | 17 #define to_gact(a) ((struct tcf_gact *)a) argument 19 static inline bool __is_tcf_gact_act(const struct tc_action *a, int act, in __is_tcf_gact_act() argument 25 if (a->ops && a->ops->type != TCA_ACT_GACT) in __is_tcf_gact_act() 28 gact = to_gact(a); in __is_tcf_gact_act() 37 static inline bool is_tcf_gact_ok(const struct tc_action *a) in is_tcf_gact_ok() argument 39 return __is_tcf_gact_act(a, TC_ACT_OK, false); in is_tcf_gact_ok() 42 static inline bool is_tcf_gact_shot(const struct tc_action *a) in is_tcf_gact_shot() argument 44 return __is_tcf_gact_act(a, TC_ACT_SHOT, false); in is_tcf_gact_shot() 47 static inline bool is_tcf_gact_trap(const struct tc_action *a) in is_tcf_gact_trap() argument 49 return __is_tcf_gact_act(a, TC_ACT_TRAP, false); in is_tcf_gact_trap() [all …]
|
/linux-4.19.296/include/media/i2c/ |
D | lm3646.h | 29 #define LM3646_TOTAL_FLASH_BRT_uA_TO_REG(a) \ argument 30 ((a) < LM3646_TOTAL_FLASH_BRT_MIN ? 0 : \ 31 ((((a) - LM3646_TOTAL_FLASH_BRT_MIN) / LM3646_TOTAL_FLASH_BRT_STEP))) 39 #define LM3646_TOTAL_TORCH_BRT_uA_TO_REG(a) \ argument 40 ((a) < LM3646_TOTAL_TORCH_BRT_MIN ? 0 : \ 41 ((((a) - LM3646_TOTAL_TORCH_BRT_MIN) / LM3646_TOTAL_TORCH_BRT_STEP))) 49 #define LM3646_LED1_FLASH_BRT_uA_TO_REG(a) \ argument 50 ((a) <= LM3646_LED1_FLASH_BRT_MIN ? 0 : \ 51 ((((a) - LM3646_LED1_FLASH_BRT_MIN) / LM3646_LED1_FLASH_BRT_STEP))+1) 59 #define LM3646_LED1_TORCH_BRT_uA_TO_REG(a) \ argument [all …]
|
D | lm3560.h | 35 #define LM3560_FLASH_BRT_uA_TO_REG(a) \ argument 36 ((a) < LM3560_FLASH_BRT_MIN ? 0 : \ 37 (((a) - LM3560_FLASH_BRT_MIN) / LM3560_FLASH_BRT_STEP)) 38 #define LM3560_FLASH_BRT_REG_TO_uA(a) \ argument 39 ((a) * LM3560_FLASH_BRT_STEP + LM3560_FLASH_BRT_MIN) 47 #define LM3560_FLASH_TOUT_ms_TO_REG(a) \ argument 48 ((a) < LM3560_FLASH_TOUT_MIN ? 0 : \ 49 (((a) - LM3560_FLASH_TOUT_MIN) / LM3560_FLASH_TOUT_STEP)) 50 #define LM3560_FLASH_TOUT_REG_TO_ms(a) \ argument 51 ((a) * LM3560_FLASH_TOUT_STEP + LM3560_FLASH_TOUT_MIN) [all …]
|
/linux-4.19.296/include/trace/ |
D | bpf_probe.h | 43 #define __CAST1(a,...) __CAST_TO_U64(a) argument 44 #define __CAST2(a,...) __CAST_TO_U64(a), __CAST1(__VA_ARGS__) argument 45 #define __CAST3(a,...) __CAST_TO_U64(a), __CAST2(__VA_ARGS__) argument 46 #define __CAST4(a,...) __CAST_TO_U64(a), __CAST3(__VA_ARGS__) argument 47 #define __CAST5(a,...) __CAST_TO_U64(a), __CAST4(__VA_ARGS__) argument 48 #define __CAST6(a,...) __CAST_TO_U64(a), __CAST5(__VA_ARGS__) argument 49 #define __CAST7(a,...) __CAST_TO_U64(a), __CAST6(__VA_ARGS__) argument 50 #define __CAST8(a,...) __CAST_TO_U64(a), __CAST7(__VA_ARGS__) argument 51 #define __CAST9(a,...) __CAST_TO_U64(a), __CAST8(__VA_ARGS__) argument 52 #define __CAST10(a,...) __CAST_TO_U64(a), __CAST9(__VA_ARGS__) argument [all …]
|