/linux-4.4.14/arch/powerpc/platforms/52xx/ |
D | mpc52xx_gpt.c | 141 struct mpc52xx_gpt_priv *gpt = irq_data_get_irq_chip_data(d); in mpc52xx_gpt_irq_unmask() local 144 spin_lock_irqsave(&gpt->lock, flags); in mpc52xx_gpt_irq_unmask() 145 setbits32(&gpt->regs->mode, MPC52xx_GPT_MODE_IRQ_EN); in mpc52xx_gpt_irq_unmask() 146 spin_unlock_irqrestore(&gpt->lock, flags); in mpc52xx_gpt_irq_unmask() 151 struct mpc52xx_gpt_priv *gpt = irq_data_get_irq_chip_data(d); in mpc52xx_gpt_irq_mask() local 154 spin_lock_irqsave(&gpt->lock, flags); in mpc52xx_gpt_irq_mask() 155 clrbits32(&gpt->regs->mode, MPC52xx_GPT_MODE_IRQ_EN); in mpc52xx_gpt_irq_mask() 156 spin_unlock_irqrestore(&gpt->lock, flags); in mpc52xx_gpt_irq_mask() 161 struct mpc52xx_gpt_priv *gpt = irq_data_get_irq_chip_data(d); in mpc52xx_gpt_irq_ack() local 163 out_be32(&gpt->regs->status, MPC52xx_GPT_STATUS_IRQMASK); in mpc52xx_gpt_irq_ack() [all …]
|
D | Kconfig | 19 gpt nodes, then it is safe to use such gpt to reset the board,
|
/linux-4.4.14/drivers/clk/spear/ |
D | clk-gpt-synth.c | 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() 67 if (gpt->lock) in clk_gpt_recalc_rate() 68 spin_unlock_irqrestore(gpt->lock, flags); in clk_gpt_recalc_rate() [all …]
|
D | Makefile | 5 obj-y += clk.o clk-aux-synth.o clk-frac-synth.o clk-gpt-synth.o clk-vco-pll.o
|
/linux-4.4.14/block/partitions/ |
D | efi.c | 288 gpt_header *gpt) in alloc_read_gpt_entries() argument 293 if (!gpt) in alloc_read_gpt_entries() 296 count = le32_to_cpu(gpt->num_partition_entries) * in alloc_read_gpt_entries() 297 le32_to_cpu(gpt->sizeof_partition_entry); in alloc_read_gpt_entries() 304 if (read_lba(state, le64_to_cpu(gpt->partition_entry_lba), in alloc_read_gpt_entries() 325 gpt_header *gpt; in alloc_read_gpt_header() local 328 gpt = kmalloc(ssz, GFP_KERNEL); in alloc_read_gpt_header() 329 if (!gpt) in alloc_read_gpt_header() 332 if (read_lba(state, lba, (u8 *) gpt, ssz) < ssz) { in alloc_read_gpt_header() 333 kfree(gpt); in alloc_read_gpt_header() [all …]
|
/linux-4.4.14/drivers/clocksource/ |
D | timer-imx-gpt.c | 84 const struct imx_gpt_data *gpt; member 170 void __iomem *reg = imxtm->base + imxtm->gpt->reg_tcn; in mxc_clocksource_init() 227 imxtm->gpt->gpt_irq_disable(imxtm); in mxc_shutdown() 229 tcn = readl_relaxed(imxtm->base + imxtm->gpt->reg_tcn); in mxc_shutdown() 231 writel_relaxed(tcn - 3, imxtm->base + imxtm->gpt->reg_tcmp); in mxc_shutdown() 234 imxtm->gpt->gpt_irq_acknowledge(imxtm); in mxc_shutdown() 257 imxtm->gpt->gpt_irq_disable(imxtm); in mxc_set_oneshot() 260 u32 tcn = readl_relaxed(imxtm->base + imxtm->gpt->reg_tcn); in mxc_set_oneshot() 262 writel_relaxed(tcn - 3, imxtm->base + imxtm->gpt->reg_tcmp); in mxc_set_oneshot() 265 imxtm->gpt->gpt_irq_acknowledge(imxtm); in mxc_set_oneshot() [all …]
|
D | Makefile | 61 obj-$(CONFIG_CLKSRC_IMX_GPT) += timer-imx-gpt.o
|
/linux-4.4.14/arch/powerpc/boot/dts/ |
D | mpc5200b.dtsi | 68 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; 76 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; 83 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; 90 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; 97 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; 104 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; 111 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt"; 118 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
|
D | lite5200.dts | 67 compatible = "fsl,mpc5200-gpt"; 74 compatible = "fsl,mpc5200-gpt"; 80 compatible = "fsl,mpc5200-gpt"; 86 compatible = "fsl,mpc5200-gpt"; 92 compatible = "fsl,mpc5200-gpt"; 98 compatible = "fsl,mpc5200-gpt"; 104 compatible = "fsl,mpc5200-gpt"; 110 compatible = "fsl,mpc5200-gpt";
|
D | tqm5200.dts | 67 compatible = "fsl,mpc5200-gpt";
|
D | charon.dts | 70 compatible = "fsl,mpc5200-gpt";
|
D | ebony.dts | 285 GPT0: gpt@40000a00 {
|
D | taishan.dts | 374 GPT0: gpt@40000a00 {
|
/linux-4.4.14/Documentation/devicetree/bindings/timer/ |
D | fsl,imxgpt.txt | 5 - compatible : should be "fsl,<soc>-gpt" 13 compatible = "fsl,imx27-gpt", "fsl,imx1-gpt";
|
/linux-4.4.14/arch/arm/boot/dts/ |
D | imx27.dtsi | 111 compatible = "fsl,imx27-gpt", "fsl,imx21-gpt"; 120 compatible = "fsl,imx27-gpt", "fsl,imx21-gpt"; 129 compatible = "fsl,imx27-gpt", "fsl,imx21-gpt"; 388 compatible = "fsl,imx27-gpt", "fsl,imx21-gpt"; 397 compatible = "fsl,imx27-gpt", "fsl,imx21-gpt"; 448 compatible = "fsl,imx27-gpt", "fsl,imx21-gpt";
|
D | imx6dl.dtsi | 109 &gpt { 110 compatible = "fsl,imx6dl-gpt", "fsl,imx6q-gpt";
|
D | imx25.dtsi | 315 compatible = "fsl,imx25-gpt", "fsl,imx31-gpt"; 323 compatible = "fsl,imx25-gpt", "fsl,imx31-gpt"; 331 compatible = "fsl,imx25-gpt", "fsl,imx31-gpt"; 339 compatible = "fsl,imx25-gpt", "fsl,imx31-gpt";
|
D | imx7d.dtsi | 455 gpt1: gpt@302d0000 { 456 compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt"; 464 gpt2: gpt@302e0000 { 465 compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt"; 474 gpt3: gpt@302f0000 { 475 compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt"; 484 gpt4: gpt@30300000 { 485 compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
|
D | imx31.dtsi | 129 gpt: timer@53f90000 { label 130 compatible = "fsl,imx31-gpt";
|
D | imx6ul.dtsi | 239 gpt1: gpt@02098000 { 240 compatible = "fsl,imx6ul-gpt", "fsl,imx6sx-gpt"; 486 gpt2: gpt@020e8000 { 487 compatible = "fsl,imx6ul-gpt", "fsl,imx6sx-gpt";
|
D | imx35.dtsi | 197 gpt: timer@53f90000 { label 198 compatible = "fsl,imx35-gpt", "fsl,imx31-gpt";
|
D | imx1.dtsi | 69 compatible = "fsl,imx1-gpt"; 78 compatible = "fsl,imx1-gpt";
|
D | imx50.dtsi | 269 gpt: timer@53fa0000 { label 270 compatible = "fsl,imx50-gpt", "fsl,imx31-gpt";
|
D | imx51.dtsi | 362 gpt: timer@73fa0000 { label 363 compatible = "fsl,imx51-gpt", "fsl,imx31-gpt";
|
D | imx53.dtsi | 407 gpt: timer@53fa0000 { label 408 compatible = "fsl,imx53-gpt", "fsl,imx31-gpt";
|
D | imx6qdl.dtsi | 478 gpt: gpt@02098000 { label 479 compatible = "fsl,imx6q-gpt", "fsl,imx31-gpt";
|
D | imx6sl.dtsi | 360 gpt: gpt@02098000 { label 361 compatible = "fsl,imx6sl-gpt";
|
D | imx6sx.dtsi | 421 gpt: gpt@02098000 { label 422 compatible = "fsl,imx6sx-gpt", "fsl,imx31-gpt";
|
D | tegra114-tn7.dts | 12 bootargs = "console=ttyS0,115200n8 console=tty1 gpt fbcon=rotate:2";
|
D | tegra114-roth.dts | 12 bootargs = "console=ttyS0,115200n8 console=tty1 gpt fbcon=rotate:1";
|
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/fsl/ |
D | mpc5200.txt | 84 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-4.4.14/arch/powerpc/include/asm/ |
D | mpc52xx.h | 283 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-4.4.14/Documentation/devicetree/bindings/pinctrl/ |
D | lantiq,pinctrl-xway.txt | 50 spi, asc, cgu, jtag, exin, stp, gpt, nmi, pci, ebu, mdio
|
/linux-4.4.14/Documentation/ide/ |
D | ChangeLog.ide-cd.1994-2004 | 36 * Richard Hirst <srh@gpt.co.uk> for diagnosing this.
|
/linux-4.4.14/Documentation/ |
D | kernel-parameters.txt | 1258 gpt [EFI] Forces disk with valid GPT signature but
|