Home
last modified time | relevance | path

Searched full:ost (Results 1 – 25 of 60) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/clocksource/
Dingenic-sysost.c22 /* OST register offsets */
70 struct ingenic_ost *ost; member
99 prescale = readl(ost_clk->ost->base + info->ostccr_reg); in ingenic_ost_percpu_timer_recalc_rate()
113 prescale = readl(ost_clk->ost->base + info->ostccr_reg); in ingenic_ost_global_timer_recalc_rate()
153 val = readl(ost_clk->ost->base + info->ostccr_reg); in ingenic_ost_percpu_timer_set_rate()
155 writel(val, ost_clk->ost->base + info->ostccr_reg); in ingenic_ost_percpu_timer_set_rate()
168 val = readl(ost_clk->ost->base + info->ostccr_reg); in ingenic_ost_global_timer_set_rate()
170 writel(val, ost_clk->ost->base + info->ostccr_reg); in ingenic_ost_global_timer_set_rate()
215 struct ingenic_ost *ost = ingenic_ost; in ingenic_ost_global_timer_read_cntl() local
218 count = readl(ost->base + OST_REG_OST2CNTL); in ingenic_ost_global_timer_read_cntl()
[all …]
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()
86 ost->regs = devm_platform_ioremap_resource(pdev, 0); in ingenic_ost_probe()
87 if (IS_ERR(ost->regs)) in ingenic_ost_probe()
88 return PTR_ERR(ost->regs); in ingenic_ost_probe()
96 ost->clk = devm_clk_get(dev, "ost"); in ingenic_ost_probe()
97 if (IS_ERR(ost->clk)) in ingenic_ost_probe()
98 return PTR_ERR(ost->clk); in ingenic_ost_probe()
[all …]
/kernel/linux/linux-6.6/drivers/clocksource/
Dingenic-sysost.c23 /* OST register offsets */
69 struct ingenic_ost *ost; member
98 prescale = readl(ost_clk->ost->base + info->ostccr_reg); in ingenic_ost_percpu_timer_recalc_rate()
112 prescale = readl(ost_clk->ost->base + info->ostccr_reg); in ingenic_ost_global_timer_recalc_rate()
152 val = readl(ost_clk->ost->base + info->ostccr_reg); in ingenic_ost_percpu_timer_set_rate()
155 writel(val, ost_clk->ost->base + info->ostccr_reg); in ingenic_ost_percpu_timer_set_rate()
168 val = readl(ost_clk->ost->base + info->ostccr_reg); in ingenic_ost_global_timer_set_rate()
171 writel(val, ost_clk->ost->base + info->ostccr_reg); in ingenic_ost_global_timer_set_rate()
216 struct ingenic_ost *ost = ingenic_ost; in ingenic_ost_global_timer_read_cntl() local
219 count = readl(ost->base + OST_REG_OST2CNTL); in ingenic_ost_global_timer_read_cntl()
[all …]
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()
86 ost->regs = devm_platform_ioremap_resource(pdev, 0); in ingenic_ost_probe()
87 if (IS_ERR(ost->regs)) in ingenic_ost_probe()
88 return PTR_ERR(ost->regs); in ingenic_ost_probe()
96 ost->clk = devm_clk_get(dev, "ost"); in ingenic_ost_probe()
97 if (IS_ERR(ost->clk)) in ingenic_ost_probe()
98 return PTR_ERR(ost->clk); in ingenic_ost_probe()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/timer/
Dingenic,tcu.yaml199 - ingenic,jz4725b-ost
200 - ingenic,jz4760b-ost
202 - const: ingenic,jz4760-ost
203 - const: ingenic,jz4725b-ost
206 - ingenic,jz4780-ost
207 - ingenic,jz4770-ost
208 - const: ingenic,jz4760b-ost
217 const: ost
293 ost: timer@e0 {
294 compatible = "ingenic,jz4770-ost", "ingenic,jz4760b-ost";
[all …]
Dingenic,sysost.yaml22 - ingenic,x1000-ost
23 - ingenic,x2000-ost
32 const: ost
51 ost: timer@12000000 {
52 compatible = "ingenic,x1000-ost";
58 clock-names = "ost";
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/timer/
Dingenic,sysost.yaml22 - ingenic,x1000-ost
23 - ingenic,x2000-ost
32 const: ost
51 ost: timer@12000000 {
52 compatible = "ingenic,x1000-ost";
58 clock-names = "ost";
Dingenic,tcu.yaml185 - ingenic,jz4725b-ost
186 - ingenic,jz4770-ost
188 - const: ingenic,jz4780-ost
189 - const: ingenic,jz4770-ost
198 const: ost
274 ost: timer@e0 {
275 compatible = "ingenic,jz4770-ost";
279 clock-names = "ost";
/kernel/linux/linux-6.6/Documentation/arch/mips/
Dingenic-tcu.rst15 (OST). It is a 32-bit programmable timer. On JZ4760B and above, it is
21 - The watchdog and OST hardware blocks also feature a TCSR register with the same
24 OST clocks.
47 interrupt line; the OST uses the last interrupt line.
50 the OST uses the last interrupt line.
61 OST drivers/clocksource/ingenic-ost.c
/kernel/linux/linux-5.10/Documentation/mips/
Dingenic-tcu.rst15 (OST). It is a 32-bit programmable timer. On JZ4760B and above, it is
21 - The watchdog and OST hardware blocks also feature a TCSR register with the same
24 OST clocks.
47 interrupt line; the OST uses the last interrupt line.
50 the OST uses the last interrupt line.
61 OST drivers/clocksource/ingenic-ost.c
/kernel/linux/linux-6.6/Documentation/translations/zh_CN/arch/mips/
Dingenic-tcu.rst22 - JZ4725B引入了一个独立的通道,称为操作系统计时器(OST)。这是一个32位可
29 - 用于关闭/开启的 TCU 寄存器也可以关闭/开启看门狗和 OST 时钟。
48 - 在 JZ4725B,通道0有它自己的中断线;通道1-5共享一条中断线;OST
63 OST drivers/clocksource/ingenic-ost.c
/kernel/linux/linux-6.6/arch/mips/boot/dts/ingenic/
Dcu1830-neo.dts55 &ost {
57 assigned-clocks = <&ost OST_CLK_EVENT_TIMER>, <&ost OST_CLK_GLOBAL_TIMER>;
Dcu1000-neo.dts55 &ost {
57 assigned-clocks = <&ost OST_CLK_EVENT_TIMER>, <&ost OST_CLK_GLOBAL_TIMER>;
Dx1830.dtsi83 ost: timer@12000000 { label
84 compatible = "ingenic,x1830-ost", "ingenic,x1000-ost";
90 clock-names = "ost";
Djz4725b.dtsi105 ost: timer@e0 { label
106 compatible = "ingenic,jz4725b-ost";
110 clock-names = "ost";
Djz4780.dtsi138 ost: timer@e0 { label
139 compatible = "ingenic,jz4780-ost", "ingenic,jz4770-ost";
143 clock-names = "ost";
Dx1000.dtsi90 ost: timer@12000000 { label
91 compatible = "ingenic,x1000-ost";
97 clock-names = "ost";
/kernel/linux/linux-5.10/drivers/clk/ingenic/
Dtcu.c18 /* 8 channels max + watchdog + OST */
261 DEF_TIMER("ost", 15, TCU_REG_OST_TCSR);
317 .has_ost = false, /* X1000 has OST, but it not belong TCU */
403 pr_crit("cannot register ost clock\n"); in ingenic_tcu_probe()
/kernel/linux/linux-5.10/arch/mips/boot/dts/ingenic/
Djz4780.dtsi117 ost: timer@e0 { label
118 compatible = "ingenic,jz4780-ost", "ingenic,jz4770-ost";
122 clock-names = "ost";
Djz4725b.dtsi105 ost: timer@e0 { label
106 compatible = "ingenic,jz4725b-ost";
110 clock-names = "ost";
Djz4770.dtsi118 ost: timer@e0 { label
119 compatible = "ingenic,jz4770-ost";
123 clock-names = "ost";
/kernel/linux/linux-6.6/drivers/clk/ingenic/
Dtcu.c18 /* 8 channels max + watchdog + OST */
265 DEF_TIMER("ost", 15, TCU_REG_OST_TCSR);
321 .has_ost = false, /* X1000 has OST, but it not belong TCU */
422 pr_crit("cannot register ost clock\n"); in ingenic_tcu_probe()
/kernel/linux/linux-5.10/include/clocksource/
Dpxa.h3 * PXA clocksource, clockevents, and OST interrupt handlers.
/kernel/linux/linux-6.6/include/clocksource/
Dpxa.h3 * PXA clocksource, clockevents, and OST interrupt handlers.
/kernel/linux/linux-6.6/include/dt-bindings/clock/
Dingenic,sysost.h3 * This header provides clock numbers for the Ingenic OST DT binding.

123