Home
last modified time | relevance | path

Searched refs:tt (Results 1 – 25 of 148) sorted by relevance

123456

/linux/drivers/media/rc/
A Dttusbir.c56 if (tt->led_on != tt->is_led_on && tt->udev && in ttusbir_set_led()
58 tt->bulk_buffer[4] = tt->is_led_on = tt->led_on; in ttusbir_set_led()
192 tt = kzalloc(sizeof(*tt), GFP_KERNEL); in ttusbir_probe()
234 tt->rc = rc; in ttusbir_probe()
285 usb_fill_bulk_urb(tt->bulk_urb, tt->udev, usb_sndbulkpipe(tt->udev, in ttusbir_probe()
286 tt->bulk_out_endp), tt->bulk_buffer, sizeof(tt->bulk_buffer), in ttusbir_probe()
293 tt->is_led_on = tt->led_on = true; in ttusbir_probe()
299 usb_make_path(tt->udev, tt->phys, sizeof(tt->phys)); in ttusbir_probe()
342 if (tt) { in ttusbir_probe()
353 kfree(tt); in ttusbir_probe()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
A Dtt.c87 restriction = tt->restriction + tt->state; in iwl_ht_enabled()
123 restriction = tt->restriction + tt->state; in iwl_tx_ant_restriction()
134 restriction = tt->restriction + tt->state; in iwl_rx_ant_restriction()
256 old_state = tt->state; in iwl_legacy_tt_handler()
261 tt->state = IWL_TI_2; in iwl_legacy_tt_handler()
263 tt->state = IWL_TI_1; in iwl_legacy_tt_handler()
273 switch (tt->state) { in iwl_legacy_tt_handler()
317 tt->state); in iwl_legacy_tt_handler()
385 tt->state = in iwl_advance_tt_handler()
447 tt->state); in iwl_advance_tt_handler()
[all …]
/linux/drivers/md/
A Ddm-target.c21 struct target_type *tt; in __find_target_type() local
25 return tt; in __find_target_type()
32 struct target_type *tt; in get_target_type() local
37 if (tt && !try_module_get(tt->module)) in get_target_type()
38 tt = NULL; in get_target_type()
41 return tt; in get_target_type()
53 if (!tt) { in dm_get_target_type()
58 return tt; in dm_get_target_type()
64 module_put(tt->module); in dm_put_target_type()
75 iter_func(tt, param); in dm_target_iterate()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
A Drss.c101 for (tt = 0; tt < MLX5E_NUM_INDIR_TIRS; tt++) in mlx5e_rss_params_init()
109 return inner ? &rss->inner_tir[tt] : &rss->tir[tt]; in rss_get_tirp()
143 tt); in mlx5e_rss_create_tir()
207 for (tt = 0; tt < MLX5E_NUM_INDIR_TIRS; tt++) { in mlx5e_rss_create_tirs()
216 max_tt = tt; in mlx5e_rss_create_tirs()
217 for (tt = 0; tt < max_tt; tt++) in mlx5e_rss_create_tirs()
226 for (tt = 0; tt < MLX5E_NUM_INDIR_TIRS; tt++) in mlx5e_rss_destroy_tirs()
262 for (tt = 0; tt < MLX5E_NUM_INDIR_TIRS; tt++) { in mlx5e_rss_update_tirs()
268 tt, err); in mlx5e_rss_update_tirs()
437 for (tt = 0; tt < MLX5E_NUM_INDIR_TIRS; tt++) { in mlx5e_rss_packet_merge_set_param()
[all …]
A Drss.h12 mlx5e_rss_get_default_tt_config(enum mlx5_traffic_types tt);
29 u32 mlx5e_rss_get_tirn(struct mlx5e_rss *rss, enum mlx5_traffic_types tt,
32 enum mlx5_traffic_types tt,
46 u8 mlx5e_rss_get_hash_fields(struct mlx5e_rss *rss, enum mlx5_traffic_types tt);
47 int mlx5e_rss_set_hash_fields(struct mlx5e_rss *rss, enum mlx5_traffic_types tt,
A Drx_res.h36 u32 mlx5e_rx_res_get_tirn_rss(struct mlx5e_rx_res *res, enum mlx5_traffic_types tt);
37 u32 mlx5e_rx_res_get_tirn_rss_inner(struct mlx5e_rx_res *res, enum mlx5_traffic_types tt);
54 u8 mlx5e_rx_res_rss_get_hash_fields(struct mlx5e_rx_res *res, enum mlx5_traffic_types tt);
55 int mlx5e_rx_res_rss_set_hash_fields(struct mlx5e_rx_res *res, enum mlx5_traffic_types tt,
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Deswitch_offloads_termtbl.c92 tt->rule = mlx5_add_flow_rules(tt->termtbl, NULL, flow_act, in mlx5_eswitch_termtbl_create()
94 if (IS_ERR(tt->rule)) { in mlx5_eswitch_termtbl_create()
124 if (!mlx5_eswitch_termtbl_cmp(&tt->flow_act, &tt->dest, in mlx5_eswitch_termtbl_get_create()
133 tt = kzalloc(sizeof(*tt), GFP_KERNEL); in mlx5_eswitch_termtbl_get_create()
134 if (!tt) { in mlx5_eswitch_termtbl_get_create()
151 tt->ref_count++; in mlx5_eswitch_termtbl_get_create()
153 return tt; in mlx5_eswitch_termtbl_get_create()
155 kfree(tt); in mlx5_eswitch_termtbl_get_create()
169 if (!tt->ref_count) { in mlx5_eswitch_termtbl_put()
172 kfree(tt); in mlx5_eswitch_termtbl_put()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
A Dfs_ttc.c163 int tt; in mlx5_tunnel_any_rx_proto_supported() local
165 for (tt = 0; tt < MLX5_NUM_TUNNEL_TT; tt++) { in mlx5_tunnel_any_rx_proto_supported()
242 int tt; in mlx5_generate_ttc_table_rules() local
247 for (tt = 0; tt < MLX5_NUM_TT; tt++) { in mlx5_generate_ttc_table_rules()
267 for (tt = 0; tt < MLX5_NUM_TUNNEL_TT; tt++) { in mlx5_generate_ttc_table_rules()
277 if (IS_ERR(trules[tt])) { in mlx5_generate_ttc_table_rules()
278 err = PTR_ERR(trules[tt]); in mlx5_generate_ttc_table_rules()
279 trules[tt] = NULL; in mlx5_generate_ttc_table_rules()
403 int tt; in mlx5_generate_inner_ttc_table_rules() local
408 for (tt = 0; tt < MLX5_NUM_TT; tt++) { in mlx5_generate_inner_ttc_table_rules()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/
A Dport_sel.c104 switch (tt) { in mlx5_lag_set_definer_inner()
193 switch (tt) { in mlx5_lag_set_definer()
345 int tt; in mlx5_lag_destroy_definers() local
363 int tt, err; in mlx5_lag_create_definers() local
440 int tt; in mlx5_lag_set_inner_ttc_params() local
448 ttc_params->dests[tt].type = in mlx5_lag_set_inner_ttc_params()
450 ttc_params->dests[tt].ft = port_sel->inner.definers[tt]->ft; in mlx5_lag_set_inner_ttc_params()
461 int tt; in mlx5_lag_set_outer_ttc_params() local
471 ttc_params->dests[tt].ft = port_sel->outer.definers[tt]->ft; in mlx5_lag_set_outer_ttc_params()
479 for (tt = 0; tt < MLX5_NUM_TUNNEL_TT; tt++) { in mlx5_lag_set_outer_ttc_params()
[all …]
/linux/net/batman-adv/
A Dtranslation-table.c111 hash = jhash(&tt->vid, sizeof(tt->vid), hash); in batadv_choose_tt()
147 if (tt->vid != vid) in batadv_tt_hash_find()
153 tt_tmp = tt; in batadv_tt_hash_find()
582 if (bat_priv->tt.local_hash) in batadv_tt_local_init()
587 if (!bat_priv->tt.local_hash) in batadv_tt_local_init()
1086 crc = vlan->tt.crc; in batadv_tt_local_dump_entry()
1371 if (!bat_priv->tt.local_hash) in batadv_tt_local_table_free()
1816 crc = vlan->tt.crc; in batadv_tt_global_dump_subentry()
2835 crc = vlan->tt.crc; in batadv_tt_global_check_crc()
2895 vlan->tt.crc = crc; in batadv_tt_global_update_crc()
[all …]
A Dmain.c157 spin_lock_init(&bat_priv->tt.changes_list_lock); in batadv_mesh_init()
158 spin_lock_init(&bat_priv->tt.req_list_lock); in batadv_mesh_init()
159 spin_lock_init(&bat_priv->tt.roam_list_lock); in batadv_mesh_init()
160 spin_lock_init(&bat_priv->tt.last_changeset_lock); in batadv_mesh_init()
161 spin_lock_init(&bat_priv->tt.commit_lock); in batadv_mesh_init()
180 INIT_LIST_HEAD(&bat_priv->tt.changes_list); in batadv_mesh_init()
181 INIT_HLIST_HEAD(&bat_priv->tt.req_list); in batadv_mesh_init()
182 INIT_LIST_HEAD(&bat_priv->tt.roam_list); in batadv_mesh_init()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
A Dtt.c25 tt->throttle = false; in iwl_mvm_enter_ctkill()
26 tt->dynamic_smps = false; in iwl_mvm_enter_ctkill()
271 struct iwl_mvm_tt_mgmt *tt; in check_exit_ctkill() local
401 if (!tt->dynamic_smps && in iwl_mvm_tt_handler()
404 tt->dynamic_smps = true; in iwl_mvm_tt_handler()
445 tt->throttle = true; in iwl_mvm_tt_handler()
446 } else if (tt->throttle && !tt->dynamic_smps && in iwl_mvm_tt_handler()
447 tt->tx_backoff == tt->min_backoff && in iwl_mvm_tt_handler()
451 tt->throttle = false; in iwl_mvm_tt_handler()
878 tt->throttle = false; in iwl_mvm_thermal_initialize()
[all …]
/linux/drivers/gpu/drm/ttm/
A Dttm_pool.c363 dma_addr_t *dma_addr = tt->dma_address; in ttm_pool_alloc()
364 struct page **caching = tt->pages; in ttm_pool_alloc()
365 struct page **pages = tt->pages; in ttm_pool_alloc()
412 tt->caching); in ttm_pool_alloc()
439 num_pages = tt->num_pages - num_pages; in ttm_pool_alloc()
442 ttm_pool_free_page(pool, tt->caching, order, tt->pages[i]); in ttm_pool_alloc()
462 for (i = 0; i < tt->num_pages; ) { in ttm_pool_free()
463 struct page *p = tt->pages[i]; in ttm_pool_free()
469 if (tt->dma_address) in ttm_pool_free()
474 ttm_pool_type_give(pt, tt->pages[i]); in ttm_pool_free()
[all …]
/linux/drivers/usb/host/
A Dxhci-mtk-sch.c191 tt = *ptt; in find_tt()
193 tt = kzalloc(sizeof(*tt), GFP_KERNEL); in find_tt()
194 if (!tt) { in find_tt()
202 *ptt = tt; in find_tt()
205 return tt; in find_tt()
230 tt = *ptt; in drop_tt()
231 if (!tt || !list_empty(&tt->ep_list)) in drop_tt()
235 kfree(tt); in drop_tt()
272 tt = find_tt(udev); in create_sch_ep()
273 if (IS_ERR(tt)) { in create_sch_ep()
[all …]
A Dehci-sched.c135 tt = *ptt; in find_tt()
140 tt = kzalloc(sizeof(*tt), GFP_ATOMIC); in find_tt()
141 if (!tt) { in find_tt()
152 *ptt = tt; in find_tt()
155 return tt; in find_tt()
181 tt = *ptt; in drop_tt()
182 if (!tt || !list_empty(&tt->ps_list)) in drop_tt()
187 kfree(tt); in drop_tt()
274 if (!tt) in compute_tt_budget()
304 if (!dev1->tt || !dev2->tt) in same_tt()
[all …]
/linux/drivers/iio/
A Dindustrialio-sw-trigger.c99 struct iio_sw_trigger_type *tt; in iio_sw_trigger_create() local
101 tt = iio_get_sw_trigger_type(type); in iio_sw_trigger_create()
102 if (!tt) { in iio_sw_trigger_create()
106 t = tt->ops->probe(name); in iio_sw_trigger_create()
110 t->trigger_type = tt; in iio_sw_trigger_create()
114 module_put(tt->owner); in iio_sw_trigger_create()
121 struct iio_sw_trigger_type *tt = t->trigger_type; in iio_sw_trigger_destroy() local
123 tt->ops->remove(t); in iio_sw_trigger_destroy()
124 module_put(tt->owner); in iio_sw_trigger_destroy()
/linux/arch/arm64/crypto/
A Daes-cipher-core.S18 tt .req x2
37 ldr \reg0, [tt, \reg0, uxtw #2]
38 ldr \reg1, [tt, \reg1, uxtw #2]
44 ldrb \reg0, [tt, \reg0, uxtw]
45 ldrb \reg1, [tt, \reg1, uxtw]
52 ldr\op \reg0, [tt, \reg0, uxtw #\sz]
53 ldr\op \reg1, [tt, \reg1, uxtw #\sz]
100 adr_l tt, \ttab
112 3: adr_l tt, \ltab
/linux/include/linux/iio/
A Dsw_trigger.h48 int iio_register_sw_trigger_type(struct iio_sw_trigger_type *tt);
49 void iio_unregister_sw_trigger_type(struct iio_sw_trigger_type *tt);
54 int iio_sw_trigger_type_configfs_register(struct iio_sw_trigger_type *tt);
55 void iio_sw_trigger_type_configfs_unregister(struct iio_sw_trigger_type *tt);
/linux/arch/x86/crypto/
A Dcamellia_glue.c799 u64 kw4, tt; in camellia_setup_tail() local
914 tt = (tr | ((u64)tl << 32)); in camellia_setup_tail()
916 SET_SUBKEY_LR(7, subRL[6] ^ tt); /* round 6 */ in camellia_setup_tail()
923 tt = (tr | ((u64)tl << 32)); in camellia_setup_tail()
925 SET_SUBKEY_LR(10, subRL[11] ^ tt); /* round 7 */ in camellia_setup_tail()
934 tt = (tr | ((u64)tl << 32)); in camellia_setup_tail()
936 SET_SUBKEY_LR(15, subRL[14] ^ tt); /* round 12 */ in camellia_setup_tail()
943 tt = (tr | ((u64)tl << 32)); in camellia_setup_tail()
945 SET_SUBKEY_LR(18, subRL[19] ^ tt); /* round 13 */ in camellia_setup_tail()
958 tt = (tr | ((u64)tl << 32)); in camellia_setup_tail()
[all …]
/linux/include/drm/ttm/
A Dttm_tt.h116 struct ttm_tt *tt; member
120 static inline bool ttm_tt_is_populated(struct ttm_tt *tt) in ttm_tt_is_populated() argument
122 return tt->page_flags & TTM_TT_FLAG_PRIV_POPULATED; in ttm_tt_is_populated()
222 struct ttm_tt *tt);
/linux/arch/um/os-Linux/
A Dutil.c29 struct termios tt; in raw() local
32 CATCH_EINTR(err = tcgetattr(fd, &tt)); in raw()
36 cfmakeraw(&tt); in raw()
38 CATCH_EINTR(err = tcsetattr(fd, TCSADRAIN, &tt)); in raw()
/linux/lib/lzo/
A Dlzo1x_compress.c132 size_t tt = t - 18; in lzo1x_1_do_compress() local
134 while (unlikely(tt > 255)) { in lzo1x_1_do_compress()
135 tt -= 255; in lzo1x_1_do_compress()
138 *op++ = tt; in lzo1x_1_do_compress()
353 size_t tt = t - 18; in lzogeneric1x_1_compress() local
355 while (tt > 255) { in lzogeneric1x_1_compress()
356 tt -= 255; in lzogeneric1x_1_compress()
359 *op++ = tt; in lzogeneric1x_1_compress()
/linux/drivers/scsi/libfc/
A Dfc_disc.c362 if (lport->tt.elsct_send(lport, 0, fp, in fc_disc_gpn_ft_req()
656 if (!lport->tt.elsct_send(lport, rdata->ids.port_id, fp, FC_NS_GPN_ID, in fc_disc_gpn_id_req()
719 if (!lport->tt.disc_start) in fc_disc_config()
720 lport->tt.disc_start = fc_disc_start; in fc_disc_config()
722 if (!lport->tt.disc_stop) in fc_disc_config()
723 lport->tt.disc_stop = fc_disc_stop; in fc_disc_config()
725 if (!lport->tt.disc_stop_final) in fc_disc_config()
726 lport->tt.disc_stop_final = fc_disc_stop_final; in fc_disc_config()
728 if (!lport->tt.disc_recv_req) in fc_disc_config()
729 lport->tt.disc_recv_req = fc_disc_recv_req; in fc_disc_config()
/linux/drivers/gpu/drm/
A Ddrm_gem_vram_helper.c847 static void bo_driver_ttm_tt_destroy(struct ttm_device *bdev, struct ttm_tt *tt) in bo_driver_ttm_tt_destroy() argument
849 ttm_tt_fini(tt); in bo_driver_ttm_tt_destroy()
850 kfree(tt); in bo_driver_ttm_tt_destroy()
860 struct ttm_tt *tt; in bo_driver_ttm_tt_create() local
863 tt = kzalloc(sizeof(*tt), GFP_KERNEL); in bo_driver_ttm_tt_create()
864 if (!tt) in bo_driver_ttm_tt_create()
867 ret = ttm_tt_init(tt, bo, page_flags, ttm_cached); in bo_driver_ttm_tt_create()
871 return tt; in bo_driver_ttm_tt_create()
874 kfree(tt); in bo_driver_ttm_tt_create()
/linux/drivers/block/aoe/
A Daoecmd.c264 tt++; in newframe()
265 if (tt >= &d->targets[d->ntargets] || !*tt) in newframe()
266 tt = d->targets; in newframe()
267 t = *tt; in newframe()
278 d->tgt = tt; in newframe()
1421 if (!tt) in grow_targets()
1426 d->targets = tt; in grow_targets()
1439 for (; tt < te && *tt; tt++) in addtgt()
1442 if (tt == te) { in addtgt()
1444 if (!tt) in addtgt()
[all …]

Completed in 71 milliseconds

123456