Searched refs:i915_mmio_reg_valid (Results 1 – 12 of 12) sorted by relevance
257 return i915_mmio_reg_valid(hwmon->rg.pkg_rapl_limit) ? attr->mode : 0; in hwm_attributes_visible()343 return i915_mmio_reg_valid(hwmon->rg.pkg_rapl_limit) ? 0664 : 0; in hwm_power_is_visible()345 return i915_mmio_reg_valid(hwmon->rg.pkg_power_sku) ? 0444 : 0; in hwm_power_is_visible()505 if (!hwmon || !i915_mmio_reg_valid(hwmon->rg.pkg_rapl_limit)) in i915_hwmon_power_max_disable()522 if (!hwmon || !i915_mmio_reg_valid(hwmon->rg.pkg_rapl_limit)) in i915_hwmon_power_max_restore()547 return i915_mmio_reg_valid(rgaddr) ? 0444 : 0; in hwm_energy_is_visible()760 if (i915_mmio_reg_valid(hwmon->rg.pkg_power_sku_unit)) in hwm_get_preregistration_info()773 if (i915_mmio_reg_valid(hwmon->rg.energy_status_all)) in hwm_get_preregistration_info()775 if (i915_mmio_reg_valid(hwmon->rg.energy_status_tile)) { in hwm_get_preregistration_info()
285 #define i915_mmio_reg_valid(r) (!i915_mmio_reg_equal(r, INVALID_MMIO_REG)) macro
2220 drm_WARN_ON(&uncore->i915->drm, !i915_mmio_reg_valid(reg_set)); in __fw_domain_init()2221 drm_WARN_ON(&uncore->i915->drm, !i915_mmio_reg_valid(reg_ack)); in __fw_domain_init()
224 i915_mmio_reg_valid(mmio->reg); mmio++) { in restore_context_mmio_for_inhibit()486 i915_mmio_reg_valid(mmio->reg); mmio++) { in switch_mmio()601 i915_mmio_reg_valid(mmio->reg); mmio++) { in intel_gvt_init_engine_mmio_context()
1291 if (i915_mmio_reg_valid(regs.pp_div)) { in intel_pps_readout_hw_state()1542 if (i915_mmio_reg_valid(regs.pp_div)) in pps_init_registers()1554 i915_mmio_reg_valid(regs.pp_div) ? in pps_init_registers()
1209 if (i915_mmio_reg_valid(dc6_reg)) in intel_dmc_debugfs_status_show()
1957 return i915_mmio_reg_valid(enc_to_intel_dp(encoder)->output_reg); in intel_encoder_is_dp()
3643 !i915_mmio_reg_valid(div0_reg)); in icl_dpll_write()3645 i915_mmio_reg_valid(div0_reg)) in icl_dpll_write()
199 return i915_mmio_reg_valid(reg) && !HAS_FLAT_CCS(engine->i915); in gen12_needs_ccs_aux_inv()
582 return i915_mmio_reg_valid(intel_gt_perf_limit_reasons_reg(gt)); in perf_limit_reasons_eval()
890 if (i915_mmio_reg_valid(intel_gt_perf_limit_reasons_reg(gt))) { in intel_gt_sysfs_pm_init()
2120 if (i915_mmio_reg_valid(r)) in __read_cagf()