Searched refs:sh_ubc (Results 1 – 3 of 3) sorted by relevance
37 static struct sh_ubc ubc_dummy = { .num_events = 0 };39 static struct sh_ubc *sh_ubc __read_mostly = &ubc_dummy;54 for (i = 0; i < sh_ubc->num_events; i++) { in arch_install_hw_breakpoint()63 if (WARN_ONCE(i == sh_ubc->num_events, "Can't find any breakpoint slot")) in arch_install_hw_breakpoint()66 clk_enable(sh_ubc->clk); in arch_install_hw_breakpoint()67 sh_ubc->enable(info, i); in arch_install_hw_breakpoint()86 for (i = 0; i < sh_ubc->num_events; i++) { in arch_uninstall_hw_breakpoint()95 if (WARN_ONCE(i == sh_ubc->num_events, "Can't find any breakpoint slot")) in arch_uninstall_hw_breakpoint()98 sh_ubc->disable(info, i); in arch_uninstall_hw_breakpoint()99 clk_disable(sh_ubc->clk); in arch_uninstall_hw_breakpoint()[all …]
29 struct sh_ubc { struct66 extern int register_sh_ubc(struct sh_ubc *);
33 static struct sh_ubc sh4a_ubc;88 static struct sh_ubc sh4a_ubc = {