Home
last modified time | relevance | path

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

1234

/Linux-v5.15/drivers/gpu/drm/sun4i/
Dsun4i_tcon.c83 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 …]
Dsun4i_dotclock.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 …]
Dsun4i_rgb.c27 struct sun4i_tcon *tcon; member
66 struct sun4i_tcon *tcon = rgb->tcon; in sun4i_rgb_mode_valid() local
121 tcon->dclk_min_div = 6; in sun4i_rgb_mode_valid()
122 tcon->dclk_max_div = 127; in sun4i_rgb_mode_valid()
123 rounded_rate = clk_round_rate(tcon->dclk, rate); in sun4i_rgb_mode_valid()
189 int sun4i_rgb_init(struct drm_device *drm, struct sun4i_tcon *tcon) in sun4i_rgb_init() argument
198 rgb->tcon = tcon; in sun4i_rgb_init()
201 ret = drm_of_find_panel_or_bridge(tcon->dev->of_node, 1, 0, in sun4i_rgb_init()
218 rgb->encoder.possible_crtcs = drm_crtc_mask(&tcon->crtc->crtc); in sun4i_rgb_init()
/Linux-v5.15/fs/cifs/
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_fsinfo(unsigned int xid, struct cifs_tcon *tcon, in smb_mnt_get_fsinfo() argument
131 fsinf->protocol_id = tcon->ses->server->vals->protocol_id; in smb_mnt_get_fsinfo()
133 le32_to_cpu(tcon->fsDevInfo.DeviceCharacteristics); in smb_mnt_get_fsinfo()
134 fsinf->device_type = le32_to_cpu(tcon->fsDevInfo.DeviceType); in smb_mnt_get_fsinfo()
135 fsinf->fs_attributes = le32_to_cpu(tcon->fsAttrInfo.Attributes); in smb_mnt_get_fsinfo()
137 le32_to_cpu(tcon->fsAttrInfo.MaxPathNameComponentLength); in smb_mnt_get_fsinfo()
[all …]
Dsmb2inode.c50 smb2_compound_op(const unsigned int xid, struct cifs_tcon *tcon, in smb2_compound_op() argument
63 struct cifs_ses *ses = tcon->ses; in smb2_compound_op()
82 if (smb3_encryption_required(tcon)) in smb2_compound_op()
98 vars->oparms.tcon = tcon; in smb2_compound_op()
109 rc = SMB2_open_init(tcon, server, in smb2_compound_op()
116 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
128 rc = SMB2_query_info_init(tcon, server, in smb2_compound_op()
137 rc = SMB2_query_info_init(tcon, server, in smb2_compound_op()
146 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op()
154 trace_smb3_query_info_compound_enter(xid, ses->Suid, tcon->tid, in smb2_compound_op()
[all …]
Dsmb1ops.c432 cifs_negotiate_wsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in cifs_negotiate_wsize() argument
434 __u64 unix_cap = le64_to_cpu(tcon->fsUnixInfo.Capability); in cifs_negotiate_wsize()
435 struct TCP_Server_Info *server = tcon->ses->server; in cifs_negotiate_wsize()
441 else if (tcon->unix_ext && (unix_cap & CIFS_UNIX_LARGE_WRITE_CAP)) in cifs_negotiate_wsize()
447 if (!tcon->unix_ext || !(unix_cap & CIFS_UNIX_LARGE_WRITE_CAP)) in cifs_negotiate_wsize()
467 cifs_negotiate_rsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in cifs_negotiate_rsize() argument
469 __u64 unix_cap = le64_to_cpu(tcon->fsUnixInfo.Capability); in cifs_negotiate_rsize()
470 struct TCP_Server_Info *server = tcon->ses->server; in cifs_negotiate_rsize()
485 if (tcon->unix_ext && (unix_cap & CIFS_UNIX_LARGE_READ_CAP)) in cifs_negotiate_rsize()
508 cifs_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon, in cifs_qfs_tcon() argument
[all …]
Dsmb2proto.h57 extern int open_cached_dir(unsigned int xid, struct cifs_tcon *tcon,
61 extern int open_cached_dir_by_dentry(struct cifs_tcon *tcon,
69 extern int smb2_query_reparse_tag(const unsigned int xid, struct cifs_tcon *tcon,
72 extern int smb2_query_path_info(const unsigned int xid, struct cifs_tcon *tcon,
76 extern int smb2_set_path_size(const unsigned int xid, struct cifs_tcon *tcon,
82 umode_t mode, struct cifs_tcon *tcon,
86 umode_t mode, struct cifs_tcon *tcon,
90 struct cifs_tcon *tcon, const unsigned int xid);
91 extern int smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon,
93 extern int smb2_unlink(const unsigned int xid, struct cifs_tcon *tcon,
[all …]
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 …]
Dcifsproto.h75 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,
243 extern void cifs_mark_open_files_invalid(struct cifs_tcon *tcon);
244 extern void cifs_reopen_persistent_handles(struct cifs_tcon *tcon);
276 extern void cifs_put_tcon(struct cifs_tcon *tcon);
291 extern int cifs_tree_connect(const unsigned int xid, struct cifs_tcon *tcon,
302 const char *tree, struct cifs_tcon *tcon,
305 extern int CIFSFindFirst(const unsigned int xid, struct cifs_tcon *tcon,
311 extern int CIFSFindNext(const unsigned int xid, struct cifs_tcon *tcon,
[all …]
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()
88 const struct cifs_tcon *tcon, in smb2_hdr_assemble() argument
109 if (!tcon) in smb2_hdr_assemble()
118 shdr->TreeId = tcon->tid; in smb2_hdr_assemble()
120 if (tcon->ses) in smb2_hdr_assemble()
[all …]
Dlink.c170 create_mf_symlink(const unsigned int xid, struct cifs_tcon *tcon, in create_mf_symlink() argument
186 if (tcon->ses->server->ops->create_mf_symlink) in create_mf_symlink()
187 rc = tcon->ses->server->ops->create_mf_symlink(xid, tcon, in create_mf_symlink()
203 query_mf_symlink(const unsigned int xid, struct cifs_tcon *tcon, in query_mf_symlink() argument
216 if (tcon->ses->server->ops->query_mf_symlink) in query_mf_symlink()
217 rc = tcon->ses->server->ops->query_mf_symlink(xid, tcon, in query_mf_symlink()
237 check_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in check_mf_symlink() argument
254 if (tcon->ses->server->ops->query_mf_symlink) in check_mf_symlink()
255 rc = tcon->ses->server->ops->query_mf_symlink(xid, tcon, in check_mf_symlink()
291 cifs_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in cifs_query_mf_symlink() argument
[all …]
Dsmb2misc.c532 smb2_tcon_has_lease(struct cifs_tcon *tcon, struct smb2_lease_break *rsp) in smb2_tcon_has_lease() argument
542 list_for_each_entry(cfile, &tcon->openFileList, tlist) { in smb2_tcon_has_lease()
571 smb2_tcon_find_pending_open_lease(struct cifs_tcon *tcon, in smb2_tcon_find_pending_open_lease() argument
580 list_for_each_entry(open, &tcon->pending_opens, olist) { in smb2_tcon_find_pending_open_lease()
605 struct cifs_tcon *tcon; in smb2_is_valid_lease_break() local
614 list_for_each_entry(tcon, &ses->tcon_list, tcon_list) { in smb2_is_valid_lease_break()
615 spin_lock(&tcon->open_file_lock); in smb2_is_valid_lease_break()
617 &tcon->stats.cifs_stats.num_oplock_brks); in smb2_is_valid_lease_break()
618 if (smb2_tcon_has_lease(tcon, rsp)) { in smb2_is_valid_lease_break()
619 spin_unlock(&tcon->open_file_lock); in smb2_is_valid_lease_break()
[all …]
Dsmb2ops.c402 smb2_negotiate_wsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb2_negotiate_wsize() argument
404 struct TCP_Server_Info *server = tcon->ses->server; in smb2_negotiate_wsize()
417 smb3_negotiate_wsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb3_negotiate_wsize() argument
419 struct TCP_Server_Info *server = tcon->ses->server; in smb3_negotiate_wsize()
449 smb2_negotiate_rsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb2_negotiate_rsize() argument
451 struct TCP_Server_Info *server = tcon->ses->server; in smb2_negotiate_rsize()
465 smb3_negotiate_rsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb3_negotiate_rsize() argument
467 struct TCP_Server_Info *server = tcon->ses->server; in smb3_negotiate_rsize()
640 SMB3_request_interfaces(const unsigned int xid, struct cifs_tcon *tcon) in SMB3_request_interfaces() argument
647 struct cifs_ses *ses = tcon->ses; in SMB3_request_interfaces()
[all …]
Dconnect.c216 struct cifs_tcon *tcon; in cifs_reconnect() local
281 tcon = list_entry(tmp2, struct cifs_tcon, tcon_list); in cifs_reconnect()
282 tcon->need_reconnect = true; in cifs_reconnect()
1563 struct cifs_tcon *tcon; in cifs_setup_ipc() local
1582 tcon = tconInfoAlloc(); in cifs_setup_ipc()
1583 if (tcon == NULL) in cifs_setup_ipc()
1589 tcon->ses = ses; in cifs_setup_ipc()
1590 tcon->ipc = true; in cifs_setup_ipc()
1591 tcon->seal = seal; in cifs_setup_ipc()
1592 rc = server->ops->tree_connect(xid, ses, unc, tcon, ctx->local_nls); in cifs_setup_ipc()
[all …]
Ddir.c39 struct cifs_tcon *tcon, int add_treename) in cifs_build_path_to_root() argument
52 dfsplen = strnlen(tcon->treeName, MAX_TREE_SIZE + 1); in cifs_build_path_to_root()
61 memcpy(full_path, tcon->treeName, dfsplen); in cifs_build_path_to_root()
73 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in build_path_from_dentry() local
74 bool prefix = tcon->Flags & SMB_SHARE_IS_IN_DFS; in build_path_from_dentry()
87 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in build_path_from_dentry_optional_prefix() local
95 dfsplen = strnlen(tcon->treeName, MAX_TREE_SIZE + 1); in build_path_from_dentry_optional_prefix()
125 memcpy(s, tcon->treeName, dfsplen); in build_path_from_dentry_optional_prefix()
143 check_name(struct dentry *direntry, struct cifs_tcon *tcon) in check_name() argument
148 if (unlikely(tcon->fsAttrInfo.MaxPathNameComponentLength && in check_name()
[all …]
Dinode.c348 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); local
351 rc = CIFSSMBUnixQFileInfo(xid, tcon, cfile->fid.netfid, &find_data);
374 struct cifs_tcon *tcon; local
383 tcon = tlink_tcon(tlink);
386 rc = CIFSSMBUnixQPathInfo(xid, tcon, full_path, &find_data,
401 int tmprc = check_mf_symlink(xid, tcon, cifs_sb, &fattr,
439 struct cifs_tcon *tcon; local
465 tcon = tlink_tcon(tlink);
467 oparms.tcon = tcon;
476 if (tcon->ses->server->oplocks)
[all …]
Dfscache.c84 void cifs_fscache_get_super_cookie(struct cifs_tcon *tcon) in cifs_fscache_get_super_cookie() argument
86 struct TCP_Server_Info *server = tcon->ses->server; in cifs_fscache_get_super_cookie()
90 sharename = extract_sharename(tcon->treeName); in cifs_fscache_get_super_cookie()
93 tcon->fscache = NULL; in cifs_fscache_get_super_cookie()
98 auxdata.resource_id = tcon->resource_id; in cifs_fscache_get_super_cookie()
99 auxdata.vol_create_time = tcon->vol_create_time; in cifs_fscache_get_super_cookie()
100 auxdata.vol_serial_number = tcon->vol_serial_number; in cifs_fscache_get_super_cookie()
102 tcon->fscache = in cifs_fscache_get_super_cookie()
107 tcon, 0, true); in cifs_fscache_get_super_cookie()
110 __func__, server->fscache, tcon->fscache); in cifs_fscache_get_super_cookie()
[all …]
Dcifsfs.c159 struct cifs_tcon *tcon; in cifs_read_super() local
164 tcon = cifs_sb_master_tcon(cifs_sb); in cifs_read_super()
169 if (tcon->snapshot_time) in cifs_read_super()
172 if (tcon->ses->capabilities & tcon->ses->server->vals->cap_large_files) in cifs_read_super()
184 if ((tcon->ses->server->vals->protocol_id == SMB10_PROT_ID) && in cifs_read_super()
185 ((tcon->ses->capabilities & in cifs_read_super()
186 tcon->ses->server->vals->cap_nt_find) == 0) && in cifs_read_super()
187 !tcon->unix_ext) { in cifs_read_super()
227 if (tcon->nocase) in cifs_read_super()
255 struct cifs_tcon *tcon; in cifs_kill_sb() local
[all …]
Dcifssmb.c70 cifs_mark_open_files_invalid(struct cifs_tcon *tcon) in cifs_mark_open_files_invalid() argument
77 spin_lock(&tcon->open_file_lock); in cifs_mark_open_files_invalid()
78 list_for_each_safe(tmp, tmp1, &tcon->openFileList) { in cifs_mark_open_files_invalid()
83 spin_unlock(&tcon->open_file_lock); in cifs_mark_open_files_invalid()
85 mutex_lock(&tcon->crfid.fid_mutex); in cifs_mark_open_files_invalid()
86 tcon->crfid.is_valid = false; in cifs_mark_open_files_invalid()
88 close_cached_dir_lease_locked(&tcon->crfid); in cifs_mark_open_files_invalid()
89 memset(tcon->crfid.fid, 0, sizeof(struct cifs_fid)); in cifs_mark_open_files_invalid()
90 mutex_unlock(&tcon->crfid.fid_mutex); in cifs_mark_open_files_invalid()
100 cifs_reconnect_tcon(struct cifs_tcon *tcon, int smb_command) in cifs_reconnect_tcon() argument
[all …]
Dcifs_debug.c86 static void cifs_debug_tcon(struct seq_file *m, struct cifs_tcon *tcon) in cifs_debug_tcon() argument
88 __u32 dev_type = le32_to_cpu(tcon->fsDevInfo.DeviceType); in cifs_debug_tcon()
90 seq_printf(m, "%s Mounts: %d ", tcon->treeName, tcon->tc_count); in cifs_debug_tcon()
91 if (tcon->nativeFileSystem) in cifs_debug_tcon()
92 seq_printf(m, "Type: %s ", tcon->nativeFileSystem); in cifs_debug_tcon()
94 le32_to_cpu(tcon->fsDevInfo.DeviceCharacteristics), in cifs_debug_tcon()
95 le32_to_cpu(tcon->fsAttrInfo.Attributes), in cifs_debug_tcon()
96 le32_to_cpu(tcon->fsAttrInfo.MaxPathNameComponentLength), in cifs_debug_tcon()
97 tcon->tidStatus); in cifs_debug_tcon()
105 seq_printf(m, "Serial Number: 0x%x", tcon->vol_serial_number); in cifs_debug_tcon()
[all …]
Dsmb2file.c57 if (oparms->tcon->use_resilient) { in smb2_open_file()
60 cpu_to_le32(oparms->tcon->handle_timeout); in smb2_open_file()
62 rc = SMB2_ioctl(xid, oparms->tcon, fid->persistent_fid, in smb2_open_file()
70 oparms->tcon->use_resilient = false; in smb2_open_file()
80 rc = SMB2_get_srv_num(xid, oparms->tcon, in smb2_open_file()
110 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in smb2_unlock_range() local
122 max_buf = tcon->ses->server->maxBuf; in smb2_unlock_range()
167 stored_rc = smb2_lockv(xid, tcon, in smb2_unlock_range()
192 stored_rc = smb2_lockv(xid, tcon, cfile->fid.persistent_fid, in smb2_unlock_range()
216 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in smb2_push_mand_fdlocks() local
[all …]
Dfile.c113 struct cifs_tcon *tcon; in cifs_posix_open() local
127 tcon = tlink_tcon(tlink); in cifs_posix_open()
131 rc = CIFSPOSIXCreate(xid, tcon, posix_flags, mode, pnetfid, presp_data, in cifs_posix_open()
167 struct cifs_tcon *tcon, unsigned int f_flags, __u32 *oplock, in cifs_nt_open() argument
175 struct TCP_Server_Info *server = tcon->ses->server; in cifs_nt_open()
222 oparms.tcon = tcon; in cifs_nt_open()
237 if (tcon->unix_ext) in cifs_nt_open()
245 server->ops->close(xid, tcon, fid); in cifs_nt_open()
290 struct cifs_tcon *tcon = tlink_tcon(tlink); in cifs_new_fileinfo() local
291 struct TCP_Server_Info *server = tcon->ses->server; in cifs_new_fileinfo()
[all …]
/Linux-v5.15/drivers/gpu/drm/fsl-dcu/
Dfsl_tcon.c19 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()
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
70 tcon = devm_kzalloc(dev, sizeof(*tcon), GFP_KERNEL); in fsl_tcon_init()
71 if (!tcon) in fsl_tcon_init()
[all …]
/Linux-v5.15/drivers/pwm/
Dpwm-samsung.c245 u32 tcon; in pwm_samsung_enable() local
249 tcon = readl(our_chip->base + REG_TCON); in pwm_samsung_enable()
251 tcon &= ~TCON_START(tcon_chan); in pwm_samsung_enable()
252 tcon |= TCON_MANUALUPDATE(tcon_chan); in pwm_samsung_enable()
253 writel(tcon, our_chip->base + REG_TCON); in pwm_samsung_enable()
255 tcon &= ~TCON_MANUALUPDATE(tcon_chan); in pwm_samsung_enable()
256 tcon |= TCON_START(tcon_chan) | TCON_AUTORELOAD(tcon_chan); in pwm_samsung_enable()
257 writel(tcon, our_chip->base + REG_TCON); in pwm_samsung_enable()
271 u32 tcon; in pwm_samsung_disable() local
275 tcon = readl(our_chip->base + REG_TCON); in pwm_samsung_disable()
[all …]
/Linux-v5.15/drivers/clocksource/
Dsamsung_pwm_timer.c121 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()
150 tcon |= TCON_MANUALUPDATE(tcon_chan); in samsung_time_setup()
154 writel_relaxed(tcon, pwm.base + REG_TCON); in samsung_time_setup()
161 unsigned long tcon; in samsung_time_start() local
[all …]

1234