Home
last modified time | relevance | path

Searched full:tcon (Results 1 – 25 of 150) sorted by relevance

123456

/openbmc/linux/drivers/gpu/drm/sun4i/
H A Dsun4i_tcon.c84 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 …]
H A Dsun8i_tcon_top.c14 #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 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()
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 …]
/openbmc/linux/Documentation/devicetree/bindings/display/
H A Dallwinner,sun4i-a10-tcon.yaml4 $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 Dallwinner,sun8i-r40-tcon-top.yaml4 $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 …]
/openbmc/linux/drivers/gpu/drm/fsl-dcu/
H A Dfsl_tcon.c7 * 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 …]
/openbmc/linux/fs/smb/client/
H A Dioctl.c31 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 …]
H A Dsmb2proto.h54 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 …]
H A Dsmb2inode.c172 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 …]
H A Ddfs.c70 * release it as any new DFS referrals must go through its IPC tcon.
217 struct cifs_tcon *tcon; in __dfs_mount_share() local
236 else if (WARN_ON(!mnt_ctx->tcon)) in __dfs_mount_share()
242 tcon = mnt_ctx->tcon; in __dfs_mount_share()
243 spin_lock(&tcon->tc_lock); in __dfs_mount_share()
244 if (!tcon->origin_fullpath) { in __dfs_mount_share()
245 tcon->origin_fullpath = origin_fullpath; in __dfs_mount_share()
250 spin_unlock(&tcon->tc_lock); in __dfs_mount_share()
253 queue_delayed_work(dfscache_wq, &tcon->dfs_cache_work, in __dfs_mount_share()
352 struct cifs_tcon *tcon, in tree_connect_dfs_target() argument
[all …]
H A Dsmb1ops.c433 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 …]
H A Dfscache.c26 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 …]
H A Dcifsproto.h82 struct cifs_tcon *tcon,
158 extern int cifs_get_writable_path(struct cifs_tcon *tcon, const char *name,
162 extern int cifs_get_readable_path(struct cifs_tcon *tcon, const char *name,
164 extern int cifs_get_hardlink_path(struct cifs_tcon *tcon, struct inode *inode,
275 extern void cifs_mark_open_files_invalid(struct cifs_tcon *tcon);
276 extern void cifs_reopen_persistent_handles(struct cifs_tcon *tcon);
313 extern void cifs_put_tcon(struct cifs_tcon *tcon, enum smb3_tcon_ref_trace trace);
324 extern int cifs_tree_connect(const unsigned int xid, struct cifs_tcon *tcon,
339 const char *tree, struct cifs_tcon *tcon,
342 extern int CIFSFindFirst(const unsigned int xid, struct cifs_tcon *tcon,
[all …]
H A Dcifs_swn.c32 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 …]
H A Dsmb2pdu.c73 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()
213 smb2_reconnect(__le16 smb2_command,struct cifs_tcon * tcon,struct TCP_Server_Info * server,bool from_reconnect) smb2_reconnect() argument
501 fill_small_buf(__le16 smb2_command,struct cifs_tcon * tcon,struct TCP_Server_Info * server,void * buf,unsigned int * total_len) fill_small_buf() argument
527 __smb2_plain_req_init(__le16 smb2_command,struct cifs_tcon * tcon,struct TCP_Server_Info * server,void ** request_buf,unsigned int * total_len) __smb2_plain_req_init() argument
559 smb2_plain_req_init(__le16 smb2_command,struct cifs_tcon * tcon,struct TCP_Server_Info * server,void ** request_buf,unsigned int * total_len) smb2_plain_req_init() argument
573 smb2_ioctl_req_init(u32 opcode,struct cifs_tcon * tcon,struct TCP_Server_Info * server,void ** request_buf,unsigned int * total_len) smb2_ioctl_req_init() argument
1279 smb3_validate_negotiate(const unsigned int xid,struct cifs_tcon * tcon) smb3_validate_negotiate() argument
2013 cifs_stats_fail_inc(struct cifs_tcon * tcon,uint16_t code) cifs_stats_fail_inc() argument
2021 init_copy_chunk_defaults(struct cifs_tcon * tcon) init_copy_chunk_defaults() argument
2030 SMB2_tcon(const unsigned int xid,struct cifs_ses * ses,const char * tree,struct cifs_tcon * tcon,const struct nls_table * cp) SMB2_tcon() argument
2170 SMB2_tdis(const unsigned int xid,struct cifs_tcon * tcon) SMB2_tdis() argument
2814 smb311_posix_mkdir(const unsigned int xid,struct inode * inode,umode_t mode,struct cifs_tcon * tcon,const char * full_path,struct cifs_sb_info * cifs_sb) smb311_posix_mkdir() argument
2997 SMB2_open_init(struct cifs_tcon * tcon,struct TCP_Server_Info * server,struct smb_rqst * rqst,__u8 * oplock,struct cifs_open_parms * oparms,__le16 * path) SMB2_open_init() argument
3187 struct cifs_tcon *tcon = oparms->tcon; SMB2_open() local
3288 SMB2_ioctl_init(struct cifs_tcon * tcon,struct TCP_Server_Info * server,struct smb_rqst * rqst,u64 persistent_fid,u64 volatile_fid,u32 opcode,char * in_data,u32 indatalen,__u32 max_response_size) SMB2_ioctl_init() argument
3403 SMB2_ioctl(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid,u32 opcode,char * in_data,u32 indatalen,u32 max_out_data_len,char ** out_data,u32 * plen) SMB2_ioctl() argument
3542 SMB2_set_compression(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid) SMB2_set_compression() argument
3564 SMB2_close_init(struct cifs_tcon * tcon,struct TCP_Server_Info * server,struct smb_rqst * rqst,u64 persistent_fid,u64 volatile_fid,bool query_attrs) SMB2_close_init() argument
3598 __SMB2_close(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid,struct smb2_file_network_open_info * pbuf) __SMB2_close() argument
3689 SMB2_close(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid) SMB2_close() argument
3751 SMB2_query_info_init(struct cifs_tcon * tcon,struct TCP_Server_Info * server,struct smb_rqst * rqst,u64 persistent_fid,u64 volatile_fid,u8 info_class,u8 info_type,u32 additional_info,size_t output_len,size_t input_len,void * input) SMB2_query_info_init() argument
3800 query_info(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid,u8 info_class,u8 info_type,u32 additional_info,size_t output_len,size_t min_len,void ** data,u32 * dlen) query_info() argument
3902 SMB2_query_info(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid,struct smb2_file_all_info * data) SMB2_query_info() argument
3930 SMB2_query_acl(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid,void ** data,u32 * plen,u32 extra_info) SMB2_query_acl() argument
3944 SMB2_get_srv_num(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid,__le64 * uniqueid) SMB2_get_srv_num() argument
3961 SMB2_notify_init(const unsigned int xid,struct smb_rqst * rqst,struct cifs_tcon * tcon,struct TCP_Server_Info * server,u64 persistent_fid,u64 volatile_fid,u32 completion_filter,bool watch_tree) SMB2_notify_init() argument
3993 SMB2_change_notify(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid,bool watch_tree,u32 completion_filter,u32 max_out_data_len,char ** out_data,u32 * plen) SMB2_change_notify() argument
4115 struct cifs_tcon *tcon, *tcon2; smb2_reconnect_server() local
4294 SMB2_flush_init(const unsigned int xid,struct smb_rqst * rqst,struct cifs_tcon * tcon,struct TCP_Server_Info * server,u64 persistent_fid,u64 volatile_fid) SMB2_flush_init() argument
4317 SMB2_flush(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid) SMB2_flush() argument
4383 struct cifs_tcon *tcon = io_parms->tcon; smb3_use_rdma_offload() local
4508 struct cifs_tcon *tcon = tlink_tcon(rdata->cfile->tlink); smb2_readv_callback() local
4603 struct cifs_tcon *tcon = tlink_tcon(rdata->cfile->tlink); smb2_async_readv() local
4760 struct cifs_tcon *tcon = tlink_tcon(wdata->cfile->tlink); smb2_writev_callback() local
4846 struct cifs_tcon *tcon = tlink_tcon(wdata->cfile->tlink); smb2_async_writev() local
5246 SMB2_query_directory_init(const unsigned int xid,struct cifs_tcon * tcon,struct TCP_Server_Info * server,struct smb_rqst * rqst,u64 persistent_fid,u64 volatile_fid,int index,int info_level) SMB2_query_directory_init() argument
5326 smb2_parse_query_directory(struct cifs_tcon * tcon,struct kvec * rsp_iov,int resp_buftype,struct cifs_search_info * srch_inf) smb2_parse_query_directory() argument
5401 SMB2_query_directory(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid,int index,struct cifs_search_info * srch_inf) SMB2_query_directory() argument
5485 SMB2_set_info_init(struct cifs_tcon * tcon,struct TCP_Server_Info * server,struct smb_rqst * rqst,u64 persistent_fid,u64 volatile_fid,u32 pid,u8 info_class,u8 info_type,u32 additional_info,void ** data,unsigned int * size) SMB2_set_info_init() argument
5535 send_set_info(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid,u32 pid,u8 info_class,u8 info_type,u32 additional_info,unsigned int num,void ** data,unsigned int * size) send_set_info() argument
5608 SMB2_set_eof(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid,u32 pid,loff_t new_eof) SMB2_set_eof() argument
5628 SMB2_set_acl(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid,struct smb_ntsd * pnntsd,int pacllen,int aclflag) SMB2_set_acl() argument
5638 SMB2_set_ea(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid,struct smb2_file_full_ea_info * buf,int len) SMB2_set_ea() argument
5648 SMB2_oplock_break(const unsigned int xid,struct cifs_tcon * tcon,const u64 persistent_fid,const u64 volatile_fid,__u8 oplock_level) SMB2_oplock_break() argument
5742 build_qfs_info_req(struct kvec * iov,struct cifs_tcon * tcon,struct TCP_Server_Info * server,int level,int outbuf_len,u64 persistent_fid,u64 volatile_fid) build_qfs_info_req() argument
5782 SMB311_posix_qfs_info(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid,struct kstatfs * fsdata) SMB311_posix_qfs_info() argument
5847 SMB2_QFS_info(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid,struct kstatfs * fsdata) SMB2_QFS_info() argument
5912 SMB2_QFS_attr(const unsigned int xid,struct cifs_tcon * tcon,u64 persistent_fid,u64 volatile_fid,int level) SMB2_QFS_attr() argument
6011 smb2_lockv(const unsigned int xid,struct cifs_tcon * tcon,const __u64 persist_fid,const __u64 volatile_fid,const __u32 pid,const __u32 num_lock,struct smb2_lock_element * buf) smb2_lockv() argument
6083 SMB2_lock(const unsigned int xid,struct cifs_tcon * tcon,const __u64 persist_fid,const __u64 volatile_fid,const __u32 pid,const __u64 length,const __u64 offset,const __u32 lock_flags,const bool wait) SMB2_lock() argument
6100 SMB2_lease_break(const unsigned int xid,struct cifs_tcon * tcon,__u8 * lease_key,const __le32 lease_state) SMB2_lease_break() argument
[all...]
H A Dlink.c160 create_mf_symlink(const unsigned int xid, struct cifs_tcon *tcon, in create_mf_symlink() argument
176 if (tcon->ses->server->ops->create_mf_symlink) in create_mf_symlink()
177 rc = tcon->ses->server->ops->create_mf_symlink(xid, tcon, in create_mf_symlink()
193 check_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in check_mf_symlink() argument
211 if (tcon->ses->server->ops->query_mf_symlink) in check_mf_symlink()
212 rc = tcon->ses->server->ops->query_mf_symlink(xid, tcon, in check_mf_symlink()
250 cifs_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in cifs_query_mf_symlink() argument
263 .tcon = tcon, in cifs_query_mf_symlink()
272 rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, &query_data); in cifs_query_mf_symlink()
284 io_parms.tcon = tcon; in cifs_query_mf_symlink()
[all …]
H A Dsmb2ops.c446 smb2_negotiate_wsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb2_negotiate_wsize() argument
448 struct TCP_Server_Info *server = tcon->ses->server; in smb2_negotiate_wsize()
461 smb3_negotiate_wsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb3_negotiate_wsize() argument
463 struct TCP_Server_Info *server = tcon->ses->server; in smb3_negotiate_wsize()
493 smb2_negotiate_rsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb2_negotiate_rsize() argument
495 struct TCP_Server_Info *server = tcon->ses->server; in smb2_negotiate_rsize()
509 smb3_negotiate_rsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb3_negotiate_rsize() argument
511 struct TCP_Server_Info *server = tcon->ses->server; in smb3_negotiate_rsize()
768 SMB3_request_interfaces(const unsigned int xid, struct cifs_tcon *tcon, bool in_mount) in SMB3_request_interfaces() argument
773 struct cifs_ses *ses = tcon->ses; in SMB3_request_interfaces()
[all …]
H A Dconnect.c120 struct cifs_tcon *tcon = container_of(work, in smb2_query_server_interfaces() local
123 struct TCP_Server_Info *server = tcon->ses->server; in smb2_query_server_interfaces()
132 rc = server->ops->query_server_interfaces(xid, tcon, false); in smb2_query_server_interfaces()
139 queue_delayed_work(cifsiod_wq, &tcon->query_interfaces, in smb2_query_server_interfaces()
207 struct cifs_tcon *tcon; in cifs_mark_tcp_ses_conns_for_reconnect()
266 /* If all channels need reconnect, then tcon needs reconnect */ in cifs_mark_tcp_ses_conns_for_reconnect()
277 list_for_each_entry(tcon, &ses->tcon_list, tcon_list) { in cifs_mark_tcp_ses_conns_for_reconnect()
278 tcon->need_reconnect = true; in cifs_mark_tcp_ses_conns_for_reconnect()
279 spin_lock(&tcon->tc_lock); in cifs_mark_tcp_ses_conns_for_reconnect()
280 tcon in cifs_mark_tcp_ses_conns_for_reconnect()
211 struct cifs_tcon *tcon; cifs_mark_tcp_ses_conns_for_reconnect() local
1968 struct cifs_tcon *tcon; cifs_setup_ipc() local
2050 struct cifs_tcon *tcon; __cifs_put_smb_ses() local
2454 match_tcon(struct cifs_tcon * tcon,struct smb3_fs_context * ctx) match_tcon() argument
2488 struct cifs_tcon *tcon; cifs_find_tcon() local
2509 cifs_put_tcon(struct cifs_tcon * tcon,enum smb3_tcon_ref_trace trace) cifs_put_tcon() argument
2591 struct cifs_tcon *tcon; cifs_get_tcon() local
2885 match_prepath(struct super_block * sb,struct cifs_tcon * tcon,struct cifs_mnt_data * mnt_data) match_prepath() argument
2916 struct cifs_tcon *tcon; cifs_match_super() local
3248 reset_cifs_unix_caps(unsigned int xid,struct cifs_tcon * tcon,struct cifs_sb_info * cifs_sb,struct smb3_fs_context * ctx) reset_cifs_unix_caps() argument
3478 struct cifs_tcon *tcon = NULL; cifs_mount_get_tcon() local
3573 mount_setup_tlink(struct cifs_sb_info * cifs_sb,struct cifs_ses * ses,struct cifs_tcon * tcon) mount_setup_tlink() argument
3601 cifs_are_all_path_components_accessible(struct TCP_Server_Info * server,unsigned int xid,struct cifs_tcon * tcon,struct cifs_sb_info * cifs_sb,char * full_path,int added_treename) cifs_are_all_path_components_accessible() argument
3656 struct cifs_tcon *tcon = mnt_ctx->tcon; cifs_is_path_remote() local
3784 CIFSTCon(const unsigned int xid,struct cifs_ses * ses,const char * tree,struct cifs_tcon * tcon,const struct nls_table * nls_codepage) CIFSTCon() argument
4123 struct cifs_tcon *tcon = NULL; __cifs_construct_tcon() local
4411 cifs_tree_connect(const unsigned int xid,struct cifs_tcon * tcon,const struct nls_table * nlsc) cifs_tree_connect() argument
[all...]
H A Dcached_dir.c133 int open_cached_dir(unsigned int xid, struct cifs_tcon *tcon, in open_cached_dir() argument
158 if (tcon == NULL || tcon->cfids == NULL || tcon->nohandlecache || in open_cached_dir()
159 is_smb1_server(tcon->ses->server) || (dir_cache_timeout == 0)) in open_cached_dir()
162 ses = tcon->ses; in open_cached_dir()
163 cfids = tcon->cfids; in open_cached_dir()
182 cfid = find_or_create_cached_dir(cfids, path, lookup_only, tcon->max_cached_dirs); in open_cached_dir()
224 cfid->tcon = tcon; in open_cached_dir()
383 open_cached_dir_by_dentry(struct cifs_tcon * tcon,struct dentry * dentry,struct cached_fid ** ret_cfid) open_cached_dir_by_dentry() argument
435 drop_cached_dir_by_name(const unsigned int xid,struct cifs_tcon * tcon,const char * name,struct cifs_sb_info * cifs_sb) drop_cached_dir_by_name() argument
469 struct cifs_tcon *tcon; close_all_cached_dirs() local
514 invalidate_all_cached_dirs(struct cifs_tcon * tcon) invalidate_all_cached_dirs() argument
555 struct cifs_tcon *tcon = cfid->tcon; cached_dir_offload_close() local
585 cached_dir_lease_break(struct cifs_tcon * tcon,__u8 lease_key[16]) cached_dir_lease_break() argument
[all...]
H A Ddir.c40 struct cifs_tcon *tcon, int add_treename) in cifs_build_path_to_root() argument
53 dfsplen = strnlen(tcon->tree_name, MAX_TREE_SIZE + 1); in cifs_build_path_to_root()
62 memcpy(full_path, tcon->tree_name, dfsplen); in cifs_build_path_to_root()
74 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in build_path_from_dentry() local
75 bool prefix = tcon->Flags & SMB_SHARE_IS_IN_DFS; in build_path_from_dentry()
141 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in build_path_from_dentry_optional_prefix() local
143 return __build_path_from_dentry_optional_prefix(direntry, page, tcon->tree_name, in build_path_from_dentry_optional_prefix()
153 check_name(struct dentry *direntry, struct cifs_tcon *tcon) in check_name() argument
158 if (unlikely(tcon->fsAttrInfo.MaxPathNameComponentLength && in check_name()
160 le32_to_cpu(tcon->fsAttrInfo.MaxPathNameComponentLength))) in check_name()
[all …]
H A Dsmb2misc.c541 smb2_tcon_has_lease(struct cifs_tcon *tcon, struct smb2_lease_break *rsp) in smb2_tcon_has_lease() argument
551 list_for_each_entry(cfile, &tcon->openFileList, tlist) { in smb2_tcon_has_lease()
580 smb2_tcon_find_pending_open_lease(struct cifs_tcon *tcon, in smb2_tcon_find_pending_open_lease() argument
589 list_for_each_entry(open, &tcon->pending_opens, olist) { in smb2_tcon_find_pending_open_lease()
614 struct cifs_tcon *tcon; in smb2_is_valid_lease_break() local
622 /* look up tcon based on tid & uid */ in smb2_is_valid_lease_break()
627 list_for_each_entry(tcon, &ses->tcon_list, tcon_list) { in smb2_is_valid_lease_break()
628 spin_lock(&tcon->open_file_lock); in smb2_is_valid_lease_break()
630 &tcon->stats.cifs_stats.num_oplock_brks); in smb2_is_valid_lease_break()
631 if (smb2_tcon_has_lease(tcon, rsp)) { in smb2_is_valid_lease_break()
[all …]
H A Dcifssmb.c67 /* reconnect the socket, tcon, and smb session if needed */
69 cifs_reconnect_tcon(struct cifs_tcon *tcon, int smb_command) in cifs_reconnect_tcon() argument
77 * SMBs NegProt, SessSetup, uLogoff do not have tcon yet so check for in cifs_reconnect_tcon()
81 if (!tcon) in cifs_reconnect_tcon()
84 ses = tcon->ses; in cifs_reconnect_tcon()
89 * have tcon) are allowed as we start umount in cifs_reconnect_tcon()
91 spin_lock(&tcon->tc_lock); in cifs_reconnect_tcon()
92 if (tcon->status == TID_EXITING) { in cifs_reconnect_tcon()
94 spin_unlock(&tcon->tc_lock); in cifs_reconnect_tcon()
100 spin_unlock(&tcon->tc_lock); in cifs_reconnect_tcon()
[all …]
H A Dinode.c387 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in cifs_get_file_info_unix() local
399 rc = CIFSSMBUnixQFileInfo(xid, tcon, cfile->fid.netfid, &find_data); in cifs_get_file_info_unix()
423 struct cifs_tcon *tcon; in cifs_get_unix_fattr() local
432 tcon = tlink_tcon(tlink); in cifs_get_unix_fattr()
433 server = tcon->ses->server; in cifs_get_unix_fattr()
436 rc = CIFSSMBUnixQPathInfo(xid, tcon, full_path, &find_data, in cifs_get_unix_fattr()
455 tmprc = check_mf_symlink(xid, tcon, cifs_sb, fattr, full_path); in cifs_get_unix_fattr()
462 rc = server->ops->query_symlink(xid, tcon, in cifs_get_unix_fattr()
511 struct cifs_tcon *tcon; in cifs_sfu_type() local
537 tcon = tlink_tcon(tlink); in cifs_sfu_type()
[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()
36 tcon &= ~TCON_START(pwm_id); 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()
[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()

123456