Lines Matching refs:sysc

58 	struct sysc *ddata;
128 struct sysc { struct
151 void (*pre_reset_quirk)(struct sysc *sysc); argument
152 void (*post_reset_quirk)(struct sysc *sysc); argument
153 void (*reset_done_quirk)(struct sysc *sysc); argument
154 void (*module_enable_quirk)(struct sysc *sysc); argument
155 void (*module_disable_quirk)(struct sysc *sysc); argument
156 void (*module_unlock_quirk)(struct sysc *sysc); argument
157 void (*module_lock_quirk)(struct sysc *sysc); argument
160 static void sysc_parse_dts_quirks(struct sysc *ddata, struct device_node *np,
162 static int sysc_reset(struct sysc *ddata);
164 static void sysc_write(struct sysc *ddata, int offset, u32 value) in sysc_write()
183 static u32 sysc_read(struct sysc *ddata, int offset) in sysc_read()
204 static bool sysc_opt_clks_needed(struct sysc *ddata) in sysc_opt_clks_needed()
209 static u32 sysc_read_revision(struct sysc *ddata) in sysc_read_revision()
219 static u32 sysc_read_sysconfig(struct sysc *ddata) in sysc_read_sysconfig()
229 static u32 sysc_read_sysstatus(struct sysc *ddata) in sysc_read_sysstatus()
239 static int sysc_poll_reset_sysstatus(struct sysc *ddata) in sysc_poll_reset_sysstatus()
267 static int sysc_poll_reset_sysconfig(struct sysc *ddata) in sysc_poll_reset_sysconfig()
293 static int sysc_wait_softreset(struct sysc *ddata) in sysc_wait_softreset()
310 static int sysc_add_named_clock_from_child(struct sysc *ddata, in sysc_add_named_clock_from_child()
360 static int sysc_init_ext_opt_clock(struct sysc *ddata, const char *name) in sysc_init_ext_opt_clock()
385 static int sysc_get_one_clock(struct sysc *ddata, const char *name) in sysc_get_one_clock()
427 static int sysc_get_clocks(struct sysc *ddata) in sysc_get_clocks()
497 static int sysc_enable_main_clocks(struct sysc *ddata) in sysc_enable_main_clocks()
533 static void sysc_disable_main_clocks(struct sysc *ddata) in sysc_disable_main_clocks()
550 static int sysc_enable_opt_clocks(struct sysc *ddata) in sysc_enable_opt_clocks()
584 static void sysc_disable_opt_clocks(struct sysc *ddata) in sysc_disable_opt_clocks()
603 static void sysc_clkdm_deny_idle(struct sysc *ddata) in sysc_clkdm_deny_idle()
615 static void sysc_clkdm_allow_idle(struct sysc *ddata) in sysc_clkdm_allow_idle()
633 static int sysc_init_resets(struct sysc *ddata) in sysc_init_resets()
650 static int sysc_parse_and_check_child_range(struct sysc *ddata) in sysc_parse_and_check_child_range()
692 static int sysc_defer_non_critical(struct sysc *ddata) in sysc_defer_non_critical()
717 static void sysc_init_stdout_path(struct sysc *ddata) in sysc_init_stdout_path()
748 static void sysc_check_quirk_stdout(struct sysc *ddata, in sysc_check_quirk_stdout()
768 static void sysc_check_one_child(struct sysc *ddata, in sysc_check_one_child()
781 static void sysc_check_children(struct sysc *ddata) in sysc_check_children()
795 static void sysc_check_quirk_16bit(struct sysc *ddata, struct resource *res) in sysc_check_quirk_16bit()
806 static int sysc_parse_one(struct sysc *ddata, enum sysc_registers reg) in sysc_parse_one()
836 static int sysc_parse_registers(struct sysc *ddata) in sysc_parse_registers()
853 static int sysc_check_registers(struct sysc *ddata) in sysc_check_registers()
898 static int sysc_ioremap(struct sysc *ddata) in sysc_ioremap()
931 static int sysc_map_and_check_registers(struct sysc *ddata) in sysc_map_and_check_registers()
969 static int sysc_show_rev(char *bufp, struct sysc *ddata) in sysc_show_rev()
981 static int sysc_show_reg(struct sysc *ddata, in sysc_show_reg()
990 static int sysc_show_name(char *bufp, struct sysc *ddata) in sysc_show_name()
1002 static void sysc_show_registers(struct sysc *ddata) in sysc_show_registers()
1024 static void sysc_write_sysconfig(struct sysc *ddata, u32 value) in sysc_write_sysconfig()
1041 struct sysc *ddata; in sysc_enable_module()
1180 struct sysc *ddata; in sysc_disable_module()
1257 struct sysc *ddata) in sysc_runtime_suspend_legacy()
1280 struct sysc *ddata) in sysc_runtime_resume_legacy()
1304 struct sysc *ddata; in sysc_runtime_suspend()
1341 struct sysc *ddata; in sysc_runtime_resume()
1399 static int sysc_check_context(struct sysc *ddata) in sysc_check_context()
1413 static int sysc_reinit_module(struct sysc *ddata, bool leave_enabled) in sysc_reinit_module()
1457 struct sysc *ddata; in sysc_noirq_suspend()
1475 struct sysc *ddata; in sysc_noirq_resume()
1709 static void sysc_init_early_quirks(struct sysc *ddata) in sysc_init_early_quirks()
1738 static void sysc_init_revision_quirks(struct sysc *ddata) in sysc_init_revision_quirks()
1772 static u32 sysc_quirk_dispc(struct sysc *ddata, int dispc_offset, in sysc_quirk_dispc()
1854 static void sysc_pre_reset_quirk_dss(struct sysc *ddata) in sysc_pre_reset_quirk_dss()
1891 static void sysc_pre_reset_quirk_hdq1w(struct sysc *ddata) in sysc_pre_reset_quirk_hdq1w()
1902 static void sysc_module_enable_quirk_aess(struct sysc *ddata) in sysc_module_enable_quirk_aess()
1910 static void sysc_clk_quirk_i2c(struct sysc *ddata, bool enable) in sysc_clk_quirk_i2c()
1930 static void sysc_pre_reset_quirk_i2c(struct sysc *ddata) in sysc_pre_reset_quirk_i2c()
1935 static void sysc_post_reset_quirk_i2c(struct sysc *ddata) in sysc_post_reset_quirk_i2c()
1941 static void sysc_quirk_rtc(struct sysc *ddata, bool lock) in sysc_quirk_rtc()
1964 static void sysc_module_unlock_quirk_rtc(struct sysc *ddata) in sysc_module_unlock_quirk_rtc()
1969 static void sysc_module_lock_quirk_rtc(struct sysc *ddata) in sysc_module_lock_quirk_rtc()
1975 static void sysc_module_enable_quirk_otg(struct sysc *ddata) in sysc_module_enable_quirk_otg()
1982 static void sysc_module_disable_quirk_otg(struct sysc *ddata) in sysc_module_disable_quirk_otg()
1991 static void sysc_module_enable_quirk_sgx(struct sysc *ddata) in sysc_module_enable_quirk_sgx()
2000 static void sysc_reset_done_quirk_wdt(struct sysc *ddata) in sysc_reset_done_quirk_wdt()
2024 static void sysc_module_disable_quirk_pruss(struct sysc *ddata) in sysc_module_disable_quirk_pruss()
2033 static void sysc_init_module_quirks(struct sysc *ddata) in sysc_init_module_quirks()
2089 static int sysc_clockdomain_init(struct sysc *ddata) in sysc_clockdomain_init()
2121 static int sysc_legacy_init(struct sysc *ddata) in sysc_legacy_init()
2140 static int sysc_reset(struct sysc *ddata) in sysc_reset()
2197 static int sysc_init_module(struct sysc *ddata) in sysc_init_module()
2267 static int sysc_init_sysc_mask(struct sysc *ddata) in sysc_init_sysc_mask()
2282 static int sysc_init_idlemode(struct sysc *ddata, u8 *idlemodes, in sysc_init_idlemode()
2301 static int sysc_init_idlemodes(struct sysc *ddata) in sysc_init_idlemodes()
2325 static int sysc_init_syss_mask(struct sysc *ddata) in sysc_init_syss_mask()
2353 static int sysc_child_add_named_clock(struct sysc *ddata, in sysc_child_add_named_clock()
2383 static int sysc_child_add_clocks(struct sysc *ddata, in sysc_child_add_clocks()
2406 static struct sysc *sysc_child_to_parent(struct device *dev) in sysc_child_to_parent()
2418 struct sysc *ddata; in sysc_child_runtime_suspend()
2435 struct sysc *ddata; in sysc_child_runtime_resume()
2453 struct sysc *ddata; in sysc_child_suspend_noirq()
2494 struct sysc *ddata; in sysc_child_resume_noirq()
2537 struct sysc *ddata; in sysc_reinit_modules()
2579 static void sysc_add_restored(struct sysc *ddata) in sysc_add_restored()
2616 static void sysc_legacy_idle_quirk(struct sysc *ddata, struct device *child) in sysc_legacy_idle_quirk()
2626 struct sysc *ddata; in sysc_notifier_call()
2666 static void sysc_parse_dts_quirks(struct sysc *ddata, struct device_node *np, in sysc_parse_dts_quirks()
2688 static int sysc_init_dts_quirks(struct sysc *ddata) in sysc_init_dts_quirks()
2710 static void sysc_unprepare(struct sysc *ddata) in sysc_unprepare()
2970 static int sysc_init_pdata(struct sysc *ddata) in sysc_init_pdata()
2997 static int sysc_init_match(struct sysc *ddata) in sysc_init_match()
3014 struct sysc *ddata; in ti_sysc_idle()
3016 ddata = container_of(work, struct sysc, idle_work.work); in ti_sysc_idle()
3110 static int sysc_init_static_data(struct sysc *ddata) in sysc_init_static_data()
3217 static int sysc_check_disabled_devices(struct sysc *ddata) in sysc_check_disabled_devices()
3240 static int sysc_check_active_timer(struct sysc *ddata) in sysc_check_active_timer()
3275 struct sysc *ddata; in sysc_probe()
3402 struct sysc *ddata = platform_get_drvdata(pdev); in sysc_remove()