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()
151 ACPI_FORMAT_UINT64(address), in acpi_hw_validate_io_request()
186 acpi_status acpi_hw_read_port(acpi_io_address address, u32 *value, u32 width) in acpi_hw_read_port() argument
195 address &= ACPI_UINT16_MAX; in acpi_hw_read_port()
200 status = acpi_hw_validate_io_request(address, width); in acpi_hw_read_port()
202 status = acpi_os_read_port(address, value, width); in acpi_hw_read_port()
219 if (acpi_hw_validate_io_request(address, 8) == AE_OK) { in acpi_hw_read_port()
220 status = acpi_os_read_port(address, &one_byte, 8); in acpi_hw_read_port()
228 address++; in acpi_hw_read_port()
250 acpi_status acpi_hw_write_port(acpi_io_address address, u32 value, u32 width) in acpi_hw_write_port() argument
258 address &= ACPI_UINT16_MAX; in acpi_hw_write_port()
263 status = acpi_hw_validate_io_request(address, width); in acpi_hw_write_port()
265 status = acpi_os_write_port(address, value, width); in acpi_hw_write_port()
282 if (acpi_hw_validate_io_request(address, 8) == AE_OK) { in acpi_hw_write_port()
284 acpi_os_write_port(address, (value >> i) & 0xFF, 8); in acpi_hw_write_port()
290 address++; in acpi_hw_write_port()
310 acpi_status acpi_hw_validate_io_block(u64 address, u32 bit_width, u32 count) in acpi_hw_validate_io_block() argument
315 status = acpi_hw_validate_io_request((acpi_io_address)address, in acpi_hw_validate_io_block()
320 address += ACPI_DIV_8(bit_width); in acpi_hw_validate_io_block()