/Linux-v4.19/drivers/gpu/drm/sun4i/ |
D | sun4i_tcon.c | 81 static void sun4i_tcon_channel_set_status(struct sun4i_tcon *tcon, int channel, in sun4i_tcon_channel_set_status() argument 88 WARN_ON(!tcon->quirks->has_channel_0); in sun4i_tcon_channel_set_status() 89 regmap_update_bits(tcon->regs, SUN4I_TCON0_CTL_REG, in sun4i_tcon_channel_set_status() 92 clk = tcon->dclk; in sun4i_tcon_channel_set_status() 95 WARN_ON(!tcon->quirks->has_channel_1); in sun4i_tcon_channel_set_status() 96 regmap_update_bits(tcon->regs, SUN4I_TCON1_CTL_REG, in sun4i_tcon_channel_set_status() 99 clk = tcon->sclk1; in sun4i_tcon_channel_set_status() 115 static void sun4i_tcon_lvds_set_status(struct sun4i_tcon *tcon, in sun4i_tcon_lvds_set_status() argument 122 regmap_update_bits(tcon->regs, SUN4I_TCON0_LVDS_IF_REG, in sun4i_tcon_lvds_set_status() 131 regmap_write(tcon->regs, SUN4I_TCON0_LVDS_ANA0_REG, in sun4i_tcon_lvds_set_status() [all …]
|
D | sun4i_rgb.c | 29 struct sun4i_tcon *tcon; member 50 struct sun4i_tcon *tcon = rgb->tcon; in sun4i_rgb_get_modes() local 52 return drm_panel_get_modes(tcon->panel); in sun4i_rgb_get_modes() 59 struct sun4i_tcon *tcon = rgb->tcon; in sun4i_rgb_mode_valid() local 95 tcon->dclk_min_div = 6; in sun4i_rgb_mode_valid() 96 tcon->dclk_max_div = 127; in sun4i_rgb_mode_valid() 97 rounded_rate = clk_round_rate(tcon->dclk, rate); in sun4i_rgb_mode_valid() 117 struct sun4i_tcon *tcon = rgb->tcon; in sun4i_rgb_connector_destroy() local 119 drm_panel_detach(tcon->panel); in sun4i_rgb_connector_destroy() 134 struct sun4i_tcon *tcon = rgb->tcon; in sun4i_rgb_encoder_enable() local [all …]
|
D | sun4i_lvds.c | 23 struct sun4i_tcon *tcon; member 44 struct sun4i_tcon *tcon = lvds->tcon; in sun4i_lvds_get_modes() local 46 return drm_panel_get_modes(tcon->panel); in sun4i_lvds_get_modes() 57 struct sun4i_tcon *tcon = lvds->tcon; in sun4i_lvds_connector_destroy() local 59 drm_panel_detach(tcon->panel); in sun4i_lvds_connector_destroy() 74 struct sun4i_tcon *tcon = lvds->tcon; in sun4i_lvds_encoder_enable() local 78 if (!IS_ERR(tcon->panel)) { in sun4i_lvds_encoder_enable() 79 drm_panel_prepare(tcon->panel); in sun4i_lvds_encoder_enable() 80 drm_panel_enable(tcon->panel); in sun4i_lvds_encoder_enable() 87 struct sun4i_tcon *tcon = lvds->tcon; in sun4i_lvds_encoder_disable() local [all …]
|
D | sun4i_dotclock.c | 22 struct sun4i_tcon *tcon; member 78 struct sun4i_tcon *tcon = dclk->tcon; in sun4i_dclk_round_rate() local 83 for (i = tcon->dclk_min_div; i <= tcon->dclk_max_div; i++) { in sun4i_dclk_round_rate() 169 int sun4i_dclk_create(struct device *dev, struct sun4i_tcon *tcon) in sun4i_dclk_create() argument 176 parent_name = __clk_get_name(tcon->sclk0); in sun4i_dclk_create() 186 dclk->tcon = tcon; in sun4i_dclk_create() 194 dclk->regmap = tcon->regs; in sun4i_dclk_create() 197 tcon->dclk = clk_register(dev, &dclk->hw); in sun4i_dclk_create() 198 if (IS_ERR(tcon->dclk)) in sun4i_dclk_create() 199 return PTR_ERR(tcon->dclk); in sun4i_dclk_create() [all …]
|
/Linux-v4.19/fs/cifs/ |
D | ioctl.c | 86 static long smb_mnt_get_fsinfo(unsigned int xid, struct cifs_tcon *tcon, in smb_mnt_get_fsinfo() argument 97 fsinf->protocol_id = tcon->ses->server->vals->protocol_id; in smb_mnt_get_fsinfo() 99 le32_to_cpu(tcon->fsDevInfo.DeviceCharacteristics); in smb_mnt_get_fsinfo() 100 fsinf->device_type = le32_to_cpu(tcon->fsDevInfo.DeviceType); in smb_mnt_get_fsinfo() 101 fsinf->fs_attributes = le32_to_cpu(tcon->fsAttrInfo.Attributes); in smb_mnt_get_fsinfo() 103 le32_to_cpu(tcon->fsAttrInfo.MaxPathNameComponentLength); in smb_mnt_get_fsinfo() 104 fsinf->vol_serial_number = tcon->vol_serial_number; in smb_mnt_get_fsinfo() 105 fsinf->vol_create_time = le64_to_cpu(tcon->vol_create_time); in smb_mnt_get_fsinfo() 106 fsinf->share_flags = tcon->share_flags; in smb_mnt_get_fsinfo() 107 fsinf->share_caps = le32_to_cpu(tcon->capabilities); in smb_mnt_get_fsinfo() [all …]
|
D | smb1ops.c | 442 cifs_negotiate_wsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in cifs_negotiate_wsize() argument 444 __u64 unix_cap = le64_to_cpu(tcon->fsUnixInfo.Capability); in cifs_negotiate_wsize() 445 struct TCP_Server_Info *server = tcon->ses->server; in cifs_negotiate_wsize() 451 else if (tcon->unix_ext && (unix_cap & CIFS_UNIX_LARGE_WRITE_CAP)) in cifs_negotiate_wsize() 457 if (!tcon->unix_ext || !(unix_cap & CIFS_UNIX_LARGE_WRITE_CAP)) in cifs_negotiate_wsize() 477 cifs_negotiate_rsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in cifs_negotiate_rsize() argument 479 __u64 unix_cap = le64_to_cpu(tcon->fsUnixInfo.Capability); in cifs_negotiate_rsize() 480 struct TCP_Server_Info *server = tcon->ses->server; in cifs_negotiate_rsize() 495 if (tcon->unix_ext && (unix_cap & CIFS_UNIX_LARGE_READ_CAP)) in cifs_negotiate_rsize() 518 cifs_qfs_tcon(const unsigned int xid, struct cifs_tcon *tcon) in cifs_qfs_tcon() argument [all …]
|
D | smb2proto.h | 69 extern int open_shroot(unsigned int xid, struct cifs_tcon *tcon, 74 extern int smb2_query_path_info(const unsigned int xid, struct cifs_tcon *tcon, 78 extern int smb2_set_path_size(const unsigned int xid, struct cifs_tcon *tcon, 84 umode_t mode, struct cifs_tcon *tcon, 87 extern int smb2_mkdir(const unsigned int xid, 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, 96 extern int smb2_rename_path(const unsigned int xid, struct cifs_tcon *tcon, 99 extern int smb2_create_hardlink(const unsigned int xid, struct cifs_tcon *tcon, [all …]
|
D | smb2inode.c | 41 smb2_open_op_close(const unsigned int xid, struct cifs_tcon *tcon, in smb2_open_op_close() argument 56 (tcon->nohandlecache == false)) { in smb2_open_op_close() 57 rc = open_shroot(xid, tcon, &fid); in smb2_open_op_close() 67 oparms.tcon = tcon; in smb2_open_op_close() 86 tmprc = SMB2_query_info(xid, tcon, fid.persistent_fid, in smb2_open_op_close() 97 tmprc = SMB2_rmdir(xid, tcon, fid.persistent_fid, in smb2_open_op_close() 101 tmprc = SMB2_rename(xid, tcon, fid.persistent_fid, in smb2_open_op_close() 105 tmprc = SMB2_set_hardlink(xid, tcon, fid.persistent_fid, in smb2_open_op_close() 109 tmprc = SMB2_set_eof(xid, tcon, fid.persistent_fid, in smb2_open_op_close() 114 tmprc = SMB2_set_info(xid, tcon, fid.persistent_fid, in smb2_open_op_close() [all …]
|
D | cifsproto.h | 74 struct cifs_tcon *tcon, 218 extern void cifs_mark_open_files_invalid(struct cifs_tcon *tcon); 219 extern void cifs_reopen_persistent_handles(struct cifs_tcon *tcon); 234 extern void cifs_put_tcon(struct cifs_tcon *tcon); 257 const char *tree, struct cifs_tcon *tcon, 260 extern int CIFSFindFirst(const unsigned int xid, struct cifs_tcon *tcon, 266 extern int CIFSFindNext(const unsigned int xid, struct cifs_tcon *tcon, 270 extern int CIFSFindClose(const unsigned int xid, struct cifs_tcon *tcon, 273 extern int CIFSSMBQFileInfo(const unsigned int xid, struct cifs_tcon *tcon, 275 extern int CIFSSMBQPathInfo(const unsigned int xid, struct cifs_tcon *tcon, [all …]
|
D | smb2pdu.c | 83 int smb3_encryption_required(const struct cifs_tcon *tcon) in smb3_encryption_required() argument 85 if (!tcon) in smb3_encryption_required() 87 if ((tcon->ses->session_flags & SMB2_SESSION_FLAG_ENCRYPT_DATA) || in smb3_encryption_required() 88 (tcon->share_flags & SHI1005_FLAGS_ENCRYPT_DATA)) in smb3_encryption_required() 90 if (tcon->seal && in smb3_encryption_required() 91 (tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_ENCRYPTION)) in smb3_encryption_required() 98 const struct cifs_tcon *tcon) in smb2_hdr_assemble() argument 103 if (tcon && tcon->ses && tcon->ses->server) { in smb2_hdr_assemble() 104 struct TCP_Server_Info *server = tcon->ses->server; in smb2_hdr_assemble() 120 if (!tcon) in smb2_hdr_assemble() [all …]
|
D | link.c | 182 create_mf_symlink(const unsigned int xid, struct cifs_tcon *tcon, in create_mf_symlink() argument 198 if (tcon->ses->server->ops->create_mf_symlink) in create_mf_symlink() 199 rc = tcon->ses->server->ops->create_mf_symlink(xid, tcon, in create_mf_symlink() 215 query_mf_symlink(const unsigned int xid, struct cifs_tcon *tcon, in query_mf_symlink() argument 228 if (tcon->ses->server->ops->query_mf_symlink) in query_mf_symlink() 229 rc = tcon->ses->server->ops->query_mf_symlink(xid, tcon, in query_mf_symlink() 249 check_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in check_mf_symlink() argument 266 if (tcon->ses->server->ops->query_mf_symlink) in check_mf_symlink() 267 rc = tcon->ses->server->ops->query_mf_symlink(xid, tcon, in check_mf_symlink() 303 cifs_query_mf_symlink(unsigned int xid, struct cifs_tcon *tcon, in cifs_query_mf_symlink() argument [all …]
|
D | dir.c | 50 struct cifs_tcon *tcon, int add_treename) in cifs_build_path_to_root() argument 63 dfsplen = strnlen(tcon->treeName, MAX_TREE_SIZE + 1); in cifs_build_path_to_root() 72 strncpy(full_path, tcon->treeName, dfsplen); in cifs_build_path_to_root() 85 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in build_path_from_dentry() local 86 bool prefix = tcon->Flags & SMB_SHARE_IS_IN_DFS; in build_path_from_dentry() 102 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in build_path_from_dentry_optional_prefix() local 107 dfsplen = strnlen(tcon->treeName, MAX_TREE_SIZE + 1); in build_path_from_dentry_optional_prefix() 184 strncpy(full_path, tcon->treeName, dfsplen); in build_path_from_dentry_optional_prefix() 202 check_name(struct dentry *direntry, struct cifs_tcon *tcon) in check_name() argument 207 if (unlikely(tcon->fsAttrInfo.MaxPathNameComponentLength && in check_name() [all …]
|
D | smb2ops.c | 248 smb2_negotiate_wsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in smb2_negotiate_wsize() argument 250 struct TCP_Server_Info *server = tcon->ses->server; in smb2_negotiate_wsize() 273 smb2_negotiate_rsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in smb2_negotiate_rsize() argument 275 struct TCP_Server_Info *server = tcon->ses->server; in smb2_negotiate_rsize() 434 SMB3_request_interfaces(const unsigned int xid, struct cifs_tcon *tcon) in SMB3_request_interfaces() argument 441 struct cifs_ses *ses = tcon->ses; in SMB3_request_interfaces() 443 rc = SMB2_ioctl(xid, tcon, NO_FILE_ID, NO_FILE_ID, in SMB3_request_interfaces() 481 SMB2_close(0, cfid->tcon, cfid->fid->persistent_fid, in smb2_close_cached_fid() 506 int open_shroot(unsigned int xid, struct cifs_tcon *tcon, struct cifs_fid *pfid) in open_shroot() argument 513 mutex_lock(&tcon->crfid.fid_mutex); in open_shroot() [all …]
|
D | fscache.c | 95 void cifs_fscache_get_super_cookie(struct cifs_tcon *tcon) in cifs_fscache_get_super_cookie() argument 97 struct TCP_Server_Info *server = tcon->ses->server; in cifs_fscache_get_super_cookie() 100 sharename = extract_sharename(tcon->treeName); in cifs_fscache_get_super_cookie() 103 tcon->fscache = NULL; in cifs_fscache_get_super_cookie() 107 tcon->fscache = in cifs_fscache_get_super_cookie() 111 &tcon->resource_id, sizeof(tcon->resource_id), in cifs_fscache_get_super_cookie() 112 tcon, 0, true); in cifs_fscache_get_super_cookie() 115 __func__, server->fscache, tcon->fscache); in cifs_fscache_get_super_cookie() 118 void cifs_fscache_release_super_cookie(struct cifs_tcon *tcon) in cifs_fscache_release_super_cookie() argument 120 cifs_dbg(FYI, "%s: (0x%p)\n", __func__, tcon->fscache); in cifs_fscache_release_super_cookie() [all …]
|
D | inode.c | 345 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); local 348 rc = CIFSSMBUnixQFileInfo(xid, tcon, cfile->fid.netfid, &find_data); 368 struct cifs_tcon *tcon; local 377 tcon = tlink_tcon(tlink); 380 rc = CIFSSMBUnixQPathInfo(xid, tcon, full_path, &find_data, 395 int tmprc = check_mf_symlink(xid, tcon, cifs_sb, &fattr, 438 struct cifs_tcon *tcon; local 464 tcon = tlink_tcon(tlink); 466 oparms.tcon = tcon; 477 if (tcon->ses->server->oplocks) [all …]
|
D | cifssmb.c | 95 cifs_mark_open_files_invalid(struct cifs_tcon *tcon) in cifs_mark_open_files_invalid() argument 102 spin_lock(&tcon->open_file_lock); in cifs_mark_open_files_invalid() 103 list_for_each_safe(tmp, tmp1, &tcon->openFileList) { in cifs_mark_open_files_invalid() 108 spin_unlock(&tcon->open_file_lock); in cifs_mark_open_files_invalid() 110 mutex_lock(&tcon->crfid.fid_mutex); in cifs_mark_open_files_invalid() 111 tcon->crfid.is_valid = false; in cifs_mark_open_files_invalid() 112 memset(tcon->crfid.fid, 0, sizeof(struct cifs_fid)); in cifs_mark_open_files_invalid() 113 mutex_unlock(&tcon->crfid.fid_mutex); in cifs_mark_open_files_invalid() 123 cifs_reconnect_tcon(struct cifs_tcon *tcon, int smb_command) in cifs_reconnect_tcon() argument 135 if (!tcon) in cifs_reconnect_tcon() [all …]
|
D | smb2misc.c | 513 smb2_tcon_has_lease(struct cifs_tcon *tcon, struct smb2_lease_break *rsp, in smb2_tcon_has_lease() argument 520 struct TCP_Server_Info *server = tcon->ses->server; in smb2_tcon_has_lease() 528 list_for_each(tmp, &tcon->openFileList) { in smb2_tcon_has_lease() 553 list_for_each_entry(open, &tcon->pending_opens, olist) { in smb2_tcon_has_lease() 583 struct cifs_tcon *tcon; in smb2_is_valid_lease_break() local 604 tcon = list_entry(tmp2, struct cifs_tcon, in smb2_is_valid_lease_break() 606 spin_lock(&tcon->open_file_lock); in smb2_is_valid_lease_break() 608 &tcon->stats.cifs_stats.num_oplock_brks); in smb2_is_valid_lease_break() 609 if (smb2_tcon_has_lease(tcon, rsp, lw)) { in smb2_is_valid_lease_break() 610 spin_unlock(&tcon->open_file_lock); in smb2_is_valid_lease_break() [all …]
|
D | cifs_debug.c | 97 static void cifs_debug_tcon(struct seq_file *m, struct cifs_tcon *tcon) in cifs_debug_tcon() argument 99 __u32 dev_type = le32_to_cpu(tcon->fsDevInfo.DeviceType); in cifs_debug_tcon() 101 seq_printf(m, "%s Mounts: %d ", tcon->treeName, tcon->tc_count); in cifs_debug_tcon() 102 if (tcon->nativeFileSystem) in cifs_debug_tcon() 103 seq_printf(m, "Type: %s ", tcon->nativeFileSystem); in cifs_debug_tcon() 105 le32_to_cpu(tcon->fsDevInfo.DeviceCharacteristics), in cifs_debug_tcon() 106 le32_to_cpu(tcon->fsAttrInfo.Attributes), in cifs_debug_tcon() 107 le32_to_cpu(tcon->fsAttrInfo.MaxPathNameComponentLength), in cifs_debug_tcon() 108 tcon->tidStatus); in cifs_debug_tcon() 115 if (tcon->seal) in cifs_debug_tcon() [all …]
|
D | file.c | 123 struct cifs_tcon *tcon; in cifs_posix_open() local 137 tcon = tlink_tcon(tlink); in cifs_posix_open() 141 rc = CIFSPOSIXCreate(xid, tcon, posix_flags, mode, pnetfid, presp_data, in cifs_posix_open() 176 struct cifs_tcon *tcon, unsigned int f_flags, __u32 *oplock, in cifs_nt_open() argument 184 struct TCP_Server_Info *server = tcon->ses->server; in cifs_nt_open() 234 oparms.tcon = tcon; in cifs_nt_open() 248 if (tcon->unix_ext) in cifs_nt_open() 286 struct cifs_tcon *tcon = tlink_tcon(tlink); in cifs_new_fileinfo() local 287 struct TCP_Server_Info *server = tcon->ses->server; in cifs_new_fileinfo() 328 spin_lock(&tcon->open_file_lock); in cifs_new_fileinfo() [all …]
|
D | cifsfs.c | 133 struct cifs_tcon *tcon; in cifs_read_super() local 137 tcon = cifs_sb_master_tcon(cifs_sb); in cifs_read_super() 142 if (tcon->snapshot_time) in cifs_read_super() 145 if (tcon->ses->capabilities & tcon->ses->server->vals->cap_large_files) in cifs_read_super() 171 if (tcon->nocase) in cifs_read_super() 208 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_statfs() local 209 struct TCP_Server_Info *server = tcon->ses->server; in cifs_statfs() 215 if (le32_to_cpu(tcon->fsAttrInfo.MaxPathNameComponentLength) > 0) in cifs_statfs() 217 le32_to_cpu(tcon->fsAttrInfo.MaxPathNameComponentLength); in cifs_statfs() 221 buf->f_fsid.val[0] = tcon->vol_serial_number; in cifs_statfs() [all …]
|
D | connect.c | 334 struct cifs_tcon *tcon; in cifs_reconnect() local 362 tcon = list_entry(tmp2, struct cifs_tcon, tcon_list); in cifs_reconnect() 363 tcon->need_reconnect = true; in cifs_reconnect() 2534 struct cifs_tcon *tcon; in cifs_setup_ipc() local 2553 tcon = tconInfoAlloc(); in cifs_setup_ipc() 2554 if (tcon == NULL) in cifs_setup_ipc() 2563 tcon->ses = ses; in cifs_setup_ipc() 2564 tcon->ipc = true; in cifs_setup_ipc() 2565 tcon->seal = seal; in cifs_setup_ipc() 2566 rc = ses->server->ops->tree_connect(xid, ses, unc, tcon, nls_codepage); in cifs_setup_ipc() [all …]
|
D | smb2file.c | 70 if (oparms->tcon->use_resilient) { in smb2_open_file() 73 rc = SMB2_ioctl(xid, oparms->tcon, fid->persistent_fid, in smb2_open_file() 81 oparms->tcon->use_resilient = false; in smb2_open_file() 90 rc = SMB2_get_srv_num(xid, oparms->tcon, fid->persistent_fid, in smb2_open_file() 115 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in smb2_unlock_range() local 127 max_buf = tcon->ses->server->maxBuf; in smb2_unlock_range() 165 stored_rc = smb2_lockv(xid, tcon, in smb2_unlock_range() 190 stored_rc = smb2_lockv(xid, tcon, cfile->fid.persistent_fid, in smb2_unlock_range() 214 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); in smb2_push_mand_fdlocks() local 222 stored_rc = smb2_lockv(xid, tcon, in smb2_push_mand_fdlocks() [all …]
|
/Linux-v4.19/drivers/gpu/drm/fsl-dcu/ |
D | fsl_tcon.c | 23 void fsl_tcon_bypass_disable(struct fsl_tcon *tcon) in fsl_tcon_bypass_disable() argument 25 regmap_update_bits(tcon->regs, FSL_TCON_CTRL1, in fsl_tcon_bypass_disable() 29 void fsl_tcon_bypass_enable(struct fsl_tcon *tcon) in fsl_tcon_bypass_enable() argument 31 regmap_update_bits(tcon->regs, FSL_TCON_CTRL1, in fsl_tcon_bypass_enable() 45 struct fsl_tcon *tcon, in fsl_tcon_init_regmap() argument 58 tcon->regs = devm_regmap_init_mmio(dev, regs, in fsl_tcon_init_regmap() 60 return PTR_ERR_OR_ZERO(tcon->regs); in fsl_tcon_init_regmap() 65 struct fsl_tcon *tcon; in fsl_tcon_init() local 74 tcon = devm_kzalloc(dev, sizeof(*tcon), GFP_KERNEL); in fsl_tcon_init() 75 if (!tcon) in fsl_tcon_init() [all …]
|
/Linux-v4.19/drivers/pwm/ |
D | pwm-samsung.c | 249 u32 tcon; in pwm_samsung_enable() local 253 tcon = readl(our_chip->base + REG_TCON); in pwm_samsung_enable() 255 tcon &= ~TCON_START(tcon_chan); in pwm_samsung_enable() 256 tcon |= TCON_MANUALUPDATE(tcon_chan); in pwm_samsung_enable() 257 writel(tcon, our_chip->base + REG_TCON); in pwm_samsung_enable() 259 tcon &= ~TCON_MANUALUPDATE(tcon_chan); in pwm_samsung_enable() 260 tcon |= TCON_START(tcon_chan) | TCON_AUTORELOAD(tcon_chan); in pwm_samsung_enable() 261 writel(tcon, our_chip->base + REG_TCON); in pwm_samsung_enable() 275 u32 tcon; in pwm_samsung_disable() local 279 tcon = readl(our_chip->base + REG_TCON); in pwm_samsung_disable() [all …]
|
/Linux-v4.19/drivers/clocksource/ |
D | samsung_pwm_timer.c | 125 unsigned long tcon; in samsung_time_stop() local 133 tcon = readl_relaxed(pwm.base + REG_TCON); in samsung_time_stop() 134 tcon &= ~TCON_START(channel); in samsung_time_stop() 135 writel_relaxed(tcon, pwm.base + REG_TCON); in samsung_time_stop() 142 unsigned long tcon; in samsung_time_setup() local 151 tcon = readl_relaxed(pwm.base + REG_TCON); in samsung_time_setup() 153 tcon &= ~(TCON_START(tcon_chan) | TCON_AUTORELOAD(tcon_chan)); in samsung_time_setup() 154 tcon |= TCON_MANUALUPDATE(tcon_chan); in samsung_time_setup() 158 writel_relaxed(tcon, pwm.base + REG_TCON); in samsung_time_setup() 165 unsigned long tcon; in samsung_time_start() local [all …]
|