Home
last modified time | relevance | path

Searched refs:tcon (Results 1 – 25 of 99) sorted by relevance

1234

/linux-6.15/drivers/gpu/drm/sun4i/
H A Dsun4i_tcon.c95 clk = tcon->dclk; in sun4i_tcon_channel_set_status()
102 clk = tcon->sclk1; in sun4i_tcon_channel_set_status()
182 tcon->quirks->setup_lvds_phy(tcon, encoder); in sun4i_tcon_lvds_set_status()
256 return tcon; in sun4i_get_tcon0()
270 ret = tcon->quirks->set_mux(tcon, encoder); in sun4i_tcon_set_mux()
517 tcon->dclk_min_div = tcon->quirks->dclk_min_div; in sun4i_tcon0_mode_set_rgb()
1127 tcon = devm_kzalloc(dev, sizeof(*tcon), GFP_KERNEL); in sun4i_tcon_bind()
1128 if (!tcon) in sun4i_tcon_bind()
1131 tcon->drm = drm; in sun4i_tcon_bind()
1132 tcon->dev = dev; in sun4i_tcon_bind()
[all …]
H A Dsun4i_tcon_dclk.c18 struct sun4i_tcon *tcon; member
74 struct sun4i_tcon *tcon = dclk->tcon; in sun4i_dclk_round_rate() local
79 for (i = tcon->dclk_min_div; i <= tcon->dclk_max_div; i++) { in sun4i_dclk_round_rate()
172 parent_name = __clk_get_name(tcon->sclk0); in sun4i_dclk_create()
182 dclk->tcon = tcon; in sun4i_dclk_create()
190 dclk->regmap = tcon->regs; in sun4i_dclk_create()
193 tcon->dclk = clk_register(dev, &dclk->hw); in sun4i_dclk_create()
194 if (IS_ERR(tcon->dclk)) in sun4i_dclk_create()
195 return PTR_ERR(tcon->dclk); in sun4i_dclk_create()
201 int sun4i_dclk_free(struct sun4i_tcon *tcon) in sun4i_dclk_free() argument
[all …]
/linux-6.15/fs/smb/client/
H A Dfscache.c26 struct cifs_tcon *tcon, in cifs_fscache_fill_volume_coherency() argument
46 if (tcon->fscache_acquired) in cifs_fscache_get_super_cookie()
49 mutex_lock(&tcon->fscache_lock); in cifs_fscache_get_super_cookie()
50 if (tcon->fscache_acquired) { in cifs_fscache_get_super_cookie()
54 tcon->fscache_acquired = true; in cifs_fscache_get_super_cookie()
56 tcon->fscache = NULL; in cifs_fscache_get_super_cookie()
97 trace_smb3_tcon_ref(tcon->debug_id, tcon->tc_count, in cifs_fscache_get_super_cookie()
100 trace_smb3_tcon_ref(tcon->debug_id, tcon->tc_count, in cifs_fscache_get_super_cookie()
104 tcon->fscache = vcookie; in cifs_fscache_get_super_cookie()
122 tcon->fscache = NULL; in cifs_fscache_release_super_cookie()
[all …]
H A Dioctl.c122 tcon_inf.tid = tcon->tid; in smb_mnt_get_tcon_info()
171 struct cifs_tcon *tcon; in cifs_shutdown() local
184 tcon = tlink_tcon(tlink); in cifs_shutdown()
258 ses = tcon->ses; in cifs_dump_full_key()
356 struct cifs_tcon *tcon; in cifs_ioctl() local
432 xid, tcon, pSMBFile); in cifs_ioctl()
448 tcon, pSMBFile); in cifs_ioctl()
465 tcon = tlink_tcon(tlink); in cifs_ioctl()
478 rc = tcon->ses->server->ops->enum_snapshots(xid, tcon, in cifs_ioctl()
555 if (tcon && tcon->ses->server->ops->notify) { in cifs_ioctl()
[all …]
H A Dsmb1ops.c541 struct cifs_tcon *tcon, in cifs_query_path_info() argument
582 if (!(tcon->ses->capabilities & tcon->ses->server->vals->cap_nt_find)) in cifs_query_path_info()
590 if (!(tcon->ses->capabilities & tcon->ses->server->vals->cap_nt_find)) { in cifs_query_path_info()
709 if (tcon && !(tcon->ses->capabilities & CAP_INFOLEVEL_PASSTHRU)) in cifs_get_srv_inum()
905 struct cifs_tcon *tcon; in smb_set_file_info() local
921 tcon = tlink_tcon(tlink); in smb_set_file_info()
972 .tcon = tcon, in smb_set_file_info()
1179 if (!cap_unix(tcon->ses)) in cifs_query_symlink()
1235 if (tcon->unix_ext) { in cifs_make_node()
1285 struct cifs_tcon *tcon; in cifs_is_network_name_deleted() local
[all …]
H A Ddfs.c206 struct cifs_tcon *tcon; in __dfs_mount_share() local
230 tcon = mnt_ctx->tcon; in __dfs_mount_share()
231 spin_lock(&tcon->tc_lock); in __dfs_mount_share()
374 tcon, tcon->ses->local_nls); in tree_connect_dfs_target()
398 spin_lock(&tcon->tc_lock); in cifs_tree_connect()
401 if (tcon->need_reconnect) in cifs_tree_connect()
424 if (tcon->ipc) { in cifs_tree_connect()
429 tcon, tcon->ses->local_nls); in cifs_tree_connect()
440 rc = ops->tree_connect(xid, tcon->ses, tcon->tree_name, in cifs_tree_connect()
441 tcon, tcon->ses->local_nls); in cifs_tree_connect()
[all …]
H A Dsmb2proto.h60 struct cifs_tcon *tcon,
66 struct cifs_tcon *tcon,
72 struct cifs_tcon *tcon,
83 umode_t mode, struct cifs_tcon *tcon,
87 umode_t mode, struct cifs_tcon *tcon,
98 struct cifs_tcon *tcon,
103 struct cifs_tcon *tcon,
153 const char *tree, struct cifs_tcon *tcon,
197 struct cifs_tcon *tcon,
306 struct cifs_tcon *tcon,
[all …]
H A Dsmb2inode.c184 struct cifs_ses *ses = tcon->ses; in smb2_compound_op()
646 tcon->need_reconnect = true; in smb2_compound_op()
936 struct cifs_tcon *tcon, in smb2_query_path_info() argument
962 if (!tcon->posix_extensions) { in smb2_query_path_info()
1027 if (tcon->posix_extensions) in smb2_query_path_info()
1063 if (!tcon->posix_extensions) in smb2_query_path_info()
1221 struct cifs_tcon *tcon, in smb2_rename_path() argument
1245 struct cifs_tcon *tcon, in smb2_create_hardlink() argument
1297 struct cifs_tcon *tcon; in smb2_set_file_info() local
1310 tcon = tlink_tcon(tlink); in smb2_set_file_info()
[all …]
H A Dcifs_swn.c32 struct cifs_tcon *tcon; member
50 if (tcon->ses->user_name != NULL) { in cifs_swn_auth_info_ntlm()
56 if (tcon->ses->password != NULL) { in cifs_swn_auth_info_ntlm()
62 if (tcon->ses->domainName != NULL) { in cifs_swn_auth_info_ntlm()
141 authtype = cifs_select_sectype(swnreg->tcon->ses->server, swnreg->tcon->ses->sectype); in cifs_swn_send_register_message()
313 reg = cifs_find_swn_reg(tcon); in cifs_get_swn_reg()
356 reg->tcon = tcon; in cifs_get_swn_reg()
483 ret = cifs_swn_unregister(tcon); in cifs_swn_reconnect()
494 ret = cifs_swn_register(tcon); in cifs_swn_reconnect()
594 swnreg = cifs_get_swn_reg(tcon); in cifs_swn_register()
[all …]
H A Dcifsproto.h82 struct cifs_tcon *tcon,
365 struct cifs_tcon *tcon,
392 struct cifs_tcon *tcon);
410 struct cifs_tcon *tcon,
432 struct cifs_tcon *tcon,
468 struct cifs_tcon *tcon,
473 struct cifs_tcon *tcon,
477 struct cifs_tcon *tcon,
481 struct cifs_tcon *tcon,
691 struct cifs_tcon *tcon,
[all …]
H A Dsmb2pdu.c79 if (!tcon || !tcon->ses) in smb3_encryption_required()
133 if (!tcon) in smb2_hdr_assemble()
144 if (tcon->ses) in smb2_hdr_assemble()
3176 struct cifs_tcon *tcon = oparms->tcon; in SMB2_open() local
4376 struct cifs_tcon *tcon = io_parms->tcon; in smb3_use_rdma_offload() local
4583 tcon->tid, tcon->ses->Suid, in smb2_readv_callback()
4592 tcon->tid, tcon->ses->Suid, in smb2_readv_callback()
4883 tcon->tid, tcon->ses->Suid, in smb2_writev_callback()
4920 .tcon = tcon, in smb2_async_writev()
5124 io_parms->tcon->tid, io_parms->tcon->ses->Suid, in SMB2_write()
[all …]
H A Dsmb2misc.c614 struct cifs_tcon *tcon; in smb2_is_valid_lease_break() local
677 struct cifs_tcon *tcon; in smb2_is_valid_oplock_break() local
756 struct cifs_tcon *tcon = cancelled->tcon; in smb2_cancelled_close_fid() local
794 cancelled->tcon = tcon; in __smb2_handle_cancelled_cmd()
811 if (tcon->tc_count <= 0) { in smb2_handle_cancelled_close()
814 trace_smb3_tcon_ref(tcon->debug_id, tcon->tc_count, in smb2_handle_cancelled_close()
819 if (tcon->ses) { in smb2_handle_cancelled_close()
828 tcon->tc_count++; in smb2_handle_cancelled_close()
829 trace_smb3_tcon_ref(tcon->debug_id, tcon->tc_count, in smb2_handle_cancelled_close()
846 struct cifs_tcon *tcon; in smb2_handle_cancelled_mid() local
[all …]
H A Dlink.c178 rc = tcon->ses->server->ops->create_mf_symlink(xid, tcon, in create_mf_symlink()
213 rc = tcon->ses->server->ops->query_mf_symlink(xid, tcon, in check_mf_symlink()
264 .tcon = tcon, in cifs_query_mf_symlink()
285 io_parms.tcon = tcon; in cifs_query_mf_symlink()
307 .tcon = tcon, in cifs_create_mf_symlink()
322 io_parms.tcon = tcon; in cifs_create_mf_symlink()
350 .tcon = tcon, in smb3_query_mf_symlink()
384 io_parms.tcon = tcon; in smb3_query_mf_symlink()
418 .tcon = tcon, in smb3_create_mf_symlink()
437 io_parms.tcon = tcon; in smb3_create_mf_symlink()
[all …]
H A Dconnect.c2566 trace_smb3_tcon_ref(tcon->debug_id, tcon->tc_count, in cifs_find_tcon()
2587 if (tcon == NULL || tcon->ipc) in cifs_put_tcon()
2669 if (tcon) { in cifs_get_tcon()
2883 return tcon; in cifs_get_tcon()
3766 mnt_ctx->tcon = tcon; in cifs_mount_get_tcon()
3858 struct cifs_tcon *tcon = mnt_ctx->tcon; in cifs_is_path_remote() local
4110 if (tcon->need_reconnect && tcon->unix_ext) { in CIFSTCon()
4142 if (tcon) { in cifs_umount()
4449 return tcon; in cifs_construct_tcon()
4669 rc = ops->tree_connect(xid, tcon->ses, tcon->tree_name, in cifs_tree_connect()
[all …]
H A Ddir.c209 if (tcon->unix_ext && cap_unix(tcon->ses) && !tcon->broken_posix_open &&
316 .tcon = tcon,
376 if (tcon->unix_ext)
439 struct cifs_tcon *tcon; local
489 tcon = tlink_tcon(tlink);
562 struct cifs_tcon *tcon; local
605 struct cifs_tcon *tcon; local
630 trace_smb3_mknod_enter(xid, tcon->tid, tcon->ses->Suid, full_path);
632 rc = tcon->ses->server->ops->make_node(xid, inode, direntry, tcon,
638 trace_smb3_mknod_err(xid, tcon->tid, tcon->ses->Suid, rc);
[all …]
H A Dsmb2ops.c862 .tcon = tcon, in smb3_qfs_tcon()
906 .tcon = tcon, in smb2_qfs_tcon()
954 .tcon = tcon, in smb2_is_path_accessible()
1249 .tcon = tcon, in smb2_set_ea()
1618 .tcon = tcon, in smb2_ioctl_query_info()
2283 .tcon = tcon, in smb3_notify()
2362 .tcon = tcon, in smb2_query_dir_first()
2720 .tcon = tcon, in smb2_query_info_compound()
2870 .tcon = tcon, in smb311_queryfs()
3100 .tcon = tcon, in get_smb2_acl_by_path()
[all …]
H A Dcached_dir.c161 if (tcon == NULL) in open_cached_dir()
164 ses = tcon->ses; in open_cached_dir()
165 cfids = tcon->cfids; in open_cached_dir()
226 cfid->tcon = tcon; in open_cached_dir()
251 .tcon = tcon, in open_cached_dir()
481 if (IS_ERR(tcon)) in close_all_cached_dirs()
483 cfids = tcon->cfids; in close_all_cached_dirs()
557 struct cifs_tcon *tcon = cfid->tcon; in cached_dir_offload_close() local
611 ++tcon->tc_count; in cached_dir_lease_break()
612 trace_smb3_tcon_ref(tcon->debug_id, tcon->tc_count, in cached_dir_lease_break()
[all …]
H A Dcifssmb.c82 if (!tcon) in cifs_reconnect_tcon()
85 ses = tcon->ses; in cifs_reconnect_tcon()
242 tcon, wct); in small_smb_init()
321 if (cifs_chan_needs_reconnect(tcon->ses, tcon->ses->server) || in smb_init_no_reconnect()
537 if ((tcon->ses == NULL) || (tcon->ses->server == NULL)) in CIFSSMBTDis()
1186 struct cifs_tcon *tcon = oparms->tcon; in CIFS_open() local
1452 struct cifs_tcon *tcon = io_parms->tcon; in CIFSSMBRead() local
1560 struct cifs_tcon *tcon = io_parms->tcon; in CIFSSMBWrite() local
1832 struct cifs_tcon *tcon = io_parms->tcon; in CIFSSMBWrite2() local
2735 .tcon = tcon, in cifs_query_reparse_point()
[all …]
H A Dcifsfs.c205 if (tcon->ses->capabilities & tcon->ses->server->vals->cap_large_files) in cifs_read_super()
248 tcon->ses->server->ops->negotiate_rsize(tcon, cifs_sb->ctx); in cifs_read_super()
263 if (tcon->nocase) in cifs_read_super()
599 if (tcon->ses->domainName && tcon->ses->domainName[0] != 0) in cifs_show_options()
644 if (tcon->seal) in cifs_show_options()
648 if (tcon->nocase) in cifs_show_options()
656 if (tcon->retry) in cifs_show_options()
795 trace_smb3_tcon_ref(tcon->debug_id, tcon->tc_count, in cifs_umount_begin()
797 if ((tcon->tc_count > 1) || (tcon->status == TID_EXITING)) { in cifs_umount_begin()
815 if (tcon->ses && tcon->ses->server) { in cifs_umount_begin()
[all …]
H A Dfile.c475 struct cifs_tcon *tcon; in cifs_posix_open() local
586 .tcon = tcon, in cifs_nt_open()
608 if (tcon->unix_ext) in cifs_nt_open()
950 struct cifs_tcon *tcon; in cifs_open() local
1023 if (!tcon->broken_posix_open && tcon->unix_ext && in cifs_open()
1157 struct cifs_tcon *tcon; in cifs_reopen_file() local
1206 if (tcon->unix_ext && cap_unix(tcon->ses) && in cifs_reopen_file()
1249 .tcon = tcon, in cifs_reopen_file()
1419 if (!tcon->use_persistent || !tcon->need_reopen_files) in cifs_reopen_persistent_handles()
2344 tcon->ses->server); in cifs_flock()
[all …]
H A Dinode.c560 .tcon = tcon, in cifs_sfu_type()
583 io_parms.tcon = tcon; in cifs_sfu_type()
696 tcon->ses->server->ops->close(xid, tcon, &fid); in cifs_sfu_type()
728 rc = tcon->ses->server->ops->query_all_EAs(xid, tcon, path, in cifs_sfu_mode()
935 if (!tcon->unix_ext) in cifs_open_info_to_fattr()
1079 if (tcon->unix_ext) in cifs_backup_query_path_info()
1820 .tcon = tcon, in cifs_rename_pending_delete()
2138 tcon, xid);
2430 .tcon = tcon,
2964 if (tcon == NULL) {
[all …]
H A Dcifs_debug.c94 seq_printf(m, "%s Mounts: %d ", tcon->tree_name, tcon->tc_count); in cifs_debug_tcon()
101 tcon->status); in cifs_debug_tcon()
111 if ((tcon->seal) || in cifs_debug_tcon()
115 if (tcon->nocase) in cifs_debug_tcon()
117 if (tcon->unix_ext) in cifs_debug_tcon()
120 tcon->ses->server->ops->dump_share_caps(m, tcon); in cifs_debug_tcon()
121 if (tcon->use_witness) in cifs_debug_tcon()
125 if (tcon->need_reconnect) in cifs_debug_tcon()
239 struct cifs_tcon *tcon; in cifs_debug_files_proc_show() local
260 tcon->tid, in cifs_debug_files_proc_show()
[all …]
/linux-6.15/drivers/gpu/drm/fsl-dcu/
H A Dfsl_tcon.c41 struct fsl_tcon *tcon, in fsl_tcon_init_regmap() argument
56 return PTR_ERR_OR_ZERO(tcon->regs); in fsl_tcon_init_regmap()
61 struct fsl_tcon *tcon; in fsl_tcon_init() local
70 tcon = devm_kzalloc(dev, sizeof(*tcon), GFP_KERNEL); in fsl_tcon_init()
71 if (!tcon) in fsl_tcon_init()
81 if (IS_ERR(tcon->ipg_clk)) { in fsl_tcon_init()
86 ret = clk_prepare_enable(tcon->ipg_clk); in fsl_tcon_init()
95 return tcon; in fsl_tcon_init()
102 void fsl_tcon_free(struct fsl_tcon *tcon) in fsl_tcon_free() argument
104 clk_disable_unprepare(tcon->ipg_clk); in fsl_tcon_free()
[all …]
/linux-6.15/Documentation/devicetree/bindings/display/
H A Dallwinner,sun4i-a10-tcon.yaml23 - const: allwinner,sun4i-a10-tcon
24 - const: allwinner,sun5i-a13-tcon
25 - const: allwinner,sun6i-a31-tcon
27 - const: allwinner,sun7i-a20-tcon
186 - const: tcon-ch0
187 - const: tcon-ch1
205 - const: tcon-ch0
206 - const: tcon-ch1
225 - const: tcon-ch0
246 - const: tcon-ch0
[all …]
/linux-6.15/fs/smb/server/mgmt/
H A Dtree_connect.c108 if (!atomic_dec_return(&tcon->refcount) && in ksmbd_tree_connect_put()
109 waitqueue_active(&tcon->refcount_q)) in ksmbd_tree_connect_put()
110 wake_up(&tcon->refcount_q); in ksmbd_tree_connect_put()
136 struct ksmbd_tree_connect *tcon; in ksmbd_tree_conn_lookup() local
139 tcon = xa_load(&sess->tree_conns, id); in ksmbd_tree_conn_lookup()
140 if (tcon) { in ksmbd_tree_conn_lookup()
141 if (tcon->t_state != TREE_CONNECTED) in ksmbd_tree_conn_lookup()
142 tcon = NULL; in ksmbd_tree_conn_lookup()
143 else if (!atomic_inc_not_zero(&tcon->refcount)) in ksmbd_tree_conn_lookup()
144 tcon = NULL; in ksmbd_tree_conn_lookup()
[all …]

1234