Home
last modified time | relevance | path

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

/linux/arch/powerpc/sysdev/
H A Dfsl_gtm.c69 struct gtm { struct
89 struct gtm *gtm; in gtm_get_timer16() argument
92 list_for_each_entry(gtm, &gtms, list_node) { in gtm_get_timer16()
93 spin_lock_irq(&gtm->lock); in gtm_get_timer16()
95 for (i = 0; i < ARRAY_SIZE(gtm->timers); i++) { in gtm_get_timer16()
96 if (!gtm->timers[i].requested) { in gtm_get_timer16()
97 gtm->timers[i].requested = true; in gtm_get_timer16()
98 spin_unlock_irq(&gtm->lock); in gtm_get_timer16()
99 return &gtm->timers[i]; in gtm_get_timer16()
103 spin_unlock_irq(&gtm->lock); in gtm_get_timer16()
[all …]
/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";
/linux/drivers/ata/
H A Dpata_acpi.c24 struct ata_acpi_gtm gtm; member
41 if (ACPI_HANDLE(&ap->tdev) == NULL || ata_acpi_gtm(ap, &acpi->gtm) < 0) in pacpi_pre_reset()
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()
148 acpi->gtm.flags |= (1 << (2 * unit)); 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()
287 int ata_acpi_gtm(struct ata_port *ap, struct ata_acpi_gtm *gtm) in ata_acpi_gtm() argument
325 memcpy(gtm, out_obj->buffer.pointer, sizeof(struct ata_acpi_gtm)); in ata_acpi_gtm()
484 const struct ata_acpi_gtm *gtm) in ata_acpi_gtm_xfermask() argument
493 if (!(gtm->flags & 0x10)) in ata_acpi_gtm_xfermask()
497 mode = ata_timing_cycle2mode(ATA_SHIFT_PIO, gtm->drive[unit].pio); 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()
[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()
/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,
/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";
/linux/arch/powerpc/boot/dts/fsl/
H A Dmpc8569si-post.dtsi213 compatible = "fsl,mpc8569-qe-gtm",
214 "fsl,qe-gtm", "fsl,gtm";
/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
/linux/include/linux/
H A Dlibata.h1366 const struct ata_acpi_gtm *gtm);
1367 int ata_acpi_cbl_80wire(struct ata_port *ap, const struct ata_acpi_gtm *gtm);
1387 const struct ata_acpi_gtm *gtm) in ata_acpi_gtm_xfermask() argument
1393 const struct ata_acpi_gtm *gtm) in ata_acpi_cbl_80wire() argument