Lines Matching refs:offset
20 * OpRegion. When AML reads the "return value" offset from the OpRegion, this
80 static void aml_nfw_read_arg(u8 *offset, u32 bit_width, u64 *value)
84 *value = *(u8 *)offset;
87 *value = *(u16 *)offset;
90 *value = *(u32 *)offset;
93 *value = *(u64 *)offset;
98 static void aml_nfw_write_arg(u8 *offset, u32 bit_width, u64 *value)
102 *(u8 *) offset = *value;
105 *(u16 *) offset = *value;
108 *(u32 *) offset = *value;
111 *(u64 *) offset = *value;
121 u8 *offset = (u8 *) context + address;
134 aml_nfw_read_arg(offset, bit_width, value);
137 aml_nfw_write_arg(offset, bit_width, value);