/Linux-v5.10/arch/powerpc/sysdev/ |
D | fsl_gtm.c | 69 struct gtm { struct 89 struct gtm *gtm = NULL; in gtm_get_timer16() argument 92 list_for_each_entry(gtm, >ms, list_node) { in gtm_get_timer16() 93 spin_lock_irq(>m->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(>m->lock); in gtm_get_timer16() 99 return >m->timers[i]; in gtm_get_timer16() 103 spin_unlock_irq(>m->lock); in gtm_get_timer16() [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/timer/ |
D | fsl,gtm.txt | 5 "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-v5.10/drivers/ata/ |
D | pata_acpi.c | 24 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 …]
|
D | libata-acpi.c | 267 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() 492 const struct ata_acpi_gtm *gtm) in ata_acpi_gtm_xfermask() argument 501 if (!(gtm->flags & 0x10)) in ata_acpi_gtm_xfermask() 505 mode = ata_timing_cycle2mode(ATA_SHIFT_PIO, gtm->drive[unit].pio); in ata_acpi_gtm_xfermask() 512 if (!(gtm->flags & (1 << (2 * unit)))) in ata_acpi_gtm_xfermask() 517 mode = ata_timing_cycle2mode(type, gtm->drive[unit].dma); in ata_acpi_gtm_xfermask() [all …]
|
D | pata_amd.c | 277 const struct ata_acpi_gtm *gtm; in nv_mode_filter() local 292 gtm = ata_acpi_init_gtm(ap); in nv_mode_filter() 293 if (gtm) { in nv_mode_filter() 294 acpi_limit = ata_acpi_gtm_xfermask(dev, gtm); in nv_mode_filter() 297 gtm->drive[0].dma, gtm->drive[1].dma, gtm->flags); in nv_mode_filter()
|
/Linux-v5.10/arch/powerpc/include/asm/ |
D | fsl_gtm.h | 17 struct gtm; 22 struct gtm *gtm; member 33 extern struct gtm_timer *gtm_get_specific_timer16(struct gtm *gtm,
|
/Linux-v5.10/drivers/ide/ |
D | ide-acpi.c | 41 struct GTM_buffer gtm; member 448 memcpy(&hwif->acpidata->gtm, out_obj->buffer.pointer, in ide_acpi_get_timing() 456 hwif->acpidata->gtm.PIO_speed0, in ide_acpi_get_timing() 457 hwif->acpidata->gtm.DMA_speed0, in ide_acpi_get_timing() 458 hwif->acpidata->gtm.PIO_speed1, in ide_acpi_get_timing() 459 hwif->acpidata->gtm.DMA_speed1, in ide_acpi_get_timing() 460 hwif->acpidata->gtm.GTM_flags); in ide_acpi_get_timing() 490 in_params[0].buffer.pointer = (u8 *)&hwif->acpidata->gtm; in ide_acpi_push_timing()
|
/Linux-v5.10/arch/powerpc/boot/dts/ |
D | mpc8313erdb.dts | 307 compatible = "fsl,mpc8313-gtm", "fsl,gtm"; 314 compatible = "fsl,mpc8313-gtm", "fsl,gtm";
|
D | mpc8315erdb.dts | 309 compatible = "fsl,mpc8315-gtm", "fsl,gtm"; 317 compatible = "fsl,mpc8315-gtm", "fsl,gtm";
|
D | mpc836x_rdk.dts | 222 compatible = "fsl,mpc8360-qe-gtm", 223 "fsl,qe-gtm", "fsl,gtm";
|
D | mpc836x_mds.dts | 313 compatible = "fsl,mpc8360-qe-gtm", 314 "fsl,qe-gtm", "fsl,gtm";
|
D | mpc8308_p1m.dts | 257 compatible = "fsl,mpc8308-gtm", "fsl,gtm";
|
/Linux-v5.10/arch/powerpc/boot/dts/fsl/ |
D | mpc8569si-post.dtsi | 213 compatible = "fsl,mpc8569-qe-gtm", 214 "fsl,qe-gtm", "fsl,gtm";
|
/Linux-v5.10/Documentation/devicetree/bindings/powerpc/fsl/ |
D | pmc.txt | 33 this is a phandle to an "fsl,gtm" node on which timer 4 can be used as
|
/Linux-v5.10/include/linux/ |
D | libata.h | 1306 const struct ata_acpi_gtm *gtm); 1307 int ata_acpi_cbl_80wire(struct ata_port *ap, const struct ata_acpi_gtm *gtm); 1327 const struct ata_acpi_gtm *gtm) in ata_acpi_gtm_xfermask() argument 1333 const struct ata_acpi_gtm *gtm) in ata_acpi_cbl_80wire() argument
|