| /drivers/media/pci/saa7134/ |
| A D | saa7134-reg.h | 210 #define SAA7134_TASK_CONDITIONS(t) (0x000 +t) argument 211 #define SAA7134_FIELD_HANDLING(t) (0x001 +t) argument 212 #define SAA7134_DATA_PATH(t) (0x002 +t) argument 213 #define SAA7134_VBI_H_START1(t) (0x004 +t) argument 214 #define SAA7134_VBI_H_START2(t) (0x005 +t) argument 215 #define SAA7134_VBI_H_STOP1(t) (0x006 +t) argument 216 #define SAA7134_VBI_H_STOP2(t) (0x007 +t) argument 217 #define SAA7134_VBI_V_START1(t) (0x008 +t) argument 218 #define SAA7134_VBI_V_START2(t) (0x009 +t) argument 219 #define SAA7134_VBI_V_STOP1(t) (0x00a +t) argument [all …]
|
| /drivers/scsi/esas2r/ |
| A D | esas2r_targdb.c | 50 for (t = a->targetdb; t < a->targetdb_end; t++) { in esas2r_targ_db_initialize() 64 for (t = a->targetdb; t < a->targetdb_end; t++) { in esas2r_targ_db_remove_all() 94 for (t = a->targetdb; t < a->targetdb_end; t++) { in esas2r_targ_db_report_changes() 98 if (t->buffered_target_state != t->target_state) in esas2r_targ_db_report_changes() 142 t, in esas2r_targ_db_add_raid() 169 return t; in esas2r_targ_db_add_raid() 218 return t; in esas2r_targ_db_add_pthru() 237 for (t = a->targetdb; t < a->targetdb_end; t++) in esas2r_targ_db_find_by_sas_addr() 250 for (t = a->targetdb; t < a->targetdb_end; t++) { in esas2r_targ_db_find_by_ident() 281 for (t = a->targetdb; t < a->targetdb_end; t++) { in esas2r_targ_db_find_by_virt_id() [all …]
|
| /drivers/media/v4l2-core/ |
| A D | tuner-core.c | 326 &t->fe, t->i2c->adapter, t->i2c->addr)) in set_type() 332 t->i2c->addr, t->config)) in set_type() 360 t->i2c->adapter, t->i2c->addr, t->type)) in set_type() 370 t->i2c->adapter, t->i2c->addr, t->type)) in set_type() 386 &t->fe, t->i2c->adapter, t->i2c->addr)) in set_type() 449 t->i2c->adapter, t->i2c->addr, t->type)) in set_type() 460 t->fe.analog_demod_priv = t; in set_type() 474 t->sd.entity.name = t->name; in set_type() 539 t->type, t->mode_mask, in tuner_s_type_addr() 726 t->sd.entity.name = t->name; in tuner_probe() [all …]
|
| /drivers/clocksource/ |
| A D | timer-ti-dm-systimer.c | 82 writel_relaxed(val, t->base + t->sysc); in dmtimer_systimer_enable() 110 void __iomem *sysc = t->base + t->sysc; in dmtimer_systimer_type2_reset() 417 readl_relaxed(t->base + t->sysc)); in dmtimer_systimer_setup() 450 void __iomem *pend = t->base + t->pend; in dmtimer_set_next_event() 467 void __iomem *ctrl = t->base + t->ctrl; in dmtimer_clockevent_shutdown() 488 void __iomem *pend = t->base + t->pend; in dmtimer_set_periodic() 504 t->base + t->ctrl); in dmtimer_set_periodic() 544 t = &clkevt->t; in dmtimer_clkevt_init_common() 750 t->base + t->ctrl); in dmtimer_clocksource_resume() 765 t = &clksrc->t; in dmtimer_clocksource_init() [all …]
|
| /drivers/md/ |
| A D | dm-table.c | 136 t = kzalloc(sizeof(*t), GFP_KERNEL); in dm_table_create() 138 if (!t) in dm_table_create() 185 if (!t) in dm_table_destroy() 190 kvfree(t->index[t->depth - 2]); in dm_table_destroy() 205 free_devices(&t->devices, t->md); in dm_table_destroy() 505 prev = &t->targets[t->num_targets - 1]; in adjoin() 701 ti = t->targets + t->num_targets; in dm_table_add_target() 1144 t->counts[t->depth - 1] = leaf_nodes; in dm_table_build_index() 1145 t->index[t->depth - 1] = t->highs; in dm_table_build_index() 1570 t->event_fn(t->event_context); in dm_table_event() [all …]
|
| A D | dm-cache-policy.c | 27 return t; in __find_policy() 36 if (t && !try_module_get(t->owner)) { in __get_policy_once() 41 return t; in __get_policy_once() 52 return t; in get_policy_once() 60 if (IS_ERR(t)) in get_policy() 63 if (t) in get_policy() 64 return t; in get_policy() 69 if (IS_ERR(t)) in get_policy() 72 return t; in get_policy() 142 put_policy(t); in dm_cache_policy_destroy() [all …]
|
| A D | dm.h | 57 void dm_table_event_callback(struct dm_table *t, 61 bool dm_table_is_wildcard(struct dm_table *t); 67 void dm_table_presuspend_targets(struct dm_table *t); 68 void dm_table_presuspend_undo_targets(struct dm_table *t); 69 void dm_table_postsuspend_targets(struct dm_table *t); 70 int dm_table_resume_targets(struct dm_table *t); 71 enum dm_queue_mode dm_table_get_type(struct dm_table *t); 75 bool dm_table_request_based(struct dm_table *t); 89 #define dm_target_bio_based(t) ((t)->type->map != NULL) argument 94 #define dm_target_request_based(t) ((t)->type->clone_and_map_rq != NULL) argument [all …]
|
| /drivers/gpu/drm/i915/gem/selftests/ |
| A D | i915_gem_client_blt.c | 193 *cs++ = t->height << 16 | t->width; in prepare_blit() 239 *cs++ = t->height << 16 | t->width; in prepare_blit() 292 return __create_vma(t, PAGE_ALIGN(t->width * t->height * 4), lmem); in create_vma() 309 t->scratch.vma = create_vma(t, false); in tiled_blits_create_buffers() 540 t = kzalloc(sizeof(*t), GFP_KERNEL); in tiled_blits_create() 551 t->align = max(t->align, in tiled_blits_create() 573 t->hole = hole.start + t->align; in tiled_blits_create() 600 u64 offset = round_up(t->width * t->height * 4, t->align); in tiled_blits_prepare() 616 &t->scratch, t->hole); in tiled_blits_prepare() 631 u64 offset = round_up(t->width * t->height * 4, 2 * t->align); in tiled_blits_bounce() [all …]
|
| /drivers/md/bcache/ |
| A D | bset.c | 546 return cacheline_to_bkey(t, to_inorder(j, t), t->tree[j].m); in tree_to_bkey() 603 ? bset_bkey_idx(t->data, t->data->keys - bkey_u64s(&t->end)) in make_bfloat() 643 t->tree = t[-1].tree + j; in bset_alloc_tree() 644 t->prev = t[-1].prev + j; in bset_alloc_tree() 661 t->prev[0] = bkey_to_cacheline_offset(t, 0, t->data->start); in bch_bset_build_unwritten_tree() 709 t->extra = (t->size - rounddown_pow_of_two(t->size - 1)) << 1; in bch_bset_build_written_tree() 743 for (t = b->set; t <= bset_tree_last(b); t++) in bch_bset_fix_invalidated_key() 749 if (!t->size || !bset_written(b, t)) in bch_bset_fix_invalidated_key() 829 t->prev[t->size] = in bch_bset_fix_lookup_table() 955 ri < t->size ? table_to_bkey(t, ri) : bset_bkey_last(t->data) in bset_search_write_set() [all …]
|
| /drivers/ata/ |
| A D | libata-pata-timings.c | 103 t++; in ata_timing_find_mode() 155 ata_timing_quantize(t, t, T, UT); in ata_timing_compute() 165 ata_timing_merge(&p, t, t, ATA_TIMING_ALL); in ata_timing_compute() 172 if (t->act8b + t->rec8b < t->cyc8b) { in ata_timing_compute() 173 t->act8b += (t->cyc8b - (t->act8b + t->rec8b)) / 2; in ata_timing_compute() 174 t->rec8b = t->cyc8b - t->act8b; in ata_timing_compute() 177 if (t->active + t->recover < t->cycle) { in ata_timing_compute() 178 t->active += (t->cycle - (t->active + t->recover)) / 2; in ata_timing_compute() 179 t->recover = t->cycle - t->active; in ata_timing_compute() 187 if (t->active + t->recover > t->cycle) in ata_timing_compute() [all …]
|
| /drivers/media/pci/bt8xx/ |
| A D | bttv-audio-hook.c | 71 switch (t->audmode) { in gvbctv3pci_audio() 95 switch (t->audmode) { in gvbctv5pci_audio() 172 switch (t->audmode) { in avermedia_tvphone_audio() 203 switch (t->audmode) { in avermedia_tv_stereo_audio() 241 switch (t->audmode) { in lt9415_audio() 275 switch (t->audmode) { in terratv_audio() 300 switch (t->audmode) { in winfast2000_audio() 346 switch (t->audmode) { in pvbt878p9b_audio() 387 switch (t->audmode) { in fv2000s_audio() 423 switch (t->audmode) { in windvr_audio() [all …]
|
| /drivers/iio/ |
| A D | industrialio-sw-trigger.c | 36 t = iter; in __iio_find_sw_trigger_type() 40 return t; in __iio_find_sw_trigger_type() 49 iter = __iio_find_sw_trigger_type(t->name, strlen(t->name)); in iio_register_sw_trigger_type() 77 iter = __iio_find_sw_trigger_type(t->name, strlen(t->name)); in iio_unregister_sw_trigger_type() 93 if (t && !try_module_get(t->owner)) in iio_get_sw_trigger_type() 94 t = NULL; in iio_get_sw_trigger_type() 97 return t; in iio_get_sw_trigger_type() 111 if (IS_ERR(t)) in iio_sw_trigger_create() 116 return t; in iio_sw_trigger_create() 119 return t; in iio_sw_trigger_create() [all …]
|
| /drivers/thermal/ |
| A D | thermal_thresholds.c | 63 struct user_threshold *t; in __thermal_thresholds_find() local 67 return t; in __thermal_thresholds_find() 75 struct user_threshold *t; in thermal_thresholds_handle_raising() local 93 struct user_threshold *t; in thermal_thresholds_handle_dropping() local 111 struct user_threshold *t; in thermal_threshold_find_boundaries() local 124 *low = t->temperature; in thermal_threshold_find_boundaries() 177 if (t) { in thermal_thresholds_add() 184 t = kmalloc(sizeof(*t), GFP_KERNEL); in thermal_thresholds_add() 185 if (!t) in thermal_thresholds_add() 211 if (!t) in thermal_thresholds_delete() [all …]
|
| /drivers/block/aoe/ |
| A D | aoecmd.c | 196 t = f->t; in aoe_freetframe() 218 f->t = t; in newtframe() 334 t = f->t; in ata_rw_frameinit() 463 t = f->t; in resend() 659 t = f->t; in rexmit_deferred() 794 t = f->t; in rexmit_timer() 1001 if (!t || t->maxout >= t->nframes) in calc_rttavg() 1018 for (; t < e && *t; t++) in gettgt() 1094 t = f->t; in ktiocomplete() 1486 for (; t < e && *t; t++) in setdbcnt() [all …]
|
| /drivers/net/ethernet/chelsio/cxgb3/ |
| A D | cxgb3_defs.h | 50 return &t->atid_tab[atid - t->atid_base]; in atid2entry() 56 return &t->stid_tab[stid - t->stid_base]; in stid2entry() 66 &(t->tid_tab[tid]) : NULL; in lookup_tid() 79 if (tid < t->stid_base || tid >= t->stid_base + t->nstids) in lookup_stid() 82 e = stid2entry(t, tid); in lookup_stid() 83 if ((void *)e->next >= (void *)t->tid_tab && in lookup_stid() 84 (void *)e->next < (void *)&t->atid_tab[t->natids]) in lookup_stid() 98 if (tid < t->atid_base || tid >= t->atid_base + t->natids) in lookup_atid() 101 e = atid2entry(t, tid); in lookup_atid() 102 if ((void *)e->next >= (void *)t->tid_tab && in lookup_atid() [all …]
|
| /drivers/net/wireless/mediatek/mt76/mt76x2/ |
| A D | eeprom.c | 300 memset(t, 0, sizeof(*t)); in mt76x2_get_rate_power() 303 t->cck[0] = t->cck[1] = mt76x02_rate_power_val(val); in mt76x2_get_rate_power() 310 t->ofdm[0] = t->ofdm[1] = mt76x02_rate_power_val(val); in mt76x2_get_rate_power() 317 t->ofdm[4] = t->ofdm[5] = mt76x02_rate_power_val(val); in mt76x2_get_rate_power() 321 t->ht[0] = t->ht[1] = mt76x02_rate_power_val(val); in mt76x2_get_rate_power() 325 t->ht[4] = t->ht[5] = mt76x02_rate_power_val(val); in mt76x2_get_rate_power() 329 t->ht[8] = t->ht[9] = mt76x02_rate_power_val(val); in mt76x2_get_rate_power() 333 t->ht[12] = t->ht[13] = mt76x02_rate_power_val(val); in mt76x2_get_rate_power() 431 memset(t, 0, sizeof(*t)); in mt76x2_get_power_info() 451 t->target_power = t->chain[0].target_power; in mt76x2_get_power_info() [all …]
|
| /drivers/media/dvb-frontends/ |
| A D | lgs8gxx.c | 104 u8 t; in wait_reg_mask() local 206 u8 t; in lgs8gxx_set_mode_auto() local 236 t = (t & 0x8C) | 0x03; in lgs8gxx_set_mode_auto() 241 t = (t & 0xEF) | 0x10; in lgs8gxx_set_mode_auto() 253 u8 t; in lgs8gxx_set_mode_manual() local 287 t = (t & 0xE0) | 0x06; in lgs8gxx_set_mode_manual() 298 u8 t; in lgs8gxx_is_locked() local 561 u8 t; in lgs8913_init() local 834 u8 t; in lgs8g75_read_signal_strength() local 866 u8 t; in lgs8gxx_read_snr() local [all …]
|
| /drivers/misc/cb710/ |
| A D | debug.c | 29 #define CB710_READ_REGS_TEMPLATE(t) \ argument 31 u##t *reg, unsigned select) \ 39 for (j = 0; j < 0x10/(t/8); ++j) { \ 40 if (!allow_reg_read(i, j, t)) \ 42 reg[j] = ioread##t(iobase \ 43 + (i << 4) + (j * (t/8))); \ 69 if (j == 8/(t/8)) \ 71 if (allow_reg_read(i, j, t)) \ 84 u##t regs[CB710_REG_COUNT/sizeof(u##t)]; \ 92 CB710_READ_REGS_TEMPLATE(t) \ [all …]
|
| /drivers/media/usb/pvrusb2/ |
| A D | pvrusb2-util.h | 9 #define PVR2_DECOMPOSE_LE(t,i,d) \ argument 11 (t)[i] = (d) & 0xff;\ 12 (t)[i+1] = ((d) >> 8) & 0xff;\ 13 (t)[i+2] = ((d) >> 16) & 0xff;\ 14 (t)[i+3] = ((d) >> 24) & 0xff;\ 19 (t)[i+3] = (d) & 0xff;\ 20 (t)[i+2] = ((d) >> 8) & 0xff;\ 22 (t)[i] = ((d) >> 24) & 0xff;\ 25 #define PVR2_COMPOSE_LE(t,i) \ argument 29 ((u32)((t)[i]))) [all …]
|
| /drivers/gpu/drm/radeon/ |
| A D | mkregtable.c | 139 t->offset_max = 0; in table_init() 140 t->nentry = 0; in table_init() 141 t->table = NULL; in table_init() 149 c = t->nentry; in table_print() 151 t->nentry); in table_print() 174 t->nentry = ((t->offset_max >> 2) + 31) / 32; in table_build() 175 t->table = (unsigned *)malloc(sizeof(unsigned) * t->nentry); in table_build() 178 memset(t->table, 0xff, sizeof(unsigned) * t->nentry); in table_build() 267 struct table t; in main() local 273 table_init(&t); in main() [all …]
|
| /drivers/phy/microchip/ |
| A D | sparx5_serdes_regs.h | 1060 __REG(TARGET_SD25G_LANE, t, 8, 0, 0, 1, 132, 36, 0, 1, 4) 1095 __REG(TARGET_SD25G_LANE, t, 8, 0, 0, 1, 132, 44, 0, 1, 4) 1148 __REG(TARGET_SD25G_LANE, t, 8, 0, 0, 1, 132, 48, 0, 1, 4) 1183 __REG(TARGET_SD25G_LANE, t, 8, 0, 0, 1, 132, 52, 0, 1, 4) 1218 __REG(TARGET_SD25G_LANE, t, 8, 0, 0, 1, 132, 56, 0, 1, 4) 1235 __REG(TARGET_SD25G_LANE, t, 8, 0, 0, 1, 132, 76, 0, 1, 4) 1252 __REG(TARGET_SD25G_LANE, t, 8, 0, 0, 1, 132, 96, 0, 1, 4) 2814 __REG(TARGET_SD_LANE_25G, t, 8, 0, 0, 1, 8, 0, 0, 1, 4) 2825 __REG(TARGET_SD_LANE_25G, t, 8, 0, 0, 1, 8, 4, 0, 1, 4) 2836 __REG(TARGET_SD_LANE_25G, t, 8, 8, 0, 1, 12, 0, 0, 1, 4) [all …]
|
| /drivers/net/ethernet/chelsio/cxgb4/ |
| A D | cxgb4_uld.h | 168 tid -= t->tid_base; in lookup_tid() 169 return tid < t->ntids ? t->tid_tab[tid] : NULL; in lookup_tid() 174 return ((tid - t->tid_base) >= t->ntids); in tid_out_of_range() 179 return atid < t->natids ? t->atid_tab[atid].data : NULL; in lookup_atid() 185 if (t->nsftids && (stid >= t->sftid_base)) { in lookup_stid() 187 stid += t->nstids; in lookup_stid() 192 return stid < (t->nstids + t->nsftids) ? t->stid_tab[stid].data : NULL; in lookup_stid() 198 t->tid_tab[tid - t->tid_base] = data; in cxgb4_insert_tid() 199 if (t->hash_base && (tid >= t->hash_base)) { in cxgb4_insert_tid() 216 return eotid < t->neotids ? &t->eotid_tab[eotid] : NULL; in cxgb4_lookup_eotid() [all …]
|
| /drivers/net/wireless/ti/wlcore/ |
| A D | spi.c | 103 memset(&t, 0, sizeof(t)); in wl12xx_spi_reset() 108 t.tx_buf = cmd; in wl12xx_spi_reset() 131 memset(&t, 0, sizeof(t)); in wl12xx_spi_init() 163 t.tx_buf = cmd; in wl12xx_spi_init() 183 t.len = 4; in wl12xx_spi_init() 214 memset(t, 0, sizeof(t)); in wl12xx_spi_read_busy() 257 memset(t, 0, sizeof(t)); in wl12xx_spi_raw_read() 260 t[0].len = 4; in wl12xx_spi_raw_read() 279 memset(t, 0, sizeof(t)); in wl12xx_spi_raw_read() 310 if (!t) in __wl12xx_spi_raw_write() [all …]
|
| /drivers/media/i2c/ |
| A D | tda7432.c | 293 if (t->mute->val) { in tda7432_s_ctrl() 313 bass = t->bass->val; in tda7432_s_ctrl() 348 struct tda7432 *t; in tda7432_probe() local 354 t = devm_kzalloc(&client->dev, sizeof(*t), GFP_KERNEL); in tda7432_probe() 355 if (!t) in tda7432_probe() 357 sd = &t->sd; in tda7432_probe() 362 t->mute = v4l2_ctrl_new_std(&t->hdl, &tda7432_ctrl_ops, in tda7432_probe() 364 t->balance = v4l2_ctrl_new_std(&t->hdl, &tda7432_ctrl_ops, in tda7432_probe() 366 t->bass = v4l2_ctrl_new_std(&t->hdl, &tda7432_ctrl_ops, in tda7432_probe() 368 t->treble = v4l2_ctrl_new_std(&t->hdl, &tda7432_ctrl_ops, in tda7432_probe() [all …]
|
| /drivers/iio/trigger/ |
| A D | iio-trig-sysfs.c | 135 if (id == t->id) { in iio_sysfs_trigger_probe() 143 t = kmalloc(sizeof(*t), GFP_KERNEL); in iio_sysfs_trigger_probe() 144 if (t == NULL) { in iio_sysfs_trigger_probe() 148 t->id = id; in iio_sysfs_trigger_probe() 150 if (!t->trig) { in iio_sysfs_trigger_probe() 156 iio_trigger_set_drvdata(t->trig, t); in iio_sysfs_trigger_probe() 171 kfree(t); in iio_sysfs_trigger_probe() 184 t = iter; in iio_sysfs_trigger_remove() 187 if (!t) { in iio_sysfs_trigger_remove() 196 list_del(&t->l); in iio_sysfs_trigger_remove() [all …]
|