aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi/atomicio.h
blob: 8b9fb4b0b9ce257b1df9a571cde4caf21a3769fc (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef ACPI_ATOMIC_IO_H
#define ACPI_ATOMIC_IO_H

int acpi_pre_map_gar(struct acpi_generic_address *reg);
int acpi_post_unmap_gar(struct acpi_generic_address *reg);

int acpi_atomic_read(u64 *val, struct acpi_generic_address *reg);
int acpi_atomic_write(u64 val, struct acpi_generic_address *reg);

#endif