Lines Matching refs:address

18 acpi_hw_validate_io_request(acpi_io_address address, u32 bit_width);
90 acpi_hw_validate_io_request(acpi_io_address address, u32 bit_width) in acpi_hw_validate_io_request() argument
109 last_address = address + byte_width - 1; in acpi_hw_validate_io_request()
113 ACPI_FORMAT_UINT64(address), in acpi_hw_validate_io_request()
121 ACPI_FORMAT_UINT64(address), byte_width)); in acpi_hw_validate_io_request()
127 if (address > acpi_protected_ports[ACPI_PORT_INFO_ENTRIES - 1].end) { in acpi_hw_validate_io_request()
143 if ((address <= port_info->end) in acpi_hw_validate_io_request()
152 ACPI_FORMAT_UINT64(address), in acpi_hw_validate_io_request()
187 acpi_status acpi_hw_read_port(acpi_io_address address, u32 *value, u32 width) in acpi_hw_read_port() argument
196 address &= ACPI_UINT16_MAX; in acpi_hw_read_port()
201 status = acpi_hw_validate_io_request(address, width); in acpi_hw_read_port()
203 status = acpi_os_read_port(address, value, width); in acpi_hw_read_port()
220 if (acpi_hw_validate_io_request(address, 8) == AE_OK) { in acpi_hw_read_port()
221 status = acpi_os_read_port(address, &one_byte, 8); in acpi_hw_read_port()
229 address++; in acpi_hw_read_port()
251 acpi_status acpi_hw_write_port(acpi_io_address address, u32 value, u32 width) in acpi_hw_write_port() argument
259 address &= ACPI_UINT16_MAX; in acpi_hw_write_port()
264 status = acpi_hw_validate_io_request(address, width); in acpi_hw_write_port()
266 status = acpi_os_write_port(address, value, width); in acpi_hw_write_port()
283 if (acpi_hw_validate_io_request(address, 8) == AE_OK) { in acpi_hw_write_port()
285 acpi_os_write_port(address, (value >> i) & 0xFF, 8); in acpi_hw_write_port()
291 address++; in acpi_hw_write_port()
311 acpi_status acpi_hw_validate_io_block(u64 address, u32 bit_width, u32 count) in acpi_hw_validate_io_block() argument
316 status = acpi_hw_validate_io_request((acpi_io_address)address, in acpi_hw_validate_io_block()
321 address += ACPI_DIV_8(bit_width); in acpi_hw_validate_io_block()