| /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() 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 D | sun4i_rgb.c | 27 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/fs/smb/client/ |
| H A D | smb1ops.c | 21 void reset_cifs_unix_caps(unsigned int xid, struct cifs_tcon *tcon, in reset_cifs_unix_caps() argument 35 __u64 saved_cap = le64_to_cpu(tcon->fsUnixInfo.Capability); in reset_cifs_unix_caps() 38 tcon->fsUnixInfo.Capability = 0; in reset_cifs_unix_caps() 39 tcon->unix_ext = 0; /* Unix Extensions disabled */ in reset_cifs_unix_caps() 43 tcon->unix_ext = 1; /* Unix Extensions supported */ in reset_cifs_unix_caps() 45 if (!tcon->unix_ext) { in reset_cifs_unix_caps() 50 if (!CIFSSMBQFSUnixInfo(xid, tcon)) { in reset_cifs_unix_caps() 51 __u64 cap = le64_to_cpu(tcon->fsUnixInfo.Capability); in reset_cifs_unix_caps() 123 if (CIFSSMBSetFSUnixInfo(xid, tcon, cap)) { in reset_cifs_unix_caps() 424 smb1_negotiate_wsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb1_negotiate_wsize() argument [all …]
|
| H A D | ioctl.c | 30 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_ioctl_query_info() local 56 if (tcon->ses->server->ops->ioctl_query_info) in cifs_ioctl_query_info() 57 rc = tcon->ses->server->ops->ioctl_query_info( in cifs_ioctl_query_info() 58 xid, tcon, cifs_sb, utf16_path, in cifs_ioctl_query_info() 116 static long smb_mnt_get_tcon_info(struct cifs_tcon *tcon, void __user *arg) in smb_mnt_get_tcon_info() argument 121 tcon_inf.tid = tcon->tid; in smb_mnt_get_tcon_info() 122 tcon_inf.session_id = tcon->ses->Suid; in smb_mnt_get_tcon_info() 130 static long smb_mnt_get_fsinfo(unsigned int xid, struct cifs_tcon *tcon, in smb_mnt_get_fsinfo() argument 141 fsinf->protocol_id = tcon->ses->server->vals->protocol_id; in smb_mnt_get_fsinfo() 142 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() 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 D | dfs.c | 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 342 const struct smb_version_operations *ops = tcon->ses->server->ops; in tree_connect_dfs_target() [all …]
|
| H A D | smb2inode.c | 175 static int smb2_compound_op(const unsigned int xid, struct cifs_tcon *tcon, in smb2_compound_op() argument 187 struct cifs_ses *ses = tcon->ses; in smb2_compound_op() 220 if (smb3_encryption_required(tcon)) in smb2_compound_op() 262 rc = SMB2_open_init(tcon, server, in smb2_compound_op() 269 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op() 288 rc = SMB2_query_info_init(tcon, server, in smb2_compound_op() 297 rc = SMB2_query_info_init(tcon, server, in smb2_compound_op() 307 smb2_set_next_command(tcon, &rqst[num_rqst]); in smb2_compound_op() 313 trace_smb3_query_info_compound_enter(xid, tcon->tid, in smb2_compound_op() 322 rc = SMB2_query_info_init(tcon, server, in smb2_compound_op() [all …]
|
| H A D | smb2proto.h | 52 struct cifs_tcon *tcon, 56 int smb2_query_reparse_point(const unsigned int xid, struct cifs_tcon *tcon, 60 int smb2_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, 63 int smb2_set_path_size(const unsigned int xid, struct cifs_tcon *tcon, 70 umode_t mode, struct cifs_tcon *tcon, 73 umode_t mode, struct cifs_tcon *tcon, const char *name, 76 struct cifs_sb_info *cifs_sb, struct cifs_tcon *tcon, 78 int smb2_rmdir(const unsigned int xid, struct cifs_tcon *tcon, 80 int smb2_unlink(const unsigned int xid, struct cifs_tcon *tcon, 83 int smb2_rename_path(const unsigned int xid, struct cifs_tcon *tcon, [all …]
|
| H A 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() 112 if (swnreg->tcon->ses->server->use_swn_dstaddr) in cifs_swn_send_register_message() [all …]
|
| H A D | smb2pdu.c | 78 int smb3_encryption_required(const struct cifs_tcon *tcon) in smb3_encryption_required() argument 80 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 | smb2misc.c | 533 smb2_tcon_has_lease(struct cifs_tcon *tcon, struct smb2_lease_break *rsp) in smb2_tcon_has_lease() argument 543 list_for_each_entry(cfile, &tcon->openFileList, tlist) { in smb2_tcon_has_lease() 572 smb2_tcon_find_pending_open_lease(struct cifs_tcon *tcon, in smb2_tcon_find_pending_open_lease() argument 581 list_for_each_entry(open, &tcon->pending_opens, olist) { in smb2_tcon_find_pending_open_lease() 606 struct cifs_tcon *tcon; in smb2_is_valid_lease_break() local 628 list_for_each_entry(tcon, &ses->tcon_list, tcon_list) { in smb2_is_valid_lease_break() 629 spin_lock(&tcon->open_file_lock); in smb2_is_valid_lease_break() 631 &tcon->stats.cifs_stats.num_oplock_brks); in smb2_is_valid_lease_break() 632 if (smb2_tcon_has_lease(tcon, rsp)) { in smb2_is_valid_lease_break() 633 spin_unlock(&tcon->open_file_lock); in smb2_is_valid_lease_break() [all …]
|
| H A D | dir.c | 40 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() 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 | link.c | 136 create_mf_symlink(const unsigned int xid, struct cifs_tcon *tcon, in create_mf_symlink() argument 152 if (tcon->ses->server->ops->create_mf_symlink) in create_mf_symlink() 153 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 | smb2ops.c | 482 smb2_negotiate_wsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb2_negotiate_wsize() argument 484 struct TCP_Server_Info *server = tcon->ses->server; in smb2_negotiate_wsize() 497 smb3_negotiate_wsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb3_negotiate_wsize() argument 499 struct TCP_Server_Info *server = tcon->ses->server; in smb3_negotiate_wsize() 532 smb2_negotiate_rsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb2_negotiate_rsize() argument 534 struct TCP_Server_Info *server = tcon->ses->server; in smb2_negotiate_rsize() 548 smb3_negotiate_rsize(struct cifs_tcon *tcon, struct smb3_fs_context *ctx) in smb3_negotiate_rsize() argument 550 struct TCP_Server_Info *server = tcon->ses->server; in smb3_negotiate_rsize() 818 SMB3_request_interfaces(const unsigned int xid, struct cifs_tcon *tcon, bool in_mount) in SMB3_request_interfaces() argument 823 struct cifs_ses *ses = tcon->ses; in SMB3_request_interfaces() [all …]
|
| H A D | connect.c | 107 struct cifs_tcon *tcon = container_of(work, in smb2_query_server_interfaces() local 110 struct TCP_Server_Info *server = tcon->ses->server; in smb2_query_server_interfaces() 119 rc = server->ops->query_server_interfaces(xid, tcon, false); in smb2_query_server_interfaces() 126 queue_delayed_work(cifsiod_wq, &tcon->query_interfaces, in smb2_query_server_interfaces() 208 struct cifs_tcon *tcon; in cifs_mark_tcp_ses_conns_for_reconnect() local 278 list_for_each_entry(tcon, &ses->tcon_list, tcon_list) { in cifs_mark_tcp_ses_conns_for_reconnect() 279 tcon->need_reconnect = true; in cifs_mark_tcp_ses_conns_for_reconnect() 280 spin_lock(&tcon->tc_lock); in cifs_mark_tcp_ses_conns_for_reconnect() 281 tcon->status = TID_NEED_RECON; in cifs_mark_tcp_ses_conns_for_reconnect() 282 spin_unlock(&tcon->tc_lock); in cifs_mark_tcp_ses_conns_for_reconnect() [all …]
|
| H A D | file.c | 370 cifs_mark_open_files_invalid(struct cifs_tcon *tcon) in cifs_mark_open_files_invalid() argument 377 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 | cifsfs.c | 135 struct cifs_tcon *tcon; in cifs_drop_all_dir_caches() local 142 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() 230 struct cifs_tcon *tcon; in cifs_read_super() local 237 tcon = cifs_sb_master_tcon(cifs_sb); in cifs_read_super() 243 if (tcon->snapshot_time) in cifs_read_super() 246 if (tcon->ses->capabilities & tcon->ses->server->vals->cap_large_files) in cifs_read_super() 258 if ((tcon->ses->server->vals->protocol_id == SMB10_PROT_ID) && in cifs_read_super() 259 ((tcon->ses->capabilities & in cifs_read_super() 260 tcon->ses->server->vals->cap_nt_find) == 0) && in cifs_read_super() [all …]
|
| H A D | inode.c | 44 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_set_ops() local 69 if (tcon->ses->server->max_read < PAGE_SIZE + MAX_CIFS_HDR_SIZE) in cifs_set_ops() 400 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in cifs_get_file_info_unix() local 412 rc = CIFSSMBUnixQFileInfo(xid, tcon, cfile->fid.netfid, &find_data); in cifs_get_file_info_unix() 436 struct cifs_tcon *tcon; in cifs_get_unix_fattr() local 445 tcon = tlink_tcon(tlink); in cifs_get_unix_fattr() 446 server = tcon->ses->server; in cifs_get_unix_fattr() 449 rc = CIFSSMBUnixQPathInfo(xid, tcon, full_path, &find_data, in cifs_get_unix_fattr() 468 tmprc = check_mf_symlink(xid, tcon, cifs_sb, fattr, full_path); in cifs_get_unix_fattr() 475 rc = server->ops->query_symlink(xid, tcon, in cifs_get_unix_fattr() [all …]
|
| H A D | cached_dir.c | 134 int open_cached_dir(unsigned int xid, struct cifs_tcon *tcon, in open_cached_dir() argument 163 if (tcon == NULL) in open_cached_dir() 166 ses = tcon->ses; in open_cached_dir() 167 cfids = tcon->cfids; in open_cached_dir() 186 cfid = find_or_create_cached_dir(cfids, path, lookup_only, tcon->max_cached_dirs); in open_cached_dir() 250 cfid->tcon = tcon; in open_cached_dir() 259 if (smb3_encryption_required(tcon)) in open_cached_dir() 274 .tcon = tcon, in open_cached_dir() 285 rc = SMB2_open_init(tcon, server, in open_cached_dir() 289 smb2_set_next_command(tcon, &rqst[0]); in open_cached_dir() [all …]
|
| H A D | misc.c | 33 struct cifs_tcon *tcon; member 171 tconInfoFree(struct cifs_tcon *tcon, enum smb3_tcon_ref_trace trace) in tconInfoFree() argument 173 if (tcon == NULL) { in tconInfoFree() 177 trace_smb3_tcon_ref(tcon->debug_id, tcon->tc_count, trace); in tconInfoFree() 178 free_cached_dirs(tcon->cfids); in tconInfoFree() 180 kfree(tcon->nativeFileSystem); in tconInfoFree() 181 kfree_sensitive(tcon->password); in tconInfoFree() 182 kfree(tcon->origin_fullpath); in tconInfoFree() 183 kfree(tcon); in tconInfoFree() 286 struct cifs_tcon *tcon = NULL; in cifs_autodisable_serverino() local [all …]
|
| H A D | namespace.c | 123 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in is_dfs_mount() local 126 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 …]
|
| H A D | cifsglob.h | 373 unsigned int (*negotiate_wsize)(struct cifs_tcon *tcon, struct smb3_fs_context *ctx); 375 unsigned int (*negotiate_rsize)(struct cifs_tcon *tcon, struct smb3_fs_context *ctx); 402 struct cifs_tcon *tcon, 407 int (*query_file_info)(const unsigned int xid, struct cifs_tcon *tcon, 411 struct cifs_tcon *tcon, 417 int (*get_srv_inum)(const unsigned int xid, struct cifs_tcon *tcon, 438 umode_t mode, struct cifs_tcon *tcon, 442 struct cifs_tcon *tcon, const char *name, 459 struct cifs_tcon *tcon, 465 struct cifs_tcon *tcon, [all …]
|
| /linux/fs/smb/server/mgmt/ |
| H A D | tree_connect.c | 103 void ksmbd_tree_connect_put(struct ksmbd_tree_connect *tcon) in ksmbd_tree_connect_put() argument 105 if (atomic_dec_and_test(&tcon->refcount)) { in ksmbd_tree_connect_put() 106 ksmbd_share_config_put(tcon->share_conf); in ksmbd_tree_connect_put() 107 kfree(tcon); in ksmbd_tree_connect_put() 139 struct ksmbd_tree_connect *tcon; in ksmbd_tree_conn_lookup() local 142 tcon = xa_load(&sess->tree_conns, id); in ksmbd_tree_conn_lookup() 143 if (tcon) { in ksmbd_tree_conn_lookup() 144 if (tcon->t_state != TREE_CONNECTED) in ksmbd_tree_conn_lookup() 145 tcon = NULL; in ksmbd_tree_conn_lookup() 146 else if (!atomic_inc_not_zero(&tcon->refcount)) in ksmbd_tree_conn_lookup() [all …]
|
| /linux/drivers/pwm/ |
| H A D | pwm-samsung.c | 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() 250 u32 tcon; in pwm_samsung_enable() local 254 tcon = readl(our_chip->base + REG_TCON); in pwm_samsung_enable() 256 tcon &= ~TCON_START(tcon_chan); in pwm_samsung_enable() 257 tcon |= TCON_MANUALUPDATE(tcon_chan); in pwm_samsung_enable() [all …]
|
| /linux/drivers/clocksource/ |
| H A D | samsung_pwm_timer.c | 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() 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 …]
|