Lines Matching refs:gas
67 const struct acpi_generic_address *gas = &instr->entry.register_region; in wdat_wdt_read() local
69 switch (gas->access_width) { in wdat_wdt_read()
84 gas->address); in wdat_wdt_read()
92 const struct acpi_generic_address *gas = &instr->entry.register_region; in wdat_wdt_write() local
94 switch (gas->access_width) { in wdat_wdt_write()
109 gas->address); in wdat_wdt_write()
130 const struct acpi_generic_address *gas; in wdat_wdt_run_action() local
135 gas = &entry->register_region; in wdat_wdt_run_action()
147 x >>= gas->bit_offset; in wdat_wdt_run_action()
157 x >>= gas->bit_offset; in wdat_wdt_run_action()
165 x <<= gas->bit_offset; in wdat_wdt_run_action()
170 y = y & ~(mask << gas->bit_offset); in wdat_wdt_run_action()
181 x <<= gas->bit_offset; in wdat_wdt_run_action()
186 y = y & ~(mask << gas->bit_offset); in wdat_wdt_run_action()
376 const struct acpi_generic_address *gas; in wdat_wdt_probe() local
396 gas = &entries[i].register_region; in wdat_wdt_probe()
399 r.start = gas->address; in wdat_wdt_probe()
400 r.end = r.start + ACPI_ACCESS_BYTE_WIDTH(gas->access_width) - 1; in wdat_wdt_probe()
401 if (gas->space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY) { in wdat_wdt_probe()
403 } else if (gas->space_id == ACPI_ADR_SPACE_SYSTEM_IO) { in wdat_wdt_probe()
407 gas->space_id); in wdat_wdt_probe()