arch/arm/mach-omap2/display.c
377
if (!(oh->class->sysc->sysc_flags & SYSS_HAS_RESET_STATUS)) {
arch/arm/mach-omap2/display.c
399
omap_test_timeout((omap_hwmod_read(oh, oh->class->sysc->syss_offs)
arch/arm/mach-omap2/hdq1w.c
52
oh->class->sysc->syss_offs)
arch/arm/mach-omap2/i2c.c
62
oh->class->sysc->syss_offs)
arch/arm/mach-omap2/msdi.c
59
omap_test_timeout((omap_hwmod_read(oh, oh->class->sysc->syss_offs)
arch/arm/mach-omap2/omap_hwmod.c
1178
if (!oh->class->sysc)
arch/arm/mach-omap2/omap_hwmod.c
1194
sf = oh->class->sysc->sysc_flags;
arch/arm/mach-omap2/omap_hwmod.c
1204
if (oh->class->sysc->idlemodes & SIDLE_SMART_WKUP)
arch/arm/mach-omap2/omap_hwmod.c
1215
if (clkdm_act && !(oh->class->sysc->idlemodes &
arch/arm/mach-omap2/omap_hwmod.c
1230
if (oh->class->sysc->idlemodes & MSTANDBY_SMART_WKUP)
arch/arm/mach-omap2/omap_hwmod.c
1275
if (!oh->class->sysc)
arch/arm/mach-omap2/omap_hwmod.c
1279
sf = oh->class->sysc->sysc_flags;
arch/arm/mach-omap2/omap_hwmod.c
1287
if (oh->class->sysc->idlemodes & SIDLE_SMART_WKUP)
arch/arm/mach-omap2/omap_hwmod.c
1302
if (oh->class->sysc->idlemodes & MSTANDBY_SMART_WKUP)
arch/arm/mach-omap2/omap_hwmod.c
1327
if (!oh->class->sysc)
arch/arm/mach-omap2/omap_hwmod.c
1331
sf = oh->class->sysc->sysc_flags;
arch/arm/mach-omap2/omap_hwmod.c
1698
if (!oh->class->sysc ||
arch/arm/mach-omap2/omap_hwmod.c
1699
!(oh->class->sysc->sysc_flags & SYSC_HAS_SOFTRESET))
arch/arm/mach-omap2/omap_hwmod.c
1722
if (oh->class->sysc->srst_udelay)
arch/arm/mach-omap2/omap_hwmod.c
1723
udelay(oh->class->sysc->srst_udelay);
arch/arm/mach-omap2/omap_hwmod.c
1813
if (oh->class->sysc) {
arch/arm/mach-omap2/omap_hwmod.c
1935
if (oh->class->sysc) {
arch/arm/mach-omap2/omap_hwmod.c
1980
if (oh->class->sysc)
arch/arm/mach-omap2/omap_hwmod.c
2052
if (oh->class->sysc) {
arch/arm/mach-omap2/omap_hwmod.c
2253
if (!oh->class->sysc)
arch/arm/mach-omap2/omap_hwmod.c
272
if (!oh->class->sysc) {
arch/arm/mach-omap2/omap_hwmod.c
279
oh->_sysc_cache = omap_hwmod_read(oh, oh->class->sysc->sysc_offs);
arch/arm/mach-omap2/omap_hwmod.c
281
if (!(oh->class->sysc->sysc_flags & SYSC_NO_CACHE))
arch/arm/mach-omap2/omap_hwmod.c
297
if (!oh->class->sysc) {
arch/arm/mach-omap2/omap_hwmod.c
316
omap_hwmod_write(v, oh, oh->class->sysc->sysc_offs);
arch/arm/mach-omap2/omap_hwmod.c
3166
if (!oh->class->sysc->sysc_fields)
arch/arm/mach-omap2/omap_hwmod.c
3333
if (!oh->class->sysc)
arch/arm/mach-omap2/omap_hwmod.c
3336
if (oh->class->sysc->sysc_fields &&
arch/arm/mach-omap2/omap_hwmod.c
3337
sysc_fields != oh->class->sysc->sysc_fields)
arch/arm/mach-omap2/omap_hwmod.c
3340
if (rev_offs != oh->class->sysc->rev_offs)
arch/arm/mach-omap2/omap_hwmod.c
3342
oh->class->sysc->rev_offs);
arch/arm/mach-omap2/omap_hwmod.c
3343
if (sysc_offs != oh->class->sysc->sysc_offs)
arch/arm/mach-omap2/omap_hwmod.c
3345
oh->class->sysc->sysc_offs);
arch/arm/mach-omap2/omap_hwmod.c
3346
if (syss_offs != oh->class->sysc->syss_offs)
arch/arm/mach-omap2/omap_hwmod.c
3348
oh->class->sysc->syss_offs);
arch/arm/mach-omap2/omap_hwmod.c
3350
if (sysc_flags != oh->class->sysc->sysc_flags)
arch/arm/mach-omap2/omap_hwmod.c
3352
oh->class->sysc->sysc_flags);
arch/arm/mach-omap2/omap_hwmod.c
3354
if (idlemodes != oh->class->sysc->idlemodes)
arch/arm/mach-omap2/omap_hwmod.c
3356
oh->class->sysc->idlemodes);
arch/arm/mach-omap2/omap_hwmod.c
3358
if (data->cfg->srst_udelay != oh->class->sysc->srst_udelay)
arch/arm/mach-omap2/omap_hwmod.c
3361
oh->class->sysc->srst_udelay);
arch/arm/mach-omap2/omap_hwmod.c
338
if (!oh->class->sysc ||
arch/arm/mach-omap2/omap_hwmod.c
3389
struct omap_hwmod_class_sysconfig *sysc;
arch/arm/mach-omap2/omap_hwmod.c
339
!(oh->class->sysc->sysc_flags & SYSC_HAS_MIDLEMODE))
arch/arm/mach-omap2/omap_hwmod.c
3395
sysc = kzalloc_obj(*sysc);
arch/arm/mach-omap2/omap_hwmod.c
3396
if (!sysc)
arch/arm/mach-omap2/omap_hwmod.c
3399
sysc->sysc_fields = sysc_fields;
arch/arm/mach-omap2/omap_hwmod.c
3400
sysc->rev_offs = rev_offs;
arch/arm/mach-omap2/omap_hwmod.c
3401
sysc->sysc_offs = sysc_offs;
arch/arm/mach-omap2/omap_hwmod.c
3402
sysc->syss_offs = syss_offs;
arch/arm/mach-omap2/omap_hwmod.c
3403
sysc->sysc_flags = sysc_flags;
arch/arm/mach-omap2/omap_hwmod.c
3404
sysc->idlemodes = idlemodes;
arch/arm/mach-omap2/omap_hwmod.c
3405
sysc->srst_udelay = data->cfg->srst_udelay;
arch/arm/mach-omap2/omap_hwmod.c
342
if (!oh->class->sysc->sysc_fields) {
arch/arm/mach-omap2/omap_hwmod.c
3443
oh->class->sysc = sysc;
arch/arm/mach-omap2/omap_hwmod.c
3460
kfree(sysc);
arch/arm/mach-omap2/omap_hwmod.c
347
mstandby_shift = oh->class->sysc->sysc_fields->midle_shift;
arch/arm/mach-omap2/omap_hwmod.c
371
if (!oh->class->sysc ||
arch/arm/mach-omap2/omap_hwmod.c
372
!(oh->class->sysc->sysc_flags & SYSC_HAS_SIDLEMODE))
arch/arm/mach-omap2/omap_hwmod.c
375
if (!oh->class->sysc->sysc_fields) {
arch/arm/mach-omap2/omap_hwmod.c
380
sidle_shift = oh->class->sysc->sysc_fields->sidle_shift;
arch/arm/mach-omap2/omap_hwmod.c
405
if (!oh->class->sysc ||
arch/arm/mach-omap2/omap_hwmod.c
406
!(oh->class->sysc->sysc_flags & SYSC_HAS_CLOCKACTIVITY))
arch/arm/mach-omap2/omap_hwmod.c
409
if (!oh->class->sysc->sysc_fields) {
arch/arm/mach-omap2/omap_hwmod.c
414
clkact_shift = oh->class->sysc->sysc_fields->clkact_shift;
arch/arm/mach-omap2/omap_hwmod.c
435
if (!oh->class->sysc ||
arch/arm/mach-omap2/omap_hwmod.c
436
!(oh->class->sysc->sysc_flags & SYSC_HAS_SOFTRESET))
arch/arm/mach-omap2/omap_hwmod.c
439
if (!oh->class->sysc->sysc_fields) {
arch/arm/mach-omap2/omap_hwmod.c
444
softrst_mask = (0x1 << oh->class->sysc->sysc_fields->srst_shift);
arch/arm/mach-omap2/omap_hwmod.c
463
if (!oh->class->sysc ||
arch/arm/mach-omap2/omap_hwmod.c
464
!(oh->class->sysc->sysc_flags & SYSC_HAS_SOFTRESET))
arch/arm/mach-omap2/omap_hwmod.c
467
if (!oh->class->sysc->sysc_fields) {
arch/arm/mach-omap2/omap_hwmod.c
474
softrst_mask = (0x1 << oh->class->sysc->sysc_fields->srst_shift);
arch/arm/mach-omap2/omap_hwmod.c
493
struct omap_hwmod_class_sysconfig *sysc;
arch/arm/mach-omap2/omap_hwmod.c
497
sysc = oh->class->sysc;
arch/arm/mach-omap2/omap_hwmod.c
499
if (sysc->sysc_flags & SYSS_HAS_RESET_STATUS && sysc->syss_offs > 0)
arch/arm/mach-omap2/omap_hwmod.c
500
omap_test_timeout((omap_hwmod_read(oh, sysc->syss_offs)
arch/arm/mach-omap2/omap_hwmod.c
503
else if (sysc->sysc_flags & SYSC_HAS_RESET_STATUS) {
arch/arm/mach-omap2/omap_hwmod.c
504
softrst_mask = (0x1 << sysc->sysc_fields->srst_shift);
arch/arm/mach-omap2/omap_hwmod.c
505
omap_test_timeout(!(omap_hwmod_read(oh, sysc->sysc_offs)
arch/arm/mach-omap2/omap_hwmod.c
530
if (!oh->class->sysc ||
arch/arm/mach-omap2/omap_hwmod.c
531
!(oh->class->sysc->sysc_flags & SYSC_HAS_DMADISABLE))
arch/arm/mach-omap2/omap_hwmod.c
534
if (!oh->class->sysc->sysc_fields) {
arch/arm/mach-omap2/omap_hwmod.c
549
(0x1 << oh->class->sysc->sysc_fields->dmadisable_shift);
arch/arm/mach-omap2/omap_hwmod.c
575
if (!oh->class->sysc ||
arch/arm/mach-omap2/omap_hwmod.c
576
!(oh->class->sysc->sysc_flags & SYSC_HAS_AUTOIDLE))
arch/arm/mach-omap2/omap_hwmod.c
579
if (!oh->class->sysc->sysc_fields) {
arch/arm/mach-omap2/omap_hwmod.c
584
autoidle_shift = oh->class->sysc->sysc_fields->autoidle_shift;
arch/arm/mach-omap2/omap_hwmod.c
602
if (!oh->class->sysc ||
arch/arm/mach-omap2/omap_hwmod.c
603
!((oh->class->sysc->sysc_flags & SYSC_HAS_ENAWAKEUP) ||
arch/arm/mach-omap2/omap_hwmod.c
604
(oh->class->sysc->idlemodes & SIDLE_SMART_WKUP) ||
arch/arm/mach-omap2/omap_hwmod.c
605
(oh->class->sysc->idlemodes & MSTANDBY_SMART_WKUP)))
arch/arm/mach-omap2/omap_hwmod.c
608
if (!oh->class->sysc->sysc_fields) {
arch/arm/mach-omap2/omap_hwmod.c
613
if (oh->class->sysc->sysc_flags & SYSC_HAS_ENAWAKEUP)
arch/arm/mach-omap2/omap_hwmod.c
614
*v |= 0x1 << oh->class->sysc->sysc_fields->enwkup_shift;
arch/arm/mach-omap2/omap_hwmod.c
616
if (oh->class->sysc->idlemodes & SIDLE_SMART_WKUP)
arch/arm/mach-omap2/omap_hwmod.c
618
if (oh->class->sysc->idlemodes & MSTANDBY_SMART_WKUP)
arch/arm/mach-omap2/omap_hwmod.h
525
struct omap_hwmod_class_sysconfig *sysc;
arch/arm/mach-omap2/omap_hwmod_2420_data.c
197
.sysc = &omap2420_msdi_sysc,
arch/arm/mach-omap2/omap_hwmod_2420_data.c
88
.sysc = &i2c_sysc,
arch/arm/mach-omap2/omap_hwmod_2430_data.c
166
.sysc = &omap2430_usbhsotg_sysc,
arch/arm/mach-omap2/omap_hwmod_2430_data.c
204
.sysc = &omap2430_mcbsp_sysc,
arch/arm/mach-omap2/omap_hwmod_2430_data.c
306
.sysc = &omap2430_mmc_sysc,
arch/arm/mach-omap2/omap_hwmod_2430_data.c
66
.sysc = &i2c_sysc,
arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c
33
.sysc = &omap2_uart_sysc,
arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c
76
.sysc = &omap2_hdq1w_sysc,
arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c
115
.sysc = &omap2xxx_mailbox_sysc,
arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c
137
.sysc = &omap2xxx_mcspi_sysc,
arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c
157
.sysc = &omap2xxx_gpmc_sysc,
arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c
35
.sysc = &omap2_dispc_sysc,
arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c
52
.sysc = &omap2xxx_timer_sysc,
arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c
589
.sysc = &omap2_rng_sysc,
arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c
625
.sysc = &omap2_sham_sysc,
arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c
654
.sysc = &omap2_aes_sysc,
arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c
72
.sysc = &omap2xxx_wd_timer_sysc,
arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c
94
.sysc = &omap2xxx_gpio_sysc,
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
1043
.sysc = &omap3xxx_mailbox_sysc,
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
1078
.sysc = &omap34xx_mcspi_sysc,
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
1151
.sysc = &omap34xx_mmc_sysc,
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
1291
.sysc = &omap3xxx_usb_host_hs_sysc,
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
1366
.sysc = &omap3xxx_usb_tll_hs_sysc,
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
1439
.sysc = &omap3xxx_gpmc_sysc,
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
146
.sysc = &omap3xxx_timer_sysc,
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
1919
.sysc = &mmu_sysc,
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
2225
.sysc = &omap3_sham_sysc,
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
2268
.sysc = &omap34xx_ssi_sysc,
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
316
.sysc = &omap3xxx_wd_timer_sysc,
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
436
.sysc = &i2c_sysc,
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
502
.sysc = &omap3_dispc_sysc,
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
536
.sysc = &omap3xxx_dsi_sysc,
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
658
.sysc = &omap3xxx_gpio_sysc,
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
805
.sysc = &omap3xxx_mcbsp_sysc,
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
909
.sysc = &omap3xxx_mcbsp_sidetone_sysc,
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
938
.sysc = &omap34xx_sr_sysc,
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
952
.sysc = &omap36xx_sr_sysc,
arch/arm/mach-omap2/omap_hwmod_81xx_data.c
1029
.sysc = &dm816x_mcspi_sysc,
arch/arm/mach-omap2/omap_hwmod_81xx_data.c
1124
.sysc = &dm81xx_mailbox_sysc,
arch/arm/mach-omap2/omap_hwmod_81xx_data.c
1159
.sysc = &dm81xx_spinbox_sysc,
arch/arm/mach-omap2/omap_hwmod_81xx_data.c
227
.sysc = &ti81xx_rtc_sysc,
arch/arm/mach-omap2/omap_hwmod_81xx_data.c
266
.sysc = &uart_sysc,
arch/arm/mach-omap2/omap_hwmod_81xx_data.c
343
.sysc = &wd_timer_sysc,
arch/arm/mach-omap2/omap_hwmod_81xx_data.c
383
.sysc = &i2c_sysc,
arch/arm/mach-omap2/omap_hwmod_81xx_data.c
439
.sysc = &dm81xx_elm_sysc,
arch/arm/mach-omap2/omap_hwmod_81xx_data.c
470
.sysc = &dm81xx_gpio_sysc,
arch/arm/mach-omap2/omap_hwmod_81xx_data.c
589
.sysc = &dm81xx_gpmc_sysc,
arch/arm/mach-omap2/omap_hwmod_81xx_data.c
626
.sysc = &dm81xx_usbhsotg_sysc,
arch/arm/mach-omap2/omap_hwmod_81xx_data.c
681
.sysc = &dm816x_timer_sysc,
arch/arm/mach-omap2/omap_hwmod_81xx_data.c
794
.sysc = &dm816x_emac_sysc,
arch/arm/mach-omap2/omap_hwmod_81xx_data.c
817
.sysc = &dm816x_emac_sysc,
arch/arm/mach-omap2/omap_hwmod_81xx_data.c
875
.sysc = &dm81xx_sata_sysc,
arch/arm/mach-omap2/omap_hwmod_81xx_data.c
911
.sysc = &dm81xx_mmc_sysc,
arch/arm/mach-omap2/omap_hwmod_common_ipblock_data.c
29
.sysc = &omap2_dss_sysc,
arch/arm/mach-omap2/omap_hwmod_common_ipblock_data.c
50
.sysc = &omap2_rfbi_sysc,
arch/arm/mach-omap2/wd_timer.c
86
oh->class->sysc->syss_offs)
arch/arm/mach-omap2/wd_timer.c
90
if (oh->class->sysc->srst_udelay)
arch/arm/mach-omap2/wd_timer.c
91
udelay(oh->class->sysc->srst_udelay);
arch/arm/mach-shmobile/smp-sh73a0.c
47
void __iomem *ap, *sysc;
arch/arm/mach-shmobile/smp-sh73a0.c
56
sysc = ioremap(SYSC_BASE, PAGE_SIZE);
arch/arm/mach-shmobile/smp-sh73a0.c
58
writel(__pa(shmobile_boot_vector), sysc + SBAR);
arch/arm/mach-shmobile/smp-sh73a0.c
59
iounmap(sysc);
drivers/bus/ti-sysc.c
1003
struct sysc *ddata;
drivers/bus/ti-sysc.c
1142
struct sysc *ddata;
drivers/bus/ti-sysc.c
1219
struct sysc *ddata)
drivers/bus/ti-sysc.c
1242
struct sysc *ddata)
drivers/bus/ti-sysc.c
1266
struct sysc *ddata;
drivers/bus/ti-sysc.c
1303
struct sysc *ddata;
drivers/bus/ti-sysc.c
1361
static int sysc_check_context(struct sysc *ddata)
drivers/bus/ti-sysc.c
1375
static int sysc_reinit_module(struct sysc *ddata, bool leave_enabled)
drivers/bus/ti-sysc.c
1419
struct sysc *ddata;
drivers/bus/ti-sysc.c
1436
struct sysc *ddata;
drivers/bus/ti-sysc.c
162
void (*pre_reset_quirk)(struct sysc *sysc);
drivers/bus/ti-sysc.c
163
void (*post_reset_quirk)(struct sysc *sysc);
drivers/bus/ti-sysc.c
164
void (*reset_done_quirk)(struct sysc *sysc);
drivers/bus/ti-sysc.c
165
void (*module_enable_quirk)(struct sysc *sysc);
drivers/bus/ti-sysc.c
166
void (*module_disable_quirk)(struct sysc *sysc);
drivers/bus/ti-sysc.c
1667
static void sysc_init_early_quirks(struct sysc *ddata)
drivers/bus/ti-sysc.c
167
void (*module_unlock_quirk)(struct sysc *sysc);
drivers/bus/ti-sysc.c
168
void (*module_lock_quirk)(struct sysc *sysc);
drivers/bus/ti-sysc.c
1696
static void sysc_init_revision_quirks(struct sysc *ddata)
drivers/bus/ti-sysc.c
171
static void sysc_parse_dts_quirks(struct sysc *ddata, struct device_node *np,
drivers/bus/ti-sysc.c
173
static int sysc_reset(struct sysc *ddata);
drivers/bus/ti-sysc.c
1730
static u32 sysc_quirk_dispc(struct sysc *ddata, int dispc_offset,
drivers/bus/ti-sysc.c
175
static void sysc_write(struct sysc *ddata, int offset, u32 value)
drivers/bus/ti-sysc.c
1812
static void sysc_pre_reset_quirk_dss(struct sysc *ddata)
drivers/bus/ti-sysc.c
1849
static void sysc_pre_reset_quirk_hdq1w(struct sysc *ddata)
drivers/bus/ti-sysc.c
1860
static void sysc_module_enable_quirk_aess(struct sysc *ddata)
drivers/bus/ti-sysc.c
1868
static void sysc_clk_quirk_i2c(struct sysc *ddata, bool enable)
drivers/bus/ti-sysc.c
1888
static void sysc_pre_reset_quirk_i2c(struct sysc *ddata)
drivers/bus/ti-sysc.c
1893
static void sysc_post_reset_quirk_i2c(struct sysc *ddata)
drivers/bus/ti-sysc.c
1899
static void sysc_quirk_rtc(struct sysc *ddata, bool lock)
drivers/bus/ti-sysc.c
1922
static void sysc_module_unlock_quirk_rtc(struct sysc *ddata)
drivers/bus/ti-sysc.c
1927
static void sysc_module_lock_quirk_rtc(struct sysc *ddata)
drivers/bus/ti-sysc.c
1933
static void sysc_module_enable_quirk_otg(struct sysc *ddata)
drivers/bus/ti-sysc.c
194
static u32 sysc_read(struct sysc *ddata, int offset)
drivers/bus/ti-sysc.c
1940
static void sysc_module_disable_quirk_otg(struct sysc *ddata)
drivers/bus/ti-sysc.c
1949
static void sysc_module_enable_quirk_sgx(struct sysc *ddata)
drivers/bus/ti-sysc.c
1958
static void sysc_reset_done_quirk_wdt(struct sysc *ddata)
drivers/bus/ti-sysc.c
1982
static void sysc_module_disable_quirk_pruss(struct sysc *ddata)
drivers/bus/ti-sysc.c
1991
static void sysc_module_enable_quirk_pruss(struct sysc *ddata)
drivers/bus/ti-sysc.c
2006
static void sysc_init_module_quirks(struct sysc *ddata)
drivers/bus/ti-sysc.c
2064
static int sysc_clockdomain_init(struct sysc *ddata)
drivers/bus/ti-sysc.c
2096
static int sysc_legacy_init(struct sysc *ddata)
drivers/bus/ti-sysc.c
2115
static int sysc_reset(struct sysc *ddata)
drivers/bus/ti-sysc.c
215
static bool sysc_opt_clks_needed(struct sysc *ddata)
drivers/bus/ti-sysc.c
2171
static int sysc_init_module(struct sysc *ddata)
drivers/bus/ti-sysc.c
220
static u32 sysc_read_revision(struct sysc *ddata)
drivers/bus/ti-sysc.c
2242
static int sysc_init_sysc_mask(struct sysc *ddata)
drivers/bus/ti-sysc.c
2257
static int sysc_init_idlemode(struct sysc *ddata, u8 *idlemodes,
drivers/bus/ti-sysc.c
2274
static int sysc_init_idlemodes(struct sysc *ddata)
drivers/bus/ti-sysc.c
2298
static int sysc_init_syss_mask(struct sysc *ddata)
drivers/bus/ti-sysc.c
230
static u32 sysc_read_sysconfig(struct sysc *ddata)
drivers/bus/ti-sysc.c
2326
static int sysc_child_add_named_clock(struct sysc *ddata,
drivers/bus/ti-sysc.c
2356
static int sysc_child_add_clocks(struct sysc *ddata,
drivers/bus/ti-sysc.c
2379
static struct sysc *sysc_child_to_parent(struct device *dev)
drivers/bus/ti-sysc.c
2391
struct sysc *ddata;
drivers/bus/ti-sysc.c
240
static u32 sysc_read_sysstatus(struct sysc *ddata)
drivers/bus/ti-sysc.c
2408
struct sysc *ddata;
drivers/bus/ti-sysc.c
2427
struct sysc *ddata;
drivers/bus/ti-sysc.c
2469
static void sysc_add_restored(struct sysc *ddata)
drivers/bus/ti-sysc.c
2497
struct sysc *ddata;
drivers/bus/ti-sysc.c
250
static int sysc_poll_reset_sysstatus(struct sysc *ddata)
drivers/bus/ti-sysc.c
2536
static void sysc_parse_dts_quirks(struct sysc *ddata, struct device_node *np,
drivers/bus/ti-sysc.c
2556
static int sysc_init_dts_quirks(struct sysc *ddata)
drivers/bus/ti-sysc.c
2578
static void sysc_unprepare(struct sysc *ddata)
drivers/bus/ti-sysc.c
278
static int sysc_poll_reset_sysconfig(struct sysc *ddata)
drivers/bus/ti-sysc.c
2836
static int sysc_init_pdata(struct sysc *ddata)
drivers/bus/ti-sysc.c
2863
static int sysc_init_match(struct sysc *ddata)
drivers/bus/ti-sysc.c
2880
struct sysc *ddata;
drivers/bus/ti-sysc.c
2882
ddata = container_of(work, struct sysc, idle_work.work);
drivers/bus/ti-sysc.c
2977
static int sysc_init_static_data(struct sysc *ddata)
drivers/bus/ti-sysc.c
304
static int sysc_wait_softreset(struct sysc *ddata)
drivers/bus/ti-sysc.c
3084
static int sysc_check_disabled_devices(struct sysc *ddata)
drivers/bus/ti-sysc.c
3107
static int sysc_check_active_timer(struct sysc *ddata)
drivers/bus/ti-sysc.c
3147
struct sysc *ddata;
drivers/bus/ti-sysc.c
321
static int sysc_add_named_clock_from_child(struct sysc *ddata,
drivers/bus/ti-sysc.c
3274
struct sysc *ddata = platform_get_drvdata(pdev);
drivers/bus/ti-sysc.c
371
static int sysc_init_ext_opt_clock(struct sysc *ddata, const char *name)
drivers/bus/ti-sysc.c
396
static int sysc_get_one_clock(struct sysc *ddata, const char *name)
drivers/bus/ti-sysc.c
438
static int sysc_get_clocks(struct sysc *ddata)
drivers/bus/ti-sysc.c
508
static int sysc_enable_main_clocks(struct sysc *ddata)
drivers/bus/ti-sysc.c
544
static void sysc_disable_main_clocks(struct sysc *ddata)
drivers/bus/ti-sysc.c
561
static int sysc_enable_opt_clocks(struct sysc *ddata)
drivers/bus/ti-sysc.c
595
static void sysc_disable_opt_clocks(struct sysc *ddata)
drivers/bus/ti-sysc.c
614
static void sysc_clkdm_deny_idle(struct sysc *ddata)
drivers/bus/ti-sysc.c
626
static void sysc_clkdm_allow_idle(struct sysc *ddata)
drivers/bus/ti-sysc.c
644
static int sysc_init_resets(struct sysc *ddata)
drivers/bus/ti-sysc.c
661
static int sysc_parse_and_check_child_range(struct sysc *ddata)
drivers/bus/ti-sysc.c
683
static void sysc_init_stdout_path(struct sysc *ddata)
drivers/bus/ti-sysc.c
70
struct sysc *ddata;
drivers/bus/ti-sysc.c
714
static void sysc_check_quirk_stdout(struct sysc *ddata,
drivers/bus/ti-sysc.c
734
static void sysc_check_one_child(struct sysc *ddata,
drivers/bus/ti-sysc.c
747
static void sysc_check_children(struct sysc *ddata)
drivers/bus/ti-sysc.c
761
static void sysc_check_quirk_16bit(struct sysc *ddata, struct resource *res)
drivers/bus/ti-sysc.c
772
static int sysc_parse_one(struct sysc *ddata, enum sysc_registers reg)
drivers/bus/ti-sysc.c
802
static int sysc_parse_registers(struct sysc *ddata)
drivers/bus/ti-sysc.c
819
static int sysc_check_registers(struct sysc *ddata)
drivers/bus/ti-sysc.c
864
static int sysc_ioremap(struct sysc *ddata)
drivers/bus/ti-sysc.c
897
static int sysc_map_and_check_registers(struct sysc *ddata)
drivers/bus/ti-sysc.c
931
static int sysc_show_rev(char *bufp, struct sysc *ddata)
drivers/bus/ti-sysc.c
943
static int sysc_show_reg(struct sysc *ddata,
drivers/bus/ti-sysc.c
952
static int sysc_show_name(char *bufp, struct sysc *ddata)
drivers/bus/ti-sysc.c
964
static void sysc_show_registers(struct sysc *ddata)
drivers/bus/ti-sysc.c
986
static void sysc_write_sysconfig(struct sysc *ddata, u32 value)
drivers/clk/ralink/clk-mt7621.c
101
struct regmap *sysc = clk_gate->priv->sysc;
drivers/clk/ralink/clk-mt7621.c
103
return regmap_update_bits(sysc, SYSC_REG_CLKCFG1,
drivers/clk/ralink/clk-mt7621.c
110
struct regmap *sysc = clk_gate->priv->sysc;
drivers/clk/ralink/clk-mt7621.c
112
regmap_update_bits(sysc, SYSC_REG_CLKCFG1, clk_gate->bit_idx, 0);
drivers/clk/ralink/clk-mt7621.c
118
struct regmap *sysc = clk_gate->priv->sysc;
drivers/clk/ralink/clk-mt7621.c
121
if (regmap_read(sysc, SYSC_REG_CLKCFG1, &val))
drivers/clk/ralink/clk-mt7621.c
240
struct regmap *sysc = clk->priv->sysc;
drivers/clk/ralink/clk-mt7621.c
243
regmap_read(sysc, SYSC_REG_SYSTEM_CONFIG0, &val);
drivers/clk/ralink/clk-mt7621.c
259
struct regmap *sysc = clk->priv->sysc;
drivers/clk/ralink/clk-mt7621.c
265
regmap_read(sysc, SYSC_REG_CLKCFG0, &clkcfg);
drivers/clk/ralink/clk-mt7621.c
268
regmap_read(sysc, SYSC_REG_CUR_CLK_STS, &curclk);
drivers/clk/ralink/clk-mt7621.c
36
struct regmap *sysc;
drivers/clk/ralink/clk-mt7621.c
361
priv->sysc = syscon_node_to_regmap(node);
drivers/clk/ralink/clk-mt7621.c
362
if (IS_ERR(priv->sysc)) {
drivers/clk/ralink/clk-mt7621.c
412
struct regmap *sysc;
drivers/clk/ralink/clk-mt7621.c
424
struct regmap *sysc = data->sysc;
drivers/clk/ralink/clk-mt7621.c
426
return regmap_update_bits(sysc, SYSC_REG_RESET_CTRL, BIT(id), BIT(id));
drivers/clk/ralink/clk-mt7621.c
433
struct regmap *sysc = data->sysc;
drivers/clk/ralink/clk-mt7621.c
435
return regmap_update_bits(sysc, SYSC_REG_RESET_CTRL, BIT(id), 0);
drivers/clk/ralink/clk-mt7621.c
467
static int mt7621_reset_init(struct device *dev, struct regmap *sysc)
drivers/clk/ralink/clk-mt7621.c
475
rst_data->sysc = sysc;
drivers/clk/ralink/clk-mt7621.c
498
priv->sysc = syscon_node_to_regmap(np);
drivers/clk/ralink/clk-mt7621.c
499
if (IS_ERR(priv->sysc)) {
drivers/clk/ralink/clk-mt7621.c
500
ret = PTR_ERR(priv->sysc);
drivers/clk/ralink/clk-mt7621.c
512
ret = mt7621_reset_init(dev, priv->sysc);
drivers/clk/ralink/clk-mtmips.c
1023
struct regmap *sysc;
drivers/clk/ralink/clk-mtmips.c
1035
struct regmap *sysc = data->sysc;
drivers/clk/ralink/clk-mtmips.c
1037
return regmap_update_bits(sysc, SYSC_REG_RESET_CTRL, BIT(id), BIT(id));
drivers/clk/ralink/clk-mtmips.c
1044
struct regmap *sysc = data->sysc;
drivers/clk/ralink/clk-mtmips.c
1046
return regmap_update_bits(sysc, SYSC_REG_RESET_CTRL, BIT(id), 0);
drivers/clk/ralink/clk-mtmips.c
1078
static int mtmips_reset_init(struct device *dev, struct regmap *sysc)
drivers/clk/ralink/clk-mtmips.c
1086
rst_data->sysc = sysc;
drivers/clk/ralink/clk-mtmips.c
110
struct regmap *sysc;
drivers/clk/ralink/clk-mtmips.c
1108
priv->sysc = syscon_node_to_regmap(np);
drivers/clk/ralink/clk-mtmips.c
1109
if (IS_ERR(priv->sysc))
drivers/clk/ralink/clk-mtmips.c
1110
return dev_err_probe(dev, PTR_ERR(priv->sysc),
drivers/clk/ralink/clk-mtmips.c
1113
ret = mtmips_reset_init(dev, priv->sysc);
drivers/clk/ralink/clk-mtmips.c
395
struct regmap *sysc = clk->priv->sysc;
drivers/clk/ralink/clk-mtmips.c
398
regmap_read(sysc, SYSC_REG_SYSTEM_CONFIG, &val);
drivers/clk/ralink/clk-mtmips.c
409
struct regmap *sysc = clk->priv->sysc;
drivers/clk/ralink/clk-mtmips.c
412
regmap_read(sysc, SYSC_REG_SYSTEM_CONFIG, &t);
drivers/clk/ralink/clk-mtmips.c
440
struct regmap *sysc = clk->priv->sysc;
drivers/clk/ralink/clk-mtmips.c
443
regmap_read(sysc, SYSC_REG_SYSTEM_CONFIG, &t);
drivers/clk/ralink/clk-mtmips.c
460
struct regmap *sysc = clk->priv->sysc;
drivers/clk/ralink/clk-mtmips.c
463
regmap_read(sysc, SYSC_REG_SYSTEM_CONFIG, &t);
drivers/clk/ralink/clk-mtmips.c
480
struct regmap *sysc = clk->priv->sysc;
drivers/clk/ralink/clk-mtmips.c
483
regmap_read(sysc, SYSC_REG_SYSTEM_CONFIG, &t);
drivers/clk/ralink/clk-mtmips.c
504
struct regmap *sysc = clk->priv->sysc;
drivers/clk/ralink/clk-mtmips.c
508
regmap_read(sysc, SYSC_REG_SYSTEM_CONFIG, &t);
drivers/clk/ralink/clk-mtmips.c
530
struct regmap *sysc = clk->priv->sysc;
drivers/clk/ralink/clk-mtmips.c
533
regmap_read(sysc, SYSC_REG_SYSTEM_CONFIG, &t);
drivers/clk/ralink/clk-mtmips.c
566
struct regmap *sysc = clk->priv->sysc;
drivers/clk/ralink/clk-mtmips.c
572
regmap_read(sysc, SYSC_REG_CPLL_CONFIG0, &t);
drivers/clk/ralink/clk-mtmips.c
592
regmap_read(sysc, SYSC_REG_CPLL_CONFIG1, &t);
drivers/clk/ralink/clk-mtmips.c
606
struct regmap *sysc = clk->priv->sysc;
drivers/clk/ralink/clk-mtmips.c
611
regmap_read(sysc, SYSC_REG_CPU_SYS_CLKCFG, &t);
drivers/clk/ralink/clk-mtmips.c
630
struct regmap *sysc = clk->priv->sysc;
drivers/clk/ralink/clk-mtmips.c
635
regmap_read(sysc, SYSC_REG_CPU_SYS_CLKCFG, &t);
drivers/clk/ralink/clk-mtmips.c
654
struct regmap *sysc = clk->priv->sysc;
drivers/clk/ralink/clk-mtmips.c
657
regmap_read(sysc, SYSC_REG_CLKCFG0, &t);
drivers/clk/ralink/clk-mtmips.c
668
struct regmap *sysc = clk->priv->sysc;
drivers/clk/ralink/clk-mtmips.c
671
regmap_read(sysc, SYSC_REG_SYSTEM_CONFIG, &t);
drivers/clk/ralink/clk-mtmips.c
905
regmap_read(priv->sysc, SYSC_REG_CPU_SYS_CLKCFG, &t);
drivers/clk/ralink/clk-mtmips.c
908
regmap_write(priv->sysc, SYSC_REG_CPU_SYS_CLKCFG, t);
drivers/clk/ralink/clk-mtmips.c
923
priv->sysc = syscon_node_to_regmap(node);
drivers/clk/ralink/clk-mtmips.c
924
if (IS_ERR(priv->sysc)) {
drivers/clocksource/timer-ti-32k.c
108
void __iomem *sysc = base + 4;
drivers/clocksource/timer-ti-32k.c
120
writel_relaxed(0, sysc);
drivers/clocksource/timer-ti-dm-systimer.c
110
void __iomem *sysc = t->base + t->sysc;
drivers/clocksource/timer-ti-dm-systimer.c
114
l = readl_relaxed(sysc);
drivers/clocksource/timer-ti-dm-systimer.c
116
writel_relaxed(l, sysc);
drivers/clocksource/timer-ti-dm-systimer.c
118
return readl_poll_timeout_atomic(sysc, l, !(l & BIT(0)), 100,
drivers/clocksource/timer-ti-dm-systimer.c
39
u8 sysc;
drivers/clocksource/timer-ti-dm-systimer.c
407
t->sysc = OMAP_TIMER_OCP_CFG_OFFSET;
drivers/clocksource/timer-ti-dm-systimer.c
417
readl_relaxed(t->base + t->sysc));
drivers/clocksource/timer-ti-dm-systimer.c
677
if (t->sysc) {
drivers/clocksource/timer-ti-dm-systimer.c
82
writel_relaxed(val, t->base + t->sysc);
drivers/clocksource/timer-ti-dm-systimer.c
90
writel_relaxed(DMTIMER_TYPE1_DISABLE, t->base + t->sysc);
drivers/i2c/busses/i2c-omap.c
314
u16 sysc;
drivers/i2c/busses/i2c-omap.c
317
sysc = omap_i2c_read_reg(omap, OMAP_I2C_SYSC_REG);
drivers/i2c/busses/i2c-omap.c
340
omap_i2c_write_reg(omap, OMAP_I2C_SYSC_REG, sysc);
drivers/mmc/host/sdhci-omap.c
847
u32 sysc;
drivers/mmc/host/sdhci-omap.c
851
sysc = sdhci_omap_readl(omap_host, SDHCI_OMAP_SYSCONFIG);
drivers/mmc/host/sdhci-omap.c
879
sdhci_omap_writel(omap_host, SDHCI_OMAP_SYSCONFIG, sysc);
drivers/pci/controller/pcie-rzg3s-host.c
1544
host->sysc = syscon_node_to_regmap(sysc_np);
drivers/pci/controller/pcie-rzg3s-host.c
1545
if (IS_ERR(host->sysc)) {
drivers/pci/controller/pcie-rzg3s-host.c
1546
ret = PTR_ERR(host->sysc);
drivers/pci/controller/pcie-rzg3s-host.c
1550
ret = regmap_update_bits(host->sysc, RZG3S_SYS_PCIE_RST_RSM_B,
drivers/pci/controller/pcie-rzg3s-host.c
1605
regmap_update_bits(host->sysc, RZG3S_SYS_PCIE_RST_RSM_B,
drivers/pci/controller/pcie-rzg3s-host.c
1619
struct regmap *sysc = host->sysc;
drivers/pci/controller/pcie-rzg3s-host.c
1638
ret = regmap_update_bits(sysc, RZG3S_SYS_PCIE_RST_RSM_B,
drivers/pci/controller/pcie-rzg3s-host.c
1663
struct regmap *sysc = host->sysc;
drivers/pci/controller/pcie-rzg3s-host.c
1666
ret = regmap_update_bits(sysc, RZG3S_SYS_PCIE_RST_RSM_B,
drivers/pci/controller/pcie-rzg3s-host.c
1697
regmap_update_bits(sysc, RZG3S_SYS_PCIE_RST_RSM_B,
drivers/pci/controller/pcie-rzg3s-host.c
251
struct regmap *sysc;
drivers/soc/renesas/rz-sysc.c
110
struct rz_sysc *sysc;
drivers/soc/renesas/rz-sysc.c
123
sysc = devm_kzalloc(dev, sizeof(*sysc), GFP_KERNEL);
drivers/soc/renesas/rz-sysc.c
124
if (!sysc)
drivers/soc/renesas/rz-sysc.c
127
sysc->base = devm_platform_ioremap_resource(pdev, 0);
drivers/soc/renesas/rz-sysc.c
128
if (IS_ERR(sysc->base))
drivers/soc/renesas/rz-sysc.c
129
return PTR_ERR(sysc->base);
drivers/soc/renesas/rz-sysc.c
131
sysc->dev = dev;
drivers/soc/renesas/rz-sysc.c
132
ret = rz_sysc_soc_init(sysc, match);
drivers/soc/renesas/rz-sysc.c
145
regmap = devm_regmap_init_mmio(dev, sysc->base, regmap_cfg);
drivers/soc/renesas/rz-sysc.c
30
static int rz_sysc_soc_init(struct rz_sysc *sysc, const struct of_device_id *match)
drivers/soc/renesas/rz-sysc.c
48
soc_dev_attr = devm_kzalloc(sysc->dev, sizeof(*soc_dev_attr), GFP_KERNEL);
drivers/soc/renesas/rz-sysc.c
52
soc_dev_attr->family = devm_kstrdup(sysc->dev, soc_data->family, GFP_KERNEL);
drivers/soc/renesas/rz-sysc.c
56
soc_dev_attr->soc_id = devm_kstrdup(sysc->dev, soc_id, GFP_KERNEL);
drivers/soc/renesas/rz-sysc.c
60
val = readl(sysc->base + soc_data->devid_offset);
drivers/soc/renesas/rz-sysc.c
63
soc_dev_attr->revision = devm_kasprintf(sysc->dev, GFP_KERNEL, "%u", revision);
drivers/soc/renesas/rz-sysc.c
68
dev_warn(sysc->dev, "SoC mismatch (product = 0x%x)\n", specific_id);
drivers/soc/renesas/rz-sysc.c
74
soc_data->print_id(sysc->dev, sysc->base, soc_dev_attr);
drivers/soc/renesas/rz-sysc.c
76
dev_info(sysc->dev, "Detected Renesas %s %s Rev %s\n",
drivers/tty/serial/8250/8250_omap.c
1734
int sysc;
drivers/tty/serial/8250/8250_omap.c
1750
sysc = uart_read(priv, UART_OMAP_SYSC);
drivers/tty/serial/8250/8250_omap.c
1753
sysc |= OMAP_UART_SYSC_SOFTRESET;
drivers/tty/serial/8250/8250_omap.c
1754
uart_write(priv, UART_OMAP_SYSC, sysc);
drivers/watchdog/mt7621_wdt.c
112
regmap_read(d->sysc, SYSC_RSTSTAT, &val);
drivers/watchdog/mt7621_wdt.c
151
drvdata->sysc = syscon_regmap_lookup_by_phandle(np, "mediatek,sysctl");
drivers/watchdog/mt7621_wdt.c
152
if (IS_ERR(drvdata->sysc)) {
drivers/watchdog/mt7621_wdt.c
153
drvdata->sysc = syscon_regmap_lookup_by_compatible("mediatek,mt7621-sysc");
drivers/watchdog/mt7621_wdt.c
154
if (IS_ERR(drvdata->sysc))
drivers/watchdog/mt7621_wdt.c
155
return PTR_ERR(drvdata->sysc);
drivers/watchdog/mt7621_wdt.c
37
struct regmap *sysc;