Home
last modified time | relevance | path

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

12345

/openbmc/linux/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 …]
/openbmc/u-boot/arch/arm/cpu/armv7/s5p-common/
H A Dpwm.c19 unsigned long tcon; in pwm_enable() local
21 tcon = readl(&pwm->tcon); in pwm_enable()
22 tcon |= TCON_START(pwm_id); in pwm_enable()
24 writel(tcon, &pwm->tcon); in pwm_enable()
33 unsigned long tcon; in pwm_disable() local
35 tcon = readl(&pwm->tcon); in pwm_disable()
38 writel(tcon, &pwm->tcon); in pwm_disable()
66 unsigned long tcon; in pwm_config() local
100 tcon = readl(&pwm->tcon); in pwm_config()
106 writel(tcon, &pwm->tcon); in pwm_config()
[all …]
/openbmc/linux/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 …]
/openbmc/linux/fs/smb/client/
H A Dioctl.c125 tcon_inf.tid = tcon->tid; in smb_mnt_get_tcon_info()
241 ses = tcon->ses; in cifs_dump_full_key()
339 struct cifs_tcon *tcon; in cifs_ioctl() local
415 xid, tcon, pSMBFile); in cifs_ioctl()
431 tcon, pSMBFile); in cifs_ioctl()
448 tcon = tlink_tcon(tlink); in cifs_ioctl()
461 rc = tcon->ses->server->ops->enum_snapshots(xid, tcon, in cifs_ioctl()
482 tcon = tlink_tcon(tlink); in cifs_ioctl()
521 tcon = tlink_tcon(tlink); in cifs_ioctl()
538 if (tcon && tcon->ses->server->ops->notify) { in cifs_ioctl()
[all …]
H A Dsmb2proto.h62 struct cifs_tcon *tcon,
67 struct cifs_tcon *tcon,
73 struct cifs_tcon *tcon,
84 umode_t mode, struct cifs_tcon *tcon,
88 umode_t mode, struct cifs_tcon *tcon,
99 struct cifs_tcon *tcon,
104 struct cifs_tcon *tcon,
146 const char *tree, struct cifs_tcon *tcon,
190 struct cifs_tcon *tcon,
300 struct cifs_tcon *tcon,
[all …]
H A Dsmb1ops.c519 CIFSSMBQFSDeviceInfo(xid, tcon); in cifs_qfs_tcon()
520 CIFSSMBQFSAttributeInfo(xid, tcon); in cifs_qfs_tcon()
546 struct cifs_tcon *tcon, in cifs_query_path_info() argument
583 .tcon = tcon, in cifs_query_path_info()
674 (long long)(tcon->bytes_read)); in cifs_print_stats()
802 struct cifs_tcon *tcon; in smb_set_file_info() local
819 tcon = tlink_tcon(tlink); in smb_set_file_info()
831 .tcon = tcon, in smb_set_file_info()
976 struct cifs_tcon *tcon, in cifs_query_symlink() argument
985 if (!cap_unix(tcon->ses)) in cifs_query_symlink()
[all …]
H A Dsmb2inode.c660 tcon->tid, rc); in smb2_compound_op()
663 tcon->tid); in smb2_compound_op()
687 tcon->tid, rc); in smb2_compound_op()
690 tcon->tid); in smb2_compound_op()
742 tcon->tid, rc); in smb2_compound_op()
745 tcon->tid); in smb2_compound_op()
754 tcon->tid); in smb2_compound_op()
772 tcon->tid); in smb2_compound_op()
796 tcon->tid); in smb2_compound_op()
1164 struct cifs_tcon *tcon; in smb2_set_file_info() local
[all …]
H A Ddfs.c217 struct cifs_tcon *tcon; in __dfs_mount_share() local
242 tcon = mnt_ctx->tcon; in __dfs_mount_share()
243 spin_lock(&tcon->tc_lock); in __dfs_mount_share()
422 spin_lock(&tcon->tc_lock); in __tree_connect_ipc()
426 tcon->status = TID_GOOD; in __tree_connect_ipc()
489 rc = ops->tree_connect(xid, tcon->ses, tree, tcon, cifs_sb->local_nls); in __tree_connect_dfs_target()
501 rc = ops->tree_connect(xid, tcon->ses, tree, tcon, cifs_sb->local_nls); in __tree_connect_dfs_target()
567 if (tcon->need_reconnect) in cifs_tree_connect()
590 if (tcon->ipc) { in cifs_tree_connect()
594 rc = ops->tree_connect(xid, tcon->ses, tree, tcon, nlsc); in cifs_tree_connect()
[all …]
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 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.h79 struct cifs_tcon *tcon,
361 struct cifs_tcon *tcon,
388 struct cifs_tcon *tcon);
402 struct cifs_tcon *tcon,
424 struct cifs_tcon *tcon,
460 struct cifs_tcon *tcon,
465 struct cifs_tcon *tcon,
469 struct cifs_tcon *tcon,
473 struct cifs_tcon *tcon,
701 struct cifs_tcon *tcon,
[all …]
H A Dsmb2pdu.c75 if (!tcon || !tcon->ses) in smb3_encryption_required()
126 if (!tcon) in smb2_hdr_assemble()
3175 struct cifs_tcon *tcon = oparms->tcon; in SMB2_open() local
4362 struct cifs_tcon *tcon = io_parms->tcon; in smb3_use_rdma_offload() local
4424 io_parms->tcon->tid, io_parms->tcon->ses->Suid, in smb2_new_read_req()
4558 tcon->tid, tcon->ses->Suid, rdata->offset, in smb2_readv_callback()
4563 tcon->tid, tcon->ses->Suid, in smb2_readv_callback()
4809 tcon->tid, tcon->ses->Suid, in smb2_writev_callback()
4842 .tcon = tcon, in smb2_async_writev()
5031 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()
827 tcon->tc_count++; in smb2_handle_cancelled_close()
828 trace_smb3_tcon_ref(tcon->debug_id, tcon->tc_count, in smb2_handle_cancelled_close()
845 struct cifs_tcon *tcon; in smb2_handle_cancelled_mid() local
[all …]
H A Dlink.c177 rc = tcon->ses->server->ops->create_mf_symlink(xid, tcon, in create_mf_symlink()
212 rc = tcon->ses->server->ops->query_mf_symlink(xid, tcon, in check_mf_symlink()
263 .tcon = tcon, in cifs_query_mf_symlink()
284 io_parms.tcon = tcon; in cifs_query_mf_symlink()
306 .tcon = tcon, in cifs_create_mf_symlink()
321 io_parms.tcon = tcon; in cifs_create_mf_symlink()
349 .tcon = tcon, in smb3_query_mf_symlink()
383 io_parms.tcon = tcon; in smb3_query_mf_symlink()
417 .tcon = tcon, in smb3_create_mf_symlink()
436 io_parms.tcon = tcon; in smb3_create_mf_symlink()
[all …]
H A Dconnect.c2435 trace_smb3_tcon_ref(tcon->debug_id, tcon->tc_count, in cifs_find_tcon()
2439 return tcon; in cifs_find_tcon()
2455 if (tcon == NULL || tcon->ipc) in cifs_put_tcon()
2533 if (tcon) { in cifs_get_tcon()
2540 return tcon; in cifs_get_tcon()
2740 return tcon; in cifs_get_tcon()
3405 tcon = NULL; in cifs_mount_get_tcon()
3479 mnt_ctx->tcon = tcon; in cifs_mount_get_tcon()
3567 struct cifs_tcon *tcon = mnt_ctx->tcon; in cifs_is_path_remote() local
4099 return tcon; in __cifs_construct_tcon()
[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->ses->Suid, tcon->tid, full_path);
632 rc = tcon->ses->server->ops->make_node(xid, inode, direntry, tcon,
638 trace_smb3_mknod_err(xid, tcon->ses->Suid, tcon->tid, rc);
[all …]
H A Dsmb2ops.c817 .tcon = tcon, in smb3_qfs_tcon()
861 .tcon = tcon, in smb2_qfs_tcon()
909 .tcon = tcon, in smb2_is_path_accessible()
1202 .tcon = tcon, in smb2_set_ea()
1571 .tcon = tcon, in smb2_ioctl_query_info()
2217 .tcon = tcon, in smb3_notify()
2296 .tcon = tcon, in smb2_query_dir_first()
2685 .tcon = tcon, in smb2_query_info_compound()
2835 .tcon = tcon, in smb311_queryfs()
3056 .tcon = tcon, in get_smb2_acl_by_path()
[all …]
H A Dcifsfs.c203 if (tcon->ses->capabilities & tcon->ses->server->vals->cap_large_files) in cifs_read_super()
246 tcon->ses->server->ops->negotiate_rsize(tcon, cifs_sb->ctx); in cifs_read_super()
261 if (tcon->nocase) in cifs_read_super()
556 if (tcon->ses->domainName && tcon->ses->domainName[0] != 0) in cifs_show_options()
597 if (tcon->seal) in cifs_show_options()
601 if (tcon->nocase) in cifs_show_options()
609 if (tcon->retry) in cifs_show_options()
742 trace_smb3_tcon_ref(tcon->debug_id, tcon->tc_count, in cifs_umount_begin()
744 if ((tcon->tc_count > 1) || (tcon->status == TID_EXITING)) { in cifs_umount_begin()
762 if (tcon->ses && tcon->ses->server) { in cifs_umount_begin()
[all …]
H A Dinode.c540 .tcon = tcon, in cifs_sfu_type()
563 io_parms.tcon = tcon; in cifs_sfu_type()
613 tcon->ses->server->ops->close(xid, tcon, &fid); in cifs_sfu_type()
645 rc = tcon->ses->server->ops->query_all_EAs(xid, tcon, path, in cifs_sfu_mode()
776 if (!tcon->unix_ext) in cifs_open_info_to_fattr()
920 if (tcon->unix_ext) in cifs_backup_query_path_info()
1617 .tcon = tcon, in cifs_rename_pending_delete()
1934 tcon, xid);
2219 .tcon = tcon,
2784 if (tcon == NULL) {
[all …]
H A Dcifssmb.c81 if (!tcon) in cifs_reconnect_tcon()
84 ses = tcon->ses; in cifs_reconnect_tcon()
125 if (tcon->retry) in cifs_reconnect_tcon()
226 tcon, wct); in small_smb_init()
518 if ((tcon->ses == NULL) || (tcon->ses->server == NULL)) in CIFSSMBTDis()
1151 struct cifs_tcon *tcon = oparms->tcon; in CIFS_open() local
1395 struct cifs_tcon *tcon = io_parms->tcon; in CIFSSMBRead() local
1503 struct cifs_tcon *tcon = io_parms->tcon; in CIFSSMBWrite() local
1757 struct cifs_tcon *tcon = io_parms->tcon; in CIFSSMBWrite2() local
2720 .tcon = tcon, in cifs_query_reparse_point()
[all …]
H A Dcached_dir.c150 if (tcon == NULL || tcon->cfids == NULL || tcon->nohandlecache || in open_cached_dir()
154 ses = tcon->ses; in open_cached_dir()
155 cfids = tcon->cfids; in open_cached_dir()
239 .tcon = tcon, in open_cached_dir()
289 tcon->need_reconnect = true; in open_cached_dir()
291 tcon->tree_name); in open_cached_dir()
295 cfid->tcon = tcon; in open_cached_dir()
477 struct cifs_tcon *tcon; in close_all_cached_dirs() local
483 tcon = tlink_tcon(tlink); in close_all_cached_dirs()
484 if (IS_ERR(tcon)) in close_all_cached_dirs()
[all …]
/openbmc/linux/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 …]
/openbmc/u-boot/drivers/pwm/
H A Dexynos_pwm.c26 u32 tcnt, tcmp, tcon; in exynos_pwm_set_config() local
50 tcon = readl(&regs->tcon); in exynos_pwm_set_config()
51 tcon |= TCON_UPDATE(channel); in exynos_pwm_set_config()
53 tcon |= TCON_AUTO_RELOAD(channel); in exynos_pwm_set_config()
55 tcon |= TCON4_AUTO_RELOAD; in exynos_pwm_set_config()
56 writel(tcon, &regs->tcon); in exynos_pwm_set_config()
58 tcon &= ~TCON_UPDATE(channel); in exynos_pwm_set_config()
59 writel(tcon, &regs->tcon); in exynos_pwm_set_config()
75 clrsetbits_le32(&regs->tcon, mask, enable ? mask : 0); in exynos_pwm_set_enable()
/openbmc/linux/fs/smb/server/mgmt/
H A Dtree_connect.c106 if (!atomic_dec_return(&tcon->refcount) && in ksmbd_tree_connect_put()
107 waitqueue_active(&tcon->refcount_q)) in ksmbd_tree_connect_put()
108 wake_up(&tcon->refcount_q); in ksmbd_tree_connect_put()
134 struct ksmbd_tree_connect *tcon; in ksmbd_tree_conn_lookup() local
137 tcon = xa_load(&sess->tree_conns, id); in ksmbd_tree_conn_lookup()
138 if (tcon) { in ksmbd_tree_conn_lookup()
139 if (tcon->t_state != TREE_CONNECTED) in ksmbd_tree_conn_lookup()
140 tcon = NULL; in ksmbd_tree_conn_lookup()
141 else if (!atomic_inc_not_zero(&tcon->refcount)) in ksmbd_tree_conn_lookup()
142 tcon = NULL; in ksmbd_tree_conn_lookup()
[all …]

12345