Lines Matching full:gas
70 * @gas: pointer to the generic address structure for this register
77 struct acpi_generic_address *gas; member
170 if (!reg->gas) { in pcc_chan_reg_read()
176 read_register(reg->vaddr, val, reg->gas->bit_width); in pcc_chan_reg_read()
178 ret = acpi_read(val, reg->gas); in pcc_chan_reg_read()
187 if (!reg->gas) in pcc_chan_reg_write()
191 write_register(reg->vaddr, val, reg->gas->bit_width); in pcc_chan_reg_write()
193 ret = acpi_write(val, reg->gas); in pcc_chan_reg_write()
252 if (!pchan->cmd_complete.gas) in pcc_mbox_cmd_complete_check()
473 pcc_chan_reg_init(struct pcc_chan_reg *reg, struct acpi_generic_address *gas, in pcc_chan_reg_init() argument
476 if (gas->space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY) { in pcc_chan_reg_init()
477 if (!(gas->bit_width >= 8 && gas->bit_width <= 64 && in pcc_chan_reg_init()
478 is_power_of_2(gas->bit_width))) { in pcc_chan_reg_init()
480 gas->bit_width); in pcc_chan_reg_init()
484 reg->vaddr = acpi_os_ioremap(gas->address, gas->bit_width / 8); in pcc_chan_reg_init()
490 reg->gas = gas; in pcc_chan_reg_init()
550 !pchan->plat_irq_ack.gas) { in pcc_parse_subspace_irq()