Lines Matching defs:raw

281     uint16_t raw = 0;
283 DEF_SUBFIELD(raw, 15, 8, bus);
284 DEF_SUBFIELD(raw, 7, 3, dev);
285 DEF_SUBFIELD(raw, 2, 0, func);
288 return raw == other.raw;
292 return static_cast<uint8_t>(raw);
297 uint64_t raw;
299 DEF_SUBBIT(raw, 0, present);
300 DEF_SUBFIELD(raw, 63, 12, context_table);
303 raw = dst->raw;
306 dst->raw = raw;
328 uint64_t raw[2];
330 DEF_SUBBIT(raw[0], 0, present);
331 DEF_SUBBIT(raw[0], 1, fault_processing_disable);
332 DEF_SUBFIELD(raw[0], 3, 2, translation_type);
333 DEF_SUBFIELD(raw[0], 63, 12, second_level_pt_ptr);
334 DEF_SUBFIELD(raw[1], 2, 0, address_width);
335 DEF_SUBFIELD(raw[1], 6, 3, hw_ignored);
336 DEF_SUBFIELD(raw[1], 23, 8, domain_id);
339 raw[0] = dst->raw[0];
340 raw[1] = dst->raw[1];
345 dst->raw[1] = raw[1];
346 dst->raw[0] = raw[0];
379 uint64_t raw[4];
381 DEF_SUBBIT(raw[0], 0, present);
382 DEF_SUBBIT(raw[0], 1, fault_processing_disable);
383 DEF_SUBFIELD(raw[0], 4, 2, translation_type);
384 DEF_SUBFIELD(raw[0], 7, 5, extended_mem_type);
385 DEF_SUBBIT(raw[0], 8, deferred_invld_enable);
386 DEF_SUBBIT(raw[0], 9, page_request_enable);
387 DEF_SUBBIT(raw[0], 10, nested_translation_enable);
388 DEF_SUBBIT(raw[0], 11, pasid_enable);
389 DEF_SUBFIELD(raw[0], 63, 12, second_level_pt_ptr);
391 DEF_SUBFIELD(raw[1], 2, 0, address_width);
392 DEF_SUBBIT(raw[1], 3, global_page_enable);
393 DEF_SUBBIT(raw[1], 4, no_exec_enable);
394 DEF_SUBBIT(raw[1], 5, write_protect_enable);
395 DEF_SUBBIT(raw[1], 6, cache_disable);
396 DEF_SUBBIT(raw[1], 7, extended_mem_type_enable);
397 DEF_SUBFIELD(raw[1], 23, 8, domain_id);
398 DEF_SUBBIT(raw[1], 24, smep_enable);
399 DEF_SUBBIT(raw[1], 25, extended_accessed_flag_enable);
400 DEF_SUBBIT(raw[1], 26, execute_requests_enable);
401 DEF_SUBBIT(raw[1], 27, second_level_execute_bit_enable);
402 DEF_SUBFIELD(raw[1], 63, 32, page_attribute_table);
404 DEF_SUBFIELD(raw[2], 3, 0, pasid_table_size);
405 DEF_SUBFIELD(raw[2], 63, 12, pasid_table_ptr);
407 DEF_SUBFIELD(raw[3], 63, 12, pasid_state_table_ptr);
410 raw[0] = dst->raw[0];
411 raw[1] = dst->raw[1];
412 raw[2] = dst->raw[2];
413 raw[3] = dst->raw[3];
417 dst->raw[1] = raw[1];
418 dst->raw[2] = raw[2];
419 dst->raw[3] = raw[3];
421 dst->raw[0] = raw[0];
456 uint64_t raw;
458 DEF_SUBBIT(raw, 0, present);
459 DEF_SUBBIT(raw, 3, page_level_write_through);
460 DEF_SUBBIT(raw, 4, page_level_cache_disable);
461 DEF_SUBBIT(raw, 11, supervisor_requests_enable);
462 DEF_SUBFIELD(raw, 63, 12, first_level_pt_ptr);
465 dst->raw = raw;
472 volatile uint64_t raw;
474 //DEF_SUBFIELD(raw, 47, 32, active_ref_count);
475 //DEF_SUBBIT(raw, 63, deferred_invld);
478 return (atomic_load_u64(&raw) >> 32) & 0xffff;
482 return atomic_load_u64(&raw) >> 63;
490 atomic_or_u64(&raw, 1ull << 63);