/linux/arch/powerpc/sysdev/ |
H A D | fsl_gtm.c | 69 struct gtm { struct 80 * gtm_get_timer16 - request GTM timer to use it with the rest of GTM API 83 * This function reserves GTM timer for later use. It returns gtm_timer 84 * structure to use with the rest of GTM API, you should use timer->irq 89 struct gtm *gtm; 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() [all …]
|
/linux/Documentation/devicetree/bindings/timer/ |
H A D | fsl,gtm.yaml | 4 $id: http://devicetree.org/schemas/timer/fsl,gtm.yaml# 18 - fsl,mpc8308-gtm 19 - fsl,mpc8313-gtm 20 - fsl,mpc8315-gtm 21 - fsl,mpc8360-gtm 22 - const: fsl,gtm 27 - fsl,mpc8360-qe-gtm 28 - fsl,mpc8569-qe-gtm 29 - const: fsl,qe-gtm 30 - const: fsl,gtm [all …]
|
/linux/drivers/ata/ |
H A 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 …]
|
H A 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() 277 * @gtm: out parameter for _GTM result 279 * Evaluate _GTM and store the result in @gtm. 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() 471 * ata_acpi_gtm_xfermask - determine xfermode from GTM parameter 473 * @gtm: GTM parameter to use 475 * Determine xfermask for @dev from @gtm. [all …]
|
H A D | pata_amd.c | 263 * current configuration in PCI config reg and ACPI GTM result are 276 const struct ata_acpi_gtm *gtm; in nv_mode_filter() local 290 /* consult ACPI GTM too */ in nv_mode_filter() 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 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/arch/powerpc/boot/dts/ |
H A D | mpc8313erdb.dts | 307 compatible = "fsl,mpc8313-gtm", "fsl,gtm"; 314 compatible = "fsl,mpc8313-gtm", "fsl,gtm";
|
H A D | mpc8315erdb.dts | 310 compatible = "fsl,mpc8315-gtm", "fsl,gtm"; 318 compatible = "fsl,mpc8315-gtm", "fsl,gtm";
|
H A D | mpc836x_rdk.dts | 222 compatible = "fsl,mpc8360-qe-gtm", 223 "fsl,qe-gtm", "fsl,gtm";
|
H A D | mpc8308_p1m.dts | 257 compatible = "fsl,mpc8308-gtm", "fsl,gtm";
|
/linux/arch/powerpc/boot/dts/fsl/ |
H A D | mpc8569si-post.dtsi | 213 compatible = "fsl,mpc8569-qe-gtm", 214 "fsl,qe-gtm", "fsl,gtm";
|
/linux/Documentation/devicetree/bindings/powerpc/fsl/ |
H A D | pmc.yaml | 101 "fsl,gtm" node on which timer 4 can be used as a wakeup source from deep
|
/linux/include/linux/ |
H A D | libata.h | 228 ATA_PFLAG_INIT_GTM_VALID = (1 << 19), /* initial gtm data valid */ 1370 const struct ata_acpi_gtm *gtm); 1391 const struct ata_acpi_gtm *gtm) in ata_acpi_gtm_xfermask() argument
|
/linux/drivers/net/usb/ |
H A D | hso.c | 425 {USB_DEVICE(0x0af0, 0x7501)}, /* GTM 382 */
|
/linux/drivers/pci/ |
H A D | quirks.c | 1473 /* VIA comes back fine but we need to keep it alive or ACPI GTM failures
|