Home
last modified time | relevance | path

Searched refs:ata_acpi_gtm (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/ata/
Dpata_acpi.c24 struct ata_acpi_gtm gtm;
41 if (ACPI_HANDLE(&ap->tdev) == NULL || ata_acpi_gtm(ap, &acpi->gtm) < 0) in pacpi_pre_reset()
76 struct ata_acpi_gtm probe; in pacpi_discover_modes()
81 ata_acpi_gtm(ap, &probe); in pacpi_discover_modes()
126 ata_acpi_gtm(ap, &acpi->gtm); in pacpi_set_piomode()
155 ata_acpi_gtm(ap, &acpi->gtm); in pacpi_set_dmamode()
Dlibata-acpi.c190 if (ata_acpi_gtm(ap, &ap->__acpi_init_gtm) == 0) in ata_acpi_bind_port()
267 const struct ata_acpi_gtm *gtm = ata_acpi_init_gtm(ap); in ata_acpi_dissociate()
287 int ata_acpi_gtm(struct ata_port *ap, struct ata_acpi_gtm *gtm) in ata_acpi_gtm() function
319 if (out_obj->buffer.length != sizeof(struct ata_acpi_gtm)) { in ata_acpi_gtm()
325 memcpy(gtm, out_obj->buffer.pointer, sizeof(struct ata_acpi_gtm)); in ata_acpi_gtm()
332 EXPORT_SYMBOL_GPL(ata_acpi_gtm);
347 int ata_acpi_stm(struct ata_port *ap, const struct ata_acpi_gtm *stm) in ata_acpi_stm()
350 struct ata_acpi_gtm stm_buf = *stm; in ata_acpi_stm()
355 in_params[0].buffer.length = sizeof(struct ata_acpi_gtm); in ata_acpi_stm()
484 const struct ata_acpi_gtm *gtm) in ata_acpi_gtm_xfermask()
[all …]
Dpata_amd.c276 const struct ata_acpi_gtm *gtm; in nv_mode_filter()
/linux-6.6.21/include/linux/
Dlibata.h773 struct ata_acpi_gtm { struct
875 struct ata_acpi_gtm __acpi_init_gtm; /* use ata_acpi_init_gtm() */
1296 static inline const struct ata_acpi_gtm *ata_acpi_init_gtm(struct ata_port *ap) in ata_acpi_init_gtm()
1302 int ata_acpi_stm(struct ata_port *ap, const struct ata_acpi_gtm *stm);
1303 int ata_acpi_gtm(struct ata_port *ap, struct ata_acpi_gtm *stm);
1305 const struct ata_acpi_gtm *gtm);
1306 int ata_acpi_cbl_80wire(struct ata_port *ap, const struct ata_acpi_gtm *gtm);
1308 static inline const struct ata_acpi_gtm *ata_acpi_init_gtm(struct ata_port *ap) in ata_acpi_init_gtm()
1314 struct ata_acpi_gtm *stm) in ata_acpi_stm()
1319 static inline int ata_acpi_gtm(const struct ata_port *ap, in ata_acpi_gtm() function
[all …]