Home
last modified time | relevance | path

Searched full:gpt (Results 1 – 25 of 153) sorted by relevance

1234567

/kernel/linux/linux-6.6/arch/powerpc/platforms/52xx/
Dmpc52xx_gpt.c8 * This file is a driver for the General Purpose Timer (gpt) devices
14 * This driver supports the GPIO and IRQ controller functions of the GPT
18 * this prevents the use of any gpt0 gpt function (i.e. they will fail with
19 * -EBUSY). Thus, the safety wdt function always has precedence over the gpt
25 * to the device tree node for the gpt device (typically in the .dts file
33 * be added to the device tree node for the gpt device:
38 * the IRQ number because the GPT only has a single IRQ source. For flags,
72 MODULE_DESCRIPTION("Freescale MPC52xx gpt driver");
77 * struct mpc52xx_gpt - Private data structure for MPC52xx GPT driver
79 * @regs: virtual address of GPT registers
[all …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/52xx/
Dmpc52xx_gpt.c8 * This file is a driver for the the General Purpose Timer (gpt) devices
14 * This driver supports the GPIO and IRQ controller functions of the GPT
18 * this prevents the use of any gpt0 gpt function (i.e. they will fail with
19 * -EBUSY). Thus, the safety wdt function always has precedence over the gpt
25 * to the device tree node for the gpt device (typically in the .dts file
33 * be added to the device tree node for the gpt device:
38 * the IRQ number because the GPT only has a single IRQ source. For flags,
70 MODULE_DESCRIPTION("Freescale MPC52xx gpt driver");
75 * struct mpc52xx_gpt - Private data structure for MPC52xx GPT driver
77 * @regs: virtual address of GPT registers
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/timer/
Dfsl,imxgpt.yaml7 title: Freescale i.MX General Purpose Timer (GPT)
15 - const: fsl,imx1-gpt
16 - const: fsl,imx21-gpt
18 - const: fsl,imx27-gpt
19 - const: fsl,imx21-gpt
20 - const: fsl,imx31-gpt
23 - fsl,imx25-gpt
24 - fsl,imx50-gpt
25 - fsl,imx51-gpt
26 - fsl,imx53-gpt
[all …]
Dmediatek,mtk-timer.txt6 - GPT (General Purpose Timer)
13 For those SoCs that use GPT
14 * "mediatek,mt2701-timer" for MT2701 compatible timers (GPT)
15 * "mediatek,mt6580-timer" for MT6580 compatible timers (GPT)
16 * "mediatek,mt6582-timer" for MT6582 compatible timers (GPT)
17 * "mediatek,mt6589-timer" for MT6589 compatible timers (GPT)
18 * "mediatek,mt7623-timer" for MT7623 compatible timers (GPT)
19 * "mediatek,mt8127-timer" for MT8127 compatible timers (GPT)
20 * "mediatek,mt8135-timer" for MT8135 compatible timers (GPT)
21 * "mediatek,mt8173-timer" for MT8173 compatible timers (GPT)
[all …]
/kernel/linux/linux-5.10/block/partitions/
Defi.c19 * AGPT, allow override with 'gpt' kernel command line option.
40 * - moved le_efi_guid_to_cpus() back into this file. GPT is the only
42 * - Changed gpt structure names and members to be simpler and more Linux-like.
64 * - Added kernel command line option 'gpt' to override valid PMBR test.
93 /* This allows a kernel command line option 'gpt' to override
104 __setup("gpt", force_gpt_fn);
147 /* set to 0x00000001 (i.e., the LBA of the GPT Partition Header) */ in pmbr_part_valid()
169 * marked out by up to three GPT partitions.
219 pr_debug("GPT: mbr size in lba (%u) different than whole disk (%u).\n", in is_pmbr_valid()
267 * @gpt: GPT header
[all …]
/kernel/linux/linux-5.10/drivers/clk/spear/
Dclk-gpt-synth.c12 #define pr_fmt(fmt) "clk-gpt-synth: " fmt
27 * Calculates gpt synth clk rate for different values of mscale and nscale
37 struct clk_gpt *gpt = to_clk_gpt(hw); in gpt_calc_rate() local
38 struct gpt_rate_tbl *rtbl = gpt->rtbl; in gpt_calc_rate()
48 struct clk_gpt *gpt = to_clk_gpt(hw); in clk_gpt_round_rate() local
52 gpt->rtbl_cnt, &unused); in clk_gpt_round_rate()
58 struct clk_gpt *gpt = to_clk_gpt(hw); in clk_gpt_recalc_rate() local
62 if (gpt->lock) in clk_gpt_recalc_rate()
63 spin_lock_irqsave(gpt->lock, flags); in clk_gpt_recalc_rate()
65 val = readl_relaxed(gpt->reg); in clk_gpt_recalc_rate()
[all …]
/kernel/linux/linux-6.6/drivers/clk/spear/
Dclk-gpt-synth.c9 #define pr_fmt(fmt) "clk-gpt-synth: " fmt
24 * Calculates gpt synth clk rate for different values of mscale and nscale
34 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_round_rate() local
49 gpt->rtbl_cnt, &unused); in clk_gpt_round_rate()
55 struct clk_gpt *gpt = to_clk_gpt(hw); in clk_gpt_recalc_rate() local
59 if (gpt->lock) in clk_gpt_recalc_rate()
60 spin_lock_irqsave(gpt->lock, flags); in clk_gpt_recalc_rate()
62 val = readl_relaxed(gpt->reg); in clk_gpt_recalc_rate()
[all …]
/kernel/linux/linux-6.6/block/partitions/
Defi.c19 * AGPT, allow override with 'gpt' kernel command line option.
40 * - moved le_efi_guid_to_cpus() back into this file. GPT is the only
42 * - Changed gpt structure names and members to be simpler and more Linux-like.
64 * - Added kernel command line option 'gpt' to override valid PMBR test.
93 /* This allows a kernel command line option 'gpt' to override
104 __setup("gpt", force_gpt_fn);
145 /* set to 0x00000001 (i.e., the LBA of the GPT Partition Header) */ in pmbr_part_valid()
167 * marked out by up to three GPT partitions.
217 pr_debug("GPT: mbr size in lba (%u) different than whole disk (%u).\n", in is_pmbr_valid()
265 * @gpt: GPT header
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/timer/
Dfsl,imxgpt.yaml7 title: Freescale i.MX General Purpose Timer (GPT)
15 - const: fsl,imx1-gpt
16 - const: fsl,imx21-gpt
18 - const: fsl,imx27-gpt
19 - const: fsl,imx21-gpt
20 - const: fsl,imx31-gpt
23 - fsl,imx25-gpt
24 - fsl,imx50-gpt
25 - fsl,imx51-gpt
26 - fsl,imx53-gpt
[all …]
Dmediatek,mtk-timer.txt5 - GPT (General Purpose Timer)
12 For those SoCs that use GPT
13 * "mediatek,mt2701-timer" for MT2701 compatible timers (GPT)
14 * "mediatek,mt6580-timer" for MT6580 compatible timers (GPT)
15 * "mediatek,mt6589-timer" for MT6589 compatible timers (GPT)
16 * "mediatek,mt7623-timer" for MT7623 compatible timers (GPT)
17 * "mediatek,mt8127-timer" for MT8127 compatible timers (GPT)
18 * "mediatek,mt8135-timer" for MT8135 compatible timers (GPT)
19 * "mediatek,mt8173-timer" for MT8173 compatible timers (GPT)
20 * "mediatek,mt8516-timer" for MT8516 compatible timers (GPT)
[all …]
/kernel/linux/linux-5.10/drivers/clocksource/
Dtimer-imx-gpt.c68 const struct imx_gpt_data *gpt; member
155 void __iomem *reg = imxtm->base + imxtm->gpt->reg_tcn; in mxc_clocksource_init()
206 /* Disable interrupt in GPT module */ in mxc_shutdown()
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()
227 /* Disable interrupt in GPT module */ in mxc_set_oneshot()
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()
[all …]
/kernel/linux/linux-6.6/drivers/clocksource/
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()
206 /* Disable interrupt in GPT module */ in mxc_shutdown()
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()
227 /* Disable interrupt in GPT module */ in mxc_set_oneshot()
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()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/pinctrl/
Drenesas,rzg2l-poeg.yaml7 title: Renesas RZ/G2L Port Output Enable for GPT (POEG)
13 The output pins(GTIOCxA and GTIOCxB) of the general PWM timer (GPT) can be
14 disabled by using the port output enabling function for the GPT (POEG).
17 * Output-disable request from the GPT.
21 are controlled by the GPT module.
46 renesas,gpt:
48 description: phandle to gpt instance that serves the pwm operation.
68 - renesas,gpt
85 renesas,gpt = <&gpt>;
/kernel/linux/linux-6.6/arch/powerpc/boot/dts/
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";
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";
/kernel/linux/linux-5.10/arch/powerpc/boot/dts/
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";
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";
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/powerpc/fsl/
Dmpc5200.txt84 timer@<addr> fsl,mpc5200-gpt General purpose timers
102 fsl,mpc5200-gpt nodes
107 the watchdog. The timer will function as a GPT if the timer api is used, and
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
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/powerpc/fsl/
Dmpc5200.txt84 timer@<addr> fsl,mpc5200-gpt General purpose timers
102 fsl,mpc5200-gpt nodes
107 the watchdog. The timer will function as a GPT if the timer api is used, and
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
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
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";
/kernel/linux/linux-6.6/arch/arm/boot/dts/nxp/imx/
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";
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gvt/
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),
201 "VM%d [oos %s] page id %d gpt %p type %d\n",
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),
220 "VM%d [oos sync] page id %d gpt %p type %d entry 0x%llx index 0x%lx\n",
221 id, page_id, gpt, type, v, index);
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/
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),
201 "VM%d [oos %s] page id %d gpt %p type %d\n",
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),
220 "VM%d [oos sync] page id %d gpt %p type %d entry 0x%llx index 0x%lx\n",
221 id, page_id, gpt, type, v, index);
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/
Dlantiq,pinctrl-xway.txt57 spi, asc, cgu, jtag, exin, stp, gpt, nmi, pci, ebu
69 spi, asc, cgu, jtag, exin, stp, gpt, nmi, pci, ebu, mdio, gphy
78 spi, asc, cgu, jtag, exin, stp, gpt, mdio, ephy, dfe
89 spi, asc, cgu, jtag, exin, stp, gpt, nmi, pci, ebu, dfe
101 spi, asc, cgu, exin, stp, gpt, nmi, pci, ebu, mdio, dfe
116 spi, usif, cgu, exin, stp, gpt, nmi, pci, ebu, mdio, dfe, gphy
/kernel/linux/linux-5.10/drivers/pinctrl/
Dpinctrl-xway.c122 MFP_XWAY(GPIO6, GPIO, STP, GPT, ASC),
137 MFP_XWAY(GPIO21, GPIO, PCI, EBU, GPT),
144 MFP_XWAY(GPIO28, GPIO, GPT, NONE, NONE),
263 GRP_MUX("gpt1", GPT, pins_gpt1),
264 GRP_MUX("gpt2", GPT, pins_gpt2),
265 GRP_MUX("gpt3", GPT, pins_gpt3),
339 {"gpt", ARRAY_AND_SIZE(xway_gpt_grps)},
356 MFP_XWAY(GPIO4, GPIO, GPT, EPHY, MII),
357 MFP_XWAY(GPIO5, GPIO, MII, ASC, GPT),
377 MFP_XWAY(GPIO25, GPIO, EBU, MII, GPT),
[all …]

1234567