/linux-4.1.27/arch/powerpc/crypto/ |
D | sha1-powerpc-asm.S | 15 #define RT(t) ((((t)+5)%6)+7) argument 16 #define RA(t) ((((t)+4)%6)+7) argument 17 #define RB(t) ((((t)+3)%6)+7) argument 18 #define RC(t) ((((t)+2)%6)+7) argument 19 #define RD(t) ((((t)+1)%6)+7) argument 20 #define RE(t) ((((t)+0)%6)+7) argument 23 #define W(t) (((t)%16)+16) argument 25 #define LOADW(t) \ argument 26 lwz W(t),(t)*4(r4) 28 #define STEPD0_LOAD(t) \ argument [all …]
|
/linux-4.1.27/drivers/media/pci/saa7134/ |
D | saa7134-reg.h | 209 #define SAA7134_TASK_CONDITIONS(t) (0x000 +t) argument 210 #define SAA7134_FIELD_HANDLING(t) (0x001 +t) argument 211 #define SAA7134_DATA_PATH(t) (0x002 +t) argument 212 #define SAA7134_VBI_H_START1(t) (0x004 +t) argument 213 #define SAA7134_VBI_H_START2(t) (0x005 +t) argument 214 #define SAA7134_VBI_H_STOP1(t) (0x006 +t) argument 215 #define SAA7134_VBI_H_STOP2(t) (0x007 +t) argument 216 #define SAA7134_VBI_V_START1(t) (0x008 +t) argument 217 #define SAA7134_VBI_V_START2(t) (0x009 +t) argument 218 #define SAA7134_VBI_V_STOP1(t) (0x00a +t) argument [all …]
|
/linux-4.1.27/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-4.1.27/drivers/media/v4l2-core/ |
D | tuner-core.c | 46 #define PREFIX (t->i2c->dev.driver->name) 89 i2c_adapter_id(t->i2c->adapter), \ 90 t->i2c->addr, ##arg); \ 95 i2c_adapter_id(t->i2c->adapter), \ 96 t->i2c->addr, ##arg); \ 101 i2c_adapter_id(t->i2c->adapter), \ 102 t->i2c->addr, ##arg); \ 108 i2c_adapter_id(t->i2c->adapter), \ 109 t->i2c->addr, ##arg); \ 207 struct tuner *t = fe->analog_demod_priv; in fe_set_params() local [all …]
|
/linux-4.1.27/arch/arm/crypto/ |
D | bsaes-armv7.pl | 66 my @t=@_[8..11]; 69 &Inv_GF256 (@b[6,5,0,3,7,1,4,2],@t,@s); 121 my @t=@_[8..11]; 124 &Inv_GF256 (@b[5,1,2,6,3,7,0,4],@t,@s); 223 my @t=@_[12..15]; 225 veor @t[0], @x[0], @x[2] 226 veor @t[1], @x[1], @x[3] 228 &Mul_GF4 (@x[0], @x[1], @y[0], @y[1], @t[2..3]); 233 Mul_GF4_N_GF4 (@t[0], @t[1], @y[0], @y[1], @t[3], 234 @x[2], @x[3], @y[2], @y[3], @t[2]); [all …]
|
/linux-4.1.27/arch/sparc/lib/ |
D | bitext.c | 27 int bit_map_string_get(struct bit_map *t, int len, int align) in bit_map_string_get() argument 34 if (t->num_colors) { in bit_map_string_get() 37 align = t->num_colors; in bit_map_string_get() 46 if (align < 0 || align >= t->size) in bit_map_string_get() 48 if (len <= 0 || len > t->size) in bit_map_string_get() 52 spin_lock(&t->lock); in bit_map_string_get() 53 if (len < t->last_size) in bit_map_string_get() 54 offset = t->first_free; in bit_map_string_get() 56 offset = t->last_off & ~align1; in bit_map_string_get() 59 off_new = find_next_zero_bit(t->map, t->size, offset); in bit_map_string_get() [all …]
|
/linux-4.1.27/crypto/ |
D | gf128mul.c | 268 struct gf128mul_64k *t; in gf128mul_init_64k_lle() local 271 t = kzalloc(sizeof(*t), GFP_KERNEL); in gf128mul_init_64k_lle() 272 if (!t) in gf128mul_init_64k_lle() 276 t->t[i] = kzalloc(sizeof(*t->t[i]), GFP_KERNEL); in gf128mul_init_64k_lle() 277 if (!t->t[i]) { in gf128mul_init_64k_lle() 278 gf128mul_free_64k(t); in gf128mul_init_64k_lle() 279 t = NULL; in gf128mul_init_64k_lle() 284 t->t[0]->t[128] = *g; in gf128mul_init_64k_lle() 286 gf128mul_x_lle(&t->t[0]->t[j], &t->t[0]->t[j + j]); in gf128mul_init_64k_lle() 291 be128_xor(&t->t[i]->t[j + k], in gf128mul_init_64k_lle() [all …]
|
D | cast5_generic.c | 315 u32 l, r, t; in __cast5_encrypt() local 337 t = l; l = r; r = t ^ F1(r, Km[0], Kr[0]); in __cast5_encrypt() 338 t = l; l = r; r = t ^ F2(r, Km[1], Kr[1]); in __cast5_encrypt() 339 t = l; l = r; r = t ^ F3(r, Km[2], Kr[2]); in __cast5_encrypt() 340 t = l; l = r; r = t ^ F1(r, Km[3], Kr[3]); in __cast5_encrypt() 341 t = l; l = r; r = t ^ F2(r, Km[4], Kr[4]); in __cast5_encrypt() 342 t = l; l = r; r = t ^ F3(r, Km[5], Kr[5]); in __cast5_encrypt() 343 t = l; l = r; r = t ^ F1(r, Km[6], Kr[6]); in __cast5_encrypt() 344 t = l; l = r; r = t ^ F2(r, Km[7], Kr[7]); in __cast5_encrypt() 345 t = l; l = r; r = t ^ F3(r, Km[8], Kr[8]); in __cast5_encrypt() [all …]
|
D | aes_generic.c | 1134 t = w ^ (x); \ 1136 (y) ^= ror32(u ^ t, 8) ^ \ 1137 ror32(v ^ t, 16) ^ \ 1138 ror32(t, 24); \ 1148 t = ror32(t, 8); \ 1149 t = ls_box(t) ^ rco_tab[i]; \ 1150 t ^= ctx->key_enc[4 * i]; \ 1151 ctx->key_enc[4 * i + 4] = t; \ 1152 t ^= ctx->key_enc[4 * i + 1]; \ 1153 ctx->key_enc[4 * i + 5] = t; \ [all …]
|
/linux-4.1.27/drivers/md/ |
D | dm-table.c | 94 static inline sector_t *get_node(struct dm_table *t, in get_node() argument 97 return t->index[l] + (n * KEYS_PER_NODE); in get_node() 104 static sector_t high(struct dm_table *t, unsigned int l, unsigned int n) in high() argument 106 for (; l < t->depth - 1; l++) in high() 109 if (n >= t->counts[l]) in high() 112 return get_node(t, l, n)[KEYS_PER_NODE - 1]; in high() 119 static int setup_btree_index(unsigned int l, struct dm_table *t) in setup_btree_index() argument 124 for (n = 0U; n < t->counts[l]; n++) { in setup_btree_index() 125 node = get_node(t, l, n); in setup_btree_index() 128 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 …]
|
D | dm.h | 57 void dm_table_destroy(struct dm_table *t); 58 void dm_table_event_callback(struct dm_table *t, 60 struct dm_target *dm_table_get_target(struct dm_table *t, unsigned int index); 61 struct dm_target *dm_table_find_target(struct dm_table *t, sector_t sector); 65 void dm_table_set_restrictions(struct dm_table *t, struct request_queue *q, 67 struct list_head *dm_table_get_devices(struct dm_table *t); 68 void dm_table_presuspend_targets(struct dm_table *t); 69 void dm_table_presuspend_undo_targets(struct dm_table *t); 70 void dm_table_postsuspend_targets(struct dm_table *t); 71 int dm_table_resume_targets(struct dm_table *t); [all …]
|
/linux-4.1.27/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 if (t->audmode & V4L2_TUNER_MODE_LANG1) in gvbctv3pci_audio() 63 if (t->audmode & V4L2_TUNER_MODE_LANG2) in gvbctv3pci_audio() 65 if (t->audmode & V4L2_TUNER_MODE_STEREO) in gvbctv3pci_audio() 71 t->audmode = V4L2_TUNER_MODE_STEREO | in gvbctv3pci_audio() 76 void gvbctv5pci_audio(struct bttv *btv, struct v4l2_tuner *t, int set) in gvbctv5pci_audio() argument 86 if (t->audmode & V4L2_TUNER_MODE_LANG2) { in gvbctv5pci_audio() 87 if (t->audmode & V4L2_TUNER_MODE_LANG1) { in gvbctv5pci_audio() 104 t->rxsubchans = V4L2_TUNER_SUB_LANG1 | V4L2_TUNER_SUB_LANG2; in gvbctv5pci_audio() 107 t->rxsubchans = V4L2_TUNER_SUB_LANG2; in gvbctv5pci_audio() [all …]
|
/linux-4.1.27/arch/mips/kernel/ |
D | watch.c | 105 unsigned int t; in mips_probe_watch_registers() local 115 t = read_c0_watchlo0(); in mips_probe_watch_registers() 117 c->watch_reg_masks[0] = t & 7; in mips_probe_watch_registers() 123 t = read_c0_watchhi0(); in mips_probe_watch_registers() 124 write_c0_watchhi0(t | 0xff8); in mips_probe_watch_registers() 126 t = read_c0_watchhi0(); in mips_probe_watch_registers() 127 c->watch_reg_masks[0] |= (t & 0xff8); in mips_probe_watch_registers() 128 if ((t & 0x80000000) == 0) in mips_probe_watch_registers() 133 t = read_c0_watchlo1(); in mips_probe_watch_registers() 135 c->watch_reg_masks[1] = t & 7; in mips_probe_watch_registers() [all …]
|
D | vpe-mt.c | 31 struct tc *t; in vpe_run() local 57 t = list_first_entry(&v->tc, struct tc, tc); in vpe_run() 62 settc(t->index); in vpe_run() 72 t->index); in vpe_run() 115 | (t->index << VPECONF0_XTC_SHIFT)); in vpe_run() 209 struct tc *t; in vpe_stop() local 214 t = list_entry(v->tc.next, struct tc, tc); in vpe_stop() 215 if (t != NULL) { in vpe_stop() 216 settc(t->index); in vpe_stop() 230 struct tc *t; in vpe_free() local [all …]
|
/linux-4.1.27/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 …]
|
D | lzo1x_compress.c | 39 size_t t, m_len, m_off; in lzo1x_1_do_compress() local 47 t = ((dv * 0x1824429d) >> (32 - D_BITS)) & D_MASK; in lzo1x_1_do_compress() 48 m_pos = in + dict[t]; in lzo1x_1_do_compress() 49 dict[t] = (lzo_dict_t) (ip - in); in lzo1x_1_do_compress() 55 t = ip - ii; in lzo1x_1_do_compress() 56 if (t != 0) { in lzo1x_1_do_compress() 57 if (t <= 3) { in lzo1x_1_do_compress() 58 op[-2] |= t; in lzo1x_1_do_compress() 60 op += t; in lzo1x_1_do_compress() 61 } else if (t <= 16) { in lzo1x_1_do_compress() [all …]
|
/linux-4.1.27/arch/cris/arch-v10/kernel/ |
D | fasttimer.c | 209 void start_one_shot_timer(struct fast_timer *t, in start_one_shot_timer() argument 222 do_gettimeofday_fast(&t->tv_set); in start_one_shot_timer() 228 if (tmp == t) { in start_one_shot_timer() 239 t->delay_us = delay_us; in start_one_shot_timer() 240 t->function = function; in start_one_shot_timer() 241 t->data = data; in start_one_shot_timer() 242 t->name = name; in start_one_shot_timer() 244 t->tv_expires.tv_usec = t->tv_set.tv_usec + delay_us % 1000000; in start_one_shot_timer() 245 t->tv_expires.tv_jiff = t->tv_set.tv_jiff + delay_us / 1000000 / HZ; in start_one_shot_timer() 246 if (t->tv_expires.tv_usec > 1000000) in start_one_shot_timer() [all …]
|
/linux-4.1.27/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 * 1000, T); in ide_timing_quantize() 113 q->act8b = EZ(t->act8b * 1000, T); in ide_timing_quantize() [all …]
|
D | amd74xx.c | 53 u8 t = 0, offset = amd_offset(dev); in amd_set_speed() local 55 pci_read_config_byte(dev, AMD_ADDRESS_SETUP + offset, &t); in amd_set_speed() 56 t = (t & ~(3 << ((3 - dn) << 1))) | ((clamp_val(timing->setup, 1, 4) - 1) << ((3 - dn) << 1)); in amd_set_speed() 57 pci_write_config_byte(dev, AMD_ADDRESS_SETUP + offset, t); in amd_set_speed() 66 case ATA_UDMA2: t = timing->udma ? (0xc0 | (clamp_val(timing->udma, 2, 5) - 2)) : 0x03; break; in amd_set_speed() 67 …case ATA_UDMA4: t = timing->udma ? (0xc0 | amd_cyc2udma[clamp_val(timing->udma, 2, 10)]) : 0x03; b… in amd_set_speed() 68 …case ATA_UDMA5: t = timing->udma ? (0xc0 | amd_cyc2udma[clamp_val(timing->udma, 1, 10)]) : 0x03; b… in amd_set_speed() 69 …case ATA_UDMA6: t = timing->udma ? (0xc0 | amd_cyc2udma[clamp_val(timing->udma, 1, 15)]) : 0x03; b… in amd_set_speed() 74 pci_write_config_byte(dev, AMD_UDMA_TIMING + offset + 3 - dn, t); in amd_set_speed() 86 struct ide_timing t, p; in amd_set_drive() local [all …]
|
D | alim15x3.c | 65 struct ide_timing *t, u8 ultra) in ali_program_timings() argument 79 if (t == NULL) in ali_program_timings() 82 t->setup = clamp_val(t->setup, 1, 8) & 7; in ali_program_timings() 83 t->act8b = clamp_val(t->act8b, 1, 8) & 7; in ali_program_timings() 84 t->rec8b = clamp_val(t->rec8b, 1, 16) & 15; in ali_program_timings() 85 t->active = clamp_val(t->active, 1, 8) & 7; in ali_program_timings() 86 t->recover = clamp_val(t->recover, 1, 16) & 15; in ali_program_timings() 88 pci_write_config_byte(dev, port, t->setup); in ali_program_timings() 89 pci_write_config_byte(dev, port + 1, (t->act8b << 4) | t->rec8b); in ali_program_timings() 91 (t->active << 4) | t->recover); in ali_program_timings() [all …]
|
D | via82cxxx.c | 130 u8 t; in via_set_speed() local 133 pci_read_config_byte(dev, VIA_ADDRESS_SETUP, &t); in via_set_speed() 134 t = (t & ~(3 << ((3 - dn) << 1))) | ((clamp_val(timing->setup, 1, 4) - 1) << ((3 - dn) << 1)); in via_set_speed() 135 pci_write_config_byte(dev, VIA_ADDRESS_SETUP, t); in via_set_speed() 145 case ATA_UDMA2: t = timing->udma ? (0xe0 | (clamp_val(timing->udma, 2, 5) - 2)) : 0x03; break; in via_set_speed() 146 case ATA_UDMA4: t = timing->udma ? (0xe8 | (clamp_val(timing->udma, 2, 9) - 2)) : 0x0f; break; in via_set_speed() 147 case ATA_UDMA5: t = timing->udma ? (0xe0 | (clamp_val(timing->udma, 2, 9) - 2)) : 0x07; break; in via_set_speed() 148 case ATA_UDMA6: t = timing->udma ? (0xe0 | (clamp_val(timing->udma, 2, 9) - 2)) : 0x07; break; in via_set_speed() 163 udma_etc |= t; in via_set_speed() 185 struct ide_timing t, p; in via_set_drive() local [all …]
|
D | cmd64x.c | 65 struct ide_timing t; in cmd64x_program_timings() local 68 ide_timing_compute(drive, mode, &t, T, 0); in cmd64x_program_timings() 74 if (t.recover > 16) { in cmd64x_program_timings() 75 t.active += t.recover - 16; in cmd64x_program_timings() 76 t.recover = 16; in cmd64x_program_timings() 78 if (t.active > 16) /* shouldn't actually happen... */ in cmd64x_program_timings() 79 t.active = 16; in cmd64x_program_timings() 84 t.recover = recovery_values[t.recover]; in cmd64x_program_timings() 85 t.active &= 0x0f; in cmd64x_program_timings() 89 (t.active << 4) | t.recover); in cmd64x_program_timings() [all …]
|
/linux-4.1.27/arch/cris/arch-v32/kernel/ |
D | fasttimer.c | 188 void start_one_shot_timer(struct fast_timer *t, in start_one_shot_timer() argument 201 do_gettimeofday_fast(&t->tv_set); in start_one_shot_timer() 207 if (tmp == t) { in start_one_shot_timer() 219 t->delay_us = delay_us; in start_one_shot_timer() 220 t->function = function; in start_one_shot_timer() 221 t->data = data; in start_one_shot_timer() 222 t->name = name; in start_one_shot_timer() 224 t->tv_expires.tv_usec = t->tv_set.tv_usec + delay_us % 1000000; in start_one_shot_timer() 225 t->tv_expires.tv_jiff = t->tv_set.tv_jiff + delay_us / 1000000 / HZ; in start_one_shot_timer() 226 if (t->tv_expires.tv_usec > 1000000) { in start_one_shot_timer() [all …]
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/ |
D | cxgb3_defs.h | 50 static inline union active_open_entry *atid2entry(const struct tid_info *t, in atid2entry() argument 53 return &t->atid_tab[atid - t->atid_base]; in atid2entry() 56 static inline union listen_entry *stid2entry(const struct tid_info *t, in stid2entry() argument 59 return &t->stid_tab[stid - t->stid_base]; in stid2entry() 65 static inline struct t3c_tid_entry *lookup_tid(const struct tid_info *t, in lookup_tid() argument 68 struct t3c_tid_entry *t3c_tid = tid < t->ntids ? in lookup_tid() 69 &(t->tid_tab[tid]) : NULL; in lookup_tid() 77 static inline struct t3c_tid_entry *lookup_stid(const struct tid_info *t, in lookup_stid() argument 82 if (tid < t->stid_base || tid >= t->stid_base + t->nstids) in lookup_stid() 85 e = stid2entry(t, tid); in lookup_stid() [all …]
|
D | cxgb3_offload.c | 310 struct ch_mem_range *t = data; in cxgb_rdma_ctl() local 313 if ((t->addr & 7) || (t->len & 7)) in cxgb_rdma_ctl() 315 if (t->mem_id == MEM_CM) in cxgb_rdma_ctl() 317 else if (t->mem_id == MEM_PMRX) in cxgb_rdma_ctl() 319 else if (t->mem_id == MEM_PMTX) in cxgb_rdma_ctl() 325 t3_mc7_bd_read(mem, t->addr / 8, t->len / 8, in cxgb_rdma_ctl() 326 (u64 *) t->buf); in cxgb_rdma_ctl() 503 struct tid_info *t = &(T3C_DATA(tdev))->tid_maps; in cxgb3_free_atid() local 504 union active_open_entry *p = atid2entry(t, atid); in cxgb3_free_atid() 507 spin_lock_bh(&t->atid_lock); in cxgb3_free_atid() [all …]
|
/linux-4.1.27/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-4.1.27/drivers/media/usb/pvrusb2/ |
D | pvrusb2-util.h | 23 #define PVR2_DECOMPOSE_LE(t,i,d) \ argument 25 (t)[i] = (d) & 0xff;\ 26 (t)[i+1] = ((d) >> 8) & 0xff;\ 27 (t)[i+2] = ((d) >> 16) & 0xff;\ 28 (t)[i+3] = ((d) >> 24) & 0xff;\ 31 #define PVR2_DECOMPOSE_BE(t,i,d) \ argument 33 (t)[i+3] = (d) & 0xff;\ 34 (t)[i+2] = ((d) >> 8) & 0xff;\ 35 (t)[i+1] = ((d) >> 16) & 0xff;\ 36 (t)[i] = ((d) >> 24) & 0xff;\ [all …]
|
/linux-4.1.27/drivers/md/bcache/ |
D | bset.c | 290 struct bset_tree *t = b->set; in bch_btree_keys_free() local 293 kfree(t->prev); in bch_btree_keys_free() 295 free_pages((unsigned long) t->prev, in bch_btree_keys_free() 299 kfree(t->tree); in bch_btree_keys_free() 301 free_pages((unsigned long) t->tree, in bch_btree_keys_free() 304 free_pages((unsigned long) t->data, b->page_order); in bch_btree_keys_free() 306 t->prev = NULL; in bch_btree_keys_free() 307 t->tree = NULL; in bch_btree_keys_free() 308 t->data = NULL; in bch_btree_keys_free() 314 struct bset_tree *t = b->set; in bch_btree_keys_alloc() local [all …]
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | atomic.h | 17 int t; in atomic_read() local 19 __asm__ __volatile__("lwz%U1%X1 %0,%1" : "=r"(t) : "m"(v->counter)); in atomic_read() 21 return t; in atomic_read() 32 int t; \ 40 : "=&r" (t), "+m" (v->counter) \ 48 int t; \ 58 : "=&r" (t) \ 62 return t; \ 78 int t; in ATOMIC_OPS() local 86 : "=&r" (t), "+m" (v->counter) in ATOMIC_OPS() [all …]
|
D | switch_to.h | 53 static inline void flush_fp_to_thread(struct task_struct *t) { } in flush_fp_to_thread() argument 54 static inline void giveup_fpu(struct task_struct *t) { } in giveup_fpu() argument 62 static inline void flush_altivec_to_thread(struct task_struct *t) in flush_altivec_to_thread() argument 65 static inline void giveup_altivec(struct task_struct *t) in giveup_altivec() argument 73 static inline void flush_vsx_to_thread(struct task_struct *t) in flush_vsx_to_thread() argument 81 static inline void flush_spe_to_thread(struct task_struct *t) in flush_spe_to_thread() argument 86 static inline void clear_task_ebb(struct task_struct *t) in clear_task_ebb() argument 90 t->thread.ebbrr = 0; in clear_task_ebb() 91 t->thread.ebbhr = 0; in clear_task_ebb() 92 t->thread.bescr = 0; in clear_task_ebb() [all …]
|
D | local.h | 24 long t; in local_add_return() local 32 : "=&r" (t) in local_add_return() 36 return t; in local_add_return() 43 long t; in local_sub_return() local 51 : "=&r" (t) in local_sub_return() 55 return t; in local_sub_return() 60 long t; in local_inc_return() local 68 : "=&r" (t) in local_inc_return() 72 return t; in local_inc_return() 87 long t; in local_dec_return() local [all …]
|
D | ppc-opcode.h | 257 #define ___PPC_RT(t) ___PPC_RS(t) argument 262 #define __PPC_RT(t) ___PPC_RT(__REG_##t) argument 267 #define __PPC_T_TLB(t) (((t) & 0x3) << 21) argument 274 #define __PPC_CT(t) (((t) & 0x0f) << 21) argument 305 #define PPC_LDARX(t, a, b, eh) stringify_in_c(.long PPC_INST_LDARX | \ argument 306 ___PPC_RT(t) | ___PPC_RA(a) | \ 310 #define PPC_LWARX(t, a, b, eh) stringify_in_c(.long PPC_INST_LWARX | \ argument 311 ___PPC_RT(t) | ___PPC_RA(a) | \ 328 #define PPC_TLBILX(t, a, b) stringify_in_c(.long PPC_INST_TLBILX | \ argument 329 __PPC_T_TLB(t) | __PPC_RA0(a) | __PPC_RB(b)) [all …]
|
D | mutex.h | 9 int t; in __mutex_cmpxchg_lock() local 21 : "=&r" (t) in __mutex_cmpxchg_lock() 25 return t; in __mutex_cmpxchg_lock() 30 int t; in __mutex_dec_return_lock() local 39 : "=&r" (t) in __mutex_dec_return_lock() 43 return t; in __mutex_dec_return_lock() 48 int t; in __mutex_inc_return_unlock() local 57 : "=&r" (t) in __mutex_inc_return_unlock() 61 return t; in __mutex_inc_return_unlock()
|
/linux-4.1.27/tools/perf/util/scripting-engines/ |
D | trace-event-python.c | 137 PyObject *t; in define_value() local 144 t = PyTuple_New(4); in define_value() 145 if (!t) in define_value() 150 PyTuple_SetItem(t, n++, PyString_FromString(ev_name)); in define_value() 151 PyTuple_SetItem(t, n++, PyString_FromString(field_name)); in define_value() 152 PyTuple_SetItem(t, n++, PyInt_FromLong(value)); in define_value() 153 PyTuple_SetItem(t, n++, PyString_FromString(field_str)); in define_value() 155 try_call_object(handler_name, t); in define_value() 157 Py_DECREF(t); in define_value() 178 PyObject *t; in define_field() local [all …]
|
/linux-4.1.27/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-4.1.27/block/ |
D | blk-settings.c | 513 void blk_queue_stack_limits(struct request_queue *t, struct request_queue *b) in blk_queue_stack_limits() argument 515 blk_stack_limits(&t->limits, &b->limits, 0); in blk_queue_stack_limits() 540 int blk_stack_limits(struct queue_limits *t, struct queue_limits *b, in blk_stack_limits() argument 545 t->max_sectors = min_not_zero(t->max_sectors, b->max_sectors); in blk_stack_limits() 546 t->max_hw_sectors = min_not_zero(t->max_hw_sectors, b->max_hw_sectors); in blk_stack_limits() 547 t->max_write_same_sectors = min(t->max_write_same_sectors, in blk_stack_limits() 549 t->bounce_pfn = min_not_zero(t->bounce_pfn, b->bounce_pfn); in blk_stack_limits() 551 t->seg_boundary_mask = min_not_zero(t->seg_boundary_mask, in blk_stack_limits() 554 t->max_segments = min_not_zero(t->max_segments, b->max_segments); in blk_stack_limits() 555 t->max_integrity_segments = min_not_zero(t->max_integrity_segments, in blk_stack_limits() [all …]
|
/linux-4.1.27/arch/arm/mach-davinci/ |
D | time.c | 111 #define USING_COMPARE(t) ((t)->opts & TIMER_OPTS_USE_COMPARE) argument 120 static int timer32_config(struct timer_s *t) in timer32_config() argument 125 if (USING_COMPARE(t)) { in timer32_config() 136 __raw_writel(__raw_readl(t->base + t->tim_off) + t->period, in timer32_config() 137 t->base + dtip[event_timer].cmp_off); in timer32_config() 139 tcr = __raw_readl(t->base + TCR); in timer32_config() 142 tcr &= ~(TCR_ENAMODE_MASK << t->enamode_shift); in timer32_config() 143 __raw_writel(tcr, t->base + TCR); in timer32_config() 146 __raw_writel(0, t->base + t->tim_off); in timer32_config() 147 __raw_writel(t->period, t->base + t->prd_off); in timer32_config() [all …]
|
/linux-4.1.27/net/ipv6/ |
D | ip6_vti.c | 78 for (t = rcu_dereference(start); t; t = rcu_dereference(t->next)) 96 struct ip6_tnl *t; in vti6_tnl_lookup() local 101 if (ipv6_addr_equal(local, &t->parms.laddr) && in vti6_tnl_lookup() 102 ipv6_addr_equal(remote, &t->parms.raddr) && in vti6_tnl_lookup() 103 (t->dev->flags & IFF_UP)) in vti6_tnl_lookup() 104 return t; in vti6_tnl_lookup() 110 if (ipv6_addr_equal(local, &t->parms.laddr) && in vti6_tnl_lookup() 111 (t->dev->flags & IFF_UP)) in vti6_tnl_lookup() 112 return t; in vti6_tnl_lookup() 117 if (ipv6_addr_equal(remote, &t->parms.raddr) && in vti6_tnl_lookup() [all …]
|
D | ip6_tunnel.c | 129 struct dst_entry *ip6_tnl_dst_check(struct ip6_tnl *t) in ip6_tnl_dst_check() argument 131 struct dst_entry *dst = t->dst_cache; in ip6_tnl_dst_check() 134 !dst->ops->check(dst, t->dst_cookie)) { in ip6_tnl_dst_check() 135 t->dst_cache = NULL; in ip6_tnl_dst_check() 144 void ip6_tnl_dst_reset(struct ip6_tnl *t) in ip6_tnl_dst_reset() argument 146 dst_release(t->dst_cache); in ip6_tnl_dst_reset() 147 t->dst_cache = NULL; in ip6_tnl_dst_reset() 151 void ip6_tnl_dst_store(struct ip6_tnl *t, struct dst_entry *dst) in ip6_tnl_dst_store() argument 154 t->dst_cookie = rt->rt6i_node ? rt->rt6i_node->fn_sernum : 0; in ip6_tnl_dst_store() 155 dst_release(t->dst_cache); in ip6_tnl_dst_store() [all …]
|
D | ipcomp6.c | 88 struct xfrm_state *t = NULL; in ipcomp6_tunnel_create() local 90 t = xfrm_state_alloc(net); in ipcomp6_tunnel_create() 91 if (!t) in ipcomp6_tunnel_create() 94 t->id.proto = IPPROTO_IPV6; in ipcomp6_tunnel_create() 95 t->id.spi = xfrm6_tunnel_alloc_spi(net, (xfrm_address_t *)&x->props.saddr); in ipcomp6_tunnel_create() 96 if (!t->id.spi) in ipcomp6_tunnel_create() 99 memcpy(t->id.daddr.a6, x->id.daddr.a6, sizeof(struct in6_addr)); in ipcomp6_tunnel_create() 100 memcpy(&t->sel, &x->sel, sizeof(t->sel)); in ipcomp6_tunnel_create() 101 t->props.family = AF_INET6; in ipcomp6_tunnel_create() 102 t->props.mode = x->props.mode; in ipcomp6_tunnel_create() [all …]
|
D | ip6_gre.c | 78 static void ip6gre_tunnel_link(struct ip6gre_net *ign, struct ip6_tnl *t); 79 static void ip6gre_tnl_link_config(struct ip6_tnl *t, int set_mtu); 122 struct ip6_tnl *t, *cand = NULL; in ip6gre_tunnel_lookup() local 128 for_each_ip_tunnel_rcu(t, ign->tunnels_r_l[h0 ^ h1]) { in ip6gre_tunnel_lookup() 129 if (!ipv6_addr_equal(local, &t->parms.laddr) || in ip6gre_tunnel_lookup() 130 !ipv6_addr_equal(remote, &t->parms.raddr) || in ip6gre_tunnel_lookup() 131 key != t->parms.i_key || in ip6gre_tunnel_lookup() 132 !(t->dev->flags & IFF_UP)) in ip6gre_tunnel_lookup() 135 if (t->dev->type != ARPHRD_IP6GRE && in ip6gre_tunnel_lookup() 136 t->dev->type != dev_type) in ip6gre_tunnel_lookup() [all …]
|
D | sit.c | 98 struct ip_tunnel *t; in ipip6_tunnel_lookup() local 101 for_each_ip_tunnel_rcu(t, sitn->tunnels_r_l[h0 ^ h1]) { in ipip6_tunnel_lookup() 102 if (local == t->parms.iph.saddr && in ipip6_tunnel_lookup() 103 remote == t->parms.iph.daddr && in ipip6_tunnel_lookup() 104 (!dev || !t->parms.link || dev->ifindex == t->parms.link) && in ipip6_tunnel_lookup() 105 (t->dev->flags & IFF_UP)) in ipip6_tunnel_lookup() 106 return t; in ipip6_tunnel_lookup() 108 for_each_ip_tunnel_rcu(t, sitn->tunnels_r[h0]) { in ipip6_tunnel_lookup() 109 if (remote == t->parms.iph.daddr && in ipip6_tunnel_lookup() 110 (!dev || !t->parms.link || dev->ifindex == t->parms.link) && in ipip6_tunnel_lookup() [all …]
|
/linux-4.1.27/arch/ia64/kernel/ |
D | unwind_decoder.c | 88 unw_word t, off; in unw_decode_x1() local 91 t = unw_decode_uleb128 (&dp); in unw_decode_x1() 95 UNW_DEC_SPILL_SPREL(X1, t, abreg, off, arg); in unw_decode_x1() 97 UNW_DEC_SPILL_PSPREL(X1, t, abreg, off, arg); in unw_decode_x1() 105 unw_word t; in unw_decode_x2() local 108 t = unw_decode_uleb128 (&dp); in unw_decode_x2() 113 UNW_DEC_RESTORE(X2, t, abreg, arg); in unw_decode_x2() 115 UNW_DEC_SPILL_REG(X2, t, abreg, x, ytreg, arg); in unw_decode_x2() 123 unw_word t, off; in unw_decode_x3() local 126 t = unw_decode_uleb128 (&dp); in unw_decode_x3() [all …]
|
/linux-4.1.27/arch/x86/crypto/ |
D | sha512-ssse3-asm.S | 88 # WK_2(t) points to 1 of 2 qwords at frame.WK depdending on t being odd/even 102 # W[t]+K[t] (stack frame) 120 # Compute Round %%t 129 add WK_2(idx), T1 # W[t] + K[t] from message scheduler 133 add h_64, T1 # T1 = CH(e,f,g) + W[t] + K[t] + h 135 add tmp0, T1 # T1 = CH(e,f,g) + W[t] + K[t] + S1(e) 155 # Compute rounds t-2 and t-1 156 # Compute message schedule QWORDS t and t+1 158 # Two rounds are computed based on the values for K[t-2]+W[t-2] and 159 # K[t-1]+W[t-1] which were previously stored at WK_2 by the message [all …]
|
D | sha512-avx-asm.S | 78 # W[t] + K[t] | W[t+1] + K[t+1] 91 # WK_2(t) points to 1 of 2 qwords at frame.WK depdending on t being odd/even 105 # W[t]+K[t] (stack frame) 127 # Compute Round %%t 136 add WK_2(idx), T1 # W[t] + K[t] from message scheduler 140 add h_64, T1 # T1 = CH(e,f,g) + W[t] + K[t] + h 142 add tmp0, T1 # T1 = CH(e,f,g) + W[t] + K[t] + S1(e) 161 # Compute rounds t-2 and t-1 162 # Compute message schedule QWORDS t and t+1 164 # Two rounds are computed based on the values for K[t-2]+W[t-2] and [all …]
|
/linux-4.1.27/drivers/net/wireless/ti/wlcore/ |
D | spi.c | 90 struct spi_transfer t; in wl12xx_spi_reset() local 100 memset(&t, 0, sizeof(t)); in wl12xx_spi_reset() 105 t.tx_buf = cmd; in wl12xx_spi_reset() 106 t.len = WSPI_INIT_CMD_LEN; in wl12xx_spi_reset() 107 spi_message_add_tail(&t, &m); in wl12xx_spi_reset() 117 struct spi_transfer t; in wl12xx_spi_init() local 127 memset(&t, 0, sizeof(t)); in wl12xx_spi_init() 158 t.tx_buf = cmd; in wl12xx_spi_init() 159 t.len = WSPI_INIT_CMD_LEN; in wl12xx_spi_init() 160 spi_message_add_tail(&t, &m); in wl12xx_spi_init() [all …]
|
/linux-4.1.27/drivers/block/aoe/ |
D | aoecmd.c | 129 aoehdr_atainit(struct aoedev *d, struct aoetgt *t, struct aoe_hdr *h) in aoehdr_atainit() argument 133 memcpy(h->src, t->ifp->nd->dev_addr, sizeof h->src); in aoehdr_atainit() 134 memcpy(h->dst, t->addr, sizeof h->dst); in aoehdr_atainit() 157 ifrotate(struct aoetgt *t) in ifrotate() argument 161 ifp = t->ifp; in ifrotate() 163 if (ifp >= &t->ifs[NAOEIFS] || ifp->nd == NULL) in ifrotate() 164 ifp = t->ifs; in ifrotate() 167 return t->ifp = ifp; in ifrotate() 195 struct aoetgt *t; in aoe_freetframe() local 197 t = f->t; in aoe_freetframe() [all …]
|
D | aoeblk.c | 52 struct aoetgt *t = d->targets[0]; in aoedisk_show_mac() local 54 if (t == NULL) in aoedisk_show_mac() 56 return snprintf(page, PAGE_SIZE, "%pm\n", t->addr); in aoedisk_show_mac() 64 struct aoetgt **t, **te; in aoedisk_show_netif() local 71 t = d->targets; in aoedisk_show_netif() 72 te = t + d->ntargets; in aoedisk_show_netif() 73 for (; t < te && *t; t++) { in aoedisk_show_netif() 74 ifp = (*t)->ifs; in aoedisk_show_netif() 116 struct aoetgt **t, **te; in aoedisk_debugfs_show() local 131 t = d->targets; in aoedisk_debugfs_show() [all …]
|
/linux-4.1.27/drivers/target/iscsi/ |
D | iscsi_target_transport.c | 10 struct iscsit_transport *t; in iscsit_get_transport() local 13 list_for_each_entry(t, &g_transport_list, t_node) { in iscsit_get_transport() 14 if (t->transport_type == type) { in iscsit_get_transport() 15 if (t->owner && !try_module_get(t->owner)) { in iscsit_get_transport() 16 t = NULL; in iscsit_get_transport() 19 return t; in iscsit_get_transport() 27 void iscsit_put_transport(struct iscsit_transport *t) in iscsit_put_transport() argument 29 module_put(t->owner); in iscsit_put_transport() 32 int iscsit_register_transport(struct iscsit_transport *t) in iscsit_register_transport() argument 34 INIT_LIST_HEAD(&t->t_node); in iscsit_register_transport() [all …]
|
/linux-4.1.27/net/ipv4/ |
D | ipcomp.c | 63 struct xfrm_state *t; in ipcomp_tunnel_create() local 65 t = xfrm_state_alloc(net); in ipcomp_tunnel_create() 66 if (!t) in ipcomp_tunnel_create() 69 t->id.proto = IPPROTO_IPIP; in ipcomp_tunnel_create() 70 t->id.spi = x->props.saddr.a4; in ipcomp_tunnel_create() 71 t->id.daddr.a4 = x->id.daddr.a4; in ipcomp_tunnel_create() 72 memcpy(&t->sel, &x->sel, sizeof(t->sel)); in ipcomp_tunnel_create() 73 t->props.family = AF_INET; in ipcomp_tunnel_create() 74 t->props.mode = x->props.mode; in ipcomp_tunnel_create() 75 t->props.saddr.a4 = x->props.saddr.a4; in ipcomp_tunnel_create() [all …]
|
D | ip_tunnel.c | 83 static noinline void tunnel_dst_set(struct ip_tunnel *t, in tunnel_dst_set() argument 86 __tunnel_dst_set(raw_cpu_ptr(t->dst_cache), dst, saddr); in tunnel_dst_set() 89 static void tunnel_dst_reset(struct ip_tunnel *t) in tunnel_dst_reset() argument 91 tunnel_dst_set(t, NULL, 0); in tunnel_dst_reset() 94 void ip_tunnel_dst_reset_all(struct ip_tunnel *t) in ip_tunnel_dst_reset_all() argument 99 __tunnel_dst_set(per_cpu_ptr(t->dst_cache, i), NULL, 0); in ip_tunnel_dst_reset_all() 103 static struct rtable *tunnel_rtable_get(struct ip_tunnel *t, in tunnel_rtable_get() argument 110 idst = raw_cpu_ptr(t->dst_cache); in tunnel_rtable_get() 118 tunnel_dst_reset(t); in tunnel_rtable_get() 157 struct ip_tunnel *t, *cand = NULL; in ip_tunnel_lookup() local [all …]
|
D | ip_gre.c | 146 struct ip_tunnel *t; in ipgre_err() local 182 t = ip_tunnel_lookup(itn, skb->dev->ifindex, tpi->flags, in ipgre_err() 185 if (!t) in ipgre_err() 188 if (t->parms.iph.daddr == 0 || in ipgre_err() 189 ipv4_is_multicast(t->parms.iph.daddr)) in ipgre_err() 192 if (t->parms.iph.ttl == 0 && type == ICMP_TIME_EXCEEDED) in ipgre_err() 195 if (time_before(jiffies, t->err_time + IPTUNNEL_ERR_TIMEO)) in ipgre_err() 196 t->err_count++; in ipgre_err() 198 t->err_count = 1; in ipgre_err() 199 t->err_time = jiffies; in ipgre_err() [all …]
|
/linux-4.1.27/include/linux/sunrpc/ |
D | sched.h | 127 #define RPC_IS_ASYNC(t) ((t)->tk_flags & RPC_TASK_ASYNC) argument 128 #define RPC_IS_SWAPPER(t) ((t)->tk_flags & RPC_TASK_SWAPPER) argument 129 #define RPC_DO_ROOTOVERRIDE(t) ((t)->tk_flags & RPC_TASK_ROOTCREDS) argument 130 #define RPC_ASSASSINATED(t) ((t)->tk_flags & RPC_TASK_KILLED) argument 131 #define RPC_IS_SOFT(t) ((t)->tk_flags & (RPC_TASK_SOFT|RPC_TASK_TIMEOUT)) argument 132 #define RPC_IS_SOFTCONN(t) ((t)->tk_flags & RPC_TASK_SOFTCONN) argument 133 #define RPC_WAS_SENT(t) ((t)->tk_flags & RPC_TASK_SENT) argument 139 #define RPC_IS_RUNNING(t) test_bit(RPC_TASK_RUNNING, &(t)->tk_runstate) argument 140 #define rpc_set_running(t) set_bit(RPC_TASK_RUNNING, &(t)->tk_runstate) argument 141 #define rpc_test_and_set_running(t) \ argument [all …]
|
D | timer.h | 28 int *t; in rpc_set_timeo() local 31 t = &rt->ntimeouts[timer-1]; in rpc_set_timeo() 32 if (ntimeo < *t) { in rpc_set_timeo() 33 if (*t > 0) in rpc_set_timeo() 34 (*t)--; in rpc_set_timeo() 38 *t = ntimeo; in rpc_set_timeo()
|
/linux-4.1.27/arch/parisc/math-emu/ |
D | fpudispatch.c | 290 u_int r1,r2,t; /* operand register offsets */ in decode_0c() local 306 t = extru(ir,fptpos,5) * sizeof(double)/sizeof(u_int); in decode_0c() 307 if (t == 0 && class != 2) /* don't allow fr0 as a dest */ in decode_0c() 322 t &= ~3; /* force to even reg #s */ in decode_0c() 324 fpregs[t+3] = fpregs[r1+3]; in decode_0c() 325 fpregs[t+2] = fpregs[r1+2]; in decode_0c() 327 fpregs[t+1] = fpregs[r1+1]; in decode_0c() 329 fpregs[t] = fpregs[r1]; in decode_0c() 337 t &= ~3; /* force to even reg #s */ in decode_0c() 339 fpregs[t+3] = fpregs[r1+3]; in decode_0c() [all …]
|
/linux-4.1.27/sound/firewire/ |
D | fcp.c | 228 struct fcp_transaction t; in fcp_avc_transaction() local 231 t.unit = unit; in fcp_avc_transaction() 232 t.response_buffer = response; in fcp_avc_transaction() 233 t.response_size = response_size; in fcp_avc_transaction() 234 t.response_match_bytes = response_match_bytes; in fcp_avc_transaction() 235 t.state = STATE_PENDING; in fcp_avc_transaction() 236 init_waitqueue_head(&t.wait); in fcp_avc_transaction() 239 t.deferrable = true; in fcp_avc_transaction() 242 list_add_tail(&t.list, &transactions); in fcp_avc_transaction() 248 ret = snd_fw_transaction(t.unit, tcode, in fcp_avc_transaction() [all …]
|
/linux-4.1.27/tools/usb/ |
D | ffs-test.c | 288 static ssize_t read_wrap(struct thread *t, void *buf, size_t nbytes); 289 static ssize_t write_wrap(struct thread *t, const void *buf, size_t nbytes); 290 static ssize_t ep0_consume(struct thread *t, const void *buf, size_t nbytes); 291 static ssize_t fill_in_buf(struct thread *t, void *buf, size_t nbytes); 292 static ssize_t empty_out_buf(struct thread *t, const void *buf, size_t nbytes); 331 static void init_thread(struct thread *t) in init_thread() argument 333 t->buf = malloc(t->buf_size); in init_thread() 334 die_on(!t->buf, "malloc"); in init_thread() 336 t->fd = open(t->filename, O_RDWR); in init_thread() 337 die_on(t->fd < 0, "%s", t->filename); in init_thread() [all …]
|
/linux-4.1.27/drivers/staging/gdm72xx/ |
D | gdm_sdio.c | 43 struct sdio_tx *t = kzalloc(sizeof(*t), GFP_ATOMIC); in alloc_tx_struct() local 45 if (!t) in alloc_tx_struct() 48 t->buf = kmalloc(TX_BUF_SIZE, GFP_ATOMIC); in alloc_tx_struct() 49 if (!t->buf) { in alloc_tx_struct() 50 kfree(t); in alloc_tx_struct() 54 t->tx_cxt = tx; in alloc_tx_struct() 56 return t; in alloc_tx_struct() 59 static void free_tx_struct(struct sdio_tx *t) in free_tx_struct() argument 61 if (t) { in free_tx_struct() 62 kfree(t->buf); in free_tx_struct() [all …]
|
D | gdm_usb.c | 54 struct usb_tx *t = kzalloc(sizeof(*t), GFP_ATOMIC); in alloc_tx_struct() local 56 if (!t) in alloc_tx_struct() 59 t->urb = usb_alloc_urb(0, GFP_ATOMIC); in alloc_tx_struct() 60 t->buf = kmalloc(TX_BUF_SIZE, GFP_ATOMIC); in alloc_tx_struct() 61 if (!t->urb || !t->buf) { in alloc_tx_struct() 62 usb_free_urb(t->urb); in alloc_tx_struct() 63 kfree(t->buf); in alloc_tx_struct() 64 kfree(t); in alloc_tx_struct() 68 t->tx_cxt = tx; in alloc_tx_struct() 70 return t; in alloc_tx_struct() [all …]
|
/linux-4.1.27/drivers/parport/ |
D | procfs.c | 476 struct parport_sysctl_table *t; in parport_proc_register() local 479 t = kmemdup(&parport_sysctl_template, sizeof(*t), GFP_KERNEL); in parport_proc_register() 480 if (t == NULL) in parport_proc_register() 483 t->device_dir[0].extra1 = port; in parport_proc_register() 486 t->vars[i].extra1 = port; in parport_proc_register() 488 t->vars[0].data = &port->spintime; in parport_proc_register() 489 t->vars[5].child = t->device_dir; in parport_proc_register() 492 t->vars[6 + i].extra2 = &port->probe_info[i]; in parport_proc_register() 494 t->port_dir[0].procname = port->name; in parport_proc_register() 496 t->port_dir[0].child = t->vars; in parport_proc_register() [all …]
|
/linux-4.1.27/arch/m68k/sun3/ |
D | intersil.c | 34 int sun3_hwclk(int set, struct rtc_time *t) in sun3_hwclk() argument 48 todintersil->hour = t->tm_hour; in sun3_hwclk() 49 todintersil->minute = t->tm_min; in sun3_hwclk() 50 todintersil->second = t->tm_sec; in sun3_hwclk() 51 todintersil->month = t->tm_mon; in sun3_hwclk() 52 todintersil->day = t->tm_mday; in sun3_hwclk() 53 todintersil->year = t->tm_year - 68; in sun3_hwclk() 54 todintersil->weekday = t->tm_wday; in sun3_hwclk() 57 t->tm_sec = todintersil->csec; in sun3_hwclk() 58 t->tm_hour = todintersil->hour; in sun3_hwclk() [all …]
|
/linux-4.1.27/drivers/spi/ |
D | spi-bitbang.c | 65 struct spi_transfer *t in bitbang_txrx_8() argument 67 unsigned bits = t->bits_per_word; in bitbang_txrx_8() 68 unsigned count = t->len; in bitbang_txrx_8() 69 const u8 *tx = t->tx_buf; in bitbang_txrx_8() 70 u8 *rx = t->rx_buf; in bitbang_txrx_8() 82 return t->len - count; in bitbang_txrx_8() 91 struct spi_transfer *t in bitbang_txrx_16() argument 93 unsigned bits = t->bits_per_word; in bitbang_txrx_16() 94 unsigned count = t->len; in bitbang_txrx_16() 95 const u16 *tx = t->tx_buf; in bitbang_txrx_16() [all …]
|
D | spi-xcomm.c | 74 struct spi_device *spi, struct spi_transfer *t, unsigned int *settings) in spi_xcomm_setup_transfer() argument 76 if (t->len > 62) in spi_xcomm_setup_transfer() 79 if (t->speed_hz != spi_xcomm->current_speed) { in spi_xcomm_setup_transfer() 82 divider = DIV_ROUND_UP(SPI_XCOMM_CLOCK, t->speed_hz); in spi_xcomm_setup_transfer() 90 spi_xcomm->current_speed = t->speed_hz; in spi_xcomm_setup_transfer() 112 struct spi_device *spi, struct spi_transfer *t) in spi_xcomm_txrx_bufs() argument 116 if (t->tx_buf) { in spi_xcomm_txrx_bufs() 118 memcpy(spi_xcomm->buf + 1, t->tx_buf, t->len); in spi_xcomm_txrx_bufs() 120 ret = i2c_master_send(spi_xcomm->i2c, spi_xcomm->buf, t->len + 1); in spi_xcomm_txrx_bufs() 123 else if (ret != t->len + 1) in spi_xcomm_txrx_bufs() [all …]
|
D | spi-bcm63xx.c | 88 struct spi_transfer *t) in bcm63xx_spi_setup_transfer() argument 96 if (t->speed_hz >= bcm63xx_spi_freq_table[i][0]) { in bcm63xx_spi_setup_transfer() 113 clk_cfg, t->speed_hz); in bcm63xx_spi_setup_transfer() 127 struct spi_transfer *t = first; in bcm63xx_txrx_bufs() local 135 t->tx_buf, t->rx_buf, t->len); in bcm63xx_txrx_bufs() 137 if (num_transfers > 1 && t->tx_buf && t->len <= BCM63XX_SPI_MAX_PREPEND) in bcm63xx_txrx_bufs() 138 prepend_len = t->len; in bcm63xx_txrx_bufs() 142 if (t->tx_buf) { in bcm63xx_txrx_bufs() 144 memcpy_toio(bs->tx_io + len, t->tx_buf, t->len); in bcm63xx_txrx_bufs() 147 if (t != first) in bcm63xx_txrx_bufs() [all …]
|
D | spi-fsl-espi.c | 132 struct spi_transfer *t) in fsl_espi_setup_transfer() argument 140 if (t) { in fsl_espi_setup_transfer() 141 bits_per_word = t->bits_per_word; in fsl_espi_setup_transfer() 142 hz = t->speed_hz; in fsl_espi_setup_transfer() 199 static int fsl_espi_cpu_bufs(struct mpc8xxx_spi *mspi, struct spi_transfer *t, in fsl_espi_cpu_bufs() argument 217 static int fsl_espi_bufs(struct spi_device *spi, struct spi_transfer *t) in fsl_espi_bufs() argument 221 unsigned int len = t->len; in fsl_espi_bufs() 224 mpc8xxx_spi->len = t->len; in fsl_espi_bufs() 227 mpc8xxx_spi->tx = t->tx_buf; in fsl_espi_bufs() 228 mpc8xxx_spi->rx = t->rx_buf; in fsl_espi_bufs() [all …]
|
D | spi-sc18is602.c | 71 struct spi_transfer *t, bool do_transfer) in sc18is602_txrx() argument 73 unsigned int len = t->len; in sc18is602_txrx() 87 if (t->tx_buf) { in sc18is602_txrx() 88 memcpy(&hw->buffer[hw->tlen], t->tx_buf, len); in sc18is602_txrx() 90 if (t->rx_buf) in sc18is602_txrx() 94 } else if (t->rx_buf) { in sc18is602_txrx() 117 if (t->rx_buf) { in sc18is602_txrx() 128 memcpy(t->rx_buf, &hw->buffer[hw->rindex], len); in sc18is602_txrx() 180 struct spi_transfer *t, int tlen) in sc18is602_check_transfer() argument 182 if (t && t->len + tlen > SC18IS602_BUFSIZ) in sc18is602_check_transfer() [all …]
|
D | spi-sh-hspi.c | 79 int t = 256; in hspi_status_check_timeout() local 81 while (t--) { in hspi_status_check_timeout() 105 struct spi_transfer *t) in hspi_hw_setup() argument 131 tmp = abs(t->speed_hz - rate); in hspi_hw_setup() 144 dev_dbg(dev, "speed %d/%d\n", t->speed_hz, best_rate); in hspi_hw_setup() 155 struct spi_transfer *t; in hspi_transfer_one_message() local 166 list_for_each_entry(t, &msg->transfers, transfer_list) { in hspi_transfer_one_message() 169 hspi_hw_setup(hspi, msg, t); in hspi_transfer_one_message() 173 cs_change = t->cs_change; in hspi_transfer_one_message() 175 for (i = 0; i < t->len; i++) { in hspi_transfer_one_message() [all …]
|
D | spi-mpc52xx-psc.c | 64 struct spi_transfer *t) in mpc52xx_psc_spi_transfer_setup() argument 68 cs->speed_hz = (t && t->speed_hz) in mpc52xx_psc_spi_transfer_setup() 69 ? t->speed_hz : spi->max_speed_hz; in mpc52xx_psc_spi_transfer_setup() 70 cs->bits_per_word = (t && t->bits_per_word) in mpc52xx_psc_spi_transfer_setup() 71 ? t->bits_per_word : spi->bits_per_word; in mpc52xx_psc_spi_transfer_setup() 132 struct spi_transfer *t) in mpc52xx_psc_spi_transfer_rxtx() argument 139 unsigned char *rx_buf = (unsigned char *)t->rx_buf; in mpc52xx_psc_spi_transfer_rxtx() 140 unsigned char *tx_buf = (unsigned char *)t->tx_buf; in mpc52xx_psc_spi_transfer_rxtx() 146 if (!t->tx_buf && !t->rx_buf && t->len) in mpc52xx_psc_spi_transfer_rxtx() 151 while (rb < t->len) { in mpc52xx_psc_spi_transfer_rxtx() [all …]
|
D | spi-sirf.c | 309 struct spi_transfer *t) in spi_sirfsoc_cmd_transfer() argument 312 int timeout = t->len * 10; in spi_sirfsoc_cmd_transfer() 318 memcpy(&cmd, sspi->tx, t->len); in spi_sirfsoc_cmd_transfer() 321 ((SIRFSOC_MAX_CMD_BYTES - t->len) * 8); in spi_sirfsoc_cmd_transfer() 322 if (sspi->word_width == 2 && t->len == 4 && in spi_sirfsoc_cmd_transfer() 334 sspi->left_rx_word -= t->len; in spi_sirfsoc_cmd_transfer() 338 struct spi_transfer *t) in spi_sirfsoc_dma_transfer() argument 342 int timeout = t->len * 10; in spi_sirfsoc_dma_transfer() 365 sspi->dst_start = dma_map_single(&spi->dev, sspi->rx, t->len, in spi_sirfsoc_dma_transfer() 366 (t->tx_buf != t->rx_buf) ? in spi_sirfsoc_dma_transfer() [all …]
|
D | spi-au1550.c | 63 int (*txrx_bufs)(struct spi_device *spi, struct spi_transfer *t); 230 static int au1550_spi_setupxfer(struct spi_device *spi, struct spi_transfer *t) in au1550_spi_setupxfer() argument 238 if (t) { in au1550_spi_setupxfer() 239 if (t->bits_per_word) in au1550_spi_setupxfer() 240 bpw = t->bits_per_word; in au1550_spi_setupxfer() 241 if (t->speed_hz) in au1550_spi_setupxfer() 242 hz = t->speed_hz; in au1550_spi_setupxfer() 315 static int au1550_spi_dma_txrxb(struct spi_device *spi, struct spi_transfer *t) in au1550_spi_dma_txrxb() argument 322 hw->len = t->len; in au1550_spi_dma_txrxb() 326 hw->tx = t->tx_buf; in au1550_spi_dma_txrxb() [all …]
|
/linux-4.1.27/drivers/media/dvb-frontends/ |
D | lgs8gxx.c | 118 u8 t; in wait_reg_mask() local 122 lgs8gxx_read_reg(priv, reg, &t); in wait_reg_mask() 124 if ((t & mask) == val) in wait_reg_mask() 196 u8 reg_addr, t; in lgs8gxx_get_afc_phase() local 205 lgs8gxx_read_reg(priv, reg_addr, &t); in lgs8gxx_get_afc_phase() 207 v32 |= t; in lgs8gxx_get_afc_phase() 220 u8 t; in lgs8gxx_set_mode_auto() local 227 lgs8gxx_read_reg(priv, 0x0C, &t); in lgs8gxx_set_mode_auto() 228 t &= (~0x04); in lgs8gxx_set_mode_auto() 229 lgs8gxx_write_reg(priv, 0x0C, t | 0x80); in lgs8gxx_set_mode_auto() [all …]
|
/linux-4.1.27/kernel/sched/ |
D | stats.h | 51 static inline void sched_info_reset_dequeued(struct task_struct *t) in sched_info_reset_dequeued() argument 53 t->sched_info.last_queued = 0; in sched_info_reset_dequeued() 62 static inline void sched_info_dequeued(struct rq *rq, struct task_struct *t) in sched_info_dequeued() argument 67 if (t->sched_info.last_queued) in sched_info_dequeued() 68 delta = now - t->sched_info.last_queued; in sched_info_dequeued() 69 sched_info_reset_dequeued(t); in sched_info_dequeued() 70 t->sched_info.run_delay += delta; in sched_info_dequeued() 80 static void sched_info_arrive(struct rq *rq, struct task_struct *t) in sched_info_arrive() argument 84 if (t->sched_info.last_queued) in sched_info_arrive() 85 delta = now - t->sched_info.last_queued; in sched_info_arrive() [all …]
|
D | cputime.c | 290 struct task_struct *t; in thread_group_cputime() local 304 for_each_thread(tsk, t) { in thread_group_cputime() 305 task_cputime(t, &utime, &stime); in thread_group_cputime() 308 times->sum_exec_runtime += task_sched_runtime(t); in thread_group_cputime() 755 void vtime_init_idle(struct task_struct *t, int cpu) in vtime_init_idle() argument 759 write_seqlock_irqsave(&t->vtime_seqlock, flags); in vtime_init_idle() 760 t->vtime_snap_whence = VTIME_SYS; in vtime_init_idle() 761 t->vtime_snap = sched_clock_cpu(cpu); in vtime_init_idle() 762 write_sequnlock_irqrestore(&t->vtime_seqlock, flags); in vtime_init_idle() 765 cputime_t task_gtime(struct task_struct *t) in task_gtime() argument [all …]
|
/linux-4.1.27/drivers/iio/trigger/ |
D | iio-trig-sysfs.c | 135 struct iio_sysfs_trig *t; in iio_sysfs_trigger_probe() local 140 list_for_each_entry(t, &iio_sysfs_trig_list, l) in iio_sysfs_trigger_probe() 141 if (id == t->id) { in iio_sysfs_trigger_probe() 149 t = kmalloc(sizeof(*t), GFP_KERNEL); in iio_sysfs_trigger_probe() 150 if (t == NULL) { in iio_sysfs_trigger_probe() 154 t->id = id; in iio_sysfs_trigger_probe() 155 t->trig = iio_trigger_alloc("sysfstrig%d", id); in iio_sysfs_trigger_probe() 156 if (!t->trig) { in iio_sysfs_trigger_probe() 161 t->trig->dev.groups = iio_sysfs_trigger_attr_groups; in iio_sysfs_trigger_probe() 162 t->trig->ops = &iio_sysfs_trigger_ops; in iio_sysfs_trigger_probe() [all …]
|
/linux-4.1.27/sound/firewire/fireworks/ |
D | fireworks_transaction.c | 75 struct transaction_queue t; in snd_efw_transaction_run() local 79 t.unit = unit; in snd_efw_transaction_run() 80 t.buf = resp; in snd_efw_transaction_run() 81 t.size = resp_size; in snd_efw_transaction_run() 82 t.seqnum = be32_to_cpu(((struct snd_efw_transaction *)cmd)->seqnum) + 1; in snd_efw_transaction_run() 83 t.state = STATE_PENDING; in snd_efw_transaction_run() 84 init_waitqueue_head(&t.wait); in snd_efw_transaction_run() 87 list_add_tail(&t.list, &transaction_queues); in snd_efw_transaction_run() 92 ret = snd_efw_transaction_cmd(t.unit, (void *)cmd, cmd_size); in snd_efw_transaction_run() 96 wait_event_timeout(t.wait, t.state != STATE_PENDING, in snd_efw_transaction_run() [all …]
|
/linux-4.1.27/net/sctp/ |
D | transport.c | 236 void sctp_transport_update_pmtu(struct sock *sk, struct sctp_transport *t, u32 pmtu) in sctp_transport_update_pmtu() argument 247 t->pathmtu = SCTP_DEFAULT_MINSEGMENT; in sctp_transport_update_pmtu() 249 t->pathmtu = pmtu; in sctp_transport_update_pmtu() 252 dst = sctp_transport_dst_check(t); in sctp_transport_update_pmtu() 254 t->af_specific->get_dst(t, &t->saddr, &t->fl, sk); in sctp_transport_update_pmtu() 259 dst = sctp_transport_dst_check(t); in sctp_transport_update_pmtu() 261 t->af_specific->get_dst(t, &t->saddr, &t->fl, sk); in sctp_transport_update_pmtu() 569 void sctp_transport_burst_limited(struct sctp_transport *t) in sctp_transport_burst_limited() argument 571 struct sctp_association *asoc = t->asoc; in sctp_transport_burst_limited() 572 u32 old_cwnd = t->cwnd; in sctp_transport_burst_limited() [all …]
|
D | sm_sideeffect.c | 73 struct sctp_transport *t); 636 struct sctp_transport *t; in sctp_cmd_hb_timers_start() local 642 list_for_each_entry(t, &asoc->peer.transport_addr_list, transports) { in sctp_cmd_hb_timers_start() 644 if (!mod_timer(&t->hb_timer, sctp_transport_timeout(t))) in sctp_cmd_hb_timers_start() 645 sctp_transport_hold(t); in sctp_cmd_hb_timers_start() 652 struct sctp_transport *t; in sctp_cmd_hb_timers_stop() local 656 list_for_each_entry(t, &asoc->peer.transport_addr_list, in sctp_cmd_hb_timers_stop() 658 if (del_timer(&t->hb_timer)) in sctp_cmd_hb_timers_stop() 659 sctp_transport_put(t); in sctp_cmd_hb_timers_stop() 667 struct sctp_transport *t; in sctp_cmd_t3_rtx_timers_stop() local [all …]
|
/linux-4.1.27/drivers/media/i2c/ |
D | tda7432.c | 274 struct tda7432 *t = to_state(sd); in tda7432_s_ctrl() local 280 if (t->balance->val < 0) { in tda7432_s_ctrl() 282 rr = rf = -t->balance->val; in tda7432_s_ctrl() 284 } else if (t->balance->val > 0) { in tda7432_s_ctrl() 287 lr = lf = t->balance->val; in tda7432_s_ctrl() 293 if (t->mute->val) { in tda7432_s_ctrl() 313 bass = t->bass->val; in tda7432_s_ctrl() 314 treble = t->treble->val; in tda7432_s_ctrl() 356 struct tda7432 *t; in tda7432_probe() local 362 t = devm_kzalloc(&client->dev, sizeof(*t), GFP_KERNEL); in tda7432_probe() [all …]
|
D | sony-btf-mpx.c | 169 static int mpx_setup(struct sony_btf_mpx *t) in mpx_setup() argument 171 struct i2c_client *client = v4l2_get_subdevdata(&t->sd); in mpx_setup() 175 int mode = t->mpxmode; in mpx_setup() 189 if (t->audmode != V4L2_TUNER_MODE_MONO) in mpx_setup() 193 switch (t->audmode) { in mpx_setup() 236 t->audmode == V4L2_TUNER_MODE_MONO ? 0x07f0 : 0x0190); in mpx_setup() 281 struct sony_btf_mpx *t = to_state(sd); in sony_btf_mpx_s_std() local 293 if (default_mpx_mode != t->mpxmode) { in sony_btf_mpx_s_std() 294 t->mpxmode = default_mpx_mode; in sony_btf_mpx_s_std() 295 mpx_setup(t); in sony_btf_mpx_s_std() [all …]
|
D | tda9840.c | 89 static int tda9840_s_tuner(struct v4l2_subdev *sd, const struct v4l2_tuner *t) in tda9840_s_tuner() argument 94 if (t->index) in tda9840_s_tuner() 101 byte = (t->audmode == V4L2_TUNER_MODE_MONO) ? in tda9840_s_tuner() 104 switch (t->audmode) { in tda9840_s_tuner() 121 static int tda9840_g_tuner(struct v4l2_subdev *sd, struct v4l2_tuner *t) in tda9840_g_tuner() argument 128 t->rxsubchans = V4L2_TUNER_SUB_MONO; in tda9840_g_tuner() 132 t->rxsubchans = V4L2_TUNER_SUB_MONO; in tda9840_g_tuner() 135 t->rxsubchans = V4L2_TUNER_SUB_LANG1 | V4L2_TUNER_SUB_LANG2; in tda9840_g_tuner() 138 t->rxsubchans = V4L2_TUNER_SUB_STEREO | V4L2_TUNER_SUB_MONO; in tda9840_g_tuner() 141 t->rxsubchans = V4L2_TUNER_MODE_MONO; in tda9840_g_tuner()
|
/linux-4.1.27/kernel/rcu/ |
D | update.c | 145 struct task_struct *t = current; in __rcu_read_unlock() local 147 if (t->rcu_read_lock_nesting != 1) { in __rcu_read_unlock() 148 --t->rcu_read_lock_nesting; in __rcu_read_unlock() 151 t->rcu_read_lock_nesting = INT_MIN; in __rcu_read_unlock() 153 if (unlikely(ACCESS_ONCE(t->rcu_read_unlock_special.s))) in __rcu_read_unlock() 154 rcu_read_unlock_special(t); in __rcu_read_unlock() 156 t->rcu_read_lock_nesting = 0; in __rcu_read_unlock() 160 int rrln = ACCESS_ONCE(t->rcu_read_lock_nesting); in __rcu_read_unlock() 548 static void check_holdout_task(struct task_struct *t, in check_holdout_task() argument 553 if (!ACCESS_ONCE(t->rcu_tasks_holdout) || in check_holdout_task() [all …]
|
/linux-4.1.27/net/netfilter/ |
D | xt_recent.c | 148 static void recent_entry_remove(struct recent_table *t, struct recent_entry *e) in recent_entry_remove() argument 153 t->entries--; in recent_entry_remove() 159 static void recent_entry_reap(struct recent_table *t, unsigned long time) in recent_entry_reap() argument 166 e = list_entry(t->lru_list.next, struct recent_entry, lru_list); in recent_entry_reap() 172 recent_entry_remove(t, e); in recent_entry_reap() 176 recent_entry_init(struct recent_table *t, const union nf_inet_addr *addr, in recent_entry_init() argument 180 unsigned int nstamps_max = t->nstamps_max_mask; in recent_entry_init() 182 if (t->entries >= ip_list_tot) { in recent_entry_init() 183 e = list_entry(t->lru_list.next, struct recent_entry, lru_list); in recent_entry_init() 184 recent_entry_remove(t, e); in recent_entry_init() [all …]
|
D | xt_HMARK.c | 78 hmark_ct_set_htuple(const struct sk_buff *skb, struct hmark_tuple *t, in hmark_ct_set_htuple() argument 93 t->src = hmark_addr_mask(otuple->src.l3num, otuple->src.u3.ip6, in hmark_ct_set_htuple() 95 t->dst = hmark_addr_mask(otuple->src.l3num, rtuple->src.u3.ip6, in hmark_ct_set_htuple() 101 t->proto = nf_ct_protonum(ct); in hmark_ct_set_htuple() 102 if (t->proto != IPPROTO_ICMP) { in hmark_ct_set_htuple() 103 t->uports.b16.src = otuple->src.u.all; in hmark_ct_set_htuple() 104 t->uports.b16.dst = rtuple->src.u.all; in hmark_ct_set_htuple() 105 hmark_swap_ports(&t->uports, info); in hmark_ct_set_htuple() 117 hmark_hash(struct hmark_tuple *t, const struct xt_hmark_info *info) in hmark_hash() argument 120 u32 src = ntohl(t->src); in hmark_hash() [all …]
|
D | nf_conntrack_extend.c | 25 struct nf_ct_ext_type *t; in __nf_ct_ext_destroy() local 33 t = rcu_dereference(nf_ct_ext_types[i]); in __nf_ct_ext_destroy() 39 if (t && t->destroy) in __nf_ct_ext_destroy() 40 t->destroy(ct); in __nf_ct_ext_destroy() 51 struct nf_ct_ext_type *t; in nf_ct_ext_create() local 55 t = rcu_dereference(nf_ct_ext_types[id]); in nf_ct_ext_create() 56 BUG_ON(t == NULL); in nf_ct_ext_create() 57 off = ALIGN(sizeof(struct nf_ct_ext), t->align); in nf_ct_ext_create() 58 len = off + t->len + var_alloc_len; in nf_ct_ext_create() 59 alloc_size = t->alloc_size + var_alloc_len; in nf_ct_ext_create() [all …]
|
/linux-4.1.27/kernel/ |
D | hung_task.c | 75 static void check_hung_task(struct task_struct *t, unsigned long timeout) in check_hung_task() argument 77 unsigned long switch_count = t->nvcsw + t->nivcsw; in check_hung_task() 83 if (unlikely(t->flags & (PF_FROZEN | PF_FREEZER_SKIP))) in check_hung_task() 94 if (switch_count != t->last_switch_count) { in check_hung_task() 95 t->last_switch_count = switch_count; in check_hung_task() 99 trace_sched_process_hang(t); in check_hung_task() 112 t->comm, t->pid, timeout); in check_hung_task() 119 sched_show_task(t); in check_hung_task() 120 debug_show_held_locks(t); in check_hung_task() 137 static bool rcu_lock_break(struct task_struct *g, struct task_struct *t) in rcu_lock_break() argument [all …]
|
D | softirq.c | 449 void __tasklet_schedule(struct tasklet_struct *t) in __tasklet_schedule() argument 454 t->next = NULL; in __tasklet_schedule() 455 *__this_cpu_read(tasklet_vec.tail) = t; in __tasklet_schedule() 456 __this_cpu_write(tasklet_vec.tail, &(t->next)); in __tasklet_schedule() 462 void __tasklet_hi_schedule(struct tasklet_struct *t) in __tasklet_hi_schedule() argument 467 t->next = NULL; in __tasklet_hi_schedule() 468 *__this_cpu_read(tasklet_hi_vec.tail) = t; in __tasklet_hi_schedule() 469 __this_cpu_write(tasklet_hi_vec.tail, &(t->next)); in __tasklet_hi_schedule() 475 void __tasklet_hi_schedule_first(struct tasklet_struct *t) in __tasklet_hi_schedule_first() argument 479 t->next = __this_cpu_read(tasklet_hi_vec.head); in __tasklet_hi_schedule_first() [all …]
|
D | signal.c | 56 static void __user *sig_handler(struct task_struct *t, int sig) in sig_handler() argument 58 return t->sighand->action[sig - 1].sa.sa_handler; in sig_handler() 68 static int sig_task_ignored(struct task_struct *t, int sig, bool force) in sig_task_ignored() argument 72 handler = sig_handler(t, sig); in sig_task_ignored() 74 if (unlikely(t->signal->flags & SIGNAL_UNKILLABLE) && in sig_task_ignored() 81 static int sig_ignored(struct task_struct *t, int sig, bool force) in sig_ignored() argument 88 if (sigismember(&t->blocked, sig) || sigismember(&t->real_blocked, sig)) in sig_ignored() 91 if (!sig_task_ignored(t, sig, force)) in sig_ignored() 97 return !t->ptrace; in sig_ignored() 132 static int recalc_sigpending_tsk(struct task_struct *t) in recalc_sigpending_tsk() argument [all …]
|
/linux-4.1.27/drivers/net/wireless/ti/wl1251/ |
D | spi.c | 60 struct spi_transfer t; in wl1251_spi_reset() local 69 memset(&t, 0, sizeof(t)); in wl1251_spi_reset() 74 t.tx_buf = cmd; in wl1251_spi_reset() 75 t.len = WSPI_INIT_CMD_LEN; in wl1251_spi_reset() 76 spi_message_add_tail(&t, &m); in wl1251_spi_reset() 87 struct spi_transfer t; in wl1251_spi_wake() local 96 memset(&t, 0, sizeof(t)); in wl1251_spi_wake() 126 t.tx_buf = cmd; in wl1251_spi_wake() 127 t.len = WSPI_INIT_CMD_LEN; in wl1251_spi_wake() 128 spi_message_add_tail(&t, &m); in wl1251_spi_wake() [all …]
|
/linux-4.1.27/arch/m68k/atari/ |
D | time.c | 107 int atari_mste_hwclk( int op, struct rtc_time *t ) in atari_mste_hwclk() argument 120 val.sec_ones = t->tm_sec % 10; in atari_mste_hwclk() 121 val.sec_tens = t->tm_sec / 10; in atari_mste_hwclk() 122 val.min_ones = t->tm_min % 10; in atari_mste_hwclk() 123 val.min_tens = t->tm_min / 10; in atari_mste_hwclk() 124 hour = t->tm_hour; in atari_mste_hwclk() 133 val.day_ones = t->tm_mday % 10; in atari_mste_hwclk() 134 val.day_tens = t->tm_mday / 10; in atari_mste_hwclk() 135 val.mon_ones = (t->tm_mon+1) % 10; in atari_mste_hwclk() 136 val.mon_tens = (t->tm_mon+1) / 10; in atari_mste_hwclk() [all …]
|
/linux-4.1.27/arch/m68k/sun3x/ |
D | time.c | 39 int sun3x_hwclk(int set, struct rtc_time *t) in sun3x_hwclk() argument 49 h->sec = bin2bcd(t->tm_sec); in sun3x_hwclk() 50 h->min = bin2bcd(t->tm_min); in sun3x_hwclk() 51 h->hour = bin2bcd(t->tm_hour); in sun3x_hwclk() 52 h->wday = bin2bcd(t->tm_wday); in sun3x_hwclk() 53 h->mday = bin2bcd(t->tm_mday); in sun3x_hwclk() 54 h->month = bin2bcd(t->tm_mon); in sun3x_hwclk() 55 h->year = bin2bcd(t->tm_year); in sun3x_hwclk() 59 t->tm_sec = bcd2bin(h->sec); in sun3x_hwclk() 60 t->tm_min = bcd2bin(h->min); in sun3x_hwclk() [all …]
|
/linux-4.1.27/arch/mips/math-emu/ |
D | dp_sqrt.c | 35 union ieee754dp y, z, t; in ieee754dp_sqrt() local 104 t = ieee754dp_div(x, y); in ieee754dp_sqrt() 105 y = ieee754dp_add(y, t); in ieee754dp_sqrt() 111 z = t = ieee754dp_mul(y, y); in ieee754dp_sqrt() 112 t.bexp += 0x001; in ieee754dp_sqrt() 113 t = ieee754dp_add(t, z); in ieee754dp_sqrt() 117 t = ieee754dp_div(z, ieee754dp_add(t, x)); in ieee754dp_sqrt() 118 t.bexp += 0x001; in ieee754dp_sqrt() 119 y = ieee754dp_add(y, t); in ieee754dp_sqrt() 128 t = ieee754dp_div(x, y); in ieee754dp_sqrt() [all …]
|
/linux-4.1.27/include/net/netfilter/ |
D | nf_conntrack_tuple.h | 81 static inline void nf_ct_dump_tuple_ip(const struct nf_conntrack_tuple *t) in nf_ct_dump_tuple_ip() argument 85 t, t->dst.protonum, in nf_ct_dump_tuple_ip() 86 &t->src.u3.ip, ntohs(t->src.u.all), in nf_ct_dump_tuple_ip() 87 &t->dst.u3.ip, ntohs(t->dst.u.all)); in nf_ct_dump_tuple_ip() 91 static inline void nf_ct_dump_tuple_ipv6(const struct nf_conntrack_tuple *t) in nf_ct_dump_tuple_ipv6() argument 95 t, t->dst.protonum, in nf_ct_dump_tuple_ipv6() 96 t->src.u3.all, ntohs(t->src.u.all), in nf_ct_dump_tuple_ipv6() 97 t->dst.u3.all, ntohs(t->dst.u.all)); in nf_ct_dump_tuple_ipv6() 101 static inline void nf_ct_dump_tuple(const struct nf_conntrack_tuple *t) in nf_ct_dump_tuple() argument 103 switch (t->src.l3num) { in nf_ct_dump_tuple() [all …]
|
/linux-4.1.27/drivers/watchdog/ |
D | w83627hf_wdt.c | 144 unsigned char t; in w83627hf_init() local 153 t = superio_inb(0x30); in w83627hf_init() 154 if (!(t & 0x01)) in w83627hf_init() 155 superio_outb(0x30, t | 0x01); in w83627hf_init() 160 t = superio_inb(0x2B) & ~0x10; in w83627hf_init() 161 superio_outb(0x2B, t); /* set GPIO24 to WDT0 */ in w83627hf_init() 165 t = superio_inb(0x29) & ~0x60; in w83627hf_init() 166 t |= 0x20; in w83627hf_init() 167 superio_outb(0x29, t); in w83627hf_init() 171 t = superio_inb(0x2b) & ~0x04; in w83627hf_init() [all …]
|
D | rt2880_wdt.c | 75 u32 t; in rt288x_wdt_start() local 77 t = rt_wdt_r32(TIMER_REG_TMR1CTL); in rt288x_wdt_start() 78 t &= ~(TMR1CTL_MODE_MASK << TMR1CTL_MODE_SHIFT | in rt288x_wdt_start() 80 t |= (TMR1CTL_MODE_WDT << TMR1CTL_MODE_SHIFT | in rt288x_wdt_start() 82 rt_wdt_w32(TIMER_REG_TMR1CTL, t); in rt288x_wdt_start() 86 t = rt_wdt_r32(TIMER_REG_TMR1CTL); in rt288x_wdt_start() 87 t |= TMR1CTL_ENABLE; in rt288x_wdt_start() 88 rt_wdt_w32(TIMER_REG_TMR1CTL, t); in rt288x_wdt_start() 95 u32 t; in rt288x_wdt_stop() local 99 t = rt_wdt_r32(TIMER_REG_TMR1CTL); in rt288x_wdt_stop() [all …]
|
D | sch311x_wdt.c | 113 static void sch311x_wdt_set_timeout(int t) in sch311x_wdt_set_timeout() argument 118 if (t > 255) { in sch311x_wdt_set_timeout() 120 t /= 60; in sch311x_wdt_set_timeout() 133 outb(t, sch311x_wdt_data.runtime_reg + WDT_VAL); in sch311x_wdt_set_timeout() 138 unsigned char t; in sch311x_wdt_start() local 153 t = inb(sch311x_wdt_data.runtime_reg + GP60); in sch311x_wdt_start() 154 outb((t & ~0x0d) | 0x0c, sch311x_wdt_data.runtime_reg + GP60); in sch311x_wdt_start() 162 unsigned char t; in sch311x_wdt_stop() local 167 t = inb(sch311x_wdt_data.runtime_reg + GP60); in sch311x_wdt_stop() 168 outb((t & ~0x0d) | 0x01, sch311x_wdt_data.runtime_reg + GP60); in sch311x_wdt_stop() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/mips/cavium/ |
D | bootbus.txt | 32 - cavium,t-adr: A cell specifying the ADR timing (in nS). 34 - cavium,t-ce: A cell specifying the CE timing (in nS). 36 - cavium,t-oe: A cell specifying the OE timing (in nS). 38 - cavium,t-we: A cell specifying the WE timing (in nS). 40 - cavium,t-rd-hld: A cell specifying the RD_HLD timing (in nS). 42 - cavium,t-wr-hld: A cell specifying the WR_HLD timing (in nS). 44 - cavium,t-pause: A cell specifying the PAUSE timing (in nS). 46 - cavium,t-wait: A cell specifying the WAIT timing (in nS). 48 - cavium,t-page: A cell specifying the PAGE timing (in nS). 50 - cavium,t-rd-dly: A cell specifying the RD_DLY timing (in nS). [all …]
|
/linux-4.1.27/drivers/rtc/ |
D | rtc-ds1307.c | 372 static int ds1307_get_time(struct device *dev, struct rtc_time *t) in ds1307_get_time() argument 387 t->tm_sec = bcd2bin(ds1307->regs[DS1307_REG_SECS] & 0x7f); in ds1307_get_time() 388 t->tm_min = bcd2bin(ds1307->regs[DS1307_REG_MIN] & 0x7f); in ds1307_get_time() 390 t->tm_hour = bcd2bin(tmp); in ds1307_get_time() 391 t->tm_wday = bcd2bin(ds1307->regs[DS1307_REG_WDAY] & 0x07) - 1; in ds1307_get_time() 392 t->tm_mday = bcd2bin(ds1307->regs[DS1307_REG_MDAY] & 0x3f); in ds1307_get_time() 394 t->tm_mon = bcd2bin(tmp) - 1; in ds1307_get_time() 397 t->tm_year = bcd2bin(ds1307->regs[DS1307_REG_YEAR]) + 100; in ds1307_get_time() 401 "read", t->tm_sec, t->tm_min, in ds1307_get_time() 402 t->tm_hour, t->tm_mday, in ds1307_get_time() [all …]
|
D | rtc-ls1x.c | 80 #define ls1x_get_sec(t) (((t) >> LS1X_SEC_OFFSET) & LS1X_SEC_MASK) argument 81 #define ls1x_get_min(t) (((t) >> LS1X_MIN_OFFSET) & LS1X_MIN_MASK) argument 82 #define ls1x_get_hour(t) (((t) >> LS1X_HOUR_OFFSET) & LS1X_HOUR_MASK) argument 83 #define ls1x_get_day(t) (((t) >> LS1X_DAY_OFFSET) & LS1X_DAY_MASK) argument 84 #define ls1x_get_month(t) (((t) >> LS1X_MONTH_OFFSET) & LS1X_MONTH_MASK) argument 90 unsigned long v, t; in ls1x_rtc_read_time() local 93 t = readl(SYS_TOYREAD1); in ls1x_rtc_read_time() 96 t = mktime((t & LS1X_YEAR_MASK), ls1x_get_month(v), in ls1x_rtc_read_time() 99 rtc_time_to_tm(t, rtm); in ls1x_rtc_read_time() 106 unsigned long v, t, c; in ls1x_rtc_set_time() local [all …]
|
D | rtc-au1xxx.c | 33 unsigned long t; in au1xtoy_rtc_read_time() local 35 t = alchemy_rdsys(AU1000_SYS_TOYREAD); in au1xtoy_rtc_read_time() 37 rtc_time_to_tm(t, tm); in au1xtoy_rtc_read_time() 44 unsigned long t; in au1xtoy_rtc_set_time() local 46 rtc_tm_to_time(tm, &t); in au1xtoy_rtc_set_time() 48 alchemy_wrsys(t, AU1000_SYS_TOYWRITE); in au1xtoy_rtc_set_time() 67 unsigned long t; in au1xtoy_rtc_probe() local 70 t = alchemy_rdsys(AU1000_SYS_CNTRCTRL); in au1xtoy_rtc_probe() 71 if (!(t & CNTR_OK)) { in au1xtoy_rtc_probe() 82 t = 0x00100000; in au1xtoy_rtc_probe() [all …]
|
D | rtc-cmos.c | 190 static int cmos_read_time(struct device *dev, struct rtc_time *t) in cmos_read_time() argument 196 get_rtc_time(t); in cmos_read_time() 200 static int cmos_set_time(struct device *dev, struct rtc_time *t) in cmos_set_time() argument 208 return set_rtc_time(t); in cmos_set_time() 211 static int cmos_read_alarm(struct device *dev, struct rtc_wkalrm *t) in cmos_read_alarm() argument 223 t->time.tm_mday = -1; in cmos_read_alarm() 224 t->time.tm_mon = -1; in cmos_read_alarm() 227 t->time.tm_sec = CMOS_READ(RTC_SECONDS_ALARM); in cmos_read_alarm() 228 t->time.tm_min = CMOS_READ(RTC_MINUTES_ALARM); in cmos_read_alarm() 229 t->time.tm_hour = CMOS_READ(RTC_HOURS_ALARM); in cmos_read_alarm() [all …]
|
D | rtc-fm3130.c | 95 static int fm3130_get_time(struct device *dev, struct rtc_time *t) in fm3130_get_time() argument 121 t->tm_sec = bcd2bin(fm3130->regs[FM3130_RTC_SECONDS] & 0x7f); in fm3130_get_time() 122 t->tm_min = bcd2bin(fm3130->regs[FM3130_RTC_MINUTES] & 0x7f); in fm3130_get_time() 124 t->tm_hour = bcd2bin(tmp); in fm3130_get_time() 125 t->tm_wday = bcd2bin(fm3130->regs[FM3130_RTC_DAY] & 0x07) - 1; in fm3130_get_time() 126 t->tm_mday = bcd2bin(fm3130->regs[FM3130_RTC_DATE] & 0x3f); in fm3130_get_time() 128 t->tm_mon = bcd2bin(tmp) - 1; in fm3130_get_time() 131 t->tm_year = bcd2bin(fm3130->regs[FM3130_RTC_YEARS]) + 100; in fm3130_get_time() 135 "read", t->tm_sec, t->tm_min, in fm3130_get_time() 136 t->tm_hour, t->tm_mday, in fm3130_get_time() [all …]
|
/linux-4.1.27/arch/m68k/hp300/ |
D | config.c | 202 static int hp300_hwclk(int op, struct rtc_time *t) in hp300_hwclk() argument 205 t->tm_sec = hp300_rtc_read(RTC_REG_SEC1) * 10 + in hp300_hwclk() 207 t->tm_min = hp300_rtc_read(RTC_REG_MIN1) * 10 + in hp300_hwclk() 209 t->tm_hour = (hp300_rtc_read(RTC_REG_HOUR1) & 3) * 10 + in hp300_hwclk() 211 t->tm_wday = -1; in hp300_hwclk() 212 t->tm_mday = hp300_rtc_read(RTC_REG_DAY1) * 10 + in hp300_hwclk() 214 t->tm_mon = hp300_rtc_read(RTC_REG_MON1) * 10 + in hp300_hwclk() 216 t->tm_year = hp300_rtc_read(RTC_REG_YEAR1) * 10 + in hp300_hwclk() 218 if (t->tm_year <= 69) in hp300_hwclk() 219 t->tm_year += 100; in hp300_hwclk() [all …]
|
/linux-4.1.27/drivers/ata/ |
D | pata_cmd640.c | 55 struct ata_timing t; in cmd640_set_piomode() local 62 if (ata_timing_compute(adev, adev->pio_mode, &t, T, 0) < 0) { in cmd640_set_piomode() 72 ata_timing_merge(&p, &t, &t, ATA_TIMING_SETUP); in cmd640_set_piomode() 76 if (t.recover > 16) { in cmd640_set_piomode() 77 t.active += t.recover - 16; in cmd640_set_piomode() 78 t.recover = 16; in cmd640_set_piomode() 80 if (t.active > 16) in cmd640_set_piomode() 81 t.active = 16; in cmd640_set_piomode() 86 if (t.recover > 1) in cmd640_set_piomode() 87 t.recover--; /* 640B only */ in cmd640_set_piomode() [all …]
|
D | pata_ali.c | 170 static void ali_program_modes(struct ata_port *ap, struct ata_device *adev, struct ata_timing *t, u… in ali_program_modes() argument 180 if (t != NULL) { in ali_program_modes() 181 t->setup = clamp_val(t->setup, 1, 8) & 7; in ali_program_modes() 182 t->act8b = clamp_val(t->act8b, 1, 8) & 7; in ali_program_modes() 183 t->rec8b = clamp_val(t->rec8b, 1, 16) & 15; in ali_program_modes() 184 t->active = clamp_val(t->active, 1, 8) & 7; in ali_program_modes() 185 t->recover = clamp_val(t->recover, 1, 16) & 15; in ali_program_modes() 187 pci_write_config_byte(pdev, cas, t->setup); in ali_program_modes() 188 pci_write_config_byte(pdev, cbt, (t->act8b << 4) | t->rec8b); in ali_program_modes() 189 pci_write_config_byte(pdev, drwt, (t->active << 4) | t->recover); in ali_program_modes() [all …]
|
D | pata_cmd64x.c | 96 struct ata_timing t; in cmd64x_set_timing() local 117 if (ata_timing_compute(adev, mode, &t, T, 0) < 0) { in cmd64x_set_timing() 128 ata_timing_merge(&t, &tp, &t, ATA_TIMING_SETUP); in cmd64x_set_timing() 133 t.active, t.recover, t.setup); in cmd64x_set_timing() 134 if (t.recover > 16) { in cmd64x_set_timing() 135 t.active += t.recover - 16; in cmd64x_set_timing() 136 t.recover = 16; in cmd64x_set_timing() 138 if (t.active > 16) in cmd64x_set_timing() 139 t.active = 16; in cmd64x_set_timing() 144 if (t.recover == 16) in cmd64x_set_timing() [all …]
|
/linux-4.1.27/drivers/video/fbdev/omap/ |
D | hwa742.c | 637 struct extif_timings *t; in calc_reg_timing() local 652 t = &hwa742.reg_timings; in calc_reg_timing() 653 memset(t, 0, sizeof(*t)); in calc_reg_timing() 654 t->clk_div = div; in calc_reg_timing() 655 t->cs_on_time = 0; in calc_reg_timing() 656 t->we_on_time = round_to_extif_ticks(t->cs_on_time + 2000, div); in calc_reg_timing() 657 t->re_on_time = round_to_extif_ticks(t->cs_on_time + 2000, div); in calc_reg_timing() 658 t->access_time = round_to_extif_ticks(t->re_on_time + 12200, div); in calc_reg_timing() 659 t->we_off_time = round_to_extif_ticks(t->we_on_time + 1000, div); in calc_reg_timing() 660 t->re_off_time = round_to_extif_ticks(t->re_on_time + 16000, div); in calc_reg_timing() [all …]
|
D | sossi.c | 131 static int calc_rd_timings(struct extif_timings *t) in calc_rd_timings() argument 135 int div = t->clk_div; in calc_rd_timings() 141 reon = ps_to_sossi_ticks(t->re_on_time, div); in calc_rd_timings() 146 reoff = ps_to_sossi_ticks(t->re_off_time, div); in calc_rd_timings() 155 recyc = ps_to_sossi_ticks(t->re_cycle_time, div); in calc_rd_timings() 166 actim = ps_to_sossi_ticks(t->access_time, div); in calc_rd_timings() 176 t->tim[0] = tw0 - 1; in calc_rd_timings() 177 t->tim[1] = tw1 - 1; in calc_rd_timings() 182 static int calc_wr_timings(struct extif_timings *t) in calc_wr_timings() argument 186 int div = t->clk_div; in calc_wr_timings() [all …]
|
/linux-4.1.27/include/linux/ |
D | interrupt.h | 507 static inline int tasklet_trylock(struct tasklet_struct *t) in tasklet_trylock() argument 509 return !test_and_set_bit(TASKLET_STATE_RUN, &(t)->state); in tasklet_trylock() 512 static inline void tasklet_unlock(struct tasklet_struct *t) in tasklet_unlock() argument 515 clear_bit(TASKLET_STATE_RUN, &(t)->state); in tasklet_unlock() 518 static inline void tasklet_unlock_wait(struct tasklet_struct *t) in tasklet_unlock_wait() argument 520 while (test_bit(TASKLET_STATE_RUN, &(t)->state)) { barrier(); } in tasklet_unlock_wait() 523 #define tasklet_trylock(t) 1 argument 524 #define tasklet_unlock_wait(t) do { } while (0) argument 525 #define tasklet_unlock(t) do { } while (0) argument 528 extern void __tasklet_schedule(struct tasklet_struct *t); [all …]
|
D | lockdep.h | 381 # define lock_acquire(l, s, t, r, c, n, i) do { } while (0) argument 486 #define lock_acquire_exclusive(l, s, t, n, i) lock_acquire(l, s, t, 0, 1, n, i) argument 487 #define lock_acquire_shared(l, s, t, n, i) lock_acquire(l, s, t, 1, 1, n, i) argument 488 #define lock_acquire_shared_recursive(l, s, t, n, i) lock_acquire(l, s, t, 2, 1, n, i) argument 490 #define spin_acquire(l, s, t, i) lock_acquire_exclusive(l, s, t, NULL, i) argument 491 #define spin_acquire_nest(l, s, t, n, i) lock_acquire_exclusive(l, s, t, n, i) argument 494 #define rwlock_acquire(l, s, t, i) lock_acquire_exclusive(l, s, t, NULL, i) argument 495 #define rwlock_acquire_read(l, s, t, i) lock_acquire_shared_recursive(l, s, t, NULL, i) argument 498 #define seqcount_acquire(l, s, t, i) lock_acquire_exclusive(l, s, t, NULL, i) argument 499 #define seqcount_acquire_read(l, s, t, i) lock_acquire_shared_recursive(l, s, t, NULL, i) argument [all …]
|
D | cb710.h | 54 #define CB710_PORT_ACCESSORS(t) \ argument 55 static inline void cb710_write_port_##t(struct cb710_slot *slot, \ 56 unsigned port, u##t value) \ 58 iowrite##t(value, slot->iobase + port); \ 61 static inline u##t cb710_read_port_##t(struct cb710_slot *slot, \ 64 return ioread##t(slot->iobase + port); \ 67 static inline void cb710_modify_port_##t(struct cb710_slot *slot, \ 68 unsigned port, u##t set, u##t clear) \ 70 iowrite##t( \ 71 (ioread##t(slot->iobase + port) & ~clear)|set, \
|
D | elfcore.h | 30 static inline int elf_core_copy_task_regs(struct task_struct *t, elf_gregset_t* elfregs) in elf_core_copy_task_regs() argument 33 return ELF_CORE_COPY_TASK_REGS(t, elfregs); in elf_core_copy_task_regs() 35 elf_core_copy_regs(elfregs, task_pt_regs(t)); in elf_core_copy_task_regs() 42 static inline int elf_core_copy_task_fpregs(struct task_struct *t, struct pt_regs *regs, elf_fpregs… in elf_core_copy_task_fpregs() argument 45 return ELF_CORE_COPY_FPREGS(t, fpu); in elf_core_copy_task_fpregs() 52 static inline int elf_core_copy_task_xfpregs(struct task_struct *t, elf_fpxregset_t *xfpu) in elf_core_copy_task_xfpregs() argument 54 return ELF_CORE_COPY_XFPREGS(t, xfpu); in elf_core_copy_task_xfpregs()
|
D | thermal.h | 47 #define KELVIN_TO_CELSIUS(t) (long)(((long)t-2732 >= 0) ? \ argument 48 ((long)t-2732+5)/10 : ((long)t-2732-5)/10) 49 #define CELSIUS_TO_KELVIN(t) ((t)*10+2732) argument 50 #define DECI_KELVIN_TO_MILLICELSIUS_WITH_OFFSET(t, off) (((t) - (off)) * 100) argument 51 #define DECI_KELVIN_TO_MILLICELSIUS(t) DECI_KELVIN_TO_MILLICELSIUS_WITH_OFFSET(t, 2732) argument 52 #define MILLICELSIUS_TO_DECI_KELVIN_WITH_OFFSET(t, off) (((t) / 100) + (off)) argument 53 #define MILLICELSIUS_TO_DECI_KELVIN(t) MILLICELSIUS_TO_DECI_KELVIN_WITH_OFFSET(t, 2732) argument
|
/linux-4.1.27/drivers/misc/eeprom/ |
D | eeprom_93xx46.c | 44 struct spi_transfer t[2]; in eeprom_93xx46_bin_read() local 72 memset(t, 0, sizeof(t)); in eeprom_93xx46_bin_read() 74 t[0].tx_buf = (char *)&cmd_addr; in eeprom_93xx46_bin_read() 75 t[0].len = 2; in eeprom_93xx46_bin_read() 76 t[0].bits_per_word = bits; in eeprom_93xx46_bin_read() 77 spi_message_add_tail(&t[0], &m); in eeprom_93xx46_bin_read() 79 t[1].rx_buf = buf; in eeprom_93xx46_bin_read() 80 t[1].len = count; in eeprom_93xx46_bin_read() 81 t[1].bits_per_word = 8; in eeprom_93xx46_bin_read() 82 spi_message_add_tail(&t[1], &m); in eeprom_93xx46_bin_read() [all …]
|
/linux-4.1.27/drivers/net/wireless/cw1200/ |
D | txrx.c | 441 struct cw1200_txinfo *t) in cw1200_tx_h_calc_link_ids() argument 443 if (t->sta && t->sta_priv->link_id) in cw1200_tx_h_calc_link_ids() 444 t->txpriv.raw_link_id = in cw1200_tx_h_calc_link_ids() 445 t->txpriv.link_id = in cw1200_tx_h_calc_link_ids() 446 t->sta_priv->link_id; in cw1200_tx_h_calc_link_ids() 448 t->txpriv.raw_link_id = in cw1200_tx_h_calc_link_ids() 449 t->txpriv.link_id = 0; in cw1200_tx_h_calc_link_ids() 450 else if (is_multicast_ether_addr(t->da)) { in cw1200_tx_h_calc_link_ids() 452 t->txpriv.raw_link_id = 0; in cw1200_tx_h_calc_link_ids() 453 t->txpriv.link_id = CW1200_LINK_ID_AFTER_DTIM; in cw1200_tx_h_calc_link_ids() [all …]
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_stats.h | 383 #define UPDATE_STAT64(s, t) \ argument 385 DIFF_64(diff.hi, new->s##_hi, pstats->mac_stx[0].t##_hi, \ 386 diff.lo, new->s##_lo, pstats->mac_stx[0].t##_lo); \ 387 pstats->mac_stx[0].t##_hi = new->s##_hi; \ 388 pstats->mac_stx[0].t##_lo = new->s##_lo; \ 389 ADD_64(pstats->mac_stx[1].t##_hi, diff.hi, \ 390 pstats->mac_stx[1].t##_lo, diff.lo); \ 393 #define UPDATE_STAT64_NIG(s, t) \ argument 397 ADD_64(estats->t##_hi, diff.hi, \ 398 estats->t##_lo, diff.lo); \ [all …]
|
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/linux/ |
D | linux-time.h | 63 static inline void cfs_fs_time_usec(struct timespec *t, struct timeval *v) in cfs_fs_time_usec() argument 65 v->tv_sec = t->tv_sec; in cfs_fs_time_usec() 66 v->tv_usec = t->tv_nsec / 1000; in cfs_fs_time_usec() 78 static inline void cfs_fs_time_current(struct timespec *t) in cfs_fs_time_current() argument 80 *t = CURRENT_TIME; in cfs_fs_time_current() 83 static inline time_t cfs_fs_time_sec(struct timespec *t) in cfs_fs_time_sec() argument 85 return t->tv_sec; in cfs_fs_time_sec() 101 __u64 t; in cfs_duration_usec() local 104 t = (d - (long)s->tv_sec * HZ) * ONE_MILLION; in cfs_duration_usec() 105 do_div(t, HZ); in cfs_duration_usec() [all …]
|
/linux-4.1.27/arch/x86/kernel/ |
D | ioport.c | 25 struct thread_struct *t = ¤t->thread; in sys_ioperm() local 39 if (!t->io_bitmap_ptr) { in sys_ioperm() 46 t->io_bitmap_ptr = bitmap; in sys_ioperm() 60 bitmap_clear(t->io_bitmap_ptr, from, num); in sys_ioperm() 62 bitmap_set(t->io_bitmap_ptr, from, num); in sys_ioperm() 70 if (t->io_bitmap_ptr[i] != ~0UL) in sys_ioperm() 74 bytes_updated = max(bytes, t->io_bitmap_max); in sys_ioperm() 76 t->io_bitmap_max = bytes; in sys_ioperm() 79 memcpy(tss->io_bitmap, t->io_bitmap_ptr, bytes_updated); in sys_ioperm() 99 struct thread_struct *t = ¤t->thread; in SYSCALL_DEFINE1() local [all …]
|
D | doublefault.c | 35 struct x86_hw_tss *t = (struct x86_hw_tss *)tss; in doublefault_fn() local 38 t->ip, t->sp); in doublefault_fn() 41 t->ax, t->bx, t->cx, t->dx); in doublefault_fn() 43 t->si, t->di); in doublefault_fn()
|
/linux-4.1.27/include/scsi/ |
D | scsi_transport.h | 93 scsi_transport_reserve_target(struct scsi_transport_template * t, int space) in scsi_transport_reserve_target() argument 95 BUG_ON(t->target_private_offset != 0); in scsi_transport_reserve_target() 96 t->target_private_offset = ALIGN(t->target_size, sizeof(void *)); in scsi_transport_reserve_target() 97 t->target_size = t->target_private_offset + space; in scsi_transport_reserve_target() 100 scsi_transport_reserve_device(struct scsi_transport_template * t, int space) in scsi_transport_reserve_device() argument 102 BUG_ON(t->device_private_offset != 0); in scsi_transport_reserve_device() 103 t->device_private_offset = ALIGN(t->device_size, sizeof(void *)); in scsi_transport_reserve_device() 104 t->device_size = t->device_private_offset + space; in scsi_transport_reserve_device()
|
/linux-4.1.27/drivers/pci/pcie/aer/ |
D | aerdrv_errprint.c | 32 #define AER_AGENT_REQUESTER_MASK(t) ((t == AER_CORRECTABLE) ? \ argument 34 #define AER_AGENT_COMPLETER_MASK(t) ((t == AER_CORRECTABLE) ? \ argument 36 #define AER_AGENT_TRANSMITTER_MASK(t) ((t == AER_CORRECTABLE) ? \ argument 39 #define AER_GET_AGENT(t, e) \ argument 40 ((e & AER_AGENT_COMPLETER_MASK(t)) ? AER_AGENT_COMPLETER : \ 41 (e & AER_AGENT_REQUESTER_MASK(t)) ? AER_AGENT_REQUESTER : \ 42 (e & AER_AGENT_TRANSMITTER_MASK(t)) ? AER_AGENT_TRANSMITTER : \ 49 #define AER_PHYSICAL_LAYER_ERROR_MASK(t) ((t == AER_CORRECTABLE) ? \ argument 51 #define AER_DATA_LINK_LAYER_ERROR_MASK(t) ((t == AER_CORRECTABLE) ? \ argument 57 #define AER_GET_LAYER_ERROR(t, e) \ argument [all …]
|
/linux-4.1.27/drivers/mmc/host/ |
D | mmc_spi.c | 135 struct spi_transfer token, t, crc, early_status; member 266 u8 *end = cp + host->t.len; in mmc_spi_response_get() 452 struct spi_transfer *t; in mmc_spi_command_send() local 529 t = &host->t; in mmc_spi_command_send() 530 memset(t, 0, sizeof(*t)); in mmc_spi_command_send() 531 t->tx_buf = t->rx_buf = data->status; in mmc_spi_command_send() 532 t->tx_dma = t->rx_dma = host->data_dma; in mmc_spi_command_send() 533 t->len = cp - data->status; in mmc_spi_command_send() 534 t->cs_change = 1; in mmc_spi_command_send() 535 spi_message_add_tail(t, &host->m); in mmc_spi_command_send() [all …]
|
/linux-4.1.27/kernel/time/ |
D | timeconst.bc | 4 auto t; 6 t = b; 8 a = t; 64 print "#define HZ_TO_MSEC_SHR32\t", s, "\n" 71 print "#define MSEC_TO_HZ_SHR32\t", s, "\n" 75 print "#define HZ_TO_MSEC_NUM\t\t", 1000/cd, "\n" 76 print "#define HZ_TO_MSEC_DEN\t\t", hz/cd, "\n" 77 print "#define MSEC_TO_HZ_NUM\t\t", hz/cd, "\n" 78 print "#define MSEC_TO_HZ_DEN\t\t", 1000/cd, "\n" 86 print "#define HZ_TO_USEC_SHR32\t", s, "\n" [all …]
|
/linux-4.1.27/arch/mips/alchemy/common/ |
D | time.c | 103 unsigned long t; in alchemy_time_init() local 120 t = 0xffffff; in alchemy_time_init() 121 while ((alchemy_rdsys(AU1000_SYS_CNTRCTRL) & SYS_CNTRL_T1S) && --t) in alchemy_time_init() 123 if (!t) in alchemy_time_init() 128 t = 0xffffff; in alchemy_time_init() 129 while ((alchemy_rdsys(AU1000_SYS_CNTRCTRL) & SYS_CNTRL_C1S) && --t) in alchemy_time_init() 131 if (!t) in alchemy_time_init() 135 t = 0xffffff; in alchemy_time_init() 136 while ((alchemy_rdsys(AU1000_SYS_CNTRCTRL) & SYS_CNTRL_C1S) && --t) in alchemy_time_init() 138 if (!t) in alchemy_time_init() [all …]
|
/linux-4.1.27/drivers/video/fbdev/omap2/omapfb/ |
D | omapfb-sysfs.c | 150 int t; in show_overlays() local 156 for (t = 0; t < ofbi->num_overlays; t++) { in show_overlays() 157 struct omap_overlay *ovl = ofbi->overlays[t]; in show_overlays() 165 t == 0 ? "" : ",", ovlnum); in show_overlays() 179 int i, t; in get_overlay_fb() local 184 for (t = 0; t < ofbi->num_overlays; t++) { in get_overlay_fb() 185 if (ofbi->overlays[t] == ovl) in get_overlay_fb() 258 int t, found; in store_overlays() local 264 for (t = 0; t < num_ovls; ++t) { in store_overlays() 265 if (ovl == ovls[t]) { in store_overlays() [all …]
|
/linux-4.1.27/tools/firewire/ |
D | nosy-dump.c | 175 struct link_transaction *t; in link_transaction_lookup() local 177 list_for_each_entry(t, &pending_transaction_list, link) { in link_transaction_lookup() 178 if (t->request_node == request_node && in link_transaction_lookup() 179 t->response_node == response_node && in link_transaction_lookup() 180 t->tlabel == tlabel) in link_transaction_lookup() 181 return t; in link_transaction_lookup() 184 t = malloc(sizeof *t); in link_transaction_lookup() 185 if (!t) in link_transaction_lookup() 187 t->request_node = request_node; in link_transaction_lookup() 188 t->response_node = response_node; in link_transaction_lookup() [all …]
|
D | decode-fcp.c | 144 decode_avc(struct link_transaction *t) in decode_avc() argument 147 (struct avc_frame *) t->request->packet.write_block.data; in decode_avc() 173 decode_fcp(struct link_transaction *t) in decode_fcp() argument 176 (struct avc_frame *) t->request->packet.write_block.data; in decode_fcp() 178 ((unsigned long long) t->request->packet.common.offset_high << 32) | in decode_fcp() 179 t->request->packet.common.offset_low; in decode_fcp() 181 if (t->request->packet.common.tcode != TCODE_WRITE_BLOCK_REQUEST) in decode_fcp() 187 decode_avc(t); in decode_fcp()
|
/linux-4.1.27/arch/tile/kernel/ |
D | process.c | 99 static void save_arch_state(struct thread_struct *t); 318 static void restore_tile_dma_state(struct thread_struct *t) in restore_tile_dma_state() argument 320 const struct tile_dma_state *dma = &t->tile_dma_state; in restore_tile_dma_state() 352 t->dma_async_tlb.fault_num = 0; in restore_tile_dma_state() 359 static void save_arch_state(struct thread_struct *t) in save_arch_state() argument 362 t->interrupt_mask = __insn_mfspr(SPR_INTERRUPT_MASK_0_0) | in save_arch_state() 365 t->interrupt_mask = __insn_mfspr(SPR_INTERRUPT_MASK_0); in save_arch_state() 367 t->ex_context[0] = __insn_mfspr(SPR_EX_CONTEXT_0_0); in save_arch_state() 368 t->ex_context[1] = __insn_mfspr(SPR_EX_CONTEXT_0_1); in save_arch_state() 369 t->system_save[0] = __insn_mfspr(SPR_SYSTEM_SAVE_0_0); in save_arch_state() [all …]
|
/linux-4.1.27/tools/perf/bench/ |
D | sched-pipe.c | 85 int t; in bench_sched_pipe() local 102 for (t = 0; t < nr_threads; t++) { in bench_sched_pipe() 103 td = threads + t; in bench_sched_pipe() 105 td->nr = t; in bench_sched_pipe() 107 if (t == 0) { in bench_sched_pipe() 119 for (t = 0; t < nr_threads; t++) { in bench_sched_pipe() 120 td = threads + t; in bench_sched_pipe() 126 for (t = 0; t < nr_threads; t++) { in bench_sched_pipe() 127 td = threads + t; in bench_sched_pipe()
|
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/linux/ |
D | linux-prim.c | 73 void cfs_init_timer(struct timer_list *t) in cfs_init_timer() argument 75 init_timer(t); in cfs_init_timer() 79 void cfs_timer_init(struct timer_list *t, cfs_timer_func_t *func, void *arg) in cfs_timer_init() argument 81 init_timer(t); in cfs_timer_init() 82 t->function = func; in cfs_timer_init() 83 t->data = (unsigned long)arg; in cfs_timer_init() 87 void cfs_timer_done(struct timer_list *t) in cfs_timer_done() argument 93 void cfs_timer_arm(struct timer_list *t, unsigned long deadline) in cfs_timer_arm() argument 95 mod_timer(t, deadline); in cfs_timer_arm() 99 void cfs_timer_disarm(struct timer_list *t) in cfs_timer_disarm() argument [all …]
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_uld.h | 123 static inline void *lookup_tid(const struct tid_info *t, unsigned int tid) in lookup_tid() argument 125 return tid < t->ntids ? t->tid_tab[tid] : NULL; in lookup_tid() 128 static inline void *lookup_atid(const struct tid_info *t, unsigned int atid) in lookup_atid() argument 130 return atid < t->natids ? t->atid_tab[atid].data : NULL; in lookup_atid() 133 static inline void *lookup_stid(const struct tid_info *t, unsigned int stid) in lookup_stid() argument 136 if (t->nsftids && (stid >= t->sftid_base)) { in lookup_stid() 137 stid -= t->sftid_base; in lookup_stid() 138 stid += t->nstids; in lookup_stid() 140 stid -= t->stid_base; in lookup_stid() 143 return stid < (t->nstids + t->nsftids) ? t->stid_tab[stid].data : NULL; in lookup_stid() [all …]
|
/linux-4.1.27/drivers/net/fddi/skfp/ |
D | smttimer.c | 33 smc->t.st_queue = NULL; in smt_timer_init() 34 smc->t.st_fast.tm_active = FALSE ; in smt_timer_init() 35 smc->t.st_fast.tm_next = NULL; in smt_timer_init() 48 if (smc->t.st_queue == timer && !timer->tm_next) { in smt_timer_stop() 51 for (prev = &smc->t.st_queue ; (tm = *prev) ; prev = &tm->tm_next ) { in smt_timer_stop() 76 if (!smc->t.st_queue) { in smt_timer_start() 77 smc->t.st_queue = timer ; in smt_timer_start() 92 for (prev = &smc->t.st_queue ; (tm = *prev) ; prev = &tm->tm_next ) { in smt_timer_start() 107 hwt_start(smc,smc->t.st_queue->tm_delta) ; in smt_timer_start() 112 smt_timer_start(smc,&smc->t.st_fast,32L, EV_TOKEN(EVENT_SMT,SM_FAST)); in smt_force_irq() [all …]
|
/linux-4.1.27/net/9p/ |
D | mod.c | 112 struct p9_trans_module *t, *found = NULL; in v9fs_get_trans_by_name() local 116 list_for_each_entry(t, &v9fs_trans_list, list) in v9fs_get_trans_by_name() 117 if (strcmp(t->name, s) == 0 && in v9fs_get_trans_by_name() 118 try_module_get(t->owner)) { in v9fs_get_trans_by_name() 119 found = t; in v9fs_get_trans_by_name() 135 struct p9_trans_module *t, *found = NULL; in v9fs_get_default_trans() local 139 list_for_each_entry(t, &v9fs_trans_list, list) in v9fs_get_default_trans() 140 if (t->def && try_module_get(t->owner)) { in v9fs_get_default_trans() 141 found = t; in v9fs_get_default_trans() 146 list_for_each_entry(t, &v9fs_trans_list, list) in v9fs_get_default_trans() [all …]
|
/linux-4.1.27/arch/arm/common/ |
D | bL_switcher.c | 274 struct bL_thread *t = arg; in bL_switcher_thread() local 281 complete(&t->started); in bL_switcher_thread() 286 wait_event_interruptible(t->wq, in bL_switcher_thread() 287 t->wanted_cluster != -1 || in bL_switcher_thread() 290 spin_lock(&t->lock); in bL_switcher_thread() 291 cluster = t->wanted_cluster; in bL_switcher_thread() 292 completer = t->completer; in bL_switcher_thread() 293 completer_cookie = t->completer_cookie; in bL_switcher_thread() 294 t->wanted_cluster = -1; in bL_switcher_thread() 295 t->completer = NULL; in bL_switcher_thread() [all …]
|
/linux-4.1.27/lib/ |
D | locking-selftest.c | 50 static struct ww_acquire_ctx t, t2; variable 951 I_WW(t); I_WW(t2); I_WW(o.base); I_WW(o2.base); I_WW(o3.base); 957 memset(&t, 0, sizeof(t)); memset(&t2, 0, sizeof(t2)); 1138 WWAI(&t); in ww_test_fail_acquire() 1139 t.stamp++; in ww_test_fail_acquire() 1141 ret = WWL(&o, &t); in ww_test_fail_acquire() 1148 ret = WWL(&o, &t); in ww_test_fail_acquire() 1154 t2 = t; in ww_test_fail_acquire() 1172 WWAI(&t); in ww_test_normal() 1224 mutex_lock_nest_lock(&o.base, &t); in ww_test_normal() [all …]
|
D | crc8.c | 33 u8 t = msbit; in crc8_populate_msb() local 38 t = (t << 1) ^ (t & msbit ? polynomial : 0); in crc8_populate_msb() 40 table[i+j] = table[j] ^ t; in crc8_populate_msb() 54 u8 t = 1; in crc8_populate_lsb() local 59 t = (t >> 1) ^ (t & 1 ? polynomial : 0); in crc8_populate_lsb() 61 table[i+j] = table[j] ^ t; in crc8_populate_lsb()
|
D | test-kstrtox.c | 31 const struct test_fail *t = &test[i]; \ 36 rv = fn(t->str, t->base, &tmp); \ 39 t->str, t->base, rv, tmp); \ 50 const typeof(test[0]) *t = &test[i]; \ 54 rv = fn(t->str, t->base, &res); \ 57 t->str, t->base, t->expected_res, rv); \ 60 if (res != t->expected_res) { \ 62 t->str, t->base, t->expected_res, res); \
|
D | rational.c | 41 unsigned long t, a; in rational_best_approximation() local 49 t = d; in rational_best_approximation() 52 n = t; in rational_best_approximation() 53 t = n0 + a * n1; in rational_best_approximation() 55 n1 = t; in rational_best_approximation() 56 t = d0 + a * d1; in rational_best_approximation() 58 d1 = t; in rational_best_approximation()
|
/linux-4.1.27/arch/m68k/bvme6000/ |
D | config.c | 269 int bvme6000_hwclk(int op, struct rtc_time *t) in bvme6000_hwclk() argument 278 rtc->t0cr_rtmr = t->tm_year%4; in bvme6000_hwclk() 280 rtc->bcd_sec = bin2bcd(t->tm_sec); in bvme6000_hwclk() 281 rtc->bcd_min = bin2bcd(t->tm_min); in bvme6000_hwclk() 282 rtc->bcd_hr = bin2bcd(t->tm_hour); in bvme6000_hwclk() 283 rtc->bcd_dom = bin2bcd(t->tm_mday); in bvme6000_hwclk() 284 rtc->bcd_mth = bin2bcd(t->tm_mon + 1); in bvme6000_hwclk() 285 rtc->bcd_year = bin2bcd(t->tm_year%100); in bvme6000_hwclk() 286 if (t->tm_wday >= 0) in bvme6000_hwclk() 287 rtc->bcd_dow = bin2bcd(t->tm_wday+1); in bvme6000_hwclk() [all …]
|
/linux-4.1.27/drivers/input/joystick/ |
D | adi.c | 143 int t[2], s[2], i; in adi_read_packet() local 148 t[i] = gameport_time(gameport, ADI_MAX_START); in adi_read_packet() 161 t[i]--; in adi_read_packet() 163 if ((w & 0x30) < 0x30 && adi[i].ret < ADI_MAX_LENGTH && t[i] > 0) { in adi_read_packet() 165 t[i] = gameport_time(gameport, ADI_MAX_STROBE); in adi_read_packet() 166 } else t[i] = 0; in adi_read_packet() 169 } while (t[0] > 0 || t[1] > 0); in adi_read_packet() 221 int i, t; in adi_decode() local 234 t = adi_get_bits(adi, 4); in adi_decode() 235 input_report_abs(dev, *abs++, ((t >> 2) & 1) - ( t & 1)); in adi_decode() [all …]
|
/linux-4.1.27/drivers/video/fbdev/omap2/dss/ |
D | rfbi.c | 93 static int rfbi_convert_timings(struct rfbi_timings *t); 393 static int calc_reg_timing(struct rfbi_timings *t, int div) in calc_reg_timing() argument 395 t->clk_div = div; in calc_reg_timing() 397 t->cs_on_time = round_to_extif_ticks(t->cs_on_time, div); in calc_reg_timing() 399 t->we_on_time = round_to_extif_ticks(t->we_on_time, div); in calc_reg_timing() 400 t->we_off_time = round_to_extif_ticks(t->we_off_time, div); in calc_reg_timing() 401 t->we_cycle_time = round_to_extif_ticks(t->we_cycle_time, div); in calc_reg_timing() 403 t->re_on_time = round_to_extif_ticks(t->re_on_time, div); in calc_reg_timing() 404 t->re_off_time = round_to_extif_ticks(t->re_off_time, div); in calc_reg_timing() 405 t->re_cycle_time = round_to_extif_ticks(t->re_cycle_time, div); in calc_reg_timing() [all …]
|
D | display-sysfs.c | 100 struct omap_video_timings t; in display_timings_show() local 105 dssdev->driver->get_timings(dssdev, &t); in display_timings_show() 108 t.pixelclock, in display_timings_show() 109 t.x_res, t.hfp, t.hbp, t.hsw, in display_timings_show() 110 t.y_res, t.vfp, t.vbp, t.vsw); in display_timings_show() 116 struct omap_video_timings t = dssdev->panel.timings; in display_timings_store() local 125 t = omap_dss_pal_timings; in display_timings_store() 128 t = omap_dss_ntsc_timings; in display_timings_store() 133 &t.pixelclock, in display_timings_store() 134 &t.x_res, &t.hfp, &t.hbp, &t.hsw, in display_timings_store() [all …]
|
/linux-4.1.27/drivers/media/platform/s5p-jpeg/ |
D | jpeg-regs.h | 37 #define S5P_QT_NUMt_SHIFT(t) (((t) - 1) << 1) argument 38 #define S5P_QT_NUMt_MASK(t) (0x3 << S5P_QT_NUMt_SHIFT(t)) argument 42 #define S5P_HT_NUMt_AC_SHIFT(t) (((t) << 1) - 1) argument 43 #define S5P_HT_NUMt_AC_MASK(t) (0x1 << S5P_HT_NUMt_AC_SHIFT(t)) argument 45 #define S5P_HT_NUMt_DC_SHIFT(t) (((t) - 1) << 1) argument 46 #define S5P_HT_NUMt_DC_MASK(t) (0x1 << S5P_HT_NUMt_DC_SHIFT(t)) argument 396 #define EXYNOS3250_QT_NUM_SHIFT(t) ((((t) - 1) << 1) + 8) argument 397 #define EXYNOS3250_QT_NUM_MASK(t) (0x3 << EXYNOS3250_QT_NUM_SHIFT(t)) argument 400 #define EXYNOS3250_HT_NUM_AC_SHIFT(t) (((t) << 1) - 1) argument 401 #define EXYNOS3250_HT_NUM_AC_MASK(t) (0x1 << EXYNOS3250_HT_NUM_AC_SHIFT(t)) argument [all …]
|
/linux-4.1.27/arch/m68k/q40/ |
D | config.c | 228 static int q40_hwclk(int op, struct rtc_time *t) in q40_hwclk() argument 234 Q40_RTC_SECS = bin2bcd(t->tm_sec); in q40_hwclk() 235 Q40_RTC_MINS = bin2bcd(t->tm_min); in q40_hwclk() 236 Q40_RTC_HOUR = bin2bcd(t->tm_hour); in q40_hwclk() 237 Q40_RTC_DATE = bin2bcd(t->tm_mday); in q40_hwclk() 238 Q40_RTC_MNTH = bin2bcd(t->tm_mon + 1); in q40_hwclk() 239 Q40_RTC_YEAR = bin2bcd(t->tm_year%100); in q40_hwclk() 240 if (t->tm_wday >= 0) in q40_hwclk() 241 Q40_RTC_DOW = bin2bcd(t->tm_wday+1); in q40_hwclk() 248 t->tm_year = bcd2bin (Q40_RTC_YEAR); in q40_hwclk() [all …]
|
/linux-4.1.27/arch/mips/ralink/ |
D | rt305x.c | 96 u32 t; in rt305x_wdt_reset() local 99 t = rt_sysc_r32(SYSC_REG_SYSTEM_CONFIG); in rt305x_wdt_reset() 100 t |= RT305X_SYSCFG_SRAM_CS0_MODE_WDT << in rt305x_wdt_reset() 102 rt_sysc_w32(t, SYSC_REG_SYSTEM_CONFIG); in rt305x_wdt_reset() 109 u32 t; in rt5350_get_mem_size() local 111 t = __raw_readl(sysc + SYSC_REG_SYSTEM_CONFIG); in rt5350_get_mem_size() 112 t = (t >> RT5350_SYSCFG0_DRAM_SIZE_SHIFT) & in rt5350_get_mem_size() 115 switch (t) { in rt5350_get_mem_size() 132 panic("rt5350: invalid DRAM size: %u", t); in rt5350_get_mem_size() 144 u32 t = rt_sysc_r32(SYSC_REG_SYSTEM_CONFIG); in ralink_clk_init() local [all …]
|
/linux-4.1.27/net/ipv4/netfilter/ |
D | arp_tables.c | 291 const struct xt_entry_target *t; in arpt_do_table() local 300 t = arpt_get_target_c(e); in arpt_do_table() 303 if (!t->u.kernel.target->target) { in arpt_do_table() 306 v = ((struct xt_standard_target *)t)->verdict; in arpt_do_table() 334 acpar.target = t->u.kernel.target; in arpt_do_table() 335 acpar.targinfo = t->data; in arpt_do_table() 336 verdict = t->u.kernel.target->target(skb, &acpar); in arpt_do_table() 387 const struct xt_standard_target *t in mark_source_chains() local 401 (strcmp(t->target.u.user.name, in mark_source_chains() 403 t->verdict < 0 && unconditional(&e->arp)) || in mark_source_chains() [all …]
|
D | ip_tables.c | 223 const struct xt_standard_target *t = (void *)ipt_get_target_c(s); in get_chainname_rulenum() local 225 if (strcmp(t->target.u.kernel.target->name, XT_ERROR_TARGET) == 0) { in get_chainname_rulenum() 227 *chainname = t->target.data; in get_chainname_rulenum() 233 strcmp(t->target.u.kernel.target->name, in get_chainname_rulenum() 235 t->verdict < 0 && in get_chainname_rulenum() 346 const struct xt_entry_target *t; in ipt_do_table() local 366 t = ipt_get_target(e); in ipt_do_table() 367 IP_NF_ASSERT(t->u.kernel.target); in ipt_do_table() 376 if (!t->u.kernel.target->target) { in ipt_do_table() 379 v = ((struct xt_standard_target *)t)->verdict; in ipt_do_table() [all …]
|
/linux-4.1.27/include/crypto/ |
D | gf128mul.h | 170 be128 t[256]; member 175 void gf128mul_4k_lle(be128 *a, struct gf128mul_4k *t); 176 void gf128mul_4k_bbe(be128 *a, struct gf128mul_4k *t); 178 static inline void gf128mul_free_4k(struct gf128mul_4k *t) in gf128mul_free_4k() argument 180 kfree(t); in gf128mul_free_4k() 187 struct gf128mul_4k *t[16]; member 196 void gf128mul_free_64k(struct gf128mul_64k *t); 197 void gf128mul_64k_lle(be128 *a, struct gf128mul_64k *t); 198 void gf128mul_64k_bbe(be128 *a, struct gf128mul_64k *t);
|
/linux-4.1.27/fs/ |
D | timerfd.c | 33 } t; member 74 t.tmr); in timerfd_tmrproc() 83 t.alarm); in timerfd_alarmproc() 154 remaining = alarm_expires_remaining(&ctx->t.alarm); in timerfd_get_remaining() 156 remaining = hrtimer_expires_remaining(&ctx->t.tmr); in timerfd_get_remaining() 177 alarm_init(&ctx->t.alarm, in timerfd_setup() 182 hrtimer_init(&ctx->t.tmr, clockid, htmode); in timerfd_setup() 183 hrtimer_set_expires(&ctx->t.tmr, texp); in timerfd_setup() 184 ctx->t.tmr.function = timerfd_tmrproc; in timerfd_setup() 190 alarm_start(&ctx->t.alarm, texp); in timerfd_setup() [all …]
|
/linux-4.1.27/sound/core/ |
D | hrtimer.c | 47 struct snd_timer *t = stime->timer; in snd_hrtimer_callback() local 53 oruns = hrtimer_forward_now(hrt, ns_to_ktime(t->sticks * resolution)); in snd_hrtimer_callback() 54 snd_timer_interrupt(stime->timer, t->sticks * oruns); in snd_hrtimer_callback() 61 static int snd_hrtimer_open(struct snd_timer *t) in snd_hrtimer_open() argument 69 stime->timer = t; in snd_hrtimer_open() 72 t->private_data = stime; in snd_hrtimer_open() 76 static int snd_hrtimer_close(struct snd_timer *t) in snd_hrtimer_close() argument 78 struct snd_hrtimer *stime = t->private_data; in snd_hrtimer_close() 83 t->private_data = NULL; in snd_hrtimer_close() 88 static int snd_hrtimer_start(struct snd_timer *t) in snd_hrtimer_start() argument [all …]
|
D | rtctimer.c | 40 static int rtctimer_open(struct snd_timer *t); 41 static int rtctimer_close(struct snd_timer *t); 42 static int rtctimer_start(struct snd_timer *t); 43 static int rtctimer_stop(struct snd_timer *t); 67 rtctimer_open(struct snd_timer *t) in rtctimer_open() argument 74 t->private_data = &rtc_task; in rtctimer_open() 79 rtctimer_close(struct snd_timer *t) in rtctimer_close() argument 81 rtc_task_t *rtc = t->private_data; in rtctimer_close() 85 t->private_data = NULL; in rtctimer_close()
|
/linux-4.1.27/arch/arm/mach-rpc/include/mach/ |
D | uncompress.h | 118 struct tag *t = (struct tag *)params; in arch_decomp_setup() local 121 if (t->hdr.tag == ATAG_CORE) in arch_decomp_setup() 123 for (; t->hdr.size; t = tag_next(t)) in arch_decomp_setup() 125 if (t->hdr.tag == ATAG_VIDEOTEXT) in arch_decomp_setup() 127 video_num_rows = t->u.videotext.video_lines; in arch_decomp_setup() 128 video_num_cols = t->u.videotext.video_cols; in arch_decomp_setup() 129 bytes_per_char_h = t->u.videotext.video_points; in arch_decomp_setup() 130 bytes_per_char_v = t->u.videotext.video_points; in arch_decomp_setup() 131 video_x = t->u.videotext.x; in arch_decomp_setup() 132 video_y = t->u.videotext.y; in arch_decomp_setup() [all …]
|
/linux-4.1.27/Documentation/accounting/ |
D | getdelays.c | 194 #define average_ms(t, c) (t / 1000000ULL / (c ? c : 1)) argument 196 static void print_delayacct(struct taskstats *t) in print_delayacct() argument 208 (unsigned long long)t->cpu_count, in print_delayacct() 209 (unsigned long long)t->cpu_run_real_total, in print_delayacct() 210 (unsigned long long)t->cpu_run_virtual_total, in print_delayacct() 211 (unsigned long long)t->cpu_delay_total, in print_delayacct() 212 average_ms((double)t->cpu_delay_total, t->cpu_count), in print_delayacct() 214 (unsigned long long)t->blkio_count, in print_delayacct() 215 (unsigned long long)t->blkio_delay_total, in print_delayacct() 216 average_ms(t->blkio_delay_total, t->blkio_count), in print_delayacct() [all …]
|
/linux-4.1.27/include/asm-generic/ |
D | ioctl.h | 7 #define _IOC_TYPECHECK(t) (sizeof(t)) argument 11 #define _IOC_TYPECHECK(t) \ argument 12 ((sizeof(t) == sizeof(t[1]) && \ 13 sizeof(t) < (1 << _IOC_SIZEBITS)) ? \ 14 sizeof(t) : __invalid_size_argument_for_IOC)
|
/linux-4.1.27/net/sched/ |
D | act_ipt.c | 33 static int ipt_init_target(struct xt_entry_target *t, char *table, unsigned int hook) in ipt_init_target() argument 39 target = xt_request_find_target(AF_INET, t->u.user.name, in ipt_init_target() 40 t->u.user.revision); in ipt_init_target() 44 t->u.kernel.target = target; in ipt_init_target() 48 par.targinfo = t->data; in ipt_init_target() 52 ret = xt_check_target(&par, t->u.target_size - sizeof(*t), 0, false); in ipt_init_target() 54 module_put(t->u.kernel.target->me); in ipt_init_target() 60 static void ipt_destroy_target(struct xt_entry_target *t) in ipt_destroy_target() argument 63 .target = t->u.kernel.target, in ipt_destroy_target() 64 .targinfo = t->data, in ipt_destroy_target() [all …]
|
D | sch_gred.c | 142 static inline int gred_use_ecn(struct gred_sched *t) in gred_use_ecn() argument 144 return t->red_flags & TC_RED_ECN; in gred_use_ecn() 147 static inline int gred_use_harddrop(struct gred_sched *t) in gred_use_harddrop() argument 149 return t->red_flags & TC_RED_HARDDROP; in gred_use_harddrop() 155 struct gred_sched *t = qdisc_priv(sch); in gred_enqueue() local 159 if (dp >= t->DPs || (q = t->tab[dp]) == NULL) { in gred_enqueue() 160 dp = t->def; in gred_enqueue() 162 q = t->tab[dp]; in gred_enqueue() 180 if (!gred_wred_mode(t) && gred_rio_mode(t)) { in gred_enqueue() 183 for (i = 0; i < t->DPs; i++) { in gred_enqueue() [all …]
|
/linux-4.1.27/arch/mips/pci/ |
D | pci-rt3883.c | 160 u32 t; in rt3883_pci_irq_unmask() local 164 t = rt3883_pci_r32(rpc, RT3883_PCI_REG_PCIENA); in rt3883_pci_irq_unmask() 165 rt3883_pci_w32(rpc, t | BIT(d->hwirq), RT3883_PCI_REG_PCIENA); in rt3883_pci_irq_unmask() 173 u32 t; in rt3883_pci_irq_mask() local 177 t = rt3883_pci_r32(rpc, RT3883_PCI_REG_PCIENA); in rt3883_pci_irq_mask() 178 rt3883_pci_w32(rpc, t & ~BIT(d->hwirq), RT3883_PCI_REG_PCIENA); in rt3883_pci_irq_mask() 316 u32 t; in rt3883_pci_preinit() local 331 t = rt_sysc_r32(RT3883_SYSC_REG_PCIE_CLK_GEN0); in rt3883_pci_preinit() 332 t &= ~BIT(31); in rt3883_pci_preinit() 333 rt_sysc_w32(t, RT3883_SYSC_REG_PCIE_CLK_GEN0); in rt3883_pci_preinit() [all …]
|
/linux-4.1.27/net/ipv6/netfilter/ |
D | ip6_tables.c | 252 const struct xt_standard_target *t = (void *)ip6t_get_target_c(s); in get_chainname_rulenum() local 254 if (strcmp(t->target.u.kernel.target->name, XT_ERROR_TARGET) == 0) { in get_chainname_rulenum() 256 *chainname = t->target.data; in get_chainname_rulenum() 262 strcmp(t->target.u.kernel.target->name, in get_chainname_rulenum() 264 t->verdict < 0 && in get_chainname_rulenum() 368 const struct xt_entry_target *t; in ip6t_do_table() local 389 t = ip6t_get_target_c(e); in ip6t_do_table() 390 IP_NF_ASSERT(t->u.kernel.target); in ip6t_do_table() 399 if (!t->u.kernel.target->target) { in ip6t_do_table() 402 v = ((struct xt_standard_target *)t)->verdict; in ip6t_do_table() [all …]
|
/linux-4.1.27/arch/m68k/apollo/ |
D | config.c | 215 int dn_dummy_hwclk(int op, struct rtc_time *t) { in dn_dummy_hwclk() argument 219 t->tm_sec=rtc->second; in dn_dummy_hwclk() 220 t->tm_min=rtc->minute; in dn_dummy_hwclk() 221 t->tm_hour=rtc->hours; in dn_dummy_hwclk() 222 t->tm_mday=rtc->day_of_month; in dn_dummy_hwclk() 223 t->tm_wday=rtc->day_of_week; in dn_dummy_hwclk() 224 t->tm_mon=rtc->month; in dn_dummy_hwclk() 225 t->tm_year=rtc->year; in dn_dummy_hwclk() 227 rtc->second=t->tm_sec; in dn_dummy_hwclk() 228 rtc->minute=t->tm_min; in dn_dummy_hwclk() [all …]
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | mkregtable.c | 563 static void table_offset_add(struct table *t, struct offset *offset) in table_offset_add() argument 565 list_add_tail(&offset->list, &t->offsets); in table_offset_add() 568 static void table_init(struct table *t) in table_init() argument 570 INIT_LIST_HEAD(&t->offsets); in table_init() 571 t->offset_max = 0; in table_init() 572 t->nentry = 0; in table_init() 573 t->table = NULL; in table_init() 576 static void table_print(struct table *t) in table_print() argument 580 nlloop = (t->nentry + 3) / 4; in table_print() 581 c = t->nentry; in table_print() [all …]
|
/linux-4.1.27/arch/sparc/kernel/ |
D | process_64.c | 422 struct thread_info *t = current_thread_info(); in exit_thread() local 424 if (t->utraps) { in exit_thread() 425 if (t->utraps[0] < 2) in exit_thread() 426 kfree (t->utraps); in exit_thread() 428 t->utraps[0]--; in exit_thread() 434 struct thread_info *t = current_thread_info(); in flush_thread() local 437 mm = t->task->mm; in flush_thread() 444 t->fpsaved[0] = 0; in flush_thread() 490 struct thread_info *t) in shift_window_buffer() argument 495 t->rwbuf_stkptrs[i] = t->rwbuf_stkptrs[i+1]; in shift_window_buffer() [all …]
|
/linux-4.1.27/net/bridge/ |
D | br_stp.c | 70 int t; in br_should_become_root_port() local 85 t = memcmp(&p->designated_root, &rp->designated_root, 8); in br_should_become_root_port() 86 if (t < 0) in br_should_become_root_port() 88 else if (t > 0) in br_should_become_root_port() 98 t = memcmp(&p->designated_bridge, &rp->designated_bridge, 8); in br_should_become_root_port() 99 if (t < 0) in br_should_become_root_port() 101 else if (t > 0) in br_should_become_root_port() 254 int t; in br_should_become_designated_port() local 268 t = memcmp(&br->bridge_id, &p->designated_bridge, 8); in br_should_become_designated_port() 269 if (t < 0) in br_should_become_designated_port() [all …]
|
/linux-4.1.27/drivers/staging/gdm724x/ |
D | gdm_usb.c | 92 struct usb_tx *t = NULL; in alloc_tx_struct() local 95 t = kzalloc(sizeof(struct usb_tx), GFP_ATOMIC); in alloc_tx_struct() 96 if (!t) { in alloc_tx_struct() 101 t->urb = usb_alloc_urb(0, GFP_ATOMIC); in alloc_tx_struct() 105 t->buf = kmalloc(len, GFP_ATOMIC); in alloc_tx_struct() 106 if (!t->urb || !t->buf) { in alloc_tx_struct() 113 if (t) { in alloc_tx_struct() 114 usb_free_urb(t->urb); in alloc_tx_struct() 115 kfree(t->buf); in alloc_tx_struct() 116 kfree(t); in alloc_tx_struct() [all …]
|
D | gdm_mux.c | 68 struct mux_tx *t = NULL; in alloc_mux_tx() local 70 t = kzalloc(sizeof(struct mux_tx), GFP_ATOMIC); in alloc_mux_tx() 71 if (!t) in alloc_mux_tx() 74 t->urb = usb_alloc_urb(0, GFP_ATOMIC); in alloc_mux_tx() 75 t->buf = kmalloc(MUX_TX_MAX_SIZE, GFP_ATOMIC); in alloc_mux_tx() 76 if (!t->urb || !t->buf) { in alloc_mux_tx() 77 usb_free_urb(t->urb); in alloc_mux_tx() 78 kfree(t->buf); in alloc_mux_tx() 79 kfree(t); in alloc_mux_tx() 83 return t; in alloc_mux_tx() [all …]
|
/linux-4.1.27/drivers/firewire/ |
D | core-transaction.c | 78 static int try_cancel_split_timeout(struct fw_transaction *t) in try_cancel_split_timeout() argument 80 if (t->is_split_transaction) in try_cancel_split_timeout() 81 return del_timer(&t->split_timeout_timer); in try_cancel_split_timeout() 89 struct fw_transaction *t; in close_transaction() local 93 list_for_each_entry(t, &card->transaction_list, link) { in close_transaction() 94 if (t == transaction) { in close_transaction() 95 if (!try_cancel_split_timeout(t)) { in close_transaction() 99 list_del_init(&t->link); in close_transaction() 100 card->tlabel_mask &= ~(1ULL << t->tlabel); in close_transaction() 106 if (&t->link != &card->transaction_list) { in close_transaction() [all …]
|
/linux-4.1.27/drivers/net/wireless/zd1211rw/ |
D | zd_rf.c | 73 int t; in zd_rf_init_hw() local 107 t = rf->init_hw(rf); in zd_rf_init_hw() 109 if (t) in zd_rf_init_hw() 110 r = t; in zd_rf_init_hw() 138 int r, t; in zd_switch_radio_on() local 145 t = rf->switch_radio_on(rf); in zd_switch_radio_on() 147 if (t) in zd_switch_radio_on() 148 r = t; in zd_switch_radio_on() 154 int r, t; in zd_switch_radio_off() local 162 t = rf->switch_radio_off(rf); in zd_switch_radio_off() [all …]
|
/linux-4.1.27/tools/power/x86/turbostat/ |
D | turbostat.c | 230 struct thread_data *t; in for_all_cpus() local 234 t = GET_THREAD(thread_base, thread_no, core_no, pkg_no); in for_all_cpus() 236 if (cpu_is_not_present(t->cpu_id)) in for_all_cpus() 242 retval = func(t, c, p); in for_all_cpus() 387 int dump_counters(struct thread_data *t, struct core_data *c, in dump_counters() argument 390 outp += sprintf(outp, "t %p, c %p, p %p\n", t, c, p); in dump_counters() 392 if (t) { in dump_counters() 394 t->cpu_id, t->flags); in dump_counters() 395 outp += sprintf(outp, "TSC: %016llX\n", t->tsc); in dump_counters() 396 outp += sprintf(outp, "aperf: %016llX\n", t->aperf); in dump_counters() [all …]
|
/linux-4.1.27/net/core/ |
D | pktgen.c | 214 #define if_lock(t) spin_lock(&(t->if_lock)); argument 215 #define if_unlock(t) spin_unlock(&(t->if_lock)); argument 445 static int pktgen_remove_device(struct pktgen_thread *t, struct pktgen_dev *i); 446 static int pktgen_add_device(struct pktgen_thread *t, const char *ifname); 447 static struct pktgen_dev *pktgen_find_dev(struct pktgen_thread *t, 454 static void pktgen_stop(struct pktgen_thread *t); 1759 struct pktgen_thread *t = seq->private; in pktgen_thread_show() local 1762 BUG_ON(!t); in pktgen_thread_show() 1767 list_for_each_entry_rcu(pkt_dev, &t->if_list, list) in pktgen_thread_show() 1773 list_for_each_entry_rcu(pkt_dev, &t->if_list, list) in pktgen_thread_show() [all …]
|
/linux-4.1.27/drivers/android/ |
D | binder_trace.h | 107 TP_PROTO(bool reply, struct binder_transaction *t, 109 TP_ARGS(reply, t, target_node), 120 __entry->debug_id = t->debug_id; 122 __entry->to_proc = t->to_proc->pid; 123 __entry->to_thread = t->to_thread ? t->to_thread->pid : 0; 125 __entry->code = t->code; 126 __entry->flags = t->flags; 135 TP_PROTO(struct binder_transaction *t), 136 TP_ARGS(t), 142 __entry->debug_id = t->debug_id; [all …]
|
D | binder.c | 1171 struct binder_transaction *t) in binder_pop_transaction() argument 1174 BUG_ON(target_thread->transaction_stack != t); in binder_pop_transaction() 1178 t->from = NULL; in binder_pop_transaction() 1180 t->need_reply = 0; in binder_pop_transaction() 1181 if (t->buffer) in binder_pop_transaction() 1182 t->buffer->transaction = NULL; in binder_pop_transaction() 1183 kfree(t); in binder_pop_transaction() 1187 static void binder_send_failed_reply(struct binder_transaction *t, in binder_send_failed_reply() argument 1193 BUG_ON(t->flags & TF_ONE_WAY); in binder_send_failed_reply() 1195 target_thread = t->from; in binder_send_failed_reply() [all …]
|
/linux-4.1.27/drivers/staging/speakup/ |
D | speakup_dtlk.c | 285 u_char *t; in synth_interrogate() local 298 t = buf; in synth_interrogate() 300 status.serial_number = t[0] + t[1]*256; in synth_interrogate() 301 t += 2; in synth_interrogate() 302 for (i = 0; *t != '\r'; t++) { in synth_interrogate() 303 status.rom_version[i] = *t; in synth_interrogate() 308 t++; in synth_interrogate() 309 status.mode = *t++; in synth_interrogate() 310 status.punc_level = *t++; in synth_interrogate() 311 status.formant_freq = *t++; in synth_interrogate() [all …]
|
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/ |
D | libcfs_prim.h | 50 void cfs_init_timer(struct timer_list *t); 51 void cfs_timer_init(struct timer_list *t, cfs_timer_func_t *func, void *arg); 52 void cfs_timer_done(struct timer_list *t); 53 void cfs_timer_arm(struct timer_list *t, unsigned long deadline); 54 void cfs_timer_disarm(struct timer_list *t); 55 int cfs_timer_is_armed(struct timer_list *t); 56 unsigned long cfs_timer_deadline(struct timer_list *t);
|
/linux-4.1.27/drivers/usb/gadget/function/ |
D | u_uac1.c | 34 struct snd_interval t; in snd_interval_refine_set() local 35 t.empty = 0; in snd_interval_refine_set() 36 t.min = t.max = val; in snd_interval_refine_set() 37 t.openmin = t.openmax = 0; in snd_interval_refine_set() 38 t.integer = 1; in snd_interval_refine_set() 39 return snd_interval_refine(i, &t); in snd_interval_refine_set() 68 struct snd_interval t; in _snd_pcm_hw_param_set() local 69 t.openmin = 1; in _snd_pcm_hw_param_set() 70 t.openmax = 1; in _snd_pcm_hw_param_set() 71 t.empty = 0; in _snd_pcm_hw_param_set() [all …]
|
/linux-4.1.27/arch/mips/ath79/ |
D | clock.c | 164 u32 t; in ar933x_clocks_init() local 166 t = ath79_reset_rr(AR933X_RESET_REG_BOOTSTRAP); in ar933x_clocks_init() 167 if (t & AR933X_BOOTSTRAP_REF_CLK_40) in ar933x_clocks_init() 180 t = (cpu_config >> AR933X_PLL_CPU_CONFIG_REFDIV_SHIFT) & in ar933x_clocks_init() 182 freq = ref_rate / t; in ar933x_clocks_init() 184 t = (cpu_config >> AR933X_PLL_CPU_CONFIG_NINT_SHIFT) & in ar933x_clocks_init() 186 freq *= t; in ar933x_clocks_init() 188 t = (cpu_config >> AR933X_PLL_CPU_CONFIG_OUTDIV_SHIFT) & in ar933x_clocks_init() 190 if (t == 0) in ar933x_clocks_init() 191 t = 1; in ar933x_clocks_init() [all …]
|
D | dev-wmac.c | 78 u32 t; in ar933x_wmac_setup() local 89 t = ath79_reset_rr(AR933X_RESET_REG_BOOTSTRAP); in ar933x_wmac_setup() 90 if (t & AR933X_BOOTSTRAP_REF_CLK_40) in ar933x_wmac_setup() 103 u32 t; in ar934x_wmac_setup() local 112 t = ath79_reset_rr(AR934X_RESET_REG_BOOTSTRAP); in ar934x_wmac_setup() 113 if (t & AR934X_BOOTSTRAP_REF_CLK_40) in ar934x_wmac_setup() 121 u32 t; in qca955x_wmac_setup() local 130 t = ath79_reset_rr(QCA955X_RESET_REG_BOOTSTRAP); in qca955x_wmac_setup() 131 if (t & QCA955X_BOOTSTRAP_REF_CLK_40) in qca955x_wmac_setup()
|
/linux-4.1.27/drivers/mtd/devices/ |
D | m25p80.c | 83 struct spi_transfer t[2] = {}; in m25p80_write() local 95 t[0].tx_buf = flash->command; in m25p80_write() 96 t[0].len = cmd_sz; in m25p80_write() 97 spi_message_add_tail(&t[0], &m); in m25p80_write() 99 t[1].tx_buf = buf; in m25p80_write() 100 t[1].len = len; in m25p80_write() 101 spi_message_add_tail(&t[1], &m); in m25p80_write() 129 struct spi_transfer t[2]; in m25p80_read() local 137 memset(t, 0, (sizeof t)); in m25p80_read() 142 t[0].tx_buf = flash->command; in m25p80_read() [all …]
|
/linux-4.1.27/arch/cris/boot/tools/ |
D | build.c | 66 conv t; in intel_long() local 68 t.b[0] = l & 0xff; l >>= 8; in intel_long() 69 t.b[1] = l & 0xff; l >>= 8; in intel_long() 70 t.b[2] = l & 0xff; l >>= 8; in intel_long() 71 t.b[3] = l & 0xff; l >>= 8; in intel_long() 72 return t.l; in intel_long() 77 conv t; in intel_int() local 79 t.b[0] = i & 0xff; i >>= 8; in intel_int() 80 t.b[1] = i & 0xff; i >>= 8; in intel_int() 81 t.b[2] = i & 0xff; i >>= 8; in intel_int() [all …]
|
/linux-4.1.27/drivers/pcmcia/ |
D | m32r_pcc.c | 92 pcc_socket_t *t = &socket[sock]; in pcc_iorw() local 112 addr = t->mapaddr + port - t->ioaddr + KSEG1; /* XXX */ in pcc_iorw() 117 if (t->current_space != as_io || t->last_iodbex != need_ex) { in pcc_iorw() 129 cbsz = (t->flags & MAP_16BIT) ? 0 : PCMOD_CBSZ; in pcc_iorw() 140 map_changed = (t->current_space == as_attr && size == 2); /* XXX */ in pcc_iorw() 145 t->current_space = as_io; in pcc_iorw() 223 t->last_iosize = size; in pcc_iorw() 224 t->last_iodbex = need_ex; in pcc_iorw() 302 pcc_socket_t *t = &socket[pcc_sockets]; in add_pcc_socket() local 305 t->ioaddr = ioaddr; in add_pcc_socket() [all …]
|
/linux-4.1.27/drivers/acpi/ |
D | ec.c | 409 struct transaction *t; in advance_transaction() local 422 t = ec->curr; in advance_transaction() 423 if (!t) in advance_transaction() 425 if (t->flags & ACPI_EC_COMMAND_POLL) { in advance_transaction() 426 if (t->wlen > t->wi) { in advance_transaction() 428 acpi_ec_write_data(ec, t->wdata[t->wi++]); in advance_transaction() 431 } else if (t->rlen > t->ri) { in advance_transaction() 433 t->rdata[t->ri++] = acpi_ec_read_data(ec); in advance_transaction() 434 if (t->rlen == t->ri) { in advance_transaction() 435 t->flags |= ACPI_EC_COMMAND_COMPLETE; in advance_transaction() [all …]
|
/linux-4.1.27/sound/core/seq/ |
D | seq_timer.c | 75 struct snd_seq_timer *t = *tmr; in snd_seq_timer_delete() local 78 if (t == NULL) { in snd_seq_timer_delete() 82 t->running = 0; in snd_seq_timer_delete() 85 snd_seq_timer_stop(t); in snd_seq_timer_delete() 86 snd_seq_timer_reset(t); in snd_seq_timer_delete() 88 kfree(t); in snd_seq_timer_delete() 272 struct snd_timer_instance *t; in snd_seq_timer_open() local 287 err = snd_timer_open(&t, str, &tmr->alsa_id, q->queue); in snd_seq_timer_open() 297 err = snd_timer_open(&t, str, &tid, q->queue); in snd_seq_timer_open() 304 t->callback = snd_seq_timer_interrupt; in snd_seq_timer_open() [all …]
|
/linux-4.1.27/drivers/regulator/ |
D | tps6524x-regulator.c | 149 struct spi_transfer t[3]; in __read_reg() local 152 memset(t, 0, sizeof(t)); in __read_reg() 154 t[0].tx_buf = &cmd; in __read_reg() 155 t[0].len = 2; in __read_reg() 156 t[0].bits_per_word = 12; in __read_reg() 157 spi_message_add_tail(&t[0], &m); in __read_reg() 159 t[1].rx_buf = ∈ in __read_reg() 160 t[1].len = 2; in __read_reg() 161 t[1].bits_per_word = 16; in __read_reg() 162 spi_message_add_tail(&t[1], &m); in __read_reg() [all …]
|
/linux-4.1.27/drivers/char/ |
D | dtlk.c | 513 unsigned char *t; in dtlk_interrogate() local 532 t = buf; in dtlk_interrogate() 533 status.serial_number = t[0] + t[1] * 256; /* serial number is in dtlk_interrogate() 535 t += 2; in dtlk_interrogate() 538 while (*t != '\r') { in dtlk_interrogate() 539 status.rom_version[i] = *t; in dtlk_interrogate() 542 t++; in dtlk_interrogate() 545 t++; in dtlk_interrogate() 547 status.mode = *t++; in dtlk_interrogate() 548 status.punc_level = *t++; in dtlk_interrogate() [all …]
|
/linux-4.1.27/drivers/staging/iio/trigger/ |
D | iio-trig-bfin-timer.c | 59 struct bfin_timer *t; member 70 if (get_gptimer_period(st->t->id) == 0) in iio_bfin_tmr_set_state() 74 enable_gptimers(st->t->bit); in iio_bfin_tmr_set_state() 76 disable_gptimers(st->t->bit); in iio_bfin_tmr_set_state() 97 enabled = get_enabled_gptimers() & st->t->bit; in iio_bfin_tmr_frequency_store() 100 disable_gptimers(st->t->bit); in iio_bfin_tmr_frequency_store() 109 set_gptimer_period(st->t->id, val); in iio_bfin_tmr_frequency_store() 110 set_gptimer_pwidth(st->t->id, val - st->duty); in iio_bfin_tmr_frequency_store() 113 enable_gptimers(st->t->bit); in iio_bfin_tmr_frequency_store() 124 unsigned int period = get_gptimer_period(st->t->id); in iio_bfin_tmr_frequency_show() [all …]
|
/linux-4.1.27/drivers/mmc/card/ |
D | mmc_test.c | 1427 struct mmc_test_area *t = &test->area; in mmc_test_area_map() local 1430 t->blocks = sz >> 9; in mmc_test_area_map() 1433 err = mmc_test_map_sg_max_scatter(t->mem, sz, t->sg, in mmc_test_area_map() 1434 t->max_segs, t->max_seg_sz, in mmc_test_area_map() 1435 &t->sg_len); in mmc_test_area_map() 1437 err = mmc_test_map_sg(t->mem, sz, t->sg, 1, t->max_segs, in mmc_test_area_map() 1438 t->max_seg_sz, &t->sg_len, min_sg_len); in mmc_test_area_map() 1452 struct mmc_test_area *t = &test->area; in mmc_test_area_transfer() local 1454 return mmc_test_simple_transfer(test, t->sg, t->sg_len, dev_addr, in mmc_test_area_transfer() 1455 t->blocks, 512, write); in mmc_test_area_transfer() [all …]
|
/linux-4.1.27/arch/x86/kernel/cpu/ |
D | mkcapflags.sh | 38 TABS="$(printf '\t\t\t\t\t\t')"
|
/linux-4.1.27/arch/m68k/mac/ |
D | misc.c | 693 int mac_hwclk(int op, struct rtc_time *t) in mac_hwclk() argument 717 t->tm_wday = 0; in mac_hwclk() 719 &t->tm_year, &t->tm_mon, &t->tm_mday, in mac_hwclk() 720 &t->tm_hour, &t->tm_min, &t->tm_sec); in mac_hwclk() 723 t->tm_year + 1900, t->tm_mon + 1, t->tm_mday, in mac_hwclk() 724 t->tm_hour, t->tm_min, t->tm_sec); in mac_hwclk() 729 t->tm_year + 1900, t->tm_mon + 1, t->tm_mday, in mac_hwclk() 730 t->tm_hour, t->tm_min, t->tm_sec); in mac_hwclk() 733 now = mktime(t->tm_year + 1900, t->tm_mon + 1, t->tm_mday, in mac_hwclk() 734 t->tm_hour, t->tm_min, t->tm_sec); in mac_hwclk()
|
/linux-4.1.27/drivers/video/fbdev/ |
D | uvesafb.c | 90 if (task->t.buf_len < utask->buf_len || in uvesafb_cn_callback() 99 memcpy(&task->t, utask, sizeof(*utask)); in uvesafb_cn_callback() 101 if (task->t.buf_len && task->buf) in uvesafb_cn_callback() 102 memcpy(task->buf, utask + 1, task->t.buf_len); in uvesafb_cn_callback() 145 int len = sizeof(task->t) + task->t.buf_len; in uvesafb_exec() 169 memcpy(m + 1, &task->t, sizeof(task->t)); in uvesafb_exec() 172 memcpy((u8 *)(m + 1) + sizeof(task->t), task->buf, task->t.buf_len); in uvesafb_exec() 214 if (!err && !(task->t.flags & TF_EXIT)) in uvesafb_exec() 369 task->t.regs.eax = 0x4f04; in uvesafb_vbe_state_save() 370 task->t.regs.ecx = 0x000f; in uvesafb_vbe_state_save() [all …]
|
/linux-4.1.27/drivers/iio/gyro/ |
D | adxrs450.c | 238 u32 t; in adxrs450_initial_setup() local 244 ret = adxrs450_spi_initial(st, &t, 1); in adxrs450_initial_setup() 247 if (t != 0x01) in adxrs450_initial_setup() 251 ret = adxrs450_spi_initial(st, &t, 0); in adxrs450_initial_setup() 256 ret = adxrs450_spi_initial(st, &t, 0); in adxrs450_initial_setup() 259 if (((t & 0xff) | 0x01) != 0xff || ADXRS450_GET_ST(t) != 2) { in adxrs450_initial_setup() 264 ret = adxrs450_spi_initial(st, &t, 0); in adxrs450_initial_setup() 267 if (((t & 0xff) | 0x01) != 0xff || ADXRS450_GET_ST(t) != 2) { in adxrs450_initial_setup() 311 s16 t; in adxrs450_read_raw() local 317 ret = adxrs450_spi_sensor_data(indio_dev, &t); in adxrs450_read_raw() [all …]
|
/linux-4.1.27/drivers/net/phy/ |
D | spi_ks8995.c | 118 struct spi_transfer t[2]; in ks8995_read() local 124 memset(&t, 0, sizeof(t)); in ks8995_read() 126 t[0].tx_buf = cmd; in ks8995_read() 127 t[0].len = sizeof(cmd); in ks8995_read() 128 spi_message_add_tail(&t[0], &m); in ks8995_read() 130 t[1].rx_buf = buf; in ks8995_read() 131 t[1].len = count; in ks8995_read() 132 spi_message_add_tail(&t[1], &m); in ks8995_read() 149 struct spi_transfer t[2]; in ks8995_write() local 155 memset(&t, 0, sizeof(t)); in ks8995_write() [all …]
|
/linux-4.1.27/net/netfilter/ipset/ |
D | ip_set_hash_gen.h | 340 mtype_ahash_memsize(const struct htype *h, const struct htable *t, in mtype_ahash_memsize() argument 345 + sizeof(*t) in mtype_ahash_memsize() 349 + jhash_size(t->htable_bits) * sizeof(struct hbucket); in mtype_ahash_memsize() 351 for (i = 0; i < jhash_size(t->htable_bits); i++) in mtype_ahash_memsize() 352 memsize += t->bucket[i].size * dsize; in mtype_ahash_memsize() 375 struct htable *t; in mtype_flush() local 379 t = rcu_dereference_bh_nfnl(h->table); in mtype_flush() 380 for (i = 0; i < jhash_size(t->htable_bits); i++) { in mtype_flush() 381 n = hbucket(t, i); in mtype_flush() 398 mtype_ahash_destroy(struct ip_set *set, struct htable *t, bool ext_destroy) in mtype_ahash_destroy() argument [all …]
|
/linux-4.1.27/net/bridge/netfilter/ |
D | ebtables.c | 193 const struct ebt_entry_target *t; in ebt_do_table() local 241 t = (struct ebt_entry_target *) in ebt_do_table() 244 if (!t->u.target->target) in ebt_do_table() 245 verdict = ((struct ebt_standard_target *)t)->verdict; in ebt_do_table() 247 acpar.target = t->u.target; in ebt_do_table() 248 acpar.targinfo = t->data; in ebt_do_table() 249 verdict = t->u.target->target(skb, &acpar); in ebt_do_table() 627 struct ebt_entry_target *t; in ebt_cleanup_entry() local 636 t = (struct ebt_entry_target *)(((char *)e) + e->target_offset); in ebt_cleanup_entry() 639 par.target = t->u.target; in ebt_cleanup_entry() [all …]
|
/linux-4.1.27/drivers/iio/pressure/ |
D | ms5611_core.c | 73 s32 t, p; in ms5611_read_temp_and_pressure() local 77 ret = st->read_adc_temp_and_pressure(&indio_dev->dev, &t, &p); in ms5611_read_temp_and_pressure() 84 dt = t - (st->prom[5] << 8); in ms5611_read_temp_and_pressure() 88 t = 2000 + ((st->prom[6] * dt) >> 23); in ms5611_read_temp_and_pressure() 89 if (t < 2000) { in ms5611_read_temp_and_pressure() 93 off2 = (5 * (t - 2000) * (t - 2000)) >> 1; in ms5611_read_temp_and_pressure() 96 if (t < -1500) { in ms5611_read_temp_and_pressure() 97 s64 tmp = (t + 1500) * (t + 1500); in ms5611_read_temp_and_pressure() 103 t -= t2; in ms5611_read_temp_and_pressure() 108 *temp = t; in ms5611_read_temp_and_pressure()
|
/linux-4.1.27/drivers/usb/chipidea/ |
D | otg_fsm.c | 38 unsigned size, t; in get_a_bus_req() local 43 t = scnprintf(next, size, "%d\n", ci->fsm.a_bus_req); in get_a_bus_req() 44 size -= t; in get_a_bus_req() 45 next += t; in get_a_bus_req() 82 unsigned size, t; in get_a_bus_drop() local 87 t = scnprintf(next, size, "%d\n", ci->fsm.a_bus_drop); in get_a_bus_drop() 88 size -= t; in get_a_bus_drop() 89 next += t; in get_a_bus_drop() 123 unsigned size, t; in get_b_bus_req() local 128 t = scnprintf(next, size, "%d\n", ci->fsm.b_bus_req); in get_b_bus_req() [all …]
|
/linux-4.1.27/tools/power/cpupower/utils/helpers/ |
D | amd.c | 34 int t; in get_did() local 37 t = pstate.val & 0xf; in get_did() 39 t = pstate.bits.did; in get_did() 41 return t; in get_did() 46 int t; in get_cof() local 51 t = 0x10; in get_cof() 54 t = 0x8; in get_cof() 56 return (100 * (fid + t)) >> did; in get_cof()
|
/linux-4.1.27/arch/avr32/include/asm/ |
D | setup.h | 128 #define tag_next(t) ((struct tag *)((u32 *)(t) + (t)->hdr.size)) argument 131 #define for_each_tag(t,base) \ argument 132 for (t = base; t->hdr.size; t = tag_next(t))
|
/linux-4.1.27/arch/mips/boot/dts/cavium-octeon/ |
D | octeon_68xx.dts | 466 cavium,t-adr = <10>; 467 cavium,t-ce = <50>; 468 cavium,t-oe = <50>; 469 cavium,t-we = <35>; 470 cavium,t-rd-hld = <25>; 471 cavium,t-wr-hld = <35>; 472 cavium,t-pause = <0>; 473 cavium,t-wait = <300>; 474 cavium,t-page = <25>; 475 cavium,t-rd-dly = <0>; [all …]
|
D | octeon_3xxx.dts | 430 cavium,t-adr = <20>; 431 cavium,t-ce = <60>; 432 cavium,t-oe = <60>; 433 cavium,t-we = <45>; 434 cavium,t-rd-hld = <35>; 435 cavium,t-wr-hld = <45>; 436 cavium,t-pause = <0>; 437 cavium,t-wait = <0>; 438 cavium,t-page = <35>; 439 cavium,t-rd-dly = <0>; [all …]
|
/linux-4.1.27/tools/perf/util/ |
D | trace-event.c | 23 int trace_event__init(struct trace_event *t) in trace_event__init() argument 28 t->plugin_list = traceevent_load_plugins(pevent); in trace_event__init() 29 t->pevent = pevent; in trace_event__init() 35 void trace_event__cleanup(struct trace_event *t) in trace_event__cleanup() argument 37 traceevent_unload_plugins(t->plugin_list, t->pevent); in trace_event__cleanup() 38 pevent_free(t->pevent); in trace_event__cleanup()
|
/linux-4.1.27/drivers/base/regmap/ |
D | regmap-spi.c | 22 struct spi_transfer t[2]; member 47 struct spi_transfer t[2] = { { .tx_buf = reg, .len = reg_len, }, in regmap_spi_gather_write() local 51 spi_message_add_tail(&t[0], &m); in regmap_spi_gather_write() 52 spi_message_add_tail(&t[1], &m); in regmap_spi_gather_write() 68 async->t[0].tx_buf = reg; in regmap_spi_async_write() 69 async->t[0].len = reg_len; in regmap_spi_async_write() 70 async->t[1].tx_buf = val; in regmap_spi_async_write() 71 async->t[1].len = val_len; in regmap_spi_async_write() 74 spi_message_add_tail(&async->t[0], &async->m); in regmap_spi_async_write() 76 spi_message_add_tail(&async->t[1], &async->m); in regmap_spi_async_write()
|
/linux-4.1.27/arch/arm/kernel/ |
D | atags_parse.c | 151 struct tagtable *t; in parse_tag() local 153 for (t = &__tagtable_begin; t < &__tagtable_end; t++) in parse_tag() 154 if (tag->hdr.tag == t->tag) { in parse_tag() 155 t->parse(tag); in parse_tag() 159 return t < &__tagtable_end; in parse_tag() 166 static void __init parse_tags(const struct tag *t) in parse_tags() argument 168 for (; t->hdr.size; t = tag_next(t)) in parse_tags() 169 if (!parse_tag(t)) in parse_tags() 171 t->hdr.tag); in parse_tags()
|