Home
last modified time | relevance | path

Searched refs:gtm (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/arch/powerpc/sysdev/
H A Dfsl_gtm.c69 struct gtm { struct
89 struct gtm *gtm; in gtm_get_timer16() argument
122 struct gtm_timer *gtm_get_specific_timer16(struct gtm *gtm, in gtm_get_specific_timer16() argument
168 struct gtm *gtm = tmr->gtm; in gtm_set_ref_timer16() local
304 struct gtm *gtm = tmr->gtm; in gtm_stop_timer16() local
381 struct gtm *gtm; in fsl_gtm_init() local
385 gtm = kzalloc(sizeof(*gtm), GFP_KERNEL); in fsl_gtm_init()
386 if (!gtm) { in fsl_gtm_init()
411 gtm->timers[i].gtm = gtm; in fsl_gtm_init()
421 gtm_set_shortcuts(np, gtm->timers, gtm->regs); in fsl_gtm_init()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/timer/
H A Dfsl,gtm.txt5 "fsl,<chip>-gtm", "fsl,gtm" for SOC GTMs
6 "fsl,<chip>-qe-gtm", "fsl,qe-gtm", "fsl,gtm" for QE GTMs
7 "fsl,<chip>-cpm2-gtm", "fsl,cpm2-gtm", "fsl,gtm" for CPM2 GTMs
8 - reg : should contain gtm registers location and length (0x40).
15 compatible = "fsl,mpc8360-gtm", "fsl,gtm";
24 compatible = "fsl,mpc8360-qe-gtm", "fsl,qe-gtm", "fsl,gtm";
/openbmc/linux/drivers/ata/
H A Dpata_acpi.c24 struct ata_acpi_gtm gtm; member
79 probe = acpi->gtm; in pacpi_discover_modes()
118 if (!(acpi->gtm.flags & 0x10)) in pacpi_set_piomode()
123 acpi->gtm.drive[unit].pio = t->cycle; in pacpi_set_piomode()
124 ata_acpi_stm(ap, &acpi->gtm); in pacpi_set_piomode()
126 ata_acpi_gtm(ap, &acpi->gtm); in pacpi_set_piomode()
141 if (!(acpi->gtm.flags & 0x10)) in pacpi_set_dmamode()
147 acpi->gtm.drive[unit].dma = t->udma; in pacpi_set_dmamode()
153 ata_acpi_stm(ap, &acpi->gtm); in pacpi_set_dmamode()
155 ata_acpi_gtm(ap, &acpi->gtm); in pacpi_set_dmamode()
[all …]
H A Dlibata-acpi.c267 const struct ata_acpi_gtm *gtm = ata_acpi_init_gtm(ap); in ata_acpi_dissociate() local
269 if (ACPI_HANDLE(&ap->tdev) && gtm) in ata_acpi_dissociate()
270 ata_acpi_stm(ap, gtm); in ata_acpi_dissociate()
484 const struct ata_acpi_gtm *gtm) in ata_acpi_gtm_xfermask() argument
493 if (!(gtm->flags & 0x10)) in ata_acpi_gtm_xfermask()
504 if (!(gtm->flags & (1 << (2 * unit)))) in ata_acpi_gtm_xfermask()
509 mode = ata_timing_cycle2mode(type, gtm->drive[unit].dma); in ata_acpi_gtm_xfermask()
530 xfer_mask = ata_acpi_gtm_xfermask(dev, gtm); in ata_acpi_cbl_80wire()
814 const struct ata_acpi_gtm *gtm = ata_acpi_init_gtm(ap); in ata_acpi_on_resume() local
817 if (ACPI_HANDLE(&ap->tdev) && gtm) { in ata_acpi_on_resume()
[all …]
H A Dpata_amd.c276 const struct ata_acpi_gtm *gtm; in nv_mode_filter() local
291 gtm = ata_acpi_init_gtm(ap); in nv_mode_filter()
292 if (gtm) { in nv_mode_filter()
293 acpi_limit = ata_acpi_gtm_xfermask(dev, gtm); in nv_mode_filter()
296 gtm->drive[0].dma, gtm->drive[1].dma, gtm->flags); in nv_mode_filter()
/openbmc/linux/arch/powerpc/include/asm/
H A Dfsl_gtm.h17 struct gtm;
22 struct gtm *gtm; member
33 extern struct gtm_timer *gtm_get_specific_timer16(struct gtm *gtm,
/openbmc/u-boot/arch/powerpc/include/asm/
H A Dimmap_83xx.h634 gtm83xx_t gtm[2]; /* Global Timers Module */ member
688 gtm83xx_t gtm[2]; /* Global Timers Module */ member
723 gtm83xx_t gtm[2]; /* Global Timers Module */ member
768 gtm83xx_t gtm[2]; /* Global Timers Module */ member
852 gtm83xx_t gtm[2]; /* Global Timers Module */ member
888 gtm83xx_t gtm[2]; /* Global Timers Module */ member
/openbmc/linux/arch/powerpc/boot/dts/
H A Dmpc8313erdb.dts307 compatible = "fsl,mpc8313-gtm", "fsl,gtm";
314 compatible = "fsl,mpc8313-gtm", "fsl,gtm";
H A Dmpc8315erdb.dts309 compatible = "fsl,mpc8315-gtm", "fsl,gtm";
317 compatible = "fsl,mpc8315-gtm", "fsl,gtm";
H A Dmpc836x_rdk.dts222 compatible = "fsl,mpc8360-qe-gtm",
223 "fsl,qe-gtm", "fsl,gtm";
H A Dmpc8308_p1m.dts257 compatible = "fsl,mpc8308-gtm", "fsl,gtm";
/openbmc/linux/arch/powerpc/boot/dts/fsl/
H A Dmpc8569si-post.dtsi213 compatible = "fsl,mpc8569-qe-gtm",
214 "fsl,qe-gtm", "fsl,gtm";
/openbmc/linux/Documentation/devicetree/bindings/powerpc/fsl/
H A Dpmc.txt33 this is a phandle to an "fsl,gtm" node on which timer 4 can be used as
/openbmc/linux/include/linux/
H A Dlibata.h1307 const struct ata_acpi_gtm *gtm);
1308 int ata_acpi_cbl_80wire(struct ata_port *ap, const struct ata_acpi_gtm *gtm);
1328 const struct ata_acpi_gtm *gtm) in ata_acpi_gtm_xfermask() argument
1334 const struct ata_acpi_gtm *gtm) in ata_acpi_cbl_80wire() argument