Home
last modified time | relevance | path

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

1234

/OK3568_Linux_fs/kernel/drivers/gpu/drm/sun4i/
H A 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 …]
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/ebc-dev/tcon/
H A Debc_tcon.h33 int (*enable)(struct ebc_tcon *tcon, struct ebc_panel *panel);
34 void (*disable)(struct ebc_tcon *tcon);
35 …void (*dsp_mode_set)(struct ebc_tcon *tcon, int update_mode, int display_mode, int three_win_mode,…
36 void (*image_addr_set)(struct ebc_tcon *tcon, u32 pre_image_addr, u32 cur_image_addr);
37 void (*frame_addr_set)(struct ebc_tcon *tcon, u32 frame_addr);
38 int (*lut_data_set)(struct ebc_tcon *tcon, unsigned int *lut_data, int frame_count, int lut_32);
39 void (*frame_start)(struct ebc_tcon *tcon, int frame_total);
44 static inline int ebc_tcon_enable(struct ebc_tcon *tcon, struct ebc_panel *panel) in ebc_tcon_enable() argument
46 return tcon->enable(tcon, panel); in ebc_tcon_enable()
49 static inline void ebc_tcon_disable(struct ebc_tcon *tcon) in ebc_tcon_disable() argument
[all …]
H A Debc_tcon.c138 static inline void tcon_write(struct ebc_tcon *tcon, unsigned int reg, in tcon_write() argument
141 regmap_write(tcon->regmap_base, reg, value); in tcon_write()
144 static inline unsigned int tcon_read(struct ebc_tcon *tcon, unsigned int reg) in tcon_read() argument
148 regmap_read(tcon->regmap_base, reg, &value); in tcon_read()
153 static inline void tcon_update_bits(struct ebc_tcon *tcon, unsigned int reg, in tcon_update_bits() argument
156 regmap_update_bits(tcon->regmap_base, reg, mask, val); in tcon_update_bits()
159 static inline void tcon_cfg_done(struct ebc_tcon *tcon) in tcon_cfg_done() argument
161 regmap_write(tcon->regmap_base, EBC_CONFIG_DONE, REG_LOAD_GLOBAL_EN); in tcon_cfg_done()
164 static int tcon_enable(struct ebc_tcon *tcon, struct ebc_panel *panel) in tcon_enable() argument
166 clk_prepare_enable(tcon->hclk); in tcon_enable()
[all …]
H A Deink_tcon.c118 static inline void tcon_write(struct eink_tcon *tcon, unsigned int reg, in tcon_write() argument
121 regmap_write(tcon->regmap_base, reg, value); in tcon_write()
124 static inline unsigned int tcon_read(struct eink_tcon *tcon, unsigned int reg) in tcon_read() argument
128 regmap_read(tcon->regmap_base, reg, &value); in tcon_read()
133 static inline void tcon_update_bits(struct eink_tcon *tcon, unsigned int reg, in tcon_update_bits() argument
136 regmap_update_bits(tcon->regmap_base, reg, mask, val); in tcon_update_bits()
139 static int tcon_enable(struct eink_tcon *tcon, struct ebc_panel *panel) in tcon_enable() argument
145 clk_prepare_enable(tcon->pclk); in tcon_enable()
146 clk_prepare_enable(tcon->hclk); in tcon_enable()
147 pm_runtime_get_sync(tcon->dev); in tcon_enable()
[all …]
/OK3568_Linux_fs/kernel/fs/cifs/
H A Dioctl.c43 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 …]
H A Dsmb2inode.c63 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 …]
H A Dsmb1ops.c431 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 …]
H A Dsmb2proto.h72 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 …]
H A Dcifsproto.h77 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 …]
H A Dsmb2pdu.c86 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 …]
H A Dlink.c185 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 …]
H A Dsmb2ops.c342 smb2_negotiate_wsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in smb2_negotiate_wsize() argument
344 struct TCP_Server_Info *server = tcon->ses->server; in smb2_negotiate_wsize()
357 smb3_negotiate_wsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in smb3_negotiate_wsize() argument
359 struct TCP_Server_Info *server = tcon->ses->server; in smb3_negotiate_wsize()
389 smb2_negotiate_rsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in smb2_negotiate_rsize() argument
391 struct TCP_Server_Info *server = tcon->ses->server; in smb2_negotiate_rsize()
405 smb3_negotiate_rsize(struct cifs_tcon *tcon, struct smb_vol *volume_info) in smb3_negotiate_rsize() argument
407 struct TCP_Server_Info *server = tcon->ses->server; in smb3_negotiate_rsize()
580 SMB3_request_interfaces(const unsigned int xid, struct cifs_tcon *tcon) in SMB3_request_interfaces() argument
587 struct cifs_ses *ses = tcon->ses; in SMB3_request_interfaces()
[all …]
H A Dsmb2misc.c539 smb2_tcon_has_lease(struct cifs_tcon *tcon, struct smb2_lease_break *rsp) in smb2_tcon_has_lease() argument
550 list_for_each(tmp, &tcon->openFileList) { 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()
615 struct cifs_tcon *tcon; in smb2_is_valid_lease_break() local
629 tcon = list_entry(tmp2, struct cifs_tcon, in smb2_is_valid_lease_break()
631 spin_lock(&tcon->open_file_lock); in smb2_is_valid_lease_break()
633 &tcon->stats.cifs_stats.num_oplock_brks); in smb2_is_valid_lease_break()
634 if (smb2_tcon_has_lease(tcon, rsp)) { in smb2_is_valid_lease_break()
635 spin_unlock(&tcon->open_file_lock); in smb2_is_valid_lease_break()
[all …]
H A Ddir.c50 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 memcpy(full_path, tcon->treeName, dfsplen); in cifs_build_path_to_root()
84 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in build_path_from_dentry() local
85 bool prefix = tcon->Flags & SMB_SHARE_IS_IN_DFS; in build_path_from_dentry()
101 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in build_path_from_dentry_optional_prefix() local
106 dfsplen = strnlen(tcon->treeName, MAX_TREE_SIZE + 1); in build_path_from_dentry_optional_prefix()
183 strncpy(full_path, tcon->treeName, dfsplen); in build_path_from_dentry_optional_prefix()
201 check_name(struct dentry *direntry, struct cifs_tcon *tcon) in check_name() argument
206 if (unlikely(tcon->fsAttrInfo.MaxPathNameComponentLength && in check_name()
[all …]
H A Dinode.c354 struct cifs_tcon *tcon = tlink_tcon(cfile->tlink); local
357 rc = CIFSSMBUnixQFileInfo(xid, tcon, cfile->fid.netfid, &find_data);
380 struct cifs_tcon *tcon; local
389 tcon = tlink_tcon(tlink);
392 rc = CIFSSMBUnixQPathInfo(xid, tcon, full_path, &find_data,
407 int tmprc = check_mf_symlink(xid, tcon, cifs_sb, &fattr,
451 struct cifs_tcon *tcon; local
477 tcon = tlink_tcon(tlink);
479 oparms.tcon = tcon;
488 if (tcon->ses->server->oplocks)
[all …]
H A Dfscache.c95 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()
101 sharename = extract_sharename(tcon->treeName); in cifs_fscache_get_super_cookie()
104 tcon->fscache = NULL; in cifs_fscache_get_super_cookie()
109 auxdata.resource_id = tcon->resource_id; in cifs_fscache_get_super_cookie()
110 auxdata.vol_create_time = tcon->vol_create_time; in cifs_fscache_get_super_cookie()
111 auxdata.vol_serial_number = tcon->vol_serial_number; in cifs_fscache_get_super_cookie()
113 tcon->fscache = in cifs_fscache_get_super_cookie()
118 tcon, 0, true); in cifs_fscache_get_super_cookie()
121 __func__, server->fscache, tcon->fscache); in cifs_fscache_get_super_cookie()
[all …]
H A Dcifsfs.c163 struct cifs_tcon *tcon; in cifs_read_super() local
168 tcon = cifs_sb_master_tcon(cifs_sb); in cifs_read_super()
173 if (tcon->snapshot_time) in cifs_read_super()
176 if (tcon->ses->capabilities & tcon->ses->server->vals->cap_large_files) in cifs_read_super()
188 if ((tcon->ses->server->vals->protocol_id == SMB10_PROT_ID) && in cifs_read_super()
189 ((tcon->ses->capabilities & in cifs_read_super()
190 tcon->ses->server->vals->cap_nt_find) == 0) && in cifs_read_super()
191 !tcon->unix_ext) { in cifs_read_super()
228 if (tcon->nocase) in cifs_read_super()
265 struct cifs_tcon *tcon = cifs_sb_master_tcon(cifs_sb); in cifs_statfs() local
[all …]
H A Dcifssmb.c99 cifs_mark_open_files_invalid(struct cifs_tcon *tcon) in cifs_mark_open_files_invalid() argument
106 spin_lock(&tcon->open_file_lock); in cifs_mark_open_files_invalid()
107 list_for_each_safe(tmp, tmp1, &tcon->openFileList) { in cifs_mark_open_files_invalid()
112 spin_unlock(&tcon->open_file_lock); in cifs_mark_open_files_invalid()
114 mutex_lock(&tcon->crfid.fid_mutex); in cifs_mark_open_files_invalid()
115 tcon->crfid.is_valid = false; in cifs_mark_open_files_invalid()
117 close_shroot_lease_locked(&tcon->crfid); in cifs_mark_open_files_invalid()
118 memset(tcon->crfid.fid, 0, sizeof(struct cifs_fid)); in cifs_mark_open_files_invalid()
119 mutex_unlock(&tcon->crfid.fid_mutex); in cifs_mark_open_files_invalid()
129 cifs_reconnect_tcon(struct cifs_tcon *tcon, int smb_command) in cifs_reconnect_tcon() argument
[all …]
H A Dconnect.c395 struct cifs_tcon *tcon; in cifs_reconnect() local
460 tcon = list_entry(tmp2, struct cifs_tcon, tcon_list); in cifs_reconnect()
461 tcon->need_reconnect = true; in cifs_reconnect()
2731 struct cifs_tcon *tcon; in cifs_setup_ipc() local
2751 tcon = tconInfoAlloc(); in cifs_setup_ipc()
2752 if (tcon == NULL) in cifs_setup_ipc()
2761 tcon->ses = ses; in cifs_setup_ipc()
2762 tcon->ipc = true; in cifs_setup_ipc()
2763 tcon->seal = seal; in cifs_setup_ipc()
2764 rc = server->ops->tree_connect(xid, ses, unc, tcon, nls_codepage); in cifs_setup_ipc()
[all …]
H A Dcifs_debug.c87 static void cifs_debug_tcon(struct seq_file *m, struct cifs_tcon *tcon) in cifs_debug_tcon() argument
89 __u32 dev_type = le32_to_cpu(tcon->fsDevInfo.DeviceType); in cifs_debug_tcon()
91 seq_printf(m, "%s Mounts: %d ", tcon->treeName, tcon->tc_count); in cifs_debug_tcon()
92 if (tcon->nativeFileSystem) in cifs_debug_tcon()
93 seq_printf(m, "Type: %s ", tcon->nativeFileSystem); in cifs_debug_tcon()
95 le32_to_cpu(tcon->fsDevInfo.DeviceCharacteristics), in cifs_debug_tcon()
96 le32_to_cpu(tcon->fsAttrInfo.Attributes), in cifs_debug_tcon()
97 le32_to_cpu(tcon->fsAttrInfo.MaxPathNameComponentLength), in cifs_debug_tcon()
98 tcon->tidStatus); in cifs_debug_tcon()
106 seq_printf(m, "Serial Number: 0x%x", tcon->vol_serial_number); in cifs_debug_tcon()
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/cpu/armv7/s5p-common/
H A Dpwm.c20 unsigned long tcon; in pwm_enable() local
22 tcon = readl(&pwm->tcon); in pwm_enable()
23 tcon |= TCON_START(pwm_id); in pwm_enable()
25 writel(tcon, &pwm->tcon); in pwm_enable()
34 unsigned long tcon; in pwm_disable() local
36 tcon = readl(&pwm->tcon); in pwm_disable()
37 tcon &= ~TCON_START(pwm_id); in pwm_disable()
39 writel(tcon, &pwm->tcon); in pwm_disable()
67 unsigned long tcon; in pwm_config() local
101 tcon = readl(&pwm->tcon); in pwm_config()
[all …]
/OK3568_Linux_fs/u-boot/drivers/video/rk_eink/
H A Drk_ebc_tcon.c155 static inline void regs_dump(struct ebc_tcon_priv *tcon) in regs_dump() argument
162 printf("\n 0x%p:\t", tcon->reg + i); in regs_dump()
163 printf("0x%x\t", readl(tcon->reg + i)); in regs_dump()
168 printf("\n 0x%p:\t", tcon->reg + i); in regs_dump()
169 printf("0x%x\t", readl(tcon->reg + i)); in regs_dump()
203 static inline void tcon_write(struct ebc_tcon_priv *tcon, unsigned int reg, in tcon_write() argument
206 unsigned int *cache = tcon->regcache + (reg >> 2); in tcon_write()
208 writel(value, tcon->reg + reg); in tcon_write()
212 static inline unsigned int tcon_read(struct ebc_tcon_priv *tcon, in tcon_read() argument
215 return readl(tcon->reg + reg); in tcon_read()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/fsl-dcu/
H A 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 …]
/OK3568_Linux_fs/u-boot/drivers/pwm/
H A Dexynos_pwm.c29 u32 tcnt, tcmp, tcon; in exynos_pwm_set_config() local
53 tcon = readl(&regs->tcon); in exynos_pwm_set_config()
54 tcon |= TCON_UPDATE(channel); in exynos_pwm_set_config()
56 tcon |= TCON_AUTO_RELOAD(channel); in exynos_pwm_set_config()
58 tcon |= TCON4_AUTO_RELOAD; in exynos_pwm_set_config()
59 writel(tcon, &regs->tcon); in exynos_pwm_set_config()
61 tcon &= ~TCON_UPDATE(channel); in exynos_pwm_set_config()
62 writel(tcon, &regs->tcon); in exynos_pwm_set_config()
78 clrsetbits_le32(&regs->tcon, mask, enable ? mask : 0); in exynos_pwm_set_enable()

1234