/Linux-v5.4/arch/powerpc/platforms/52xx/ |
D | mpc52xx_gpt.c | 137 struct mpc52xx_gpt_priv *gpt = irq_data_get_irq_chip_data(d); in mpc52xx_gpt_irq_unmask() local 140 raw_spin_lock_irqsave(&gpt->lock, flags); in mpc52xx_gpt_irq_unmask() 141 setbits32(&gpt->regs->mode, MPC52xx_GPT_MODE_IRQ_EN); in mpc52xx_gpt_irq_unmask() 142 raw_spin_unlock_irqrestore(&gpt->lock, flags); in mpc52xx_gpt_irq_unmask() 147 struct mpc52xx_gpt_priv *gpt = irq_data_get_irq_chip_data(d); in mpc52xx_gpt_irq_mask() local 150 raw_spin_lock_irqsave(&gpt->lock, flags); in mpc52xx_gpt_irq_mask() 151 clrbits32(&gpt->regs->mode, MPC52xx_GPT_MODE_IRQ_EN); in mpc52xx_gpt_irq_mask() 152 raw_spin_unlock_irqrestore(&gpt->lock, flags); in mpc52xx_gpt_irq_mask() 157 struct mpc52xx_gpt_priv *gpt = irq_data_get_irq_chip_data(d); in mpc52xx_gpt_irq_ack() local 159 out_be32(&gpt->regs->status, MPC52xx_GPT_STATUS_IRQMASK); in mpc52xx_gpt_irq_ack() [all …]
|
D | Kconfig | 20 gpt nodes, then it is safe to use such gpt to reset the board,
|
/Linux-v5.4/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 | 6 obj-y += clk.o clk-aux-synth.o clk-frac-synth.o clk-gpt-synth.o clk-vco-pll.o
|
/Linux-v5.4/Documentation/devicetree/bindings/timer/ |
D | fsl,imxgpt.txt | 7 - "fsl,imx1-gpt"; 9 - "fsl,imx21-gpt"; 11 - "fsl,imx27-gpt", "fsl,imx21-gpt"; 13 - "fsl,imx31-gpt"; 15 - "fsl,imx25-gpt", "fsl,imx31-gpt"; 17 - "fsl,imx50-gpt", "fsl,imx31-gpt"; 19 - "fsl,imx51-gpt", "fsl,imx31-gpt"; 21 - "fsl,imx53-gpt", "fsl,imx31-gpt"; 23 - "fsl,imx6q-gpt", "fsl,imx31-gpt"; 25 - "fsl,imx6dl-gpt"; [all …]
|
/Linux-v5.4/block/partitions/ |
D | efi.c | 274 gpt_header *gpt) in alloc_read_gpt_entries() argument 279 if (!gpt) in alloc_read_gpt_entries() 282 count = (size_t)le32_to_cpu(gpt->num_partition_entries) * in alloc_read_gpt_entries() 283 le32_to_cpu(gpt->sizeof_partition_entry); in alloc_read_gpt_entries() 290 if (read_lba(state, le64_to_cpu(gpt->partition_entry_lba), in alloc_read_gpt_entries() 311 gpt_header *gpt; in alloc_read_gpt_header() local 314 gpt = kmalloc(ssz, GFP_KERNEL); in alloc_read_gpt_header() 315 if (!gpt) in alloc_read_gpt_header() 318 if (read_lba(state, lba, (u8 *) gpt, ssz) < ssz) { in alloc_read_gpt_header() 319 kfree(gpt); in alloc_read_gpt_header() [all …]
|
/Linux-v5.4/drivers/clocksource/ |
D | timer-imx-gpt.c | 68 const struct imx_gpt_data *gpt; member 156 void __iomem *reg = imxtm->base + imxtm->gpt->reg_tcn; in mxc_clocksource_init() 208 imxtm->gpt->gpt_irq_disable(imxtm); in mxc_shutdown() 210 tcn = readl_relaxed(imxtm->base + imxtm->gpt->reg_tcn); in mxc_shutdown() 212 writel_relaxed(tcn - 3, imxtm->base + imxtm->gpt->reg_tcmp); in mxc_shutdown() 215 imxtm->gpt->gpt_irq_acknowledge(imxtm); in mxc_shutdown() 229 imxtm->gpt->gpt_irq_disable(imxtm); in mxc_set_oneshot() 232 u32 tcn = readl_relaxed(imxtm->base + imxtm->gpt->reg_tcn); in mxc_set_oneshot() 234 writel_relaxed(tcn - 3, imxtm->base + imxtm->gpt->reg_tcmp); in mxc_set_oneshot() 237 imxtm->gpt->gpt_irq_acknowledge(imxtm); in mxc_set_oneshot() [all …]
|
/Linux-v5.4/arch/powerpc/boot/dts/ |
D | mpc5200b.dtsi | 64 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";
|
D | lite5200.dts | 63 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";
|
D | tqm5200.dts | 63 compatible = "fsl,mpc5200-gpt";
|
/Linux-v5.4/arch/arm/boot/dts/ |
D | imx27.dtsi | 110 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";
|
D | imx25.dtsi | 355 compatible = "fsl,imx25-gpt", "fsl,imx31-gpt"; 363 compatible = "fsl,imx25-gpt", "fsl,imx31-gpt"; 371 compatible = "fsl,imx25-gpt", "fsl,imx31-gpt"; 379 compatible = "fsl,imx25-gpt", "fsl,imx31-gpt";
|
D | imx7s.dtsi | 447 gpt1: gpt@302d0000 { 448 compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt"; 456 gpt2: gpt@302e0000 { 457 compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt"; 466 gpt3: gpt@302f0000 { 467 compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt"; 476 gpt4: gpt@30300000 { 477 compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
|
D | imx1.dtsi | 79 compatible = "fsl,imx1-gpt"; 88 compatible = "fsl,imx1-gpt";
|
D | imx6dl.dtsi | 290 &gpt { 291 compatible = "fsl,imx6dl-gpt";
|
D | imx35.dtsi | 216 gpt: timer@53f90000 { label 217 compatible = "fsl,imx35-gpt", "fsl,imx31-gpt";
|
D | imx50.dtsi | 277 gpt: timer@53fa0000 { label 278 compatible = "fsl,imx50-gpt", "fsl,imx31-gpt";
|
D | imx6ul.dtsi | 433 gpt1: gpt@2098000 { 434 compatible = "fsl,imx6ul-gpt", "fsl,imx6sx-gpt"; 707 gpt2: gpt@20e8000 { 708 compatible = "fsl,imx6ul-gpt", "fsl,imx6sx-gpt";
|
D | imx31.dtsi | 255 gpt: timer@53f90000 { label 256 compatible = "fsl,imx31-gpt";
|
D | imx51.dtsi | 375 gpt: timer@73fa0000 { label 376 compatible = "fsl,imx51-gpt", "fsl,imx31-gpt";
|
/Linux-v5.4/drivers/gpu/drm/i915/gvt/ |
D | trace.h | 191 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-v5.4/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-v5.4/drivers/staging/gasket/ |
D | apex_driver.c | 512 struct gasket_page_table *gpt; in sysfs_show() local 529 gpt = gasket_dev->page_table[0]; in sysfs_show() 532 val = gasket_page_table_num_entries(gpt); in sysfs_show() 535 val = gasket_page_table_num_simple_entries(gpt); in sysfs_show() 538 val = gasket_page_table_num_active_pages(gpt); in sysfs_show()
|
/Linux-v5.4/Documentation/devicetree/bindings/pinctrl/ |
D | lantiq,pinctrl-xway.txt | 57 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
|
/Linux-v5.4/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);
|