Searched refs:ttc (Results 1 - 3 of 3) sorted by relevance
/linux-4.1.27/drivers/clocksource/ |
H A D | cadence_ttc_timer.c | 92 struct ttc_timer ttc; member in struct:ttc_timer_clocksource 100 struct ttc_timer ttc; member in struct:ttc_timer_clockevent 147 struct ttc_timer *timer = &ttce->ttc; ttc_clock_event_interrupt() 164 struct ttc_timer *timer = &to_ttc_timer_clksrc(cs)->ttc; __ttc_clocksource_read() 187 struct ttc_timer *timer = &ttce->ttc; ttc_set_next_event() 203 struct ttc_timer *timer = &ttce->ttc; ttc_set_mode() 208 ttc_set_interval(timer, DIV_ROUND_CLOSEST(ttce->ttc.freq, ttc_set_mode() 234 struct ttc_timer *ttc = to_ttc_timer(nb); ttc_rate_change_clocksource_cb() local 235 struct ttc_timer_clocksource *ttccs = container_of(ttc, ttc_rate_change_clocksource_cb() 236 struct ttc_timer_clocksource, ttc); ttc_rate_change_clocksource_cb() 269 readl_relaxed(ttccs->ttc.base_addr + ttc_rate_change_clocksource_cb() 295 ttccs->ttc.base_addr + TTC_CLK_CNTRL_OFFSET); ttc_rate_change_clocksource_cb() 305 ttccs->ttc.base_addr + TTC_CLK_CNTRL_OFFSET); ttc_rate_change_clocksource_cb() 315 ttccs->ttc.base_addr + TTC_CLK_CNTRL_OFFSET); ttc_rate_change_clocksource_cb() 334 ttccs->ttc.clk = clk; ttc_setup_clocksource() 336 err = clk_prepare_enable(ttccs->ttc.clk); ttc_setup_clocksource() 342 ttccs->ttc.freq = clk_get_rate(ttccs->ttc.clk); ttc_setup_clocksource() 344 ttccs->ttc.clk_rate_change_nb.notifier_call = ttc_setup_clocksource() 346 ttccs->ttc.clk_rate_change_nb.next = NULL; ttc_setup_clocksource() 347 if (clk_notifier_register(ttccs->ttc.clk, ttc_setup_clocksource() 348 &ttccs->ttc.clk_rate_change_nb)) ttc_setup_clocksource() 351 ttccs->ttc.base_addr = base; ttc_setup_clocksource() 363 writel_relaxed(0x0, ttccs->ttc.base_addr + TTC_IER_OFFSET); ttc_setup_clocksource() 365 ttccs->ttc.base_addr + TTC_CLK_CNTRL_OFFSET); ttc_setup_clocksource() 367 ttccs->ttc.base_addr + TTC_CNT_CNTRL_OFFSET); ttc_setup_clocksource() 369 err = clocksource_register_hz(&ttccs->cs, ttccs->ttc.freq / PRESCALE); ttc_setup_clocksource() 377 ttccs->ttc.freq / PRESCALE); ttc_setup_clocksource() 384 struct ttc_timer *ttc = to_ttc_timer(nb); ttc_rate_change_clockevent_cb() local 385 struct ttc_timer_clockevent *ttcce = container_of(ttc, ttc_rate_change_clockevent_cb() 386 struct ttc_timer_clockevent, ttc); ttc_rate_change_clockevent_cb() 391 ttc->freq = ndata->new_rate; ttc_rate_change_clockevent_cb() 413 ttcce->ttc.clk = clk; ttc_setup_clockevent() 415 err = clk_prepare_enable(ttcce->ttc.clk); ttc_setup_clockevent() 421 ttcce->ttc.clk_rate_change_nb.notifier_call = ttc_setup_clockevent() 423 ttcce->ttc.clk_rate_change_nb.next = NULL; ttc_setup_clockevent() 424 if (clk_notifier_register(ttcce->ttc.clk, ttc_setup_clockevent() 425 &ttcce->ttc.clk_rate_change_nb)) ttc_setup_clockevent() 427 ttcce->ttc.freq = clk_get_rate(ttcce->ttc.clk); ttc_setup_clockevent() 429 ttcce->ttc.base_addr = base; ttc_setup_clockevent() 443 writel_relaxed(0x23, ttcce->ttc.base_addr + TTC_CNT_CNTRL_OFFSET); ttc_setup_clockevent() 445 ttcce->ttc.base_addr + TTC_CLK_CNTRL_OFFSET); ttc_setup_clockevent() 446 writel_relaxed(0x1, ttcce->ttc.base_addr + TTC_IER_OFFSET); ttc_setup_clockevent() 456 ttcce->ttc.freq / PRESCALE, 1, 0xfffe); ttc_setup_clockevent() 520 CLOCKSOURCE_OF_DECLARE(ttc, "cdns,ttc", ttc_timer_init);
|
/linux-4.1.27/sound/soc/pxa/ |
H A D | ttc-dkb.c | 41 /* ttc machine dapm widgets */ 52 /* ttc machine audio map */ 96 /* ttc/td-dkb digital audio interface glue - connects codec <--> CPU */ 111 /* ttc/td audio machine driver */ 113 .name = "ttc-dkb-hifi", 150 .name = "ttc-dkb-audio", 163 MODULE_ALIAS("platform:ttc-dkb-audio");
|
H A D | Makefile | 34 snd-soc-ttc-dkb-objs := ttc-dkb.o 53 obj-$(CONFIG_SND_SOC_TTC_DKB) += snd-soc-ttc-dkb.o
|
Completed in 157 milliseconds