Home
last modified time | relevance | path

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

1234567

/linux-6.1.9/drivers/media/rc/
Dttusbir.c45 struct ttusbir *tt = container_of(led_dev, struct ttusbir, led); in ttusbir_brightness_get() local
47 return tt->led_on ? LED_FULL : LED_OFF; in ttusbir_brightness_get()
50 static void ttusbir_set_led(struct ttusbir *tt) in ttusbir_set_led() argument
56 if (tt->led_on != tt->is_led_on && tt->udev && in ttusbir_set_led()
57 atomic_add_unless(&tt->led_complete, 1, 1)) { in ttusbir_set_led()
58 tt->bulk_buffer[4] = tt->is_led_on = tt->led_on; in ttusbir_set_led()
59 ret = usb_submit_urb(tt->bulk_urb, GFP_ATOMIC); in ttusbir_set_led()
61 dev_warn(tt->dev, "failed to submit bulk urb: %d\n", in ttusbir_set_led()
63 atomic_dec(&tt->led_complete); in ttusbir_set_led()
71 struct ttusbir *tt = container_of(led_dev, struct ttusbir, led); in ttusbir_brightness_set() local
[all …]
/linux-6.1.9/drivers/md/
Ddm-target.c22 struct target_type *tt; in __find_target_type() local
24 list_for_each_entry(tt, &_targets, list) in __find_target_type()
25 if (!strcmp(name, tt->name)) in __find_target_type()
26 return tt; in __find_target_type()
33 struct target_type *tt; in get_target_type() local
37 tt = __find_target_type(name); in get_target_type()
38 if (tt && !try_module_get(tt->module)) in get_target_type()
39 tt = NULL; in get_target_type()
42 return tt; in get_target_type()
52 struct target_type *tt = get_target_type(name); in dm_get_target_type() local
[all …]
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/dvm/
Dtt.c66 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; in iwl_tt_is_low_power_state() local
68 if (tt->state >= IWL_TI_1) in iwl_tt_is_low_power_state()
75 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; in iwl_tt_current_power_mode() local
77 return tt->tt_power_mode; in iwl_tt_current_power_mode()
82 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; in iwl_ht_enabled() local
87 restriction = tt->restriction + tt->state; in iwl_ht_enabled()
118 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; in iwl_tx_ant_restriction() local
123 restriction = tt->restriction + tt->state; in iwl_tx_ant_restriction()
129 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; in iwl_rx_ant_restriction() local
134 restriction = tt->restriction + tt->state; in iwl_rx_ant_restriction()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Drss.c65 mlx5e_rss_get_default_tt_config(enum mlx5_traffic_types tt) in mlx5e_rss_get_default_tt_config() argument
67 return rss_default_config[tt]; in mlx5e_rss_get_default_tt_config()
96 enum mlx5_traffic_types tt; in mlx5e_rss_params_init() local
101 for (tt = 0; tt < MLX5E_NUM_INDIR_TIRS; tt++) in mlx5e_rss_params_init()
102 rss->rx_hash_fields[tt] = in mlx5e_rss_params_init()
103 mlx5e_rss_get_default_tt_config(tt).rx_hash_fields; in mlx5e_rss_params_init()
106 static struct mlx5e_tir **rss_get_tirp(struct mlx5e_rss *rss, enum mlx5_traffic_types tt, in rss_get_tirp() argument
109 return inner ? &rss->inner_tir[tt] : &rss->tir[tt]; in rss_get_tirp()
112 static struct mlx5e_tir *rss_get_tir(struct mlx5e_rss *rss, enum mlx5_traffic_types tt, in rss_get_tir() argument
115 return *rss_get_tirp(rss, tt, inner); in rss_get_tir()
[all …]
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,
Drx_res.h34 u32 mlx5e_rx_res_get_tirn_rss(struct mlx5e_rx_res *res, enum mlx5_traffic_types tt);
35 u32 mlx5e_rx_res_get_tirn_rss_inner(struct mlx5e_rx_res *res, enum mlx5_traffic_types tt);
51 u8 mlx5e_rx_res_rss_get_hash_fields(struct mlx5e_rx_res *res, enum mlx5_traffic_types tt);
52 int mlx5e_rx_res_rss_set_hash_fields(struct mlx5e_rx_res *res, enum mlx5_traffic_types tt,
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads_termtbl.c65 struct mlx5_termtbl_handle *tt, in mlx5_eswitch_termtbl_create() argument
87 tt->termtbl = mlx5_create_auto_grouped_flow_table(root_ns, &ft_attr); in mlx5_eswitch_termtbl_create()
88 if (IS_ERR(tt->termtbl)) { in mlx5_eswitch_termtbl_create()
89 err = PTR_ERR(tt->termtbl); in mlx5_eswitch_termtbl_create()
90 esw_warn(dev, "Failed to create termination table, err %pe\n", tt->termtbl); in mlx5_eswitch_termtbl_create()
94 tt->rule = mlx5_add_flow_rules(tt->termtbl, NULL, flow_act, in mlx5_eswitch_termtbl_create()
95 &tt->dest, 1); in mlx5_eswitch_termtbl_create()
96 if (IS_ERR(tt->rule)) { in mlx5_eswitch_termtbl_create()
97 err = PTR_ERR(tt->rule); in mlx5_eswitch_termtbl_create()
98 esw_warn(dev, "Failed to create termination table rule, err %pe\n", tt->rule); in mlx5_eswitch_termtbl_create()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_ttc.c141 u8 mlx5_get_proto_by_tunnel_type(enum mlx5_tunnel_types tt) in mlx5_get_proto_by_tunnel_type() argument
143 return ttc_tunnel_rules[tt].proto; in mlx5_get_proto_by_tunnel_type()
163 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()
167 ttc_tunnel_rules[tt].proto)) 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()
248 struct mlx5_ttc_rule *rule = &rules[tt]; in mlx5_generate_ttc_table_rules()
250 if (test_bit(tt, params->ignore_dests)) in mlx5_generate_ttc_table_rules()
252 rule->rule = mlx5_generate_ttc_rule(dev, ft, &params->dests[tt], in mlx5_generate_ttc_table_rules()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dport_sel.c109 enum mlx5_traffic_types tt) in mlx5_lag_set_definer_inner() argument
114 switch (tt) { in mlx5_lag_set_definer_inner()
194 enum mlx5_traffic_types tt, bool tunnel, in mlx5_lag_set_definer() argument
201 return mlx5_lag_set_definer_inner(match_definer_mask, tt); in mlx5_lag_set_definer()
203 switch (tt) { in mlx5_lag_set_definer()
292 enum mlx5_traffic_types tt, bool tunnel, u8 *ports) in mlx5_lag_create_definer() argument
311 format_id = mlx5_lag_set_definer(match_definer_mask, tt, tunnel, hash); in mlx5_lag_create_definer()
360 int tt; in mlx5_lag_destroy_definers() local
362 for_each_set_bit(tt, port_sel->tt_map, MLX5_NUM_TT) { in mlx5_lag_destroy_definers()
363 if (port_sel->outer.definers[tt]) in mlx5_lag_destroy_definers()
[all …]
/linux-6.1.9/net/batman-adv/
Dtranslation-table.c106 const struct batadv_tt_common_entry *tt; in batadv_choose_tt() local
109 tt = data; in batadv_choose_tt()
110 hash = jhash(&tt->addr, ETH_ALEN, hash); in batadv_choose_tt()
111 hash = jhash(&tt->vid, sizeof(tt->vid), hash); in batadv_choose_tt()
130 struct batadv_tt_common_entry to_search, *tt, *tt_tmp = NULL; in batadv_tt_hash_find() local
143 hlist_for_each_entry_rcu(tt, head, hash_entry) { in batadv_tt_hash_find()
144 if (!batadv_compare_eth(tt, addr)) in batadv_tt_hash_find()
147 if (tt->vid != vid) in batadv_tt_hash_find()
150 if (!kref_get_unless_zero(&tt->refcount)) in batadv_tt_hash_find()
153 tt_tmp = tt; in batadv_tt_hash_find()
[all …]
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Dtt.c15 struct iwl_mvm_tt_mgmt *tt = &mvm->thermal_throttle; in iwl_mvm_enter_ctkill() local
16 u32 duration = tt->params.ct_kill_duration; in iwl_mvm_enter_ctkill()
25 tt->throttle = false; in iwl_mvm_enter_ctkill()
26 tt->dynamic_smps = false; in iwl_mvm_enter_ctkill()
34 schedule_delayed_work(&tt->ct_kill_exit, in iwl_mvm_enter_ctkill()
276 struct iwl_mvm_tt_mgmt *tt; in check_exit_ctkill() local
282 tt = container_of(work, struct iwl_mvm_tt_mgmt, ct_kill_exit.work); in check_exit_ctkill()
283 mvm = container_of(tt, struct iwl_mvm, thermal_throttle); in check_exit_ctkill()
291 duration = tt->params.ct_kill_duration; in check_exit_ctkill()
309 if (temp <= tt->params.ct_kill_exit) { in check_exit_ctkill()
[all …]
/linux-6.1.9/drivers/gpu/drm/ttm/
Dttm_pool.c359 int ttm_pool_alloc(struct ttm_pool *pool, struct ttm_tt *tt, in ttm_pool_alloc() argument
362 unsigned long num_pages = tt->num_pages; in ttm_pool_alloc()
363 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()
371 WARN_ON(!num_pages || ttm_tt_is_populated(tt)); in ttm_pool_alloc()
374 if (tt->page_flags & TTM_TT_FLAG_ZERO_ALLOC) in ttm_pool_alloc()
391 pt = ttm_pool_select_type(pool, tt->caching, order); in ttm_pool_alloc()
412 tt->caching); in ttm_pool_alloc()
429 r = ttm_pool_apply_caching(caching, pages, tt->caching); in ttm_pool_alloc()
[all …]
/linux-6.1.9/drivers/iio/
Dindustrialio-sw-trigger.c103 struct iio_sw_trigger_type *tt; in iio_sw_trigger_create() local
105 tt = iio_get_sw_trigger_type(type); in iio_sw_trigger_create()
106 if (!tt) { in iio_sw_trigger_create()
110 t = tt->ops->probe(name); in iio_sw_trigger_create()
114 t->trigger_type = tt; in iio_sw_trigger_create()
118 module_put(tt->owner); in iio_sw_trigger_create()
125 struct iio_sw_trigger_type *tt = t->trigger_type; in iio_sw_trigger_destroy() local
127 tt->ops->remove(t); in iio_sw_trigger_destroy()
128 module_put(tt->owner); in iio_sw_trigger_destroy()
/linux-6.1.9/drivers/usb/host/
Dxhci-mtk-sch.c158 struct usb_tt *utt = udev->tt; in find_tt()
159 struct mu3h_sch_tt *tt, **tt_index, **ptt; in find_tt() local
186 tt = *ptt; in find_tt()
187 if (!tt) { /* Create the mu3h_sch_tt */ in find_tt()
188 tt = kzalloc(sizeof(*tt), GFP_KERNEL); in find_tt()
189 if (!tt) { in find_tt()
196 INIT_LIST_HEAD(&tt->ep_list); in find_tt()
197 *ptt = tt; in find_tt()
200 return tt; in find_tt()
206 struct usb_tt *utt = udev->tt; in drop_tt()
[all …]
Dehci-sched.c103 struct usb_tt *utt = udev->tt; in find_tt()
104 struct ehci_tt *tt, **tt_index, **ptt; in find_tt() local
135 tt = *ptt; in find_tt()
136 if (!tt) { /* Create the ehci_tt */ in find_tt()
140 tt = kzalloc(sizeof(*tt), GFP_ATOMIC); in find_tt()
141 if (!tt) { in find_tt()
148 list_add_tail(&tt->tt_list, &ehci->tt_list); in find_tt()
149 INIT_LIST_HEAD(&tt->ps_list); in find_tt()
150 tt->usb_tt = utt; in find_tt()
151 tt->tt_port = port; in find_tt()
[all …]
/linux-6.1.9/arch/arm64/crypto/
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-6.1.9/include/linux/iio/
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-6.1.9/include/drm/ttm/
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()
224 struct ttm_tt *tt);
/linux-6.1.9/tools/lib/thermal/
Dthermal.c21 int for_each_thermal_trip(struct thermal_trip *tt, cb_tt_t cb, void *arg) in for_each_thermal_trip() argument
25 if (!tt) in for_each_thermal_trip()
28 for (i = 0; tt[i].id != -1; i++) in for_each_thermal_trip()
29 ret |= cb(&tt[i], arg); in for_each_thermal_trip()
/linux-6.1.9/rust/kernel/
Dprint.rs117 ($format_string:path, $($arg:tt)+) => (
137 ($format_string:path, $e:expr, $($arg:tt)+) => (
170 ($($arg:tt)*) => (
195 ($($arg:tt)*) => (
/linux-6.1.9/arch/um/os-Linux/
Dutil.c30 struct termios tt; in raw() local
33 CATCH_EINTR(err = tcgetattr(fd, &tt)); in raw()
37 cfmakeraw(&tt); in raw()
39 CATCH_EINTR(err = tcsetattr(fd, TCSADRAIN, &tt)); in raw()
/linux-6.1.9/arch/x86/crypto/
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-6.1.9/lib/lzo/
Dlzo1x_compress.c130 size_t tt = t - 18; in lzo1x_1_do_compress() local
132 while (unlikely(tt > 255)) { in lzo1x_1_do_compress()
133 tt -= 255; in lzo1x_1_do_compress()
136 *op++ = tt; in lzo1x_1_do_compress()
351 size_t tt = t - 18; in lzogeneric1x_1_compress() local
353 while (tt > 255) { in lzogeneric1x_1_compress()
354 tt -= 255; in lzogeneric1x_1_compress()
357 *op++ = tt; in lzogeneric1x_1_compress()
/linux-6.1.9/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dresource_scale.sh63 tt=${current_test}_traffic_test
64 if [[ $(type -t $tt) == "function" ]]; then
65 $tt "$target"
/linux-6.1.9/tools/testing/selftests/drivers/net/mlxsw/spectrum/
Dresource_scale.sh67 tt=${current_test}_traffic_test
68 if [[ $(type -t $tt) == "function" ]]
70 $tt "$target"

1234567