Lines Matching refs:field

47  * The following macros determine a given offset is a COMD field.
49 * 2-byte COMD field at offset 4 and master subspaces (type 3) contains a 4-byte
50 * COMD field starting at offset 12.
60 * field access attributes
93 * obj_desc - The named field
98 * DESCRIPTION: Read from a named field. Returns either an Integer or a
99 * Buffer, depending on the size of the field and whether if a
100 * field is created by the create_field() operator.
137 (obj_desc->field.region_obj->region.space_id ==
139 || obj_desc->field.region_obj->region.space_id ==
141 || obj_desc->field.region_obj->region.space_id ==
143 || obj_desc->field.region_obj->region.space_id ==
145 || obj_desc->field.region_obj->region.space_id ==
155 * Allocate a buffer for the contents of the field.
157 * If the field is larger than the current integer width, create
160 * field size is equal or smaller than an Integer.
168 (acpi_size)ACPI_ROUND_BITS_UP_TO_BYTES(obj_desc->field.bit_length);
194 (obj_desc->field.region_obj->region.space_id ==
202 (obj_desc->field.region_obj->region.space_id ==
205 * Reading from a PCC field unit does not require the handler because
210 obj_desc->field.bit_length));
213 obj_desc->field.region_obj->field.internal_pcc_buffer +
214 obj_desc->field.base_byte_offset,
215 (acpi_size)ACPI_ROUND_BITS_UP_TO_BYTES(obj_desc->field.
236 /* Read from the field */
256 * obj_desc - The named field
261 * DESCRIPTION: Write to a named field
295 (obj_desc->field.region_obj->region.space_id ==
303 (obj_desc->field.region_obj->region.space_id ==
305 || obj_desc->field.region_obj->region.space_id ==
307 || obj_desc->field.region_obj->region.space_id ==
309 || obj_desc->field.region_obj->region.space_id ==
311 || obj_desc->field.region_obj->region.space_id ==
321 (obj_desc->field.region_obj->region.space_id ==
324 * According to the spec a write to the COMD field will invoke the
327 * of the field. This is considered safer because some firmware tools
331 (acpi_size)ACPI_ROUND_BITS_UP_TO_BYTES(obj_desc->field.
333 memcpy(obj_desc->field.region_obj->field.internal_pcc_buffer +
334 obj_desc->field.base_byte_offset,
337 if (MASTER_SUBSPACE_COMMAND(obj_desc->field.base_byte_offset)) {
342 "PCC COMD field has been written. Invoking PCC handler now.\n"));
346 (u64 *)obj_desc->field.
347 region_obj->field.
399 /* Write to the field */