/linux-6.12.1/drivers/media/rc/ |
D | ttusbir.c | 45 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.12.1/drivers/gpu/drm/ttm/tests/ |
D | ttm_tt_test.c | 43 struct ttm_tt *tt; in ttm_tt_init_basic() local 50 tt = kunit_kzalloc(test, sizeof(*tt), GFP_KERNEL); in ttm_tt_init_basic() 51 KUNIT_ASSERT_NOT_NULL(test, tt); in ttm_tt_init_basic() 55 err = ttm_tt_init(tt, bo, page_flags, caching, extra_pages); in ttm_tt_init_basic() 58 KUNIT_ASSERT_EQ(test, tt->num_pages, num_pages + extra_pages); in ttm_tt_init_basic() 60 KUNIT_ASSERT_EQ(test, tt->page_flags, page_flags); in ttm_tt_init_basic() 61 KUNIT_ASSERT_EQ(test, tt->caching, caching); in ttm_tt_init_basic() 63 KUNIT_ASSERT_NULL(test, tt->dma_address); in ttm_tt_init_basic() 64 KUNIT_ASSERT_NULL(test, tt->swap_storage); in ttm_tt_init_basic() 70 struct ttm_tt *tt; in ttm_tt_init_misaligned() local [all …]
|
D | ttm_pool_test.c | 57 struct ttm_tt *tt; in ttm_tt_kunit_init() local 64 tt = kunit_kzalloc(test, sizeof(*tt), GFP_KERNEL); in ttm_tt_kunit_init() 65 KUNIT_ASSERT_NOT_NULL(test, tt); in ttm_tt_kunit_init() 67 err = ttm_tt_init(tt, priv->mock_bo, page_flags, caching, 0); in ttm_tt_kunit_init() 70 return tt; in ttm_tt_kunit_init() 80 struct ttm_tt *tt; in ttm_pool_pre_populated() local 83 tt = ttm_tt_kunit_init(test, 0, caching, size); in ttm_pool_pre_populated() 84 KUNIT_ASSERT_NOT_NULL(test, tt); in ttm_pool_pre_populated() 91 err = ttm_pool_alloc(pool, tt, &simple_ctx); in ttm_pool_pre_populated() 94 ttm_pool_free(pool, tt); in ttm_pool_pre_populated() [all …]
|
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | tt.c | 66 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.12.1/rust/macros/ |
D | quote.rs | 42 ($span:expr => $($tt:tt)*) => {{ 48 quote_spanned!(@proc tokens span $($tt)*); 53 (@proc $v:ident $span:ident #$id:ident $($tt:tt)*) => { 57 quote_spanned!(@proc $v $span $($tt)*); 59 (@proc $v:ident $span:ident #(#$id:ident)* $($tt:tt)*) => { 65 quote_spanned!(@proc $v $span $($tt)*); 67 (@proc $v:ident $span:ident ( $($inner:tt)* ) $($tt:tt)*) => { 74 quote_spanned!(@proc $v $span $($tt)*); 76 (@proc $v:ident $span:ident [ $($inner:tt)* ] $($tt:tt)*) => { 83 quote_spanned!(@proc $v $span $($tt)*); [all …]
|
D | pin_data.rs | 28 .skip_while(|tt| !matches!(tt, TokenTree::Ident(i) if i.to_string() == "struct")) in pin_data() 30 .and_then(|tt| match tt { in pin_data() 32 let tt = tt.clone(); in pin_data() localVariable 33 let mut res = vec![tt]; in pin_data() 59 .flat_map(|tt| replace_self_and_deny_type_defs(&struct_name, tt, &mut errs)) in pin_data() 63 .flat_map(|tt| { in pin_data() 65 if matches!(&tt, TokenTree::Ident(i) if i.to_string() == "struct") { in pin_data() 66 vec![tt] in pin_data() 68 replace_self_and_deny_type_defs(&struct_name, tt, &mut errs) in pin_data() 93 tt: TokenTree, in replace_self_and_deny_type_defs() [all …]
|
D | helpers.rs | 128 while let Some(tt) = toks.next() { in parse_generics() 129 if nesting == 1 && matches!(&tt, TokenTree::Punct(p) if p.as_char() == '>') { in parse_generics() 133 decl_generics.push(tt.clone()); in parse_generics() 135 match tt.clone() { in parse_generics() 139 impl_generics.push(tt); in parse_generics() 151 impl_generics.push(tt); in parse_generics() 157 impl_generics.push(tt.clone()); in parse_generics() 158 impl_generics.push(tt); in parse_generics() 165 0 => rest.push(tt), in parse_generics() 168 match tt.clone() { in parse_generics() [all …]
|
D | zeroable.rs | 25 for tt in impl_generics { in derive() 26 match &tt { in derive() 34 new_impl_generics.push(tt); in derive() 39 new_impl_generics.push(tt); in derive() 42 new_impl_generics.push(tt); in derive() 50 new_impl_generics.push(tt); in derive() 55 new_impl_generics.push(tt); in derive() 57 _ => new_impl_generics.push(tt), in derive()
|
/linux-6.12.1/drivers/md/ |
D | dm-target.c | 23 struct target_type *tt; in __find_target_type() local 25 list_for_each_entry(tt, &_targets, list) in __find_target_type() 26 if (!strcmp(name, tt->name)) in __find_target_type() 27 return tt; in __find_target_type() 34 struct target_type *tt; in get_target_type() local 38 tt = __find_target_type(name); in get_target_type() 39 if (tt && !try_module_get(tt->module)) in get_target_type() 40 tt = NULL; in get_target_type() 43 return tt; in get_target_type() 53 struct target_type *tt = get_target_type(name); in dm_get_target_type() local [all …]
|
/linux-6.12.1/rust/kernel/init/ |
D | macros.rs | 508 @impl_sig($($impl_sig:tt)*), 510 $(#[$($attr:tt)*])* 511 fn drop($($sig:tt)*) { 512 $($inner:tt)* 535 $(#[$($struct_attr:tt)*])* 537 $(where $($whr:tt)*)? 539 @impl_generics($($impl_generics:tt)*), 540 @ty_generics($($ty_generics:tt)*), 541 @decl_generics($($decl_generics:tt)*), 542 @body({ $($fields:tt)* }), [all …]
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | rss.c | 65 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() 157 enum mlx5_traffic_types tt; in mlx5e_rss_params_init() local 162 for (tt = 0; tt < MLX5E_NUM_INDIR_TIRS; tt++) in mlx5e_rss_params_init() 163 rss->rx_hash_fields[tt] = in mlx5e_rss_params_init() 164 mlx5e_rss_get_default_tt_config(tt).rx_hash_fields; in mlx5e_rss_params_init() 167 static struct mlx5e_tir **rss_get_tirp(struct mlx5e_rss *rss, enum mlx5_traffic_types tt, in rss_get_tirp() argument 170 return inner ? &rss->inner_tir[tt] : &rss->tir[tt]; in rss_get_tirp() 173 static struct mlx5e_tir *rss_get_tir(struct mlx5e_rss *rss, enum mlx5_traffic_types tt, in rss_get_tir() argument 176 return *rss_get_tirp(rss, tt, inner); in rss_get_tir() [all …]
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | eswitch_offloads_termtbl.c | 65 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.12.1/net/core/ |
D | ieee8021q_helpers.c | 94 int ieee8021q_tt_to_tc(enum ieee8021q_traffic_type tt, unsigned int num_queues) in ieee8021q_tt_to_tc() argument 96 if (tt < 0 || tt >= IEEE8021Q_TT_MAX) { in ieee8021q_tt_to_tc() 97 pr_err("Requested Traffic Type (%d) is out of range (%d)\n", tt, in ieee8021q_tt_to_tc() 107 return ieee8021q_8queue_tt_tc_map[tt]; in ieee8021q_tt_to_tc() 113 return ieee8021q_7queue_tt_tc_map[tt]; in ieee8021q_tt_to_tc() 119 return ieee8021q_6queue_tt_tc_map[tt]; in ieee8021q_tt_to_tc() 125 return ieee8021q_5queue_tt_tc_map[tt]; in ieee8021q_tt_to_tc() 131 return ieee8021q_4queue_tt_tc_map[tt]; in ieee8021q_tt_to_tc() 137 return ieee8021q_3queue_tt_tc_map[tt]; in ieee8021q_tt_to_tc() 143 return ieee8021q_2queue_tt_tc_map[tt]; in ieee8021q_tt_to_tc() [all …]
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
D | port_sel.c | 113 enum mlx5_traffic_types tt) in mlx5_lag_set_definer_inner() argument 118 switch (tt) { in mlx5_lag_set_definer_inner() 198 enum mlx5_traffic_types tt, bool tunnel, in mlx5_lag_set_definer() argument 205 return mlx5_lag_set_definer_inner(match_definer_mask, tt); in mlx5_lag_set_definer() 207 switch (tt) { in mlx5_lag_set_definer() 296 enum mlx5_traffic_types tt, bool tunnel, u8 *ports) in mlx5_lag_create_definer() argument 315 format_id = mlx5_lag_set_definer(match_definer_mask, tt, tunnel, hash); in mlx5_lag_create_definer() 364 int tt; in mlx5_lag_destroy_definers() local 366 for_each_set_bit(tt, port_sel->tt_map, MLX5_NUM_TT) { in mlx5_lag_destroy_definers() 367 if (port_sel->outer.definers[tt]) in mlx5_lag_destroy_definers() [all …]
|
/linux-6.12.1/drivers/usb/host/ |
D | xhci-mtk-sch.c | 166 struct usb_tt *utt = udev->tt; in find_tt() 167 struct mu3h_sch_tt *tt, **tt_index, **ptt; in find_tt() local 194 tt = *ptt; in find_tt() 195 if (!tt) { /* Create the mu3h_sch_tt */ in find_tt() 196 tt = kzalloc(sizeof(*tt), GFP_KERNEL); in find_tt() 197 if (!tt) { in find_tt() 204 INIT_LIST_HEAD(&tt->ep_list); in find_tt() 205 *ptt = tt; in find_tt() 208 return tt; in find_tt() 214 struct usb_tt *utt = udev->tt; in drop_tt() [all …]
|
D | ehci-sched.c | 103 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.12.1/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | tt.c | 15 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.12.1/net/batman-adv/ |
D | translation-table.c | 106 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.12.1/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | fs_ttc.c | 191 u8 mlx5_get_proto_by_tunnel_type(enum mlx5_tunnel_types tt) in mlx5_get_proto_by_tunnel_type() argument 193 return ttc_tunnel_rules[tt].proto; in mlx5_get_proto_by_tunnel_type() 213 int tt; in mlx5_tunnel_any_rx_proto_supported() local 215 for (tt = 0; tt < MLX5_NUM_TUNNEL_TT; tt++) { in mlx5_tunnel_any_rx_proto_supported() 217 ttc_tunnel_rules[tt].proto)) in mlx5_tunnel_any_rx_proto_supported() 318 int tt; in mlx5_generate_ttc_table_rules() local 323 for (tt = 0; tt < MLX5_NUM_TT; tt++) { in mlx5_generate_ttc_table_rules() 324 struct mlx5_ttc_rule *rule = &rules[tt]; in mlx5_generate_ttc_table_rules() 326 if (test_bit(tt, params->ignore_dests)) in mlx5_generate_ttc_table_rules() 328 rule->rule = mlx5_generate_ttc_rule(dev, ft, ¶ms->dests[tt], in mlx5_generate_ttc_table_rules() [all …]
|
/linux-6.12.1/arch/s390/include/asm/ |
D | dat-bits.h | 45 unsigned long tt : 2; /* Table-Type Bits */ member 60 unsigned long tt : 2; /* Table-Type Bits */ member 74 unsigned long tt : 2; /* Table-Type Bits */ member 90 unsigned long tt : 2; /* Table-Type Bits */ member 104 unsigned long tt: 2; /* Table-Type Bits */ member 116 unsigned long tt : 2; /* Table-Type Bits */ member 132 unsigned long tt : 2; /* Table-Type Bits */ member 146 unsigned long tt: 2; /* Table-Type Bits */ member
|
/linux-6.12.1/rust/kernel/ |
D | print.rs | 143 ($format_string:path, false, $($arg:tt)+) => ( 166 ($format_string:path, true, $($arg:tt)+) => ( 177 ($format_string:path, $e:expr, $($arg:tt)+) => ( 210 ($($arg:tt)*) => ( 234 ($($arg:tt)*) => ( 258 ($($arg:tt)*) => ( 282 ($($arg:tt)*) => ( 306 ($($arg:tt)*) => ( 330 ($($arg:tt)*) => ( 355 ($($arg:tt)*) => ( [all …]
|
/linux-6.12.1/drivers/gpu/drm/ttm/ |
D | ttm_pool.c | 392 static void ttm_pool_free_range(struct ttm_pool *pool, struct ttm_tt *tt, in ttm_pool_free_range() argument 396 struct page **pages = &tt->pages[start_page]; in ttm_pool_free_range() 405 if (tt->dma_address) in ttm_pool_free_range() 406 ttm_pool_unmap(pool, tt->dma_address[i], nr); in ttm_pool_free_range() 428 int ttm_pool_alloc(struct ttm_pool *pool, struct ttm_tt *tt, in ttm_pool_alloc() argument 431 pgoff_t num_pages = tt->num_pages; in ttm_pool_alloc() 432 dma_addr_t *dma_addr = tt->dma_address; in ttm_pool_alloc() 433 struct page **caching = tt->pages; in ttm_pool_alloc() 434 struct page **pages = tt->pages; in ttm_pool_alloc() 442 WARN_ON(!num_pages || ttm_tt_is_populated(tt)); in ttm_pool_alloc() [all …]
|
/linux-6.12.1/drivers/iio/ |
D | industrialio-sw-trigger.c | 103 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.12.1/rust/kernel/list/ |
D | impl_list_item_mod.rs | 45 HasListLinks$(<$id:tt>)? 86 ($(impl$({$($implarg:tt)*})? 87 HasSelfPtr<$item_type:ty $(, $id:tt)?> 123 $(impl$({$($generics:tt)*})? ListItem<$num:tt> for $t:ty { 187 $(impl$({$($generics:tt)*})? ListItem<$num:tt> for $t:ty {
|
/linux-6.12.1/arch/arm64/crypto/ |
D | aes-cipher-core.S | 18 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
|