/Linux-v5.4/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-v5.4/drivers/md/ |
D | dm-target.c | 21 struct target_type *tt; in __find_target_type() local 23 list_for_each_entry(tt, &_targets, list) in __find_target_type() 24 if (!strcmp(name, tt->name)) in __find_target_type() 25 return tt; in __find_target_type() 32 struct target_type *tt; in get_target_type() local 36 tt = __find_target_type(name); in get_target_type() 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() 51 struct target_type *tt = get_target_type(name); in dm_get_target_type() local [all …]
|
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | tt.c | 70 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; in iwl_tt_is_low_power_state() local 72 if (tt->state >= IWL_TI_1) in iwl_tt_is_low_power_state() 79 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; in iwl_tt_current_power_mode() local 81 return tt->tt_power_mode; in iwl_tt_current_power_mode() 86 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; in iwl_ht_enabled() local 91 restriction = tt->restriction + tt->state; in iwl_ht_enabled() 122 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; in iwl_tx_ant_restriction() local 127 restriction = tt->restriction + tt->state; in iwl_tx_ant_restriction() 133 struct iwl_tt_mgmt *tt = &priv->thermal_throttle; in iwl_rx_ant_restriction() local 138 restriction = tt->restriction + tt->state; in iwl_rx_ant_restriction() [all …]
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
D | eswitch_offloads_termtbl.c | 49 struct mlx5_termtbl_handle *tt, in mlx5_eswitch_termtbl_create() argument 68 tt->termtbl = mlx5_create_auto_grouped_flow_table(root_ns, prio, 1, 1, in mlx5_eswitch_termtbl_create() 70 if (IS_ERR(tt->termtbl)) { in mlx5_eswitch_termtbl_create() 75 tt->rule = mlx5_add_flow_rules(tt->termtbl, &spec, flow_act, in mlx5_eswitch_termtbl_create() 76 &tt->dest, 1); in mlx5_eswitch_termtbl_create() 78 if (IS_ERR(tt->rule)) { in mlx5_eswitch_termtbl_create() 85 err = mlx5_destroy_flow_table(tt->termtbl); in mlx5_eswitch_termtbl_create() 97 struct mlx5_termtbl_handle *tt; in mlx5_eswitch_termtbl_get_create() local 105 hash_for_each_possible(esw->offloads.termtbl_tbl, tt, in mlx5_eswitch_termtbl_get_create() 107 if (!mlx5_eswitch_termtbl_cmp(&tt->flow_act, &tt->dest, in mlx5_eswitch_termtbl_get_create() [all …]
|
D | en_fs.c | 784 int tt; in mlx5e_any_tunnel_proto_supported() local 786 for (tt = 0; tt < MLX5E_NUM_TUNNEL_TT; tt++) { in mlx5e_any_tunnel_proto_supported() 787 if (mlx5e_tunnel_proto_supported(mdev, ttc_tunnel_rules[tt].proto)) in mlx5e_any_tunnel_proto_supported() 862 int tt; in mlx5e_generate_ttc_table_rules() local 869 for (tt = 0; tt < MLX5E_NUM_TT; tt++) { in mlx5e_generate_ttc_table_rules() 870 if (tt == MLX5E_TT_ANY) in mlx5e_generate_ttc_table_rules() 873 dest.tir_num = params->indir_tirn[tt]; in mlx5e_generate_ttc_table_rules() 874 rules[tt] = mlx5e_generate_ttc_rule(priv, ft, &dest, in mlx5e_generate_ttc_table_rules() 875 ttc_rules[tt].etype, in mlx5e_generate_ttc_table_rules() 876 ttc_rules[tt].proto); in mlx5e_generate_ttc_table_rules() [all …]
|
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | tt.c | 71 struct iwl_mvm_tt_mgmt *tt = &mvm->thermal_throttle; in iwl_mvm_enter_ctkill() local 72 u32 duration = tt->params.ct_kill_duration; in iwl_mvm_enter_ctkill() 81 tt->throttle = false; in iwl_mvm_enter_ctkill() 82 tt->dynamic_smps = false; in iwl_mvm_enter_ctkill() 90 schedule_delayed_work(&tt->ct_kill_exit, in iwl_mvm_enter_ctkill() 279 struct iwl_mvm_tt_mgmt *tt; in check_exit_ctkill() local 285 tt = container_of(work, struct iwl_mvm_tt_mgmt, ct_kill_exit.work); in check_exit_ctkill() 286 mvm = container_of(tt, struct iwl_mvm, thermal_throttle); in check_exit_ctkill() 294 duration = tt->params.ct_kill_duration; in check_exit_ctkill() 310 if (temp <= tt->params.ct_kill_exit) { in check_exit_ctkill() [all …]
|
/Linux-v5.4/net/batman-adv/ |
D | translation-table.c | 107 struct batadv_tt_common_entry *tt; in batadv_choose_tt() local 110 tt = (struct batadv_tt_common_entry *)data; in batadv_choose_tt() 111 hash = jhash(&tt->addr, ETH_ALEN, hash); in batadv_choose_tt() 112 hash = jhash(&tt->vid, sizeof(tt->vid), hash); in batadv_choose_tt() 131 struct batadv_tt_common_entry to_search, *tt, *tt_tmp = NULL; in batadv_tt_hash_find() local 144 hlist_for_each_entry_rcu(tt, head, hash_entry) { in batadv_tt_hash_find() 145 if (!batadv_compare_eth(tt, addr)) in batadv_tt_hash_find() 148 if (tt->vid != vid) in batadv_tt_hash_find() 151 if (!kref_get_unless_zero(&tt->refcount)) in batadv_tt_hash_find() 154 tt_tmp = tt; in batadv_tt_hash_find() [all …]
|
D | main.c | 164 spin_lock_init(&bat_priv->tt.changes_list_lock); in batadv_mesh_init() 165 spin_lock_init(&bat_priv->tt.req_list_lock); in batadv_mesh_init() 166 spin_lock_init(&bat_priv->tt.roam_list_lock); in batadv_mesh_init() 167 spin_lock_init(&bat_priv->tt.last_changeset_lock); in batadv_mesh_init() 168 spin_lock_init(&bat_priv->tt.commit_lock); in batadv_mesh_init() 187 INIT_LIST_HEAD(&bat_priv->tt.changes_list); in batadv_mesh_init() 188 INIT_HLIST_HEAD(&bat_priv->tt.req_list); in batadv_mesh_init() 189 INIT_LIST_HEAD(&bat_priv->tt.roam_list); in batadv_mesh_init()
|
/Linux-v5.4/drivers/usb/host/ |
D | xhci-mtk-sch.c | 86 struct usb_tt *utt = udev->tt; in find_tt() 87 struct mu3h_sch_tt *tt, **tt_index, **ptt; in find_tt() local 117 tt = *ptt; in find_tt() 118 if (!tt) { /* Create the mu3h_sch_tt */ in find_tt() 119 tt = kzalloc(sizeof(*tt), GFP_KERNEL); in find_tt() 120 if (!tt) { in find_tt() 127 INIT_LIST_HEAD(&tt->ep_list); in find_tt() 128 tt->usb_tt = utt; in find_tt() 129 tt->tt_port = port; in find_tt() 130 *ptt = tt; in find_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-v5.4/drivers/iio/ |
D | industrialio-sw-trigger.c | 99 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-v5.4/drivers/gpu/drm/ |
D | drm_vram_mm_helper.c | 22 static void backend_func_destroy(struct ttm_tt *tt) in backend_func_destroy() argument 24 ttm_tt_fini(tt); in backend_func_destroy() 25 kfree(tt); in backend_func_destroy() 39 struct ttm_tt *tt; in bo_driver_ttm_tt_create() local 42 tt = kzalloc(sizeof(*tt), GFP_KERNEL); in bo_driver_ttm_tt_create() 43 if (!tt) in bo_driver_ttm_tt_create() 46 tt->func = &backend_func; in bo_driver_ttm_tt_create() 48 ret = ttm_tt_init(tt, bo, page_flags); in bo_driver_ttm_tt_create() 52 return tt; in bo_driver_ttm_tt_create() 55 kfree(tt); in bo_driver_ttm_tt_create()
|
/Linux-v5.4/drivers/lightnvm/ |
D | core.c | 245 struct nvm_tgt_type *tt; in __nvm_find_target_type() local 247 list_for_each_entry(tt, &nvm_tgt_types, list) in __nvm_find_target_type() 248 if (!strcmp(name, tt->name)) in __nvm_find_target_type() 249 return tt; in __nvm_find_target_type() 256 struct nvm_tgt_type *tt; in nvm_find_target_type() local 259 tt = __nvm_find_target_type(name); in nvm_find_target_type() 262 return tt; in nvm_find_target_type() 314 struct nvm_tgt_type *tt; in nvm_create_tgt() local 343 tt = nvm_find_target_type(create->tgttype); in nvm_create_tgt() 344 if (!tt) { in nvm_create_tgt() [all …]
|
/Linux-v5.4/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
|
/Linux-v5.4/include/linux/iio/ |
D | sw_trigger.h | 48 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-v5.4/drivers/gpu/drm/ttm/ |
D | ttm_page_alloc.c | 1097 int ttm_populate_and_map_pages(struct device *dev, struct ttm_dma_tt *tt, in ttm_populate_and_map_pages() argument 1103 r = ttm_pool_populate(&tt->ttm, ctx); in ttm_populate_and_map_pages() 1107 for (i = 0; i < tt->ttm.num_pages; ++i) { in ttm_populate_and_map_pages() 1108 struct page *p = tt->ttm.pages[i]; in ttm_populate_and_map_pages() 1111 for (j = i + 1; j < tt->ttm.num_pages; ++j) { in ttm_populate_and_map_pages() 1112 if (++p != tt->ttm.pages[j]) in ttm_populate_and_map_pages() 1118 tt->dma_address[i] = dma_map_page(dev, tt->ttm.pages[i], in ttm_populate_and_map_pages() 1121 if (dma_mapping_error(dev, tt->dma_address[i])) { in ttm_populate_and_map_pages() 1123 dma_unmap_page(dev, tt->dma_address[i], in ttm_populate_and_map_pages() 1125 tt->dma_address[i] = 0; in ttm_populate_and_map_pages() [all …]
|
/Linux-v5.4/arch/um/os-Linux/ |
D | util.c | 28 struct termios tt; in raw() local 31 CATCH_EINTR(err = tcgetattr(fd, &tt)); in raw() 35 cfmakeraw(&tt); in raw() 37 CATCH_EINTR(err = tcsetattr(fd, TCSADRAIN, &tt)); in raw()
|
/Linux-v5.4/lib/lzo/ |
D | lzo1x_compress.c | 132 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() 340 size_t tt = t - 18; in lzogeneric1x_1_compress() local 342 while (tt > 255) { in lzogeneric1x_1_compress() 343 tt -= 255; in lzogeneric1x_1_compress() 346 *op++ = tt; in lzogeneric1x_1_compress()
|
/Linux-v5.4/arch/x86/crypto/ |
D | camellia_glue.c | 800 u64 kw4, tt; in camellia_setup_tail() local 915 tt = (tr | ((u64)tl << 32)); in camellia_setup_tail() 917 SET_SUBKEY_LR(7, subRL[6] ^ tt); /* round 6 */ in camellia_setup_tail() 924 tt = (tr | ((u64)tl << 32)); in camellia_setup_tail() 926 SET_SUBKEY_LR(10, subRL[11] ^ tt); /* round 7 */ in camellia_setup_tail() 935 tt = (tr | ((u64)tl << 32)); in camellia_setup_tail() 937 SET_SUBKEY_LR(15, subRL[14] ^ tt); /* round 12 */ in camellia_setup_tail() 944 tt = (tr | ((u64)tl << 32)); in camellia_setup_tail() 946 SET_SUBKEY_LR(18, subRL[19] ^ tt); /* round 13 */ in camellia_setup_tail() 959 tt = (tr | ((u64)tl << 32)); in camellia_setup_tail() [all …]
|
/Linux-v5.4/include/drm/ttm/ |
D | ttm_debug.h | 30 extern void ttm_trace_dma_map(struct device *dev, struct ttm_dma_tt *tt); 31 extern void ttm_trace_dma_unmap(struct device *dev, struct ttm_dma_tt *tt);
|
/Linux-v5.4/arch/um/drivers/ |
D | fd.c | 18 struct termios tt; member 56 CATCH_EINTR(err = tcgetattr(data->fd, &data->tt)); in fd_open() 77 CATCH_EINTR(err = tcsetattr(fd, TCSAFLUSH, &data->tt)); in fd_close()
|
/Linux-v5.4/drivers/scsi/libfc/ |
D | fc_disc.c | 362 if (lport->tt.elsct_send(lport, 0, fp, in fc_disc_gpn_ft_req() 650 if (!lport->tt.elsct_send(lport, rdata->ids.port_id, fp, FC_NS_GPN_ID, in fc_disc_gpn_id_req() 713 if (!lport->tt.disc_start) in fc_disc_config() 714 lport->tt.disc_start = fc_disc_start; in fc_disc_config() 716 if (!lport->tt.disc_stop) in fc_disc_config() 717 lport->tt.disc_stop = fc_disc_stop; in fc_disc_config() 719 if (!lport->tt.disc_stop_final) in fc_disc_config() 720 lport->tt.disc_stop_final = fc_disc_stop_final; in fc_disc_config() 722 if (!lport->tt.disc_recv_req) in fc_disc_config() 723 lport->tt.disc_recv_req = fc_disc_recv_req; in fc_disc_config()
|
/Linux-v5.4/drivers/block/aoe/ |
D | aoecmd.c | 253 struct aoetgt *t, **tt; in newframe() local 262 tt = d->tgt; /* last used target */ in newframe() 264 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() 282 if (tt == d->tgt) { /* we've looped and found nada */ in newframe() 1425 struct aoetgt **tt; in grow_targets() local 1429 tt = kcalloc(newn, sizeof(*d->targets), GFP_ATOMIC); in grow_targets() [all …]
|
/Linux-v5.4/arch/s390/kvm/ |
D | gaccess.c | 52 unsigned long tt : 2; /* Table-Type Bits */ member 67 unsigned long tt : 2; /* Table-Type Bits */ member 81 unsigned long tt : 2; /* Table-Type Bits */ member 97 unsigned long tt : 2; /* Table-Type Bits */ member 111 unsigned long tt : 2; /* Table-Type Bits */ member 123 unsigned long tt : 2; /* Table-Type Bits */ member 139 unsigned long tt : 2; /* Table-Type Bits */ member 153 unsigned long tt : 2; /* Table-Type Bits */ member 672 if (rfte.tt != TABLE_TYPE_REGION1) in guest_translate() 690 if (rste.tt != TABLE_TYPE_REGION2) in guest_translate() [all …]
|
/Linux-v5.4/arch/sh/kernel/ |
D | traps.c | 94 enum bug_trap_type tt; in handle_BUG() local 105 tt = report_bug(bugaddr, regs); in handle_BUG() 106 if (tt == BUG_TRAP_TYPE_WARN) { in handle_BUG()
|