ata_acpi_gtm
if (ata_acpi_gtm(ap, &ap->__acpi_init_gtm) == 0)
const struct ata_acpi_gtm *gtm = ata_acpi_init_gtm(ap);
int ata_acpi_gtm(struct ata_port *ap, struct ata_acpi_gtm *gtm)
if (out_obj->buffer.length != sizeof(struct ata_acpi_gtm)) {
memcpy(gtm, out_obj->buffer.pointer, sizeof(struct ata_acpi_gtm));
EXPORT_SYMBOL_GPL(ata_acpi_gtm);
int ata_acpi_stm(struct ata_port *ap, const struct ata_acpi_gtm *stm)
struct ata_acpi_gtm stm_buf = *stm;
in_params[0].buffer.length = sizeof(struct ata_acpi_gtm);
const struct ata_acpi_gtm *gtm)
const struct ata_acpi_gtm *gtm = ata_acpi_init_gtm(ap);
const struct ata_acpi_gtm *gtm = ata_acpi_init_gtm(ap);
ata_acpi_gtm(ap, &acpi->gtm);
ata_acpi_gtm(ap, &acpi->gtm);
struct ata_acpi_gtm gtm;
if (ACPI_HANDLE(&ap->tdev) == NULL || ata_acpi_gtm(ap, &acpi->gtm) < 0)
struct ata_acpi_gtm probe;
ata_acpi_gtm(ap, &probe);
const struct ata_acpi_gtm *gtm;
static inline const struct ata_acpi_gtm *ata_acpi_init_gtm(struct ata_port *ap)
int ata_acpi_stm(struct ata_port *ap, const struct ata_acpi_gtm *stm);
int ata_acpi_gtm(struct ata_port *ap, struct ata_acpi_gtm *stm);
const struct ata_acpi_gtm *gtm);
static inline const struct ata_acpi_gtm *ata_acpi_init_gtm(struct ata_port *ap)
struct ata_acpi_gtm *stm)
struct ata_acpi_gtm *stm)
const struct ata_acpi_gtm *gtm)
struct ata_acpi_gtm __acpi_init_gtm; /* use ata_acpi_init_gtm() */