| /linux/drivers/gpu/drm/sun4i/ | 
| H A D | sun4i_tcon.c | 84 static void sun4i_tcon_channel_set_status(struct sun4i_tcon *tcon, int channel,  in sun4i_tcon_channel_set_status()  argument91 		WARN_ON(!tcon->quirks->has_channel_0);  in sun4i_tcon_channel_set_status()
 92 		regmap_update_bits(tcon->regs, SUN4I_TCON0_CTL_REG,  in sun4i_tcon_channel_set_status()
 95 		clk = tcon->dclk;  in sun4i_tcon_channel_set_status()
 98 		WARN_ON(!tcon->quirks->has_channel_1);  in sun4i_tcon_channel_set_status()
 99 		regmap_update_bits(tcon->regs, SUN4I_TCON1_CTL_REG,  in sun4i_tcon_channel_set_status()
 102 		clk = tcon->sclk1;  in sun4i_tcon_channel_set_status()
 118 static void sun4i_tcon_setup_lvds_phy(struct sun4i_tcon *tcon,  in sun4i_tcon_setup_lvds_phy()  argument
 121 	regmap_write(tcon->regs, SUN4I_TCON0_LVDS_ANA0_REG,  in sun4i_tcon_setup_lvds_phy()
 130 	regmap_update_bits(tcon->regs, SUN4I_TCON0_LVDS_ANA1_REG,  in sun4i_tcon_setup_lvds_phy()
 [all …]
 
 | 
| H A D | sun8i_tcon_top.c | 14 #include <dt-bindings/clock/sun8i-tcon-top.h>28 int sun8i_tcon_top_set_hdmi_src(struct device *dev, int tcon)  in sun8i_tcon_top_set_hdmi_src()  argument
 35 		dev_err(dev, "Device is not TCON TOP!\n");  in sun8i_tcon_top_set_hdmi_src()
 39 	if (tcon < 2 || tcon > 3) {  in sun8i_tcon_top_set_hdmi_src()
 40 		dev_err(dev, "TCON index must be 2 or 3!\n");  in sun8i_tcon_top_set_hdmi_src()
 48 	val |= FIELD_PREP(TCON_TOP_HDMI_SRC_MSK, tcon - 1);  in sun8i_tcon_top_set_hdmi_src()
 57 int sun8i_tcon_top_de_config(struct device *dev, int mixer, int tcon)  in sun8i_tcon_top_de_config()  argument
 64 		dev_err(dev, "Device is not TCON TOP!\n");  in sun8i_tcon_top_de_config()
 73 	if (tcon > 3) {  in sun8i_tcon_top_de_config()
 74 		dev_err(dev, "TCON index is too high!\n");  in sun8i_tcon_top_de_config()
 [all …]
 
 | 
| H A D | sun4i_tcon_dclk.c | 18 	struct sun4i_tcon	*tcon;  member74 	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()
 165 int sun4i_dclk_create(struct device *dev, struct sun4i_tcon *tcon)  in sun4i_dclk_create()  argument
 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()
 [all …]
 
 | 
| /linux/Documentation/devicetree/bindings/display/ | 
| H A D | allwinner,sun4i-a10-tcon.yaml | 4 $id: http://devicetree.org/schemas/display/allwinner,sun4i-a10-tcon.yaml#7 title: Allwinner A10 Timings Controller (TCON)
 14   The TCON acts as a timing controller for RGB, LVDS and TV
 23       - const: allwinner,sun4i-a10-tcon
 24       - const: allwinner,sun5i-a13-tcon
 25       - const: allwinner,sun6i-a31-tcon
 26       - const: allwinner,sun6i-a31s-tcon
 27       - const: allwinner,sun7i-a20-tcon
 28       - const: allwinner,sun8i-a23-tcon
 29       - const: allwinner,sun8i-a33-tcon
 [all …]
 
 | 
| H A D | allwinner,sun8i-r40-tcon-top.yaml | 4 $id: http://devicetree.org/schemas/display/allwinner,sun8i-r40-tcon-top.yaml#7 title: Allwinner R40 TCON TOP
 14   TCON TOPs main purpose is to configure whole display pipeline. It
 16   TCON for HDMI, muxes LCD and TV encoder GPIO output, selects TV
 17   encoder clock source and contains additional TV TCON and DSI gates.
 22                    / [0] TCON-LCD0
 25           \        / [1] TCON-LCD1 - LCD1/LVDS1
 26            TCON-TOP
 27           /        \ [2] TCON-TV0 [0] - TVE0/RGB
 29                    |                   TCON-TOP - HDMI
 [all …]
 
 | 
| /linux/fs/smb/client/ | 
| H A D | ioctl.c | 31 	struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb);  in cifs_ioctl_query_info()  local57 	if (tcon->ses->server->ops->ioctl_query_info)  in cifs_ioctl_query_info()
 58 		rc = tcon->ses->server->ops->ioctl_query_info(  in cifs_ioctl_query_info()
 59 				xid, tcon, cifs_sb, utf16_path,  in cifs_ioctl_query_info()
 117 static long smb_mnt_get_tcon_info(struct cifs_tcon *tcon, void __user *arg)  in smb_mnt_get_tcon_info()  argument
 122 	tcon_inf.tid = tcon->tid;  in smb_mnt_get_tcon_info()
 123 	tcon_inf.session_id = tcon->ses->Suid;  in smb_mnt_get_tcon_info()
 131 static long smb_mnt_get_fsinfo(unsigned int xid, struct cifs_tcon *tcon,  in smb_mnt_get_fsinfo()  argument
 142 	fsinf->protocol_id = tcon->ses->server->vals->protocol_id;  in smb_mnt_get_fsinfo()
 143 	fsinf->tcon_flags = tcon->Flags;  in smb_mnt_get_fsinfo()
 [all …]
 
 | 
| H A D | fscache.c | 26 	struct cifs_tcon *tcon,  in cifs_fscache_fill_volume_coherency()  argument30 	cd->resource_id		= cpu_to_le64(tcon->resource_id);  in cifs_fscache_fill_volume_coherency()
 31 	cd->vol_create_time	= tcon->vol_create_time;  in cifs_fscache_fill_volume_coherency()
 32 	cd->vol_serial_number	= cpu_to_le32(tcon->vol_serial_number);  in cifs_fscache_fill_volume_coherency()
 35 int cifs_fscache_get_super_cookie(struct cifs_tcon *tcon)  in cifs_fscache_get_super_cookie()  argument
 38 	struct TCP_Server_Info *server = tcon->ses->server;  in cifs_fscache_get_super_cookie()
 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()
 51 		mutex_unlock(&tcon->fscache_lock);  in cifs_fscache_get_super_cookie()
 [all …]
 
 | 
| H A D | smb1ops.c | 437 smb1_negotiate_wsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx)  in smb1_negotiate_wsize()  argument439 	__u64 unix_cap = le64_to_cpu(tcon->fsUnixInfo.Capability);  in smb1_negotiate_wsize()
 440 	struct TCP_Server_Info *server = tcon->ses->server;  in smb1_negotiate_wsize()
 446 	else if (tcon->unix_ext && (unix_cap & CIFS_UNIX_LARGE_WRITE_CAP))  in smb1_negotiate_wsize()
 452 	if (!tcon->unix_ext || !(unix_cap & CIFS_UNIX_LARGE_WRITE_CAP))  in smb1_negotiate_wsize()
 472 smb1_negotiate_rsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx)  in smb1_negotiate_rsize()  argument
 474 	__u64 unix_cap = le64_to_cpu(tcon->fsUnixInfo.Capability);  in smb1_negotiate_rsize()
 475 	struct TCP_Server_Info *server = tcon->ses->server;  in smb1_negotiate_rsize()
 490 	if (tcon->unix_ext && (unix_cap & CIFS_UNIX_LARGE_READ_CAP))  in smb1_negotiate_rsize()
 513 cifs_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon,  in cifs_qfs_tcon()  argument
 [all …]
 
 | 
| H A D | dfs.c | 73  * release it as any new DFS referrals must go through its IPC tcon.206 	struct cifs_tcon *tcon;  in __dfs_mount_share()  local
 224 		else if (WARN_ON(!mnt_ctx->tcon))  in __dfs_mount_share()
 230 	tcon = mnt_ctx->tcon;  in __dfs_mount_share()
 231 	spin_lock(&tcon->tc_lock);  in __dfs_mount_share()
 232 	tcon->origin_fullpath = origin_fullpath;  in __dfs_mount_share()
 234 	ref_walk_set_tcon(rw, tcon);  in __dfs_mount_share()
 235 	spin_unlock(&tcon->tc_lock);  in __dfs_mount_share()
 236 	queue_delayed_work(dfscache_wq, &tcon->dfs_cache_work,  in __dfs_mount_share()
 337 				   struct cifs_tcon *tcon,  in tree_connect_dfs_target()  argument
 [all …]
 
 | 
| H A D | smb2inode.c | 172 static int smb2_compound_op(const unsigned int xid, struct cifs_tcon *tcon,  in smb2_compound_op()  argument184 	struct cifs_ses *ses = tcon->ses;  in smb2_compound_op()
 217 	if (smb3_encryption_required(tcon))  in smb2_compound_op()
 259 	rc = SMB2_open_init(tcon, server,  in smb2_compound_op()
 266 	smb2_set_next_command(tcon, &rqst[num_rqst]);  in smb2_compound_op()
 285 				rc = SMB2_query_info_init(tcon, server,  in smb2_compound_op()
 294 				rc = SMB2_query_info_init(tcon, server,  in smb2_compound_op()
 304 				smb2_set_next_command(tcon, &rqst[num_rqst]);  in smb2_compound_op()
 310 			trace_smb3_query_info_compound_enter(xid, tcon->tid,  in smb2_compound_op()
 319 				rc = SMB2_query_info_init(tcon, server,  in smb2_compound_op()
 [all …]
 
 | 
| H A D | smb2pdu.c | 78 int smb3_encryption_required(const struct cifs_tcon *tcon)  in smb3_encryption_required()  argument80 	if (!tcon || !tcon->ses)  in smb3_encryption_required()
 82 	if ((tcon->ses->session_flags & SMB2_SESSION_FLAG_ENCRYPT_DATA) ||  in smb3_encryption_required()
 83 	    (tcon->share_flags & SHI1005_FLAGS_ENCRYPT_DATA))  in smb3_encryption_required()
 85 	if (tcon->seal &&  in smb3_encryption_required()
 86 	    (tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_ENCRYPTION))  in smb3_encryption_required()
 89 	    (tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_ENCRYPTION))  in smb3_encryption_required()
 96 		  const struct cifs_tcon *tcon,  in smb2_hdr_assemble()  argument
 134 	if (!tcon)  in smb2_hdr_assemble()
 143 	shdr->Id.SyncId.TreeId = cpu_to_le32(tcon->tid);  in smb2_hdr_assemble()
 [all …]
 
 | 
| H A D | cifs_swn.c | 32 	struct cifs_tcon *tcon;  member35 static int cifs_swn_auth_info_krb(struct cifs_tcon *tcon, struct sk_buff *skb)  in cifs_swn_auth_info_krb()  argument
 46 static int cifs_swn_auth_info_ntlm(struct cifs_tcon *tcon, struct sk_buff *skb)  in cifs_swn_auth_info_ntlm()  argument
 50 	if (tcon->ses->user_name != NULL) {  in cifs_swn_auth_info_ntlm()
 51 		ret = nla_put_string(skb, CIFS_GENL_ATTR_SWN_USER_NAME, tcon->ses->user_name);  in cifs_swn_auth_info_ntlm()
 56 	if (tcon->ses->password != NULL) {  in cifs_swn_auth_info_ntlm()
 57 		ret = nla_put_string(skb, CIFS_GENL_ATTR_SWN_PASSWORD, tcon->ses->password);  in cifs_swn_auth_info_ntlm()
 62 	if (tcon->ses->domainName != NULL) {  in cifs_swn_auth_info_ntlm()
 63 		ret = nla_put_string(skb, CIFS_GENL_ATTR_SWN_DOMAIN_NAME, tcon->ses->domainName);  in cifs_swn_auth_info_ntlm()
 112 	if (swnreg->tcon->ses->server->use_swn_dstaddr)  in cifs_swn_send_register_message()
 [all …]
 
 | 
| H A D | link.c | 137 create_mf_symlink(const unsigned int xid, struct cifs_tcon *tcon,  in create_mf_symlink()  argument153 	if (tcon->ses->server->ops->create_mf_symlink)  in create_mf_symlink()
 154 		rc = tcon->ses->server->ops->create_mf_symlink(xid, tcon,  in create_mf_symlink()
 170 check_mf_symlink(unsigned int xid, struct cifs_tcon *tcon,  in check_mf_symlink()  argument
 188 	if (tcon->ses->server->ops->query_mf_symlink)  in check_mf_symlink()
 189 		rc = tcon->ses->server->ops->query_mf_symlink(xid, tcon,  in check_mf_symlink()
 227 cifs_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon,  in cifs_query_mf_symlink()  argument
 240 		.tcon = tcon,  in cifs_query_mf_symlink()
 249 	rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, &query_data);  in cifs_query_mf_symlink()
 261 	io_parms.tcon = tcon;  in cifs_query_mf_symlink()
 [all …]
 
 | 
| H A D | connect.c | 104 	struct cifs_tcon *tcon = container_of(work,  in smb2_query_server_interfaces()  local107 	struct TCP_Server_Info *server = tcon->ses->server;  in smb2_query_server_interfaces()
 116 	rc = server->ops->query_server_interfaces(xid, tcon, false);  in smb2_query_server_interfaces()
 123 	queue_delayed_work(cifsiod_wq, &tcon->query_interfaces,  in smb2_query_server_interfaces()
 205 	struct cifs_tcon *tcon;  in cifs_mark_tcp_ses_conns_for_reconnect()  local
 264 		/* If all channels need reconnect, then tcon needs reconnect */  in cifs_mark_tcp_ses_conns_for_reconnect()
 275 		list_for_each_entry(tcon, &ses->tcon_list, tcon_list) {  in cifs_mark_tcp_ses_conns_for_reconnect()
 276 			tcon->need_reconnect = true;  in cifs_mark_tcp_ses_conns_for_reconnect()
 277 			spin_lock(&tcon->tc_lock);  in cifs_mark_tcp_ses_conns_for_reconnect()
 278 			tcon->status = TID_NEED_RECON;  in cifs_mark_tcp_ses_conns_for_reconnect()
 [all …]
 
 | 
| H A D | dir.c | 41 			struct cifs_tcon *tcon, int add_treename)  in cifs_build_path_to_root()  argument54 		dfsplen = strnlen(tcon->tree_name, MAX_TREE_SIZE + 1);  in cifs_build_path_to_root()
 63 		memcpy(full_path, tcon->tree_name, dfsplen);  in cifs_build_path_to_root()
 75 	struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb);  in build_path_from_dentry()  local
 76 	bool prefix = tcon->Flags & SMB_SHARE_IS_IN_DFS;  in build_path_from_dentry()
 142 	struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb);  in build_path_from_dentry_optional_prefix()  local
 144 	return __build_path_from_dentry_optional_prefix(direntry, page, tcon->tree_name,  in build_path_from_dentry_optional_prefix()
 154 check_name(struct dentry *direntry, struct cifs_tcon *tcon)  in check_name()  argument
 159 	if (unlikely(tcon->fsAttrInfo.MaxPathNameComponentLength &&  in check_name()
 161 		     le32_to_cpu(tcon->fsAttrInfo.MaxPathNameComponentLength)))  in check_name()
 [all …]
 
 | 
| H A D | smb2misc.c | 542 smb2_tcon_has_lease(struct cifs_tcon *tcon, struct smb2_lease_break *rsp)  in smb2_tcon_has_lease()  argument552 	list_for_each_entry(cfile, &tcon->openFileList, tlist) {  in smb2_tcon_has_lease()
 581 smb2_tcon_find_pending_open_lease(struct cifs_tcon *tcon,  in smb2_tcon_find_pending_open_lease()  argument
 590 	list_for_each_entry(open, &tcon->pending_opens, olist) {  in smb2_tcon_find_pending_open_lease()
 615 	struct cifs_tcon *tcon;  in smb2_is_valid_lease_break()  local
 632 	/* look up tcon based on tid & uid */  in smb2_is_valid_lease_break()
 637 		list_for_each_entry(tcon, &ses->tcon_list, tcon_list) {  in smb2_is_valid_lease_break()
 638 			spin_lock(&tcon->open_file_lock);  in smb2_is_valid_lease_break()
 640 				       &tcon->stats.cifs_stats.num_oplock_brks);  in smb2_is_valid_lease_break()
 641 			if (smb2_tcon_has_lease(tcon, rsp)) {  in smb2_is_valid_lease_break()
 [all …]
 
 | 
| H A D | file.c | 370 cifs_mark_open_files_invalid(struct cifs_tcon *tcon)  in cifs_mark_open_files_invalid()  argument377 	spin_lock(&tcon->tc_lock);  in cifs_mark_open_files_invalid()
 378 	if (tcon->need_reconnect)  in cifs_mark_open_files_invalid()
 379 		tcon->status = TID_NEED_RECON;  in cifs_mark_open_files_invalid()
 381 	if (tcon->status != TID_NEED_RECON) {  in cifs_mark_open_files_invalid()
 382 		spin_unlock(&tcon->tc_lock);  in cifs_mark_open_files_invalid()
 385 	tcon->status = TID_IN_FILES_INVALIDATE;  in cifs_mark_open_files_invalid()
 386 	spin_unlock(&tcon->tc_lock);  in cifs_mark_open_files_invalid()
 389 	spin_lock(&tcon->open_file_lock);  in cifs_mark_open_files_invalid()
 390 	list_for_each_safe(tmp, tmp1, &tcon->openFileList) {  in cifs_mark_open_files_invalid()
 [all …]
 
 | 
| H A D | cached_dir.c | 133 int open_cached_dir(unsigned int xid, struct cifs_tcon *tcon,  in open_cached_dir()  argument162 	if (tcon == NULL)  in open_cached_dir()
 165 	ses = tcon->ses;  in open_cached_dir()
 166 	cfids = tcon->cfids;  in open_cached_dir()
 185 	cfid = find_or_create_cached_dir(cfids, path, lookup_only, tcon->max_cached_dirs);  in open_cached_dir()
 249 	cfid->tcon = tcon;  in open_cached_dir()
 258 	if (smb3_encryption_required(tcon))  in open_cached_dir()
 273 		.tcon = tcon,  in open_cached_dir()
 284 	rc = SMB2_open_init(tcon, server,  in open_cached_dir()
 288 	smb2_set_next_command(tcon, &rqst[0]);  in open_cached_dir()
 [all …]
 
 | 
| H A D | cifsfs.c | 135 	struct cifs_tcon *tcon;  in cifs_drop_all_dir_caches()  local142 			list_for_each_entry(tcon, &ses->tcon_list, tcon_list)  in cifs_drop_all_dir_caches()
 143 				invalidate_all_cached_dirs(tcon);  in cifs_drop_all_dir_caches()
 231 	struct cifs_tcon *tcon;  in cifs_read_super()  local
 236 	tcon = cifs_sb_master_tcon(cifs_sb);  in cifs_read_super()
 241 	if (tcon->snapshot_time)  in cifs_read_super()
 244 	if (tcon->ses->capabilities & tcon->ses->server->vals->cap_large_files)  in cifs_read_super()
 256 	if ((tcon->ses->server->vals->protocol_id == SMB10_PROT_ID) &&  in cifs_read_super()
 257 	    ((tcon->ses->capabilities &  in cifs_read_super()
 258 	      tcon->ses->server->vals->cap_nt_find) == 0) &&  in cifs_read_super()
 [all …]
 
 | 
| H A D | cifs_debug.c | 92 static void cifs_debug_tcon(struct seq_file *m, struct cifs_tcon *tcon)  in cifs_debug_tcon()  argument94 	__u32 dev_type = le32_to_cpu(tcon->fsDevInfo.DeviceType);  in cifs_debug_tcon()
 96 	seq_printf(m, "%s Mounts: %d ", tcon->tree_name, tcon->tc_count);  in cifs_debug_tcon()
 97 	if (tcon->nativeFileSystem)  in cifs_debug_tcon()
 98 		seq_printf(m, "Type: %s ", tcon->nativeFileSystem);  in cifs_debug_tcon()
 100 		   le32_to_cpu(tcon->fsDevInfo.DeviceCharacteristics),  in cifs_debug_tcon()
 101 		   le32_to_cpu(tcon->fsAttrInfo.Attributes),  in cifs_debug_tcon()
 102 		   le32_to_cpu(tcon->fsAttrInfo.MaxPathNameComponentLength),  in cifs_debug_tcon()
 103 		   tcon->status);  in cifs_debug_tcon()
 111 	seq_printf(m, "Serial Number: 0x%x", tcon->vol_serial_number);  in cifs_debug_tcon()
 [all …]
 
 | 
| H A D | namespace.c | 123 	struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb);  in is_dfs_mount()  local126 	spin_lock(&tcon->tc_lock);  in is_dfs_mount()
 127 	ret = !!tcon->origin_fullpath;  in is_dfs_mount()
 128 	spin_unlock(&tcon->tc_lock);  in is_dfs_mount()
 136 	struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb);  in automount_fullpath()  local
 140 	spin_lock(&tcon->tc_lock);  in automount_fullpath()
 141 	if (!tcon->origin_fullpath) {  in automount_fullpath()
 142 		spin_unlock(&tcon->tc_lock);  in automount_fullpath()
 147 	spin_unlock(&tcon->tc_lock);  in automount_fullpath()
 159 	spin_lock(&tcon->tc_lock);  in automount_fullpath()
 [all …]
 
 | 
| /linux/Documentation/devicetree/bindings/clock/ | 
| H A D | allwinner,sun4i-a10-tcon-ch0-clk.yaml | 4 $id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-tcon-ch0-clk.yaml#7 title: Allwinner A10 TCON Channel 0 Clock
 24       - allwinner,sun4i-a10-tcon-ch0-clk
 25       - allwinner,sun4i-a10-tcon-ch1-clk
 49         const: allwinner,sun4i-a10-tcon-ch0-clk
 62         compatible = "allwinner,sun4i-a10-tcon-ch0-clk";
 65         clock-output-names = "tcon-ch0-sclk";
 71         compatible = "allwinner,sun4i-a10-tcon-ch1-clk";
 74         clock-output-names = "tcon-ch1-sclk";
 
 | 
| /linux/fs/smb/server/mgmt/ | 
| H A D | tree_connect.c | 101 void ksmbd_tree_connect_put(struct ksmbd_tree_connect *tcon)  in ksmbd_tree_connect_put()  argument108 	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()
 [all …]
 
 | 
| /linux/drivers/clocksource/ | 
| H A D | samsung_pwm_timer.c | 44  * Each channel occupies 4 bits in TCON register, but there is a gap of 446  * when accessing TCON register.
 48  * In addition, the location of autoreload bit for channel 4 (TCON channel 5)
 121 	unsigned long tcon;  in samsung_time_stop()  local
 129 	tcon = readl_relaxed(pwm.base + REG_TCON);  in samsung_time_stop()
 130 	tcon &= ~TCON_START(channel);  in samsung_time_stop()
 131 	writel_relaxed(tcon, pwm.base + REG_TCON);  in samsung_time_stop()
 138 	unsigned long tcon;  in samsung_time_setup()  local
 147 	tcon = readl_relaxed(pwm.base + REG_TCON);  in samsung_time_setup()
 149 	tcon &= ~(TCON_START(tcon_chan) | TCON_AUTORELOAD(tcon_chan));  in samsung_time_setup()
 [all …]
 
 | 
| /linux/drivers/pwm/ | 
| H A D | pwm-samsung.c | 43  * Each channel occupies 4 bits in TCON register, but there is a gap of 445  * when accessing TCON register. See to_tcon_channel() function.
 47  * In addition, the location of autoreload bit for channel 4 (TCON channel 5)
 116 	/* TCON register has a gap of 4 bits (1 channel) after channel 0 */  in to_tcon_channel()
 124 	u32 tcon;  in __pwm_samsung_manual_update()  local
 126 	tcon = readl(our_chip->base + REG_TCON);  in __pwm_samsung_manual_update()
 127 	tcon |= TCON_MANUALUPDATE(tcon_chan);  in __pwm_samsung_manual_update()
 128 	writel(tcon, our_chip->base + REG_TCON);  in __pwm_samsung_manual_update()
 130 	tcon &= ~TCON_MANUALUPDATE(tcon_chan);  in __pwm_samsung_manual_update()
 131 	writel(tcon, our_chip->base + REG_TCON);  in __pwm_samsung_manual_update()
 [all …]
 
 |