/Linux-v4.19/arch/powerpc/crypto/ |
D | sha1-powerpc-asm.S | 26 #define RT(t) ((((t)+5)%6)+7) argument 27 #define RA(t) ((((t)+4)%6)+7) argument 28 #define RB(t) ((((t)+3)%6)+7) argument 29 #define RC(t) ((((t)+2)%6)+7) argument 30 #define RD(t) ((((t)+1)%6)+7) argument 31 #define RE(t) ((((t)+0)%6)+7) argument 34 #define W(t) (((t)%16)+16) argument 36 #define LOADW(t) \ argument 37 LWZ(W(t),(t)*4,r4) 39 #define STEPD0_LOAD(t) \ argument [all …]
|
/Linux-v4.19/drivers/media/pci/saa7134/ |
D | saa7134-reg.h | 210 #define SAA7134_TASK_CONDITIONS(t) (0x000 +t) argument 211 #define SAA7134_FIELD_HANDLING(t) (0x001 +t) argument 212 #define SAA7134_DATA_PATH(t) (0x002 +t) argument 213 #define SAA7134_VBI_H_START1(t) (0x004 +t) argument 214 #define SAA7134_VBI_H_START2(t) (0x005 +t) argument 215 #define SAA7134_VBI_H_STOP1(t) (0x006 +t) argument 216 #define SAA7134_VBI_H_STOP2(t) (0x007 +t) argument 217 #define SAA7134_VBI_V_START1(t) (0x008 +t) argument 218 #define SAA7134_VBI_V_START2(t) (0x009 +t) argument 219 #define SAA7134_VBI_V_STOP1(t) (0x00a +t) argument [all …]
|
/Linux-v4.19/drivers/scsi/esas2r/ |
D | esas2r_targdb.c | 48 struct esas2r_target *t; in esas2r_targ_db_initialize() local 50 for (t = a->targetdb; t < a->targetdb_end; t++) { in esas2r_targ_db_initialize() 51 memset(t, 0, sizeof(struct esas2r_target)); in esas2r_targ_db_initialize() 53 t->target_state = TS_NOT_PRESENT; in esas2r_targ_db_initialize() 54 t->buffered_target_state = TS_NOT_PRESENT; in esas2r_targ_db_initialize() 55 t->new_target_state = TS_INVALID; in esas2r_targ_db_initialize() 61 struct esas2r_target *t; in esas2r_targ_db_remove_all() local 64 for (t = a->targetdb; t < a->targetdb_end; t++) { in esas2r_targ_db_remove_all() 65 if (t->target_state != TS_PRESENT) in esas2r_targ_db_remove_all() 69 esas2r_targ_db_remove(a, t); in esas2r_targ_db_remove_all() [all …]
|
/Linux-v4.19/drivers/media/v4l2-core/ |
D | tuner-core.c | 88 i2c_adapter_id(t->i2c->adapter), t->i2c->addr 192 struct tuner *t = fe->analog_demod_priv; in fe_set_params() local 212 struct tuner *t = fe->analog_demod_priv; in fe_set_config() local 253 struct tuner *t = to_tuner(i2c_get_clientdata(c)); in set_type() local 254 struct dvb_tuner_ops *fe_tuner_ops = &t->fe.ops.tuner_ops; in set_type() 255 struct analog_demod_ops *analog_ops = &t->fe.ops.analog_ops; in set_type() 264 t->type = type; in set_type() 265 t->config = new_config; in set_type() 268 t->fe.callback = tuner_callback; in set_type() 272 tuner_detach(&t->fe); in set_type() [all …]
|
/Linux-v4.19/drivers/staging/greybus/tools/ |
D | loopback_test.c | 106 struct loopback_test t; variable 109 static inline int device_enabled(struct loopback_test *t, int dev_idx); 112 static int get_##field##_aggregate(struct loopback_test *t) \ 116 for (i = 0; i < t->device_count; i++) { \ 117 if (!device_enabled(t, i)) \ 119 if (t->devices[i].results.field > max) \ 120 max = t->devices[i].results.field; \ 126 static int get_##field##_aggregate(struct loopback_test *t) \ 130 for (i = 0; i < t->device_count; i++) { \ 131 if (!device_enabled(t, i)) \ [all …]
|
/Linux-v4.19/arch/sparc/lib/ |
D | bitext.c | 28 int bit_map_string_get(struct bit_map *t, int len, int align) in bit_map_string_get() argument 35 if (t->num_colors) { in bit_map_string_get() 38 align = t->num_colors; in bit_map_string_get() 47 if (align < 0 || align >= t->size) in bit_map_string_get() 49 if (len <= 0 || len > t->size) in bit_map_string_get() 53 spin_lock(&t->lock); in bit_map_string_get() 54 if (len < t->last_size) in bit_map_string_get() 55 offset = t->first_free; in bit_map_string_get() 57 offset = t->last_off & ~align1; in bit_map_string_get() 60 off_new = find_next_zero_bit(t->map, t->size, offset); in bit_map_string_get() [all …]
|
/Linux-v4.19/crypto/ |
D | gf128mul.c | 262 struct gf128mul_64k *t; in gf128mul_init_64k_bbe() local 265 t = kzalloc(sizeof(*t), GFP_KERNEL); in gf128mul_init_64k_bbe() 266 if (!t) in gf128mul_init_64k_bbe() 270 t->t[i] = kzalloc(sizeof(*t->t[i]), GFP_KERNEL); in gf128mul_init_64k_bbe() 271 if (!t->t[i]) { in gf128mul_init_64k_bbe() 272 gf128mul_free_64k(t); in gf128mul_init_64k_bbe() 273 t = NULL; in gf128mul_init_64k_bbe() 278 t->t[0]->t[1] = *g; in gf128mul_init_64k_bbe() 280 gf128mul_x_bbe(&t->t[0]->t[j + j], &t->t[0]->t[j]); in gf128mul_init_64k_bbe() 285 be128_xor(&t->t[i]->t[j + k], in gf128mul_init_64k_bbe() [all …]
|
/Linux-v4.19/tools/perf/util/ |
D | trigger.h | 37 #define TRIGGER_WARN_ONCE(t, exp) \ argument 38 WARN_ONCE(t->state != exp, "trigger '%s' state transist error: %d in %s()\n", \ 39 t->name, t->state, __func__) 41 static inline bool trigger_is_available(struct trigger *t) in trigger_is_available() argument 43 return t->state >= 0; in trigger_is_available() 46 static inline bool trigger_is_error(struct trigger *t) in trigger_is_error() argument 48 return t->state <= TRIGGER_ERROR; in trigger_is_error() 51 static inline void trigger_on(struct trigger *t) in trigger_on() argument 53 TRIGGER_WARN_ONCE(t, TRIGGER_OFF); in trigger_on() 54 t->state = TRIGGER_ON; in trigger_on() [all …]
|
/Linux-v4.19/drivers/md/ |
D | dm-table.c | 98 static inline sector_t *get_node(struct dm_table *t, in get_node() argument 101 return t->index[l] + (n * KEYS_PER_NODE); in get_node() 108 static sector_t high(struct dm_table *t, unsigned int l, unsigned int n) in high() argument 110 for (; l < t->depth - 1; l++) in high() 113 if (n >= t->counts[l]) in high() 116 return get_node(t, l, n)[KEYS_PER_NODE - 1]; in high() 123 static int setup_btree_index(unsigned int l, struct dm_table *t) in setup_btree_index() argument 128 for (n = 0U; n < t->counts[l]; n++) { in setup_btree_index() 129 node = get_node(t, l, n); in setup_btree_index() 132 node[k] = high(t, l + 1, get_child(n, k)); in setup_btree_index() [all …]
|
D | dm-cache-policy.c | 22 struct dm_cache_policy_type *t; in __find_policy() local 24 list_for_each_entry(t, ®ister_list, list) in __find_policy() 25 if (!strcmp(t->name, name)) in __find_policy() 26 return t; in __find_policy() 33 struct dm_cache_policy_type *t = __find_policy(name); in __get_policy_once() local 35 if (t && !try_module_get(t->owner)) { in __get_policy_once() 37 t = ERR_PTR(-EINVAL); in __get_policy_once() 40 return t; in __get_policy_once() 45 struct dm_cache_policy_type *t; in get_policy_once() local 48 t = __get_policy_once(name); in get_policy_once() [all …]
|
/Linux-v4.19/drivers/media/pci/bt8xx/ |
D | bttv-audio-hook.c | 55 void gvbctv3pci_audio(struct bttv *btv, struct v4l2_tuner *t, int set) in gvbctv3pci_audio() argument 61 t->audmode = V4L2_TUNER_MODE_LANG1; in gvbctv3pci_audio() 62 t->rxsubchans = V4L2_TUNER_SUB_MONO | in gvbctv3pci_audio() 71 switch (t->audmode) { in gvbctv3pci_audio() 86 void gvbctv5pci_audio(struct bttv *btv, struct v4l2_tuner *t, int set) in gvbctv5pci_audio() argument 95 switch (t->audmode) { in gvbctv5pci_audio() 114 t->rxsubchans = V4L2_TUNER_SUB_LANG1 | V4L2_TUNER_SUB_LANG2; in gvbctv5pci_audio() 115 t->audmode = V4L2_TUNER_MODE_LANG1_LANG2; in gvbctv5pci_audio() 118 t->rxsubchans = V4L2_TUNER_SUB_LANG2; in gvbctv5pci_audio() 119 t->audmode = V4L2_TUNER_MODE_LANG1_LANG2; in gvbctv5pci_audio() [all …]
|
/Linux-v4.19/lib/lzo/ |
D | lzo1x_decompress_safe.c | 43 size_t t, next; in lzo1x_decompress_safe() local 55 t = *ip++ - 17; in lzo1x_decompress_safe() 56 if (t < 4) { in lzo1x_decompress_safe() 57 next = t; in lzo1x_decompress_safe() 64 t = *ip++; in lzo1x_decompress_safe() 65 if (t < 16) { in lzo1x_decompress_safe() 67 if (unlikely(t == 0)) { in lzo1x_decompress_safe() 80 t += offset + 15 + *ip++; in lzo1x_decompress_safe() 82 t += 3; in lzo1x_decompress_safe() 85 if (likely(HAVE_IP(t + 15) && HAVE_OP(t + 15))) { in lzo1x_decompress_safe() [all …]
|
/Linux-v4.19/drivers/iio/ |
D | industrialio-sw-trigger.c | 35 struct iio_sw_trigger_type *t = NULL, *iter; in __iio_find_sw_trigger_type() local 39 t = iter; in __iio_find_sw_trigger_type() 43 return t; in __iio_find_sw_trigger_type() 46 int iio_register_sw_trigger_type(struct iio_sw_trigger_type *t) in iio_register_sw_trigger_type() argument 52 iter = __iio_find_sw_trigger_type(t->name, strlen(t->name)); in iio_register_sw_trigger_type() 56 list_add_tail(&t->list, &iio_trigger_types_list); in iio_register_sw_trigger_type() 62 t->group = configfs_register_default_group(iio_triggers_group, t->name, in iio_register_sw_trigger_type() 64 if (IS_ERR(t->group)) in iio_register_sw_trigger_type() 65 ret = PTR_ERR(t->group); in iio_register_sw_trigger_type() 71 void iio_unregister_sw_trigger_type(struct iio_sw_trigger_type *t) in iio_unregister_sw_trigger_type() argument [all …]
|
/Linux-v4.19/arch/mips/kernel/ |
D | watch.c | 18 void mips_install_watch_registers(struct task_struct *t) in mips_install_watch_registers() argument 20 struct mips3264_watch_reg_state *watches = &t->thread.watch.mips3264; in mips_install_watch_registers() 107 unsigned int t; in mips_probe_watch_registers() local 117 t = read_c0_watchlo0(); in mips_probe_watch_registers() 119 c->watch_reg_masks[0] = t & MIPS_WATCHLO_IRW; in mips_probe_watch_registers() 125 t = read_c0_watchhi0(); in mips_probe_watch_registers() 126 write_c0_watchhi0(t | MIPS_WATCHHI_MASK); in mips_probe_watch_registers() 128 t = read_c0_watchhi0(); in mips_probe_watch_registers() 129 c->watch_reg_masks[0] |= (t & MIPS_WATCHHI_MASK); in mips_probe_watch_registers() 130 if ((t & MIPS_WATCHHI_M) == 0) in mips_probe_watch_registers() [all …]
|
/Linux-v4.19/drivers/ide/ |
D | ide-timings.c | 72 struct ide_timing *t; in ide_timing_find_mode() local 74 for (t = ide_timing; t->mode != speed; t++) in ide_timing_find_mode() 75 if (t->mode == 0xff) in ide_timing_find_mode() 77 return t; in ide_timing_find_mode() 84 struct ide_timing *t = ide_timing_find_mode(XFER_PIO_0 + pio); in ide_pio_cycle_time() local 94 if (pio < 3 && cycle < t->cycle) in ide_pio_cycle_time() 102 return cycle ? cycle : t->cycle; in ide_pio_cycle_time() 109 static void ide_timing_quantize(struct ide_timing *t, struct ide_timing *q, in ide_timing_quantize() argument 112 q->setup = EZ(t->setup, T); in ide_timing_quantize() 113 q->act8b = EZ(t->act8b, T); in ide_timing_quantize() [all …]
|
/Linux-v4.19/scripts/coccinelle/misc/ |
D | boolinit.cocci | 1 /// Bool initializations should use true and false. Bool tests don't need 17 bool t; 23 - t == true 24 + t 26 - true == t 27 + t 29 - t != true 30 + !t 32 - true != t 33 + !t [all …]
|
/Linux-v4.19/arch/arm/mach-davinci/ |
D | time.c | 103 #define USING_COMPARE(t) ((t)->opts & TIMER_OPTS_USE_COMPARE) argument 112 static int timer32_config(struct timer_s *t) in timer32_config() argument 117 if (USING_COMPARE(t)) { in timer32_config() 128 __raw_writel(__raw_readl(t->base + t->tim_off) + t->period, in timer32_config() 129 t->base + dtip[event_timer].cmp_off); in timer32_config() 131 tcr = __raw_readl(t->base + TCR); in timer32_config() 134 tcr &= ~(TCR_ENAMODE_MASK << t->enamode_shift); in timer32_config() 135 __raw_writel(tcr, t->base + TCR); in timer32_config() 138 __raw_writel(0, t->base + t->tim_off); in timer32_config() 139 __raw_writel(t->period, t->base + t->prd_off); in timer32_config() [all …]
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb3/ |
D | cxgb3_defs.h | 47 static inline union active_open_entry *atid2entry(const struct tid_info *t, in atid2entry() argument 50 return &t->atid_tab[atid - t->atid_base]; in atid2entry() 53 static inline union listen_entry *stid2entry(const struct tid_info *t, in stid2entry() argument 56 return &t->stid_tab[stid - t->stid_base]; in stid2entry() 62 static inline struct t3c_tid_entry *lookup_tid(const struct tid_info *t, in lookup_tid() argument 65 struct t3c_tid_entry *t3c_tid = tid < t->ntids ? in lookup_tid() 66 &(t->tid_tab[tid]) : NULL; in lookup_tid() 74 static inline struct t3c_tid_entry *lookup_stid(const struct tid_info *t, in lookup_stid() argument 79 if (tid < t->stid_base || tid >= t->stid_base + t->nstids) in lookup_stid() 82 e = stid2entry(t, tid); in lookup_stid() [all …]
|
/Linux-v4.19/drivers/md/bcache/ |
D | bset.c | 292 struct bset_tree *t = b->set; in bch_btree_keys_free() local 295 kfree(t->prev); in bch_btree_keys_free() 297 free_pages((unsigned long) t->prev, in bch_btree_keys_free() 301 kfree(t->tree); in bch_btree_keys_free() 303 free_pages((unsigned long) t->tree, in bch_btree_keys_free() 306 free_pages((unsigned long) t->data, b->page_order); in bch_btree_keys_free() 308 t->prev = NULL; in bch_btree_keys_free() 309 t->tree = NULL; in bch_btree_keys_free() 310 t->data = NULL; in bch_btree_keys_free() 318 struct bset_tree *t = b->set; in bch_btree_keys_alloc() local [all …]
|
/Linux-v4.19/drivers/media/usb/pvrusb2/ |
D | pvrusb2-util.h | 19 #define PVR2_DECOMPOSE_LE(t,i,d) \ argument 21 (t)[i] = (d) & 0xff;\ 22 (t)[i+1] = ((d) >> 8) & 0xff;\ 23 (t)[i+2] = ((d) >> 16) & 0xff;\ 24 (t)[i+3] = ((d) >> 24) & 0xff;\ 27 #define PVR2_DECOMPOSE_BE(t,i,d) \ argument 29 (t)[i+3] = (d) & 0xff;\ 30 (t)[i+2] = ((d) >> 8) & 0xff;\ 31 (t)[i+1] = ((d) >> 16) & 0xff;\ 32 (t)[i] = ((d) >> 24) & 0xff;\ [all …]
|
/Linux-v4.19/block/ |
D | blk-settings.c | 521 void blk_queue_stack_limits(struct request_queue *t, struct request_queue *b) in blk_queue_stack_limits() argument 523 blk_stack_limits(&t->limits, &b->limits, 0); in blk_queue_stack_limits() 548 int blk_stack_limits(struct queue_limits *t, struct queue_limits *b, in blk_stack_limits() argument 553 t->max_sectors = min_not_zero(t->max_sectors, b->max_sectors); in blk_stack_limits() 554 t->max_hw_sectors = min_not_zero(t->max_hw_sectors, b->max_hw_sectors); in blk_stack_limits() 555 t->max_dev_sectors = min_not_zero(t->max_dev_sectors, b->max_dev_sectors); in blk_stack_limits() 556 t->max_write_same_sectors = min(t->max_write_same_sectors, in blk_stack_limits() 558 t->max_write_zeroes_sectors = min(t->max_write_zeroes_sectors, in blk_stack_limits() 560 t->bounce_pfn = min_not_zero(t->bounce_pfn, b->bounce_pfn); in blk_stack_limits() 562 t->seg_boundary_mask = min_not_zero(t->seg_boundary_mask, in blk_stack_limits() [all …]
|
/Linux-v4.19/drivers/misc/cb710/ |
D | debug.c | 32 #define CB710_READ_REGS_TEMPLATE(t) \ argument 33 static void cb710_read_regs_##t(void __iomem *iobase, \ 34 u##t *reg, unsigned select) \ 38 for (i = 0; i < ARRAY_SIZE(allow); ++i, reg += 16/(t/8)) { \ 42 for (j = 0; j < 0x10/(t/8); ++j) { \ 43 if (!allow_reg_read(i, j, t)) \ 45 reg[j] = ioread##t(iobase \ 46 + (i << 4) + (j * (t/8))); \ 56 #define CB710_DUMP_REGS_TEMPLATE(t) \ argument 57 static void cb710_dump_regs_##t(struct device *dev, \ [all …]
|
/Linux-v4.19/net/ipv6/ |
D | ip6_vti.c | 79 for (t = rcu_dereference(start); t; t = rcu_dereference(t->next)) 97 struct ip6_tnl *t; in vti6_tnl_lookup() local 102 if (ipv6_addr_equal(local, &t->parms.laddr) && in vti6_tnl_lookup() 103 ipv6_addr_equal(remote, &t->parms.raddr) && in vti6_tnl_lookup() 104 (t->dev->flags & IFF_UP)) in vti6_tnl_lookup() 105 return t; in vti6_tnl_lookup() 111 if (ipv6_addr_equal(local, &t->parms.laddr) && in vti6_tnl_lookup() 112 (t->dev->flags & IFF_UP)) in vti6_tnl_lookup() 113 return t; in vti6_tnl_lookup() 118 if (ipv6_addr_equal(remote, &t->parms.raddr) && in vti6_tnl_lookup() [all …]
|
/Linux-v4.19/arch/powerpc/include/asm/ |
D | atomic.h | 30 int t; in atomic_read() local 32 __asm__ __volatile__("lwz%U1%X1 %0,%1" : "=r"(t) : "m"(v->counter)); in atomic_read() 34 return t; in atomic_read() 45 int t; \ 53 : "=&r" (t), "+m" (v->counter) \ 61 int t; \ 69 : "=&r" (t), "+m" (v->counter) \ 73 return t; \ 79 int res, t; \ 87 : "=&r" (res), "=&r" (t), "+m" (v->counter) \ [all …]
|
/Linux-v4.19/arch/ia64/kernel/ |
D | unwind_decoder.c | 89 unw_word t, off; in unw_decode_x1() local 92 t = unw_decode_uleb128 (&dp); in unw_decode_x1() 96 UNW_DEC_SPILL_SPREL(X1, t, abreg, off, arg); in unw_decode_x1() 98 UNW_DEC_SPILL_PSPREL(X1, t, abreg, off, arg); in unw_decode_x1() 106 unw_word t; in unw_decode_x2() local 109 t = unw_decode_uleb128 (&dp); in unw_decode_x2() 114 UNW_DEC_RESTORE(X2, t, abreg, arg); in unw_decode_x2() 116 UNW_DEC_SPILL_REG(X2, t, abreg, x, ytreg, arg); in unw_decode_x2() 124 unw_word t, off; in unw_decode_x3() local 127 t = unw_decode_uleb128 (&dp); in unw_decode_x3() [all …]
|