Home
last modified time | relevance | path

Searched refs:gpt (Results 1 – 24 of 24) sorted by relevance

/linux/drivers/clk/spear/
H A Dclk-gpt-synth.c34 struct clk_gpt *gpt = to_clk_gpt(hw); in gpt_calc_rate() local
35 struct gpt_rate_tbl *rtbl = gpt->rtbl; in gpt_calc_rate()
45 struct clk_gpt *gpt = to_clk_gpt(hw); in clk_gpt_determine_rate() local
49 gpt_calc_rate, gpt->rtbl_cnt, &unused); in clk_gpt_determine_rate()
57 struct clk_gpt *gpt = to_clk_gpt(hw); in clk_gpt_recalc_rate() local
61 if (gpt->lock) in clk_gpt_recalc_rate()
62 spin_lock_irqsave(gpt->lock, flags); in clk_gpt_recalc_rate()
64 val = readl_relaxed(gpt->reg); in clk_gpt_recalc_rate()
66 if (gpt->lock) in clk_gpt_recalc_rate()
67 spin_unlock_irqrestore(gpt->lock, flags); in clk_gpt_recalc_rate()
[all …]
H A DMakefile6 obj-y += clk.o clk-aux-synth.o clk-frac-synth.o clk-gpt-synth.o clk-vco-pll.o
/linux/drivers/clocksource/
H A Dtimer-imx-gpt.c73 const struct imx_gpt_data *gpt; member
155 void __iomem *reg = imxtm->base + imxtm->gpt->reg_tcn; in mxc_clocksource_init()
207 imxtm->gpt->gpt_irq_disable(imxtm); in mxc_shutdown()
209 tcn = readl_relaxed(imxtm->base + imxtm->gpt->reg_tcn); in mxc_shutdown()
211 writel_relaxed(tcn - 3, imxtm->base + imxtm->gpt->reg_tcmp); in mxc_shutdown()
214 imxtm->gpt->gpt_irq_acknowledge(imxtm); in mxc_shutdown()
228 imxtm->gpt->gpt_irq_disable(imxtm); in mxc_set_oneshot()
231 u32 tcn = readl_relaxed(imxtm->base + imxtm->gpt->reg_tcn); in mxc_set_oneshot()
233 writel_relaxed(tcn - 3, imxtm->base + imxtm->gpt->reg_tcmp); in mxc_set_oneshot()
236 imxtm->gpt->gpt_irq_acknowledge(imxtm); in mxc_set_oneshot()
[all …]
/linux/arch/powerpc/boot/dts/
H A Dmpc5200b.dtsi64 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
72 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
79 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
86 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
93 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
100 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
107 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
114 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
H A Dlite5200.dts63 compatible = "fsl,mpc5200-gpt";
70 compatible = "fsl,mpc5200-gpt";
76 compatible = "fsl,mpc5200-gpt";
82 compatible = "fsl,mpc5200-gpt";
88 compatible = "fsl,mpc5200-gpt";
94 compatible = "fsl,mpc5200-gpt";
100 compatible = "fsl,mpc5200-gpt";
106 compatible = "fsl,mpc5200-gpt";
H A Dtqm5200.dts63 compatible = "fsl,mpc5200-gpt";
H A Dcharon.dts66 compatible = "fsl,mpc5200-gpt";
H A Debony.dts285 GPT0: gpt@40000a00 {
H A Dtaishan.dts374 GPT0: gpt@40000a00 {
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimxrt1050.dtsi152 gpt: timer@401ec000 { label
153 compatible = "fsl,imxrt1050-gpt", "fsl,imx6dl-gpt", "fsl,imx6sl-gpt";
H A Dimx6dl.dtsi292 &gpt {
293 compatible = "fsl,imx6dl-gpt";
H A Dimx50.dtsi277 gpt: timer@53fa0000 { label
278 compatible = "fsl,imx50-gpt", "fsl,imx31-gpt";
H A Dimx51.dtsi393 gpt: timer@73fa0000 { label
394 compatible = "fsl,imx51-gpt", "fsl,imx31-gpt";
H A Dimx53.dtsi445 gpt: timer@53fa0000 { label
446 compatible = "fsl,imx53-gpt", "fsl,imx31-gpt";
/linux/Documentation/devicetree/bindings/powerpc/fsl/
H A Dmpc5200.txt84 timer@<addr> fsl,mpc5200-gpt General purpose timers
102 fsl,mpc5200-gpt nodes
109 mode has priority over the gpt mode, i.e. if the watchdog is activated, any
110 gpt api call to this timer will fail with -EBUSY.
114 GPT0 will be marked as in-use watchdog, i.e. blocking every gpt access to it.
117 - just mark GPT0 as watchdog, blocking gpt accesses, and configure it later;
123 An mpc5200-gpt can be used as a single line GPIO controller. To do so,
124 add the following properties to the gpt node:
131 An mpc5200-gpt can be used as a single line edge sensitive interrupt
132 controller. To do so, add the following properties to the gpt node:
/linux/arch/powerpc/include/asm/
H A Dmpc52xx.h283 extern int mpc52xx_gpt_start_timer(struct mpc52xx_gpt_priv *gpt, u64 period,
285 extern u64 mpc52xx_gpt_timer_period(struct mpc52xx_gpt_priv *gpt);
286 extern int mpc52xx_gpt_stop_timer(struct mpc52xx_gpt_priv *gpt);
/linux/arch/powerpc/platforms/52xx/
H A DKconfig20 gpt nodes, then it is safe to use such gpt to reset the board,
/linux/Documentation/devicetree/bindings/pinctrl/
H A Dlantiq,pinctrl-xway.txt51 spi, asc, cgu, jtag, exin, stp, gpt, mdio, ephy, dfe
62 spi, asc, cgu, jtag, exin, stp, gpt, nmi, pci, ebu, dfe
74 spi, asc, cgu, exin, stp, gpt, nmi, pci, ebu, mdio, dfe
89 spi, usif, cgu, exin, stp, gpt, nmi, pci, ebu, mdio, dfe, gphy
/linux/arch/arm64/boot/dts/renesas/
H A Drzg2l-smarc-pinfunction.dtsi41 gpt_pins: gpt {
H A Drzg2l-smarc.dtsi108 &gpt {
H A Dr9a09g057.dtsi254 "gpt-u0-gtciada", "gpt-u0-gtciadb",
255 "gpt-u1-gtciada", "gpt-u1-gtciadb";
/linux/arch/arm/boot/dts/nvidia/
H A Dtegra114-roth.dts13 bootargs = "console=ttyS0,115200n8 console=tty1 gpt fbcon=rotate:1";
/linux/drivers/pwm/
H A DKconfig596 will be called pwm-rzg2l-gpt.
/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt1917 gpt [EFI] Forces disk with valid GPT signature but