/openbmc/linux/arch/powerpc/platforms/52xx/ |
H A D | mpc52xx_gpt.c | 251 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() 716 gpt = devm_kzalloc(&ofdev->dev, sizeof *gpt, GFP_KERNEL); in mpc52xx_gpt_probe() 717 if (!gpt) in mpc52xx_gpt_probe() [all …]
|
H A D | Kconfig | 20 gpt nodes, then it is safe to use such gpt to reset the board,
|
/openbmc/linux/drivers/clk/spear/ |
H A D | clk-gpt-synth.c | 59 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/timer/ |
H A D | fsl,imxgpt.yaml | 15 - const: fsl,imx1-gpt 16 - 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 27 - fsl,imx6q-gpt 29 - const: fsl,imx6dl-gpt 32 - fsl,imx6sl-gpt [all …]
|
/openbmc/linux/block/partitions/ |
H A D | efi.c | 277 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 …]
|
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mx25/ |
H A D | timer.c | 31 struct gpt_regs *gpt = (struct gpt_regs *)IMX_GPT1_BASE; in timer_init() local 35 writel(GPT_CTRL_SWR, &gpt->ctrl); in timer_init() 40 writel(0, &gpt->ctrl); /* We have no udelay by now */ in timer_init() 41 writel(0, &gpt->pre); /* prescaler = 1 */ in timer_init() 43 writel(readl(&gpt->ctrl) | GPT_CTRL_CLKSOURCE_32 | GPT_CTRL_FRR, in timer_init() 44 &gpt->ctrl); in timer_init() 45 writel(readl(&gpt->ctrl) | GPT_CTRL_TEN, &gpt->ctrl); in timer_init()
|
/openbmc/u-boot/arch/arm/cpu/arm1136/mx35/ |
H A D | timer.c | 27 struct gpt_regs *gpt = (struct gpt_regs *)GPT1_BASE_ADDR; in timer_init() local 31 writel(GPTCR_SWR, &gpt->ctrl); in timer_init() 36 writel(0, &gpt->ctrl); /* We have no udelay by now */ in timer_init() 37 writel(0, &gpt->pre); /* prescaler = 1 */ in timer_init() 39 writel(readl(&gpt->ctrl) | GPTCR_CLKSOURCE_32 | GPTCR_FRR, in timer_init() 40 &gpt->ctrl); in timer_init() 41 writel(readl(&gpt->ctrl) | GPTCR_TEN, &gpt->ctrl); in timer_init()
|
/openbmc/qemu/hw/ppc/ |
H A D | ppc405_uc.c | 524 ppc4xx_gpt_set_output(gpt, i, gpt->ol & mask); in ppc4xx_gpt_set_outputs() 527 ppc4xx_gpt_set_output(gpt, i, gpt->ol & mask ? 0 : 1); in ppc4xx_gpt_set_outputs() 541 if (gpt->is & gpt->im & mask) { in ppc4xx_gpt_set_irqs() 571 ret = gpt->oe; in ppc4xx_gpt_read() 575 ret = gpt->ol; in ppc4xx_gpt_read() 579 ret = gpt->im; in ppc4xx_gpt_read() 584 ret = gpt->is; in ppc4xx_gpt_read() 588 ret = gpt->ie; in ppc4xx_gpt_read() 619 gpt->tb_offset = muldiv64(value, NANOSECONDS_PER_SECOND, gpt->tb_freq) in ppc4xx_gpt_write() 690 gpt->oe = 0x00000000; in ppc405_gpt_reset() [all …]
|
/openbmc/linux/drivers/clocksource/ |
H A D | timer-imx-gpt.c | 73 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() 265 imxtm->gpt->gpt_irq_acknowledge(imxtm); in mxc_timer_interrupt() 380 imxtm->gpt = &imx1_gpt_data; in _mxc_timer_init() 383 imxtm->gpt = &imx21_gpt_data; in _mxc_timer_init() 386 imxtm->gpt = &imx31_gpt_data; in _mxc_timer_init() 389 imxtm->gpt = &imx6dl_gpt_data; in _mxc_timer_init() [all …]
|
/openbmc/linux/arch/powerpc/boot/dts/ |
H A 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";
|
H A 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";
|
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | renesas,rzg2l-poeg.yaml | 46 renesas,gpt: 48 description: phandle to gpt instance that serves the pwm operation. 68 - renesas,gpt 85 renesas,gpt = <&gpt>;
|
/openbmc/u-boot/doc/ |
H A D | README.gpt | 20 the gpt command in u-boot. 172 the generated UUID. The 'gpt guid' command reads the current value of the 185 gpt write mmc 0 $partitions 193 gpt verify mmc 0 [$partitions] 208 U-BOOT> gpt verify mmc 0 $partitions 215 communicate about software updates and boot failure. The 'gpt guid', 216 'gpt read', 'gpt rename' and 'gpt swap' commands facilitate 221 U-BOOT> gpt swap mmc 0 primary backup 228 U-BOOT> gpt rename mmc 0 1 primary 235 => gpt read host 0 [all …]
|
/openbmc/qemu/hw/arm/ |
H A D | fsl-imx31.c | 46 object_initialize_child(obj, "gpt", &s->gpt, TYPE_IMX31_GPT); in fsl_imx31_init() 108 s->gpt.ccm = IMX_CCM(&s->ccm); in fsl_imx31_realize() 110 if (!sysbus_realize(SYS_BUS_DEVICE(&s->gpt), errp)) { in fsl_imx31_realize() 114 sysbus_mmio_map(SYS_BUS_DEVICE(&s->gpt), 0, FSL_IMX31_GPT_ADDR); in fsl_imx31_realize() 115 sysbus_connect_irq(SYS_BUS_DEVICE(&s->gpt), 0, in fsl_imx31_realize()
|
H A D | fsl-imx25.c | 51 object_initialize_child(obj, "gpt[*]", &s->gpt[i], TYPE_IMX25_GPT); in fsl_imx25_init() 140 s->gpt[i].ccm = IMX_CCM(&s->ccm); in fsl_imx25_realize() 142 if (!sysbus_realize(SYS_BUS_DEVICE(&s->gpt[i]), errp)) { in fsl_imx25_realize() 145 sysbus_mmio_map(SYS_BUS_DEVICE(&s->gpt[i]), 0, gpt_table[i].addr); in fsl_imx25_realize() 146 sysbus_connect_irq(SYS_BUS_DEVICE(&s->gpt[i]), 0, in fsl_imx25_realize()
|
H A D | fsl-imx6.c | 65 object_initialize_child(obj, "gpt", &s->gpt, TYPE_IMX6_GPT); in fsl_imx6_init() 200 s->gpt.ccm = IMX_CCM(&s->ccm); in fsl_imx6_realize() 202 if (!sysbus_realize(SYS_BUS_DEVICE(&s->gpt), errp)) { in fsl_imx6_realize() 206 sysbus_mmio_map(SYS_BUS_DEVICE(&s->gpt), 0, FSL_IMX6_GPT_ADDR); in fsl_imx6_realize() 207 sysbus_connect_irq(SYS_BUS_DEVICE(&s->gpt), 0, in fsl_imx6_realize()
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A 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";
|
H A D | imxrt1050.dtsi | 152 gpt: timer@401ec000 { label 153 compatible = "fsl,imxrt1050-gpt", "fsl,imx6dl-gpt", "fsl,imx6sl-gpt";
|
H A 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";
|
/openbmc/linux/drivers/gpu/drm/i915/gvt/ |
H A 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);
|
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/ |
H A D | 0025-corstone1000-add-nvmxip-fwu-mdata-and-gpt-options.patch | 4 Subject: [PATCH] corstone1000: add nvmxip, fwu-mdata and gpt options 7 gpt. Commands to print the partition info, gpt info
|
/openbmc/linux/Documentation/devicetree/bindings/powerpc/fsl/ |
H A 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:
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A 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);
|
/openbmc/openbmc/poky/meta/recipes-core/ovmf/ovmf/ |
H A D | ovmf-shell-image.wks | 4 bootloader --ptable gpt --timeout=5
|
/openbmc/openbmc/poky/scripts/lib/wic/canned-wks/ |
H A D | efi-bootdisk.wks.in | 1 bootloader --ptable gpt
|