Home
last modified time | relevance | path

Searched refs:tcu (Results 1 – 25 of 44) sorted by relevance

12

/openbmc/linux/drivers/tty/serial/
H A Dtegra-tcu.c51 static void tegra_tcu_write_one(struct tegra_tcu *tcu, u32 value, in tegra_tcu_write_one() argument
58 mbox_send_message(tcu->tx, msg); in tegra_tcu_write_one()
59 mbox_flush(tcu->tx, 1000); in tegra_tcu_write_one()
62 static void tegra_tcu_write(struct tegra_tcu *tcu, const char *s, in tegra_tcu_write() argument
82 tegra_tcu_write_one(tcu, value, 3); in tegra_tcu_write()
88 tegra_tcu_write_one(tcu, value, written); in tegra_tcu_write()
93 struct tegra_tcu *tcu = port->private_data; in tegra_tcu_uart_start_tx() local
102 tegra_tcu_write(tcu, &xmit->buf[xmit->tail], count); in tegra_tcu_uart_start_tx()
149 struct tegra_tcu *tcu = container_of(cons, struct tegra_tcu, console); in tegra_tcu_console_write() local
151 tegra_tcu_write(tcu, s, count); in tegra_tcu_console_write()
[all …]
/openbmc/linux/drivers/clk/ingenic/
H A Dtcu.c46 struct ingenic_tcu *tcu; member
69 struct ingenic_tcu *tcu = tcu_clk->tcu; in ingenic_tcu_enable() local
71 regmap_write(tcu->map, TCU_REG_TSCR, BIT(info->gate_bit)); in ingenic_tcu_enable()
80 struct ingenic_tcu *tcu = tcu_clk->tcu; in ingenic_tcu_disable() local
82 regmap_write(tcu->map, TCU_REG_TSSR, BIT(info->gate_bit)); in ingenic_tcu_disable()
91 regmap_read(tcu_clk->tcu->map, TCU_REG_TSR, &value); in ingenic_tcu_is_enabled()
100 struct ingenic_tcu *tcu = tcu_clk->tcu; in ingenic_tcu_enable_regs() local
108 regmap_write(tcu->map, TCU_REG_TSCR, BIT(info->gate_bit)); in ingenic_tcu_enable_regs()
117 struct ingenic_tcu *tcu = tcu_clk->tcu; in ingenic_tcu_disable_regs() local
119 regmap_write(tcu->map, TCU_REG_TSSR, BIT(info->gate_bit)); in ingenic_tcu_disable_regs()
[all …]
H A DMakefile11 obj-$(CONFIG_INGENIC_TCU_CLK) += tcu.o
/openbmc/linux/drivers/clocksource/
H A Dingenic-timer.c53 struct ingenic_tcu *tcu = ingenic_tcu; in ingenic_tcu_timer_read() local
56 regmap_read(tcu->map, TCU_REG_TCNTc(tcu->cs_channel), &count); in ingenic_tcu_timer_read()
81 struct ingenic_tcu *tcu = to_ingenic_tcu(timer); in ingenic_tcu_cevt_set_state_shutdown() local
83 regmap_write(tcu->map, TCU_REG_TECR, BIT(timer->channel)); in ingenic_tcu_cevt_set_state_shutdown()
92 struct ingenic_tcu *tcu = to_ingenic_tcu(timer); in ingenic_tcu_cevt_set_next() local
97 regmap_write(tcu->map, TCU_REG_TDFRc(timer->channel), next); in ingenic_tcu_cevt_set_next()
98 regmap_write(tcu->map, TCU_REG_TCNTc(timer->channel), 0); in ingenic_tcu_cevt_set_next()
99 regmap_write(tcu->map, TCU_REG_TESR, BIT(timer->channel)); in ingenic_tcu_cevt_set_next()
114 struct ingenic_tcu *tcu = to_ingenic_tcu(timer); in ingenic_tcu_cevt_cb() local
117 regmap_write(tcu->map, TCU_REG_TECR, BIT(timer->channel)); in ingenic_tcu_cevt_cb()
[all …]
/openbmc/linux/drivers/irqchip/
H A Dirq-ingenic-tcu.c93 struct ingenic_tcu *tcu; in ingenic_tcu_irq_init() local
102 tcu = kzalloc(sizeof(*tcu), GFP_KERNEL); in ingenic_tcu_irq_init()
103 if (!tcu) in ingenic_tcu_irq_init()
106 tcu->map = map; in ingenic_tcu_irq_init()
109 if (irqs < 0 || irqs > ARRAY_SIZE(tcu->parent_irqs)) { in ingenic_tcu_irq_init()
115 tcu->nb_parent_irqs = irqs; in ingenic_tcu_irq_init()
117 tcu->domain = irq_domain_add_linear(np, 32, &irq_generic_chip_ops, in ingenic_tcu_irq_init()
119 if (!tcu->domain) { in ingenic_tcu_irq_init()
124 ret = irq_alloc_domain_generic_chips(tcu->domain, 32, 1, "TCU", in ingenic_tcu_irq_init()
132 gc = irq_get_domain_generic_chip(tcu->domain, 0); in ingenic_tcu_irq_init()
[all …]
/openbmc/linux/arch/mips/boot/dts/ingenic/
H A Djz4740.dtsi3 #include <dt-bindings/clock/ingenic,tcu.h>
63 tcu: timer@10002000 { label
64 compatible = "ingenic,jz4740-tcu", "simple-mfd";
76 clock-names = "rtc", "ext", "pclk", "tcu";
88 clocks = <&tcu TCU_CLK_WDT>;
98 clocks = <&tcu TCU_CLK_TIMER0>, <&tcu TCU_CLK_TIMER1>,
99 <&tcu TCU_CLK_TIMER2>, <&tcu TCU_CLK_TIMER3>,
100 <&tcu TCU_CLK_TIMER4>, <&tcu TCU_CLK_TIMER5>,
101 <&tcu TCU_CLK_TIMER6>, <&tcu TCU_CLK_TIMER7>;
H A Dx1830.dtsi2 #include <dt-bindings/clock/ingenic,tcu.h>
96 tcu: timer@10002000 { label
97 compatible = "ingenic,x1830-tcu", "ingenic,x1000-tcu", "simple-mfd";
109 clock-names = "rtc", "ext", "pclk", "tcu";
121 clocks = <&tcu TCU_CLK_WDT>;
131 clocks = <&tcu TCU_CLK_TIMER0>, <&tcu TCU_CLK_TIMER1>,
132 <&tcu TCU_CLK_TIMER2>, <&tcu TCU_CLK_TIMER3>,
133 <&tcu TCU_CLK_TIMER4>, <&tcu TCU_CLK_TIMER5>,
134 <&tcu TCU_CLK_TIMER6>, <&tcu TCU_CLK_TIMER7>;
H A Djz4725b.dtsi3 #include <dt-bindings/clock/ingenic,tcu.h>
63 tcu: timer@10002000 { label
64 compatible = "ingenic,jz4725b-tcu", "simple-mfd";
76 clock-names = "rtc", "ext", "pclk", "tcu";
88 clocks = <&tcu TCU_CLK_WDT>;
98 clocks = <&tcu TCU_CLK_TIMER0>, <&tcu TCU_CLK_TIMER1>,
99 <&tcu TCU_CLK_TIMER2>, <&tcu TCU_CLK_TIMER3>,
100 <&tcu TCU_CLK_TIMER4>, <&tcu TCU_CLK_TIMER5>;
109 clocks = <&tcu TCU_CLK_OST>;
H A Djz4770.dtsi3 #include <dt-bindings/clock/ingenic,tcu.h>
75 tcu: timer@10002000 { label
76 compatible = "ingenic,jz4770-tcu", "simple-mfd";
100 clocks = <&tcu TCU_CLK_WDT>;
110 clocks = <&tcu TCU_CLK_TIMER0>, <&tcu TCU_CLK_TIMER1>,
111 <&tcu TCU_CLK_TIMER2>, <&tcu TCU_CLK_TIMER3>,
112 <&tcu TCU_CLK_TIMER4>, <&tcu TCU_CLK_TIMER5>,
113 <&tcu TCU_CLK_TIMER6>, <&tcu TCU_CLK_TIMER7>;
122 clocks = <&tcu TCU_CLK_OST>;
H A Djz4780.dtsi3 #include <dt-bindings/clock/ingenic,tcu.h>
94 tcu: timer@10002000 { label
95 compatible = "ingenic,jz4780-tcu",
96 "ingenic,jz4770-tcu",
120 clocks = <&tcu TCU_CLK_WDT>;
130 clocks = <&tcu TCU_CLK_TIMER0>, <&tcu TCU_CLK_TIMER1>,
131 <&tcu TCU_CLK_TIMER2>, <&tcu TCU_CLK_TIMER3>,
132 <&tcu TCU_CLK_TIMER4>, <&tcu TCU_CLK_TIMER5>,
133 <&tcu TCU_CLK_TIMER6>, <&tcu TCU_CLK_TIMER7>;
142 clocks = <&tcu TCU_CLK_OST>;
H A Dx1000.dtsi2 #include <dt-bindings/clock/ingenic,tcu.h>
103 tcu: timer@10002000 { label
104 compatible = "ingenic,x1000-tcu", "simple-mfd";
116 clock-names = "rtc", "ext", "pclk", "tcu";
128 clocks = <&tcu TCU_CLK_WDT>;
138 clocks = <&tcu TCU_CLK_TIMER0>, <&tcu TCU_CLK_TIMER1>,
139 <&tcu TCU_CLK_TIMER2>, <&tcu TCU_CLK_TIMER3>,
140 <&tcu TCU_CLK_TIMER4>;
H A Drs90.dts302 &tcu {
307 assigned-clocks = <&tcu TCU_CLK_TIMER0>, <&tcu TCU_CLK_TIMER1>, <&tcu TCU_CLK_WDT>;
H A Dgcw0.dts5 #include <dt-bindings/clock/ingenic,tcu.h>
476 &tcu {
481 assigned-clocks = <&tcu TCU_CLK_TIMER0>, <&tcu TCU_CLK_TIMER2>,
482 <&tcu TCU_CLK_OST>, <&tcu TCU_CLK_WDT>;
H A Dqi_lb60.dts8 #include <dt-bindings/clock/ingenic,tcu.h>
359 &tcu {
361 assigned-clocks = <&tcu TCU_CLK_TIMER0>, <&tcu TCU_CLK_TIMER1>;
H A Dci20.dts5 #include <dt-bindings/clock/ingenic,tcu.h>
179 &tcu {
188 assigned-clocks = <&tcu TCU_CLK_TIMER0>, <&tcu TCU_CLK_TIMER1>,
189 <&tcu TCU_CLK_TIMER2>, <&tcu TCU_CLK_OST>;
/openbmc/linux/Documentation/translations/zh_CN/arch/mips/
H A Dingenic-tcu.rst5 :Original: Documentation/arch/mips/ingenic-tcu.rst
11 .. _cn_ingenic-tcu:
60 时钟 drivers/clk/ingenic/tcu.c
61 中断 drivers/irqchip/irq-ingenic-tcu.c
72 Documentation/devicetree/bindings/timer/ingenic,tcu.yaml.
H A Dindex.rst20 ingenic-tcu
/openbmc/linux/Documentation/arch/mips/
H A Dingenic-tcu.rst58 clocks drivers/clk/ingenic/tcu.c
59 interrupts drivers/irqchip/irq-ingenic-tcu.c
71 have a look at Documentation/devicetree/bindings/timer/ingenic,tcu.yaml.
H A Dindex.rst12 ingenic-tcu
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/vk-gl-cts/files/
H A D0001-use-library-sonames-for-linking.patch75 @@ -77,7 +77,7 @@ using tcu::TextureLevel;
117 …EglRenderContext::EglRenderContext(const glu::RenderConfig &config, const tcu::CommandLine &cmdLin…
/openbmc/linux/drivers/hid/
H A Dhid-roccat-kone.c454 return snprintf(buf, PAGE_SIZE, "%d\n", kone->settings.tcu); in kone_sysfs_show_tcu()
522 if (kone->settings.tcu != state) { in kone_sysfs_set_tcu()
523 kone->settings.tcu = state; in kone_sysfs_set_tcu()
549 static DEVICE_ATTR(tcu, 0660, kone_sysfs_show_tcu, kone_sysfs_set_tcu);
H A Dhid-roccat-kone.h139 uint8_t tcu; /* 0 = off, 1 = on */ member
H A Dhid-roccat-konepure.c45 ROCCAT_COMMON2_BIN_ATTRIBUTE_RW(tcu, 0x0c, 0x04);
/openbmc/linux/arch/arm64/boot/dts/nvidia/
H A Dtegra234-p3768-0000+p3767-0000.dts15 serial0 = &tcu;
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-driver-hid-roccat-kone69 startup_profile, tcu state and calibration_data.
88 …m>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/kone/roccatkone<minor>/tcu

12