| /kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/ |
| D | sun4i_tcon.c | 83 static void sun4i_tcon_channel_set_status(struct sun4i_tcon *tcon, int channel, in sun4i_tcon_channel_set_status() argument 90 WARN_ON(!tcon->quirks->has_channel_0); in sun4i_tcon_channel_set_status() 91 regmap_update_bits(tcon->regs, SUN4I_TCON0_CTL_REG, in sun4i_tcon_channel_set_status() 94 clk = tcon->dclk; in sun4i_tcon_channel_set_status() 97 WARN_ON(!tcon->quirks->has_channel_1); in sun4i_tcon_channel_set_status() 98 regmap_update_bits(tcon->regs, SUN4I_TCON1_CTL_REG, in sun4i_tcon_channel_set_status() 101 clk = tcon->sclk1; in sun4i_tcon_channel_set_status() 117 static void sun4i_tcon_setup_lvds_phy(struct sun4i_tcon *tcon, in sun4i_tcon_setup_lvds_phy() argument 120 regmap_write(tcon->regs, SUN4I_TCON0_LVDS_ANA0_REG, in sun4i_tcon_setup_lvds_phy() 129 regmap_update_bits(tcon->regs, SUN4I_TCON0_LVDS_ANA1_REG, in sun4i_tcon_setup_lvds_phy() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/sun4i/ |
| D | sun4i_tcon.c | 84 static void sun4i_tcon_channel_set_status(struct sun4i_tcon *tcon, int channel, in sun4i_tcon_channel_set_status() argument 91 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 …]
|
| 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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/ |
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/ |
| 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) Device Tree Bindings 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 …]
|
| 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 Device Tree Bindings 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 …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/fsl-dcu/ |
| D | fsl_tcon.c | 7 * Freescale TCON device driver 19 void fsl_tcon_bypass_disable(struct fsl_tcon *tcon) in fsl_tcon_bypass_disable() argument 21 regmap_update_bits(tcon->regs, FSL_TCON_CTRL1, in fsl_tcon_bypass_disable() 25 void fsl_tcon_bypass_enable(struct fsl_tcon *tcon) in fsl_tcon_bypass_enable() argument 27 regmap_update_bits(tcon->regs, FSL_TCON_CTRL1, in fsl_tcon_bypass_enable() 37 .name = "tcon", 41 struct fsl_tcon *tcon, in fsl_tcon_init_regmap() argument 54 tcon->regs = devm_regmap_init_mmio(dev, regs, in fsl_tcon_init_regmap() 56 return PTR_ERR_OR_ZERO(tcon->regs); in fsl_tcon_init_regmap() 61 struct fsl_tcon *tcon; in fsl_tcon_init() local [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/fsl-dcu/ |
| D | fsl_tcon.c | 7 * Freescale TCON device driver 19 void fsl_tcon_bypass_disable(struct fsl_tcon *tcon) in fsl_tcon_bypass_disable() argument 21 regmap_update_bits(tcon->regs, FSL_TCON_CTRL1, in fsl_tcon_bypass_disable() 25 void fsl_tcon_bypass_enable(struct fsl_tcon *tcon) in fsl_tcon_bypass_enable() argument 27 regmap_update_bits(tcon->regs, FSL_TCON_CTRL1, in fsl_tcon_bypass_enable() 37 .name = "tcon", 41 struct fsl_tcon *tcon, in fsl_tcon_init_regmap() argument 54 tcon->regs = devm_regmap_init_mmio(dev, regs, in fsl_tcon_init_regmap() 56 return PTR_ERR_OR_ZERO(tcon->regs); in fsl_tcon_init_regmap() 61 struct fsl_tcon *tcon; in fsl_tcon_init() local [all …]
|
| /kernel/linux/linux-5.10/fs/cifs/ |
| D | ioctl.c | 43 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_ioctl_query_info() local 66 if (tcon->ses->server->ops->ioctl_query_info) in cifs_ioctl_query_info() 67 rc = tcon->ses->server->ops->ioctl_query_info( in cifs_ioctl_query_info() 68 xid, tcon, cifs_sb, utf16_path, in cifs_ioctl_query_info() 129 static long smb_mnt_get_fsinfo(unsigned int xid, struct cifs_tcon *tcon, in smb_mnt_get_fsinfo() argument 140 fsinf->protocol_id = tcon->ses->server->vals->protocol_id; in smb_mnt_get_fsinfo() 142 le32_to_cpu(tcon->fsDevInfo.DeviceCharacteristics); in smb_mnt_get_fsinfo() 143 fsinf->device_type = le32_to_cpu(tcon->fsDevInfo.DeviceType); in smb_mnt_get_fsinfo() 144 fsinf->fs_attributes = le32_to_cpu(tcon->fsAttrInfo.Attributes); in smb_mnt_get_fsinfo() 146 le32_to_cpu(tcon->fsAttrInfo.MaxPathNameComponentLength); in smb_mnt_get_fsinfo() [all …]
|
| D | smb2inode.c | 63 smb2_compound_op(const unsigned int xid, struct cifs_tcon *tcon, in smb2_compound_op() argument 76 struct cifs_ses *ses = tcon->ses; in smb2_compound_op() 95 if (smb3_encryption_required(tcon)) in smb2_compound_op() 111 vars->oparms.tcon = tcon; in smb2_compound_op() 122 rc = SMB2_open_init(tcon, server, in smb2_compound_op() 129 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op() 141 rc = SMB2_query_info_init(tcon, server, in smb2_compound_op() 150 rc = SMB2_query_info_init(tcon, server, in smb2_compound_op() 159 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op() 167 trace_smb3_query_info_compound_enter(xid, ses->Suid, tcon->tid, in smb2_compound_op() [all …]
|
| D | smb1ops.c | 431 cifs_negotiate_wsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in cifs_negotiate_wsize() argument 433 __u64 unix_cap = le64_to_cpu(tcon->fsUnixInfo.Capability); in cifs_negotiate_wsize() 434 struct TCP_Server_Info *server = tcon->ses->server; in cifs_negotiate_wsize() 440 else if (tcon->unix_ext && (unix_cap & CIFS_UNIX_LARGE_WRITE_CAP)) in cifs_negotiate_wsize() 446 if (!tcon->unix_ext || !(unix_cap & CIFS_UNIX_LARGE_WRITE_CAP)) in cifs_negotiate_wsize() 466 cifs_negotiate_rsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in cifs_negotiate_rsize() argument 468 __u64 unix_cap = le64_to_cpu(tcon->fsUnixInfo.Capability); in cifs_negotiate_rsize() 469 struct TCP_Server_Info *server = tcon->ses->server; in cifs_negotiate_rsize() 484 if (tcon->unix_ext && (unix_cap & CIFS_UNIX_LARGE_READ_CAP)) in cifs_negotiate_rsize() 507 cifs_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon, in cifs_qfs_tcon() argument [all …]
|
| D | smb2proto.h | 72 extern int open_shroot(unsigned int xid, struct cifs_tcon *tcon, 80 extern int smb2_query_reparse_tag(const unsigned int xid, struct cifs_tcon *tcon, 83 extern int smb2_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, 87 extern int smb2_set_path_size(const unsigned int xid, struct cifs_tcon *tcon, 93 umode_t mode, struct cifs_tcon *tcon, 97 umode_t mode, struct cifs_tcon *tcon, 101 struct cifs_tcon *tcon, const unsigned int xid); 102 extern int smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon, 104 extern int smb2_unlink(const unsigned int xid, struct cifs_tcon *tcon, 106 extern int smb2_rename_path(const unsigned int xid, struct cifs_tcon *tcon, [all …]
|
| D | cifsproto.h | 77 struct cifs_tcon *tcon, 145 extern int cifs_get_writable_path(struct cifs_tcon *tcon, const char *name, 149 extern int cifs_get_readable_path(struct cifs_tcon *tcon, const char *name, 247 extern void cifs_mark_open_files_invalid(struct cifs_tcon *tcon); 248 extern void cifs_reopen_persistent_handles(struct cifs_tcon *tcon); 264 extern void cifs_put_tcon(struct cifs_tcon *tcon); 279 extern int cifs_tree_connect(const unsigned int xid, struct cifs_tcon *tcon, 290 const char *tree, struct cifs_tcon *tcon, 293 extern int CIFSFindFirst(const unsigned int xid, struct cifs_tcon *tcon, 299 extern int CIFSFindNext(const unsigned int xid, struct cifs_tcon *tcon, [all …]
|
| D | smb2pdu.c | 86 int smb3_encryption_required(const struct cifs_tcon *tcon) in smb3_encryption_required() argument 88 if (!tcon || !tcon->ses) in smb3_encryption_required() 90 if ((tcon->ses->session_flags & SMB2_SESSION_FLAG_ENCRYPT_DATA) || in smb3_encryption_required() 91 (tcon->share_flags & SHI1005_FLAGS_ENCRYPT_DATA)) in smb3_encryption_required() 93 if (tcon->seal && in smb3_encryption_required() 94 (tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_ENCRYPTION)) in smb3_encryption_required() 101 const struct cifs_tcon *tcon, in smb2_hdr_assemble() argument 122 if (!tcon) in smb2_hdr_assemble() 131 shdr->TreeId = tcon->tid; in smb2_hdr_assemble() 133 if (tcon->ses) in smb2_hdr_assemble() [all …]
|
| D | link.c | 185 create_mf_symlink(const unsigned int xid, struct cifs_tcon *tcon, in create_mf_symlink() argument 201 if (tcon->ses->server->ops->create_mf_symlink) in create_mf_symlink() 202 rc = tcon->ses->server->ops->create_mf_symlink(xid, tcon, in create_mf_symlink() 218 query_mf_symlink(const unsigned int xid, struct cifs_tcon *tcon, in query_mf_symlink() argument 231 if (tcon->ses->server->ops->query_mf_symlink) in query_mf_symlink() 232 rc = tcon->ses->server->ops->query_mf_symlink(xid, tcon, in query_mf_symlink() 252 check_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in check_mf_symlink() argument 269 if (tcon->ses->server->ops->query_mf_symlink) in check_mf_symlink() 270 rc = tcon->ses->server->ops->query_mf_symlink(xid, tcon, in check_mf_symlink() 306 cifs_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in cifs_query_mf_symlink() argument [all …]
|
| /kernel/linux/linux-6.6/fs/smb/client/ |
| D | ioctl.c | 31 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_ioctl_query_info() local 57 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() 120 static long smb_mnt_get_tcon_info(struct cifs_tcon *tcon, void __user *arg) in smb_mnt_get_tcon_info() argument 125 tcon_inf.tid = tcon->tid; in smb_mnt_get_tcon_info() 126 tcon_inf.session_id = tcon->ses->Suid; in smb_mnt_get_tcon_info() 134 static long smb_mnt_get_fsinfo(unsigned int xid, struct cifs_tcon *tcon, in smb_mnt_get_fsinfo() argument 145 fsinf->protocol_id = tcon->ses->server->vals->protocol_id; in smb_mnt_get_fsinfo() 146 fsinf->tcon_flags = tcon->Flags; in smb_mnt_get_fsinfo() [all …]
|
| D | smb2proto.h | 54 extern int smb2_query_reparse_tag(const unsigned int xid, struct cifs_tcon *tcon, 60 struct cifs_tcon *tcon, 66 struct cifs_tcon *tcon, 72 struct cifs_tcon *tcon, 76 extern int smb2_set_path_size(const unsigned int xid, struct cifs_tcon *tcon, 83 umode_t mode, struct cifs_tcon *tcon, 87 umode_t mode, struct cifs_tcon *tcon, 91 struct cifs_tcon *tcon, const unsigned int xid); 92 extern int smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon, 94 extern int smb2_unlink(const unsigned int xid, struct cifs_tcon *tcon, [all …]
|
| D | smb2inode.c | 172 static int smb2_compound_op(const unsigned int xid, struct cifs_tcon *tcon, in smb2_compound_op() argument 183 struct cifs_ses *ses = tcon->ses; in smb2_compound_op() 214 if (smb3_encryption_required(tcon)) in smb2_compound_op() 256 rc = SMB2_open_init(tcon, server, in smb2_compound_op() 263 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op() 276 rc = SMB2_query_info_init(tcon, server, in smb2_compound_op() 285 rc = SMB2_query_info_init(tcon, server, in smb2_compound_op() 295 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op() 301 trace_smb3_query_info_compound_enter(xid, tcon->tid, in smb2_compound_op() 310 rc = SMB2_query_info_init(tcon, server, in smb2_compound_op() [all …]
|
| D | dfs.c | 70 * release it as any new DFS referrals must go through its IPC tcon. 216 struct cifs_tcon *tcon; in __dfs_mount_share() local 234 else if (WARN_ON(!mnt_ctx->tcon)) in __dfs_mount_share() 240 tcon = mnt_ctx->tcon; in __dfs_mount_share() 241 spin_lock(&tcon->tc_lock); in __dfs_mount_share() 242 tcon->origin_fullpath = origin_fullpath; in __dfs_mount_share() 244 ref_walk_set_tcon(rw, tcon); in __dfs_mount_share() 245 spin_unlock(&tcon->tc_lock); in __dfs_mount_share() 246 queue_delayed_work(dfscache_wq, &tcon->dfs_cache_work, in __dfs_mount_share() 349 struct cifs_tcon *tcon, in tree_connect_dfs_target() argument [all …]
|
| D | smb1ops.c | 433 cifs_negotiate_wsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in cifs_negotiate_wsize() argument 435 __u64 unix_cap = le64_to_cpu(tcon->fsUnixInfo.Capability); in cifs_negotiate_wsize() 436 struct TCP_Server_Info *server = tcon->ses->server; in cifs_negotiate_wsize() 442 else if (tcon->unix_ext && (unix_cap & CIFS_UNIX_LARGE_WRITE_CAP)) in cifs_negotiate_wsize() 448 if (!tcon->unix_ext || !(unix_cap & CIFS_UNIX_LARGE_WRITE_CAP)) in cifs_negotiate_wsize() 468 cifs_negotiate_rsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in cifs_negotiate_rsize() argument 470 __u64 unix_cap = le64_to_cpu(tcon->fsUnixInfo.Capability); in cifs_negotiate_rsize() 471 struct TCP_Server_Info *server = tcon->ses->server; in cifs_negotiate_rsize() 486 if (tcon->unix_ext && (unix_cap & CIFS_UNIX_LARGE_READ_CAP)) in cifs_negotiate_rsize() 509 cifs_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon, in cifs_qfs_tcon() argument [all …]
|
| D | fscache.c | 26 struct cifs_tcon *tcon, in cifs_fscache_fill_volume_coherency() argument 30 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 …]
|
| D | cifsproto.h | 82 struct cifs_tcon *tcon, 159 extern int cifs_get_writable_path(struct cifs_tcon *tcon, const char *name, 163 extern int cifs_get_readable_path(struct cifs_tcon *tcon, const char *name, 165 extern int cifs_get_hardlink_path(struct cifs_tcon *tcon, struct inode *inode, 276 extern void cifs_mark_open_files_invalid(struct cifs_tcon *tcon); 277 extern void cifs_reopen_persistent_handles(struct cifs_tcon *tcon); 314 extern void cifs_put_tcon(struct cifs_tcon *tcon, enum smb3_tcon_ref_trace trace); 325 extern int cifs_tree_connect(const unsigned int xid, struct cifs_tcon *tcon, 340 const char *tree, struct cifs_tcon *tcon, 343 extern int CIFSFindFirst(const unsigned int xid, struct cifs_tcon *tcon, [all …]
|
| D | cifs_swn.c | 32 struct cifs_tcon *tcon; member 35 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() 114 if (swnreg->tcon->ses->server->use_swn_dstaddr) in cifs_swn_send_register_message() [all …]
|
| D | smb2pdu.c | 73 int smb3_encryption_required(const struct cifs_tcon *tcon) in smb3_encryption_required() argument 75 if (!tcon || !tcon->ses) in smb3_encryption_required() 77 if ((tcon->ses->session_flags & SMB2_SESSION_FLAG_ENCRYPT_DATA) || in smb3_encryption_required() 78 (tcon->share_flags & SHI1005_FLAGS_ENCRYPT_DATA)) in smb3_encryption_required() 80 if (tcon->seal && in smb3_encryption_required() 81 (tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_ENCRYPTION)) in smb3_encryption_required() 84 (tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_ENCRYPTION)) in smb3_encryption_required() 91 const struct cifs_tcon *tcon, in smb2_hdr_assemble() argument 129 if (!tcon) in smb2_hdr_assemble() 138 shdr->Id.SyncId.TreeId = cpu_to_le32(tcon->tid); in smb2_hdr_assemble() [all …]
|