Home
last modified time | relevance | path

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

12

/linux-6.15/arch/powerpc/platforms/52xx/
H A Dmpc52xx_gpt.c251 if (!gpt->irqhost) { in mpc52xx_gpt_irq_setup()
327 gpt->gc.label = kasprintf(GFP_KERNEL, "%pfw", dev_fwnode(gpt->dev)); in mpc52xx_gpt_gpio_setup()
333 gpt->gc.ngpio = 1; in mpc52xx_gpt_gpio_setup()
338 gpt->gc.base = -1; in mpc52xx_gpt_gpio_setup()
339 gpt->gc.parent = gpt->dev; in mpc52xx_gpt_gpio_setup()
345 rc = gpiochip_add_data(&gpt->gc, gpt); in mpc52xx_gpt_gpio_setup()
372 if (gpt->irqhost && irq == irq_linear_revmap(gpt->irqhost, 0)) { in mpc52xx_gpt_from_irq()
374 return gpt; in mpc52xx_gpt_from_irq()
715 gpt = devm_kzalloc(&ofdev->dev, sizeof *gpt, GFP_KERNEL); in mpc52xx_gpt_probe()
716 if (!gpt) in mpc52xx_gpt_probe()
[all …]
H A DKconfig20 gpt nodes, then it is safe to use such gpt to reset the board,
/linux-6.15/drivers/clk/spear/
H A Dclk-gpt-synth.c59 if (gpt->lock) in clk_gpt_recalc_rate()
64 if (gpt->lock) in clk_gpt_recalc_rate()
88 if (gpt->lock) in clk_gpt_set_rate()
99 if (gpt->lock) in clk_gpt_set_rate()
116 struct clk_gpt *gpt; in clk_register_gpt() local
124 gpt = kzalloc(sizeof(*gpt), GFP_KERNEL); in clk_register_gpt()
125 if (!gpt) in clk_register_gpt()
129 gpt->reg = reg; in clk_register_gpt()
130 gpt->rtbl = rtbl; in clk_register_gpt()
132 gpt->lock = lock; in clk_register_gpt()
[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-6.15/Documentation/devicetree/bindings/timer/
H A Dfsl,imxgpt.yaml15 - const: fsl,imx1-gpt
16 - const: fsl,imx21-gpt
20 - const: fsl,imx31-gpt
23 - fsl,imx25-gpt
24 - fsl,imx35-gpt
25 - fsl,imx50-gpt
26 - fsl,imx51-gpt
27 - fsl,imx53-gpt
28 - fsl,imx6q-gpt
30 - const: fsl,imx6dl-gpt
[all …]
/linux-6.15/block/partitions/
H A Defi.c277 if (!gpt) in alloc_read_gpt_entries()
309 gpt_header *gpt; in alloc_read_gpt_header() local
313 if (!gpt) in alloc_read_gpt_header()
317 kfree(gpt); in alloc_read_gpt_header()
322 return gpt; in alloc_read_gpt_header()
448 kfree(*gpt); in is_gpt_valid()
449 *gpt = NULL; in is_gpt_valid()
664 *gpt = NULL; in find_valid_gpt()
720 if (!find_valid_gpt(state, &gpt, &ptes) || !gpt || !ptes) { in efi_partition()
721 kfree(gpt); in efi_partition()
[all …]
/linux-6.15/drivers/clocksource/
H A Dtimer-imx-gpt.c73 const struct imx_gpt_data *gpt; member
207 imxtm->gpt->gpt_irq_disable(imxtm); in mxc_shutdown()
214 imxtm->gpt->gpt_irq_acknowledge(imxtm); in mxc_shutdown()
228 imxtm->gpt->gpt_irq_disable(imxtm); in mxc_set_oneshot()
249 imxtm->gpt->gpt_irq_enable(imxtm); in mxc_set_oneshot()
264 imxtm->gpt->gpt_irq_acknowledge(imxtm); in mxc_timer_interrupt()
379 imxtm->gpt = &imx1_gpt_data; in _mxc_timer_init()
382 imxtm->gpt = &imx21_gpt_data; in _mxc_timer_init()
385 imxtm->gpt = &imx31_gpt_data; in _mxc_timer_init()
388 imxtm->gpt = &imx6dl_gpt_data; in _mxc_timer_init()
[all …]
/linux-6.15/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";
/linux-6.15/Documentation/devicetree/bindings/pinctrl/
H A Drenesas,rzg2l-poeg.yaml46 renesas,gpt:
48 description: phandle to gpt instance that serves the pwm operation.
68 - renesas,gpt
85 renesas,gpt = <&gpt>;
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-6.15/Documentation/devicetree/bindings/interrupt-controller/
H A Drenesas,rzv2h-icu.yaml160 - const: gpt-u0-gtciada
161 - const: gpt-u0-gtciadb
162 - const: gpt-u1-gtciada
163 - const: gpt-u1-gtciadb
275 "gpt-u0-gtciada", "gpt-u0-gtciadb",
276 "gpt-u1-gtciada", "gpt-u1-gtciadb";
/linux-6.15/arch/arm/boot/dts/nxp/imx/
H A Dimx27.dtsi110 compatible = "fsl,imx27-gpt", "fsl,imx21-gpt";
119 compatible = "fsl,imx27-gpt", "fsl,imx21-gpt";
128 compatible = "fsl,imx27-gpt", "fsl,imx21-gpt";
387 compatible = "fsl,imx27-gpt", "fsl,imx21-gpt";
396 compatible = "fsl,imx27-gpt", "fsl,imx21-gpt";
447 compatible = "fsl,imx27-gpt", "fsl,imx21-gpt";
H A Dimxrt1050.dtsi152 gpt: timer@401ec000 { label
153 compatible = "fsl,imxrt1050-gpt", "fsl,imx6dl-gpt", "fsl,imx6sl-gpt";
H A Dimx25.dtsi362 compatible = "fsl,imx25-gpt", "fsl,imx31-gpt";
370 compatible = "fsl,imx25-gpt", "fsl,imx31-gpt";
378 compatible = "fsl,imx25-gpt", "fsl,imx31-gpt";
386 compatible = "fsl,imx25-gpt", "fsl,imx31-gpt";
H A Dimx1.dtsi79 compatible = "fsl,imx1-gpt";
88 compatible = "fsl,imx1-gpt";
H A Dimx35.dtsi216 gpt: timer@53f90000 { label
217 compatible = "fsl,imx35-gpt", "fsl,imx31-gpt";
H A Dimx6dl.dtsi292 &gpt {
293 compatible = "fsl,imx6dl-gpt";
H A Dimx7s.dtsi498 compatible = "fsl,imx7d-gpt", "fsl,imx6dl-gpt";
507 compatible = "fsl,imx7d-gpt", "fsl,imx6dl-gpt";
517 compatible = "fsl,imx7d-gpt", "fsl,imx6dl-gpt";
527 compatible = "fsl,imx7d-gpt", "fsl,imx6dl-gpt";
H A Dimx50.dtsi277 gpt: timer@53fa0000 { label
278 compatible = "fsl,imx50-gpt", "fsl,imx31-gpt";
/linux-6.15/drivers/gpu/drm/i915/gvt/
H A Dtrace.h191 TP_PROTO(int id, const char *tag, int page_id, void *gpt, int type),
193 TP_ARGS(id, tag, page_id, gpt, type),
202 id, tag, page_id, gpt, type);
209 TP_PROTO(int id, int page_id, void *gpt, int type, u64 v,
212 TP_ARGS(id, page_id, gpt, type, v, index),
221 id, page_id, gpt, type, v, index);
/linux-6.15/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-6.15/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-6.15/arch/arm64/boot/dts/renesas/
H A Dr9a09g057.dtsi245 "gpt-u0-gtciada", "gpt-u0-gtciadb",
246 "gpt-u1-gtciada", "gpt-u1-gtciadb";
/linux-6.15/arch/arm64/boot/dts/freescale/
H A Dimx8mp.dtsi633 compatible = "fsl,imx8mp-gpt", "fsl,imx6dl-gpt";
641 compatible = "fsl,imx8mp-gpt", "fsl,imx6dl-gpt";
649 compatible = "fsl,imx8mp-gpt", "fsl,imx6dl-gpt";
1003 compatible = "fsl,imx8mp-gpt", "fsl,imx6dl-gpt";
1011 compatible = "fsl,imx8mp-gpt", "fsl,imx6dl-gpt";
1019 compatible = "fsl,imx8mp-gpt", "fsl,imx6dl-gpt";

12