Searched refs:tcu (Results 1 - 15 of 15) sorted by relevance

/linux-master/drivers/tty/serial/
H A Dtegra-tcu.c51 static void tegra_tcu_write_one(struct tegra_tcu *tcu, u32 value, argument
58 mbox_send_message(tcu->tx, msg);
59 mbox_flush(tcu->tx, 1000);
62 static void tegra_tcu_write(struct tegra_tcu *tcu, const char *s, argument
82 tegra_tcu_write_one(tcu, value, 3);
88 tegra_tcu_write_one(tcu, value, written);
93 struct tegra_tcu *tcu = port->private_data; local
102 tegra_tcu_write(tcu, &xmit->buf[xmit->tail], count);
149 struct tegra_tcu *tcu = container_of(cons, struct tegra_tcu, console); local
151 tegra_tcu_write(tcu,
162 struct tegra_tcu *tcu = container_of(cl, struct tegra_tcu, rx_client); local
179 struct tegra_tcu *tcu; local
271 struct tegra_tcu *tcu = platform_get_drvdata(pdev); local
[all...]
H A DMakefile86 obj-$(CONFIG_SERIAL_TEGRA_TCU) += tegra-tcu.o
/linux-master/drivers/clk/ingenic/
H A Dtcu.c10 #include <linux/mfd/ingenic-tcu.h>
16 #include <dt-bindings/clock/ingenic,tcu.h>
22 #define pr_fmt(fmt) "ingenic-tcu-clk: " fmt
46 struct ingenic_tcu *tcu; member in struct:ingenic_tcu_clk
69 struct ingenic_tcu *tcu = tcu_clk->tcu; local
71 regmap_write(tcu->map, TCU_REG_TSCR, BIT(info->gate_bit));
80 struct ingenic_tcu *tcu = tcu_clk->tcu; local
82 regmap_write(tcu
100 struct ingenic_tcu *tcu = tcu_clk->tcu; local
117 struct ingenic_tcu *tcu = tcu_clk->tcu; local
268 ingenic_tcu_register_clock(struct ingenic_tcu *tcu, unsigned int idx, enum tcu_clk_parent parent, const struct ingenic_tcu_clk_info *info, struct clk_hw_onecell_data *clocks) argument
338 struct ingenic_tcu *tcu; local
460 struct ingenic_tcu *tcu = ingenic_tcu; local
470 struct ingenic_tcu *tcu = ingenic_tcu; local
[all...]
H A DMakefile11 obj-$(CONFIG_INGENIC_TCU_CLK) += tcu.o
/linux-master/drivers/clocksource/
H A Dingenic-timer.c14 #include <linux/mfd/ingenic-tcu.h>
23 #include <dt-bindings/clock/ingenic,tcu.h>
53 struct ingenic_tcu *tcu = ingenic_tcu; local
56 regmap_read(tcu->map, TCU_REG_TCNTc(tcu->cs_channel), &count);
81 struct ingenic_tcu *tcu = to_ingenic_tcu(timer); local
83 regmap_write(tcu->map, TCU_REG_TECR, BIT(timer->channel));
92 struct ingenic_tcu *tcu = to_ingenic_tcu(timer); local
97 regmap_write(tcu->map, TCU_REG_TDFRc(timer->channel), next);
98 regmap_write(tcu
114 struct ingenic_tcu *tcu = to_ingenic_tcu(timer); local
142 struct ingenic_tcu *tcu = ingenic_tcu; local
203 ingenic_tcu_clocksource_init(struct device_node *np, struct ingenic_tcu *tcu) argument
277 struct ingenic_tcu *tcu; local
374 struct ingenic_tcu *tcu = dev_get_drvdata(dev); local
387 struct ingenic_tcu *tcu = dev_get_drvdata(dev); local
[all...]
H A Dtimer-ep93xx.c77 struct ep93xx_tcu *tcu = ep93xx_tcu; local
79 return lo_hi_readq(tcu->base + EP93XX_TIMER4_VALUE_LOW) & GENMASK_ULL(39, 0);
90 struct ep93xx_tcu *tcu = ep93xx_tcu; local
96 writel(tmode, tcu->base + EP93XX_TIMER3_CONTROL);
99 writel(next, tcu->base + EP93XX_TIMER3_LOAD);
101 tcu->base + EP93XX_TIMER3_CONTROL);
107 struct ep93xx_tcu *tcu = ep93xx_tcu; local
109 writel(0, tcu->base + EP93XX_TIMER3_CONTROL);
126 struct ep93xx_tcu *tcu = ep93xx_tcu; local
130 writel(1, tcu
141 struct ep93xx_tcu *tcu; local
[all...]
H A Dingenic-ost.c11 #include <linux/mfd/ingenic-tcu.h>
25 * The TCU_REG_OST_CNT{L,R} from <linux/mfd/ingenic-tcu.h> are only for the
/linux-master/drivers/irqchip/
H A Dirq-ingenic-tcu.c11 #include <linux/mfd/ingenic-tcu.h>
93 struct ingenic_tcu *tcu; local
102 tcu = kzalloc(sizeof(*tcu), GFP_KERNEL);
103 if (!tcu)
106 tcu->map = map;
109 if (irqs < 0 || irqs > ARRAY_SIZE(tcu->parent_irqs)) {
115 tcu->nb_parent_irqs = irqs;
117 tcu->domain = irq_domain_add_linear(np, 32, &irq_generic_chip_ops,
119 if (!tcu
[all...]
H A DMakefile75 obj-$(CONFIG_INGENIC_TCU_IRQ) += irq-ingenic-tcu.o
/linux-master/drivers/hid/
H A Dhid-roccat-kone.h139 uint8_t tcu; /* 0 = off, 1 = on */ member in struct:kone_settings
H A Dhid-roccat-kone.c454 return snprintf(buf, PAGE_SIZE, "%d\n", kone->settings.tcu);
466 * Calibrating the tcu is the only action that changes settings data inside the
497 ssleep(5); /* tcu needs this time for calibration */
522 if (kone->settings.tcu != state) {
523 kone->settings.tcu = state;
528 dev_err(&usb_dev->dev, "couldn't set tcu state\n");
549 static DEVICE_ATTR(tcu, 0660, kone_sysfs_show_tcu, kone_sysfs_set_tcu);
627 * 1 = on. Writing 0 deactivates tcu and writing 1 calibrates and
628 * activates the tcu
H A Dhid-roccat-konepure.c45 ROCCAT_COMMON2_BIN_ATTRIBUTE_RW(tcu, 0x0c, 0x04);
H A Dhid-roccat-koneplus.c181 KONEPLUS_BIN_ATTRIBUTE_RW(tcu, TCU);
/linux-master/drivers/watchdog/
H A Djz4740_wdt.c7 #include <linux/mfd/ingenic-tcu.h>
/linux-master/drivers/pwm/
H A Dpwm-jz4740.c15 #include <linux/mfd/ingenic-tcu.h>

Completed in 288 milliseconds