/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
H A D | intel_uncore.c | 243 fw_domains_get(struct intel_uncore *uncore, enum forcewake_domains fw_domains) in fw_domains_get() argument 248 GEM_BUG_ON(fw_domains & ~uncore->fw_domains); in fw_domains_get() 250 for_each_fw_domain_masked(d, fw_domains, uncore, tmp) { in fw_domains_get() 255 for_each_fw_domain_masked(d, fw_domains, uncore, tmp) in fw_domains_get() 258 uncore->fw_domains_active |= fw_domains; in fw_domains_get() 263 enum forcewake_domains fw_domains) in fw_domains_get_with_fallback() 268 GEM_BUG_ON(fw_domains & ~uncore->fw_domains); in fw_domains_get_with_fallback() 270 for_each_fw_domain_masked(d, fw_domains, uncor in fw_domains_get_with_fallback() 262 fw_domains_get_with_fallback(struct intel_uncore *uncore, enum forcewake_domains fw_domains) fw_domains_get_with_fallback() argument 282 fw_domains_put(struct intel_uncore *uncore, enum forcewake_domains fw_domains) fw_domains_put() argument 296 fw_domains_reset(struct intel_uncore *uncore, enum forcewake_domains fw_domains) fw_domains_reset() argument 332 fw_domains_get_with_thread_status(struct intel_uncore *uncore, enum forcewake_domains fw_domains) fw_domains_get_with_thread_status() argument 586 __intel_uncore_forcewake_get(struct intel_uncore *uncore, enum forcewake_domains fw_domains) __intel_uncore_forcewake_get() argument 618 intel_uncore_forcewake_get(struct intel_uncore *uncore, enum forcewake_domains fw_domains) intel_uncore_forcewake_get() argument 685 intel_uncore_forcewake_get__locked(struct intel_uncore *uncore, enum forcewake_domains fw_domains) intel_uncore_forcewake_get__locked() argument 696 __intel_uncore_forcewake_put(struct intel_uncore *uncore, enum forcewake_domains fw_domains, bool delayed) __intel_uncore_forcewake_put() argument 729 intel_uncore_forcewake_put(struct intel_uncore *uncore, enum forcewake_domains fw_domains) intel_uncore_forcewake_put() argument 742 intel_uncore_forcewake_put_delayed(struct intel_uncore *uncore, enum forcewake_domains fw_domains) intel_uncore_forcewake_put_delayed() argument 760 intel_uncore_forcewake_flush(struct intel_uncore *uncore, enum forcewake_domains fw_domains) intel_uncore_forcewake_flush() argument 785 intel_uncore_forcewake_put__locked(struct intel_uncore *uncore, enum forcewake_domains fw_domains) intel_uncore_forcewake_put__locked() argument 806 assert_forcewakes_active(struct intel_uncore *uncore, enum forcewake_domains fw_domains) assert_forcewakes_active() argument 1296 ___force_wake_auto(struct intel_uncore *uncore, enum forcewake_domains fw_domains) ___force_wake_auto() argument 1310 __force_wake_auto(struct intel_uncore *uncore, enum forcewake_domains fw_domains) __force_wake_auto() argument 1895 enum forcewake_domains fw_domains = uncore->fw_domains; intel_uncore_prune_engine_fw_domains() local 2177 enum forcewake_domains fw_domains = 0; intel_uncore_forcewake_for_reg() local [all...] |
H A D | intel_uncore.h | 132 enum forcewake_domains fw_domains; member 159 for_each_fw_domain_masked(domain__, (uncore__)->fw_domains, uncore__, tmp__) 201 enum forcewake_domains fw_domains); 217 enum forcewake_domains fw_domains);
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/ |
H A D | intel_uncore.c | 42 fw_domains_get(struct intel_uncore *uncore, enum forcewake_domains fw_domains) in fw_domains_get() argument 44 uncore->fw_get_funcs->force_wake_get(uncore, fw_domains); in fw_domains_get() 291 fw_domains_get_normal(struct intel_uncore *uncore, enum forcewake_domains fw_domains) in fw_domains_get_normal() argument 296 GEM_BUG_ON(fw_domains & ~uncore->fw_domains); in fw_domains_get_normal() 298 for_each_fw_domain_masked(d, fw_domains, uncore, tmp) { in fw_domains_get_normal() 303 for_each_fw_domain_masked(d, fw_domains, uncore, tmp) in fw_domains_get_normal() 306 uncore->fw_domains_active |= fw_domains; in fw_domains_get_normal() 311 enum forcewake_domains fw_domains) in fw_domains_get_with_fallback() 316 GEM_BUG_ON(fw_domains in fw_domains_get_with_fallback() 310 fw_domains_get_with_fallback(struct intel_uncore *uncore, enum forcewake_domains fw_domains) fw_domains_get_with_fallback() argument 330 fw_domains_put(struct intel_uncore *uncore, enum forcewake_domains fw_domains) fw_domains_put() argument 344 fw_domains_reset(struct intel_uncore *uncore, enum forcewake_domains fw_domains) fw_domains_reset() argument 380 fw_domains_get_with_thread_status(struct intel_uncore *uncore, enum forcewake_domains fw_domains) fw_domains_get_with_thread_status() argument 650 __intel_uncore_forcewake_get(struct intel_uncore *uncore, enum forcewake_domains fw_domains) __intel_uncore_forcewake_get() argument 682 intel_uncore_forcewake_get(struct intel_uncore *uncore, enum forcewake_domains fw_domains) intel_uncore_forcewake_get() argument 740 intel_uncore_forcewake_get__locked(struct intel_uncore *uncore, enum forcewake_domains fw_domains) intel_uncore_forcewake_get__locked() argument 751 __intel_uncore_forcewake_put(struct intel_uncore *uncore, enum forcewake_domains fw_domains, bool delayed) __intel_uncore_forcewake_put() argument 784 intel_uncore_forcewake_put(struct intel_uncore *uncore, enum forcewake_domains fw_domains) intel_uncore_forcewake_put() argument 797 intel_uncore_forcewake_put_delayed(struct intel_uncore *uncore, enum forcewake_domains fw_domains) intel_uncore_forcewake_put_delayed() argument 815 intel_uncore_forcewake_flush(struct intel_uncore *uncore, enum forcewake_domains fw_domains) intel_uncore_forcewake_flush() argument 840 intel_uncore_forcewake_put__locked(struct intel_uncore *uncore, enum forcewake_domains fw_domains) intel_uncore_forcewake_put__locked() argument 861 assert_forcewakes_active(struct intel_uncore *uncore, enum forcewake_domains fw_domains) assert_forcewakes_active() argument 2023 ___force_wake_auto(struct intel_uncore *uncore, enum forcewake_domains fw_domains) ___force_wake_auto() argument 2037 __force_wake_auto(struct intel_uncore *uncore, enum forcewake_domains fw_domains) __force_wake_auto() argument 2713 enum forcewake_domains fw_domains = uncore->fw_domains; intel_uncore_prune_engine_fw_domains() local 3020 enum forcewake_domains fw_domains = 0; intel_uncore_forcewake_for_reg() local [all...] |
H A D | intel_uncore.h | 174 enum forcewake_domains fw_domains; member 201 for_each_fw_domain_masked(domain__, (uncore__)->fw_domains, uncore__, tmp__) 256 enum forcewake_domains fw_domains); 272 enum forcewake_domains fw_domains); 462 enum forcewake_domains fw_domains; in intel_uncore_read64_2x32() local 465 fw_domains = intel_uncore_forcewake_for_reg(uncore, lower_reg, in intel_uncore_read64_2x32() 468 fw_domains |= intel_uncore_forcewake_for_reg(uncore, upper_reg, in intel_uncore_read64_2x32() 472 intel_uncore_forcewake_get__locked(uncore, fw_domains); in intel_uncore_read64_2x32() 481 intel_uncore_forcewake_put__locked(uncore, fw_domains); in intel_uncore_read64_2x32()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/ |
H A D | intel_uncore.c | 194 enum forcewake_domains fw_domains; in live_forcewake_ops() local 200 fw_domains = intel_uncore_forcewake_for_reg(uncore, mmio, in live_forcewake_ops() 202 if (!fw_domains) in live_forcewake_ops() 205 for_each_fw_domain_masked(domain, fw_domains, uncore, tmp) { in live_forcewake_ops() 215 intel_uncore_forcewake_get(uncore, fw_domains); in live_forcewake_ops() 217 intel_uncore_forcewake_put(uncore, fw_domains); in live_forcewake_ops() 220 for_each_fw_domain_masked(domain, fw_domains, uncore, tmp) { in live_forcewake_ops() 244 pr_err("%s:%s=%0x, fw_domains 0x%x still up after 100ms!\n", in live_forcewake_ops() 245 engine->name, r->name, readl(reg), fw_domains); in live_forcewake_ops()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/selftests/ |
H A D | intel_uncore.c | 214 enum forcewake_domains fw_domains; in live_forcewake_ops() local 220 fw_domains = intel_uncore_forcewake_for_reg(uncore, mmio, in live_forcewake_ops() 222 if (!fw_domains) in live_forcewake_ops() 225 for_each_fw_domain_masked(domain, fw_domains, uncore, tmp) { in live_forcewake_ops() 235 intel_uncore_forcewake_get(uncore, fw_domains); in live_forcewake_ops() 237 intel_uncore_forcewake_put(uncore, fw_domains); in live_forcewake_ops() 240 for_each_fw_domain_masked(domain, fw_domains, uncore, tmp) { in live_forcewake_ops() 264 pr_err("%s:%s=%0x, fw_domains 0x%x still up after 100ms!\n", in live_forcewake_ops() 265 engine->name, r->name, readl(reg), fw_domains); in live_forcewake_ops()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc.c | 60 enum forcewake_domains fw_domains = 0; in intel_guc_init_send_regs() local 74 fw_domains |= intel_uncore_forcewake_for_reg(gt->uncore, in intel_guc_init_send_regs() 78 guc->send_regs.fw_domains = fw_domains; in intel_guc_init_send_regs() 407 intel_uncore_forcewake_get(uncore, guc->send_regs.fw_domains); in intel_guc_send_mmio() 448 intel_uncore_forcewake_put(uncore, guc->send_regs.fw_domains); in intel_guc_send_mmio()
|
H A D | intel_guc.h | 64 enum forcewake_domains fw_domains; member
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc.c | 67 enum forcewake_domains fw_domains = 0; in intel_guc_init_send_regs() local 74 fw_domains |= intel_uncore_forcewake_for_reg(gt->uncore, in intel_guc_init_send_regs() 78 guc->send_regs.fw_domains = fw_domains; in intel_guc_init_send_regs() 496 intel_uncore_forcewake_get(uncore, guc->send_regs.fw_domains); in intel_guc_send_mmio() 582 intel_uncore_forcewake_put(uncore, guc->send_regs.fw_domains); in intel_guc_send_mmio() 911 GEM_BUG_ON(guc->send_regs.fw_domains); in intel_guc_write_barrier()
|
H A D | intel_guc.h | 212 enum forcewake_domains fw_domains; member
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
H A D | intel_gt_mcr.c | 329 enum forcewake_domains fw_domains; in rw_with_mcr_steering() local 333 fw_domains = intel_uncore_forcewake_for_reg(uncore, mcr_reg_cast(reg), in rw_with_mcr_steering() 335 fw_domains |= intel_uncore_forcewake_for_reg(uncore, in rw_with_mcr_steering() 341 intel_uncore_forcewake_get__locked(uncore, fw_domains); in rw_with_mcr_steering() 345 intel_uncore_forcewake_put__locked(uncore, fw_domains); in rw_with_mcr_steering()
|
H A D | intel_rc6.c | 804 unsigned int fw_domains; in intel_rc6_residency_ns() local 811 fw_domains = intel_uncore_forcewake_for_reg(uncore, reg, FW_REG_READ); in intel_rc6_residency_ns() 814 intel_uncore_forcewake_get__locked(uncore, fw_domains); in intel_rc6_residency_ns() 855 intel_uncore_forcewake_put__locked(uncore, fw_domains); in intel_rc6_residency_ns()
|
H A D | intel_gt_pm_debugfs.c | 84 DEFINE_INTEL_GT_DEBUGFS_ATTRIBUTE(fw_domains); variable
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
H A D | intel_rc6.c | 717 unsigned int fw_domains; in intel_rc6_residency_ns() local 737 fw_domains = intel_uncore_forcewake_for_reg(uncore, reg, FW_REG_READ); in intel_rc6_residency_ns() 740 intel_uncore_forcewake_get__locked(uncore, fw_domains); in intel_rc6_residency_ns() 781 intel_uncore_forcewake_put__locked(uncore, fw_domains); in intel_rc6_residency_ns()
|
H A D | intel_engine_cs.c | 1064 enum forcewake_domains fw_domains; in read_subslice_reg() local 1074 fw_domains = intel_uncore_forcewake_for_reg(uncore, reg, in read_subslice_reg() 1076 fw_domains |= intel_uncore_forcewake_for_reg(uncore, in read_subslice_reg() 1081 intel_uncore_forcewake_get__locked(uncore, fw_domains); in read_subslice_reg() 1096 intel_uncore_forcewake_put__locked(uncore, fw_domains); in read_subslice_reg()
|
H A D | debugfs_gt_pm.c | 38 DEFINE_GT_DEBUGFS_ATTRIBUTE(fw_domains); variable
|