Home
last modified time | relevance | path

Searched refs:ost (Results 1 – 3 of 3) sorted by relevance

/drivers/clocksource/
A Dingenic-sysost.c284 ost_clk->ost = ost; in ingenic_ost_register_clock()
340 snprintf(ost->name, sizeof(ost->name), "OST percpu timer"); in ingenic_ost_percpu_timer_init()
343 ost->name, &ost->cevt); in ingenic_ost_percpu_timer_init()
349 ost->cevt.name = ost->name; in ingenic_ost_percpu_timer_init()
430 ost = kzalloc(sizeof(*ost), GFP_KERNEL); in ingenic_ost_probe()
431 if (!ost) in ingenic_ost_probe()
456 ost->clocks = kzalloc(struct_size(ost->clocks, hws, ost->soc_info->num_channels), in ingenic_ost_probe()
463 ost->clocks->num = ost->soc_info->num_channels; in ingenic_ost_probe()
493 kfree(ost); in ingenic_ost_probe()
512 if (IS_ERR(ost)) in ingenic_ost_init()
[all …]
A Dingenic-ost.c70 struct ingenic_ost *ost; in ingenic_ost_probe() local
80 ost = devm_kzalloc(dev, sizeof(*ost), GFP_KERNEL); in ingenic_ost_probe()
81 if (!ost) in ingenic_ost_probe()
84 ingenic_ost = ost; in ingenic_ost_probe()
87 if (IS_ERR(ost->regs)) in ingenic_ost_probe()
88 return PTR_ERR(ost->regs); in ingenic_ost_probe()
97 if (IS_ERR(ost->clk)) in ingenic_ost_probe()
98 return PTR_ERR(ost->clk); in ingenic_ost_probe()
114 cs = &ost->cs; in ingenic_ost_probe()
143 clk_disable(ost->clk); in ingenic_ost_suspend()
[all …]
A DMakefile79 obj-$(CONFIG_INGENIC_OST) += ingenic-ost.o

Completed in 9 milliseconds