Home
last modified time | relevance | path

Searched refs:intel_uncore (Results 1 – 25 of 73) sorted by relevance

123

/linux-6.12.1/drivers/gpu/drm/i915/
Dintel_uncore.h39 struct intel_uncore;
92 void (*force_wake_get)(struct intel_uncore *uncore,
97 enum forcewake_domains (*read_fw_domains)(struct intel_uncore *uncore,
99 enum forcewake_domains (*write_fw_domains)(struct intel_uncore *uncore,
102 u8 (*mmio_readb)(struct intel_uncore *uncore,
104 u16 (*mmio_readw)(struct intel_uncore *uncore,
106 u32 (*mmio_readl)(struct intel_uncore *uncore,
108 u64 (*mmio_readq)(struct intel_uncore *uncore,
111 void (*mmio_writeb)(struct intel_uncore *uncore,
113 void (*mmio_writew)(struct intel_uncore *uncore,
[all …]
Dintel_pcode.h11 struct intel_uncore;
13 int snb_pcode_read(struct intel_uncore *uncore, u32 mbox, u32 *val, u32 *val1);
14 int snb_pcode_write_timeout(struct intel_uncore *uncore, u32 mbox, u32 val,
19 int skl_pcode_request(struct intel_uncore *uncore, u32 mbox, u32 request,
22 int intel_pcode_init(struct intel_uncore *uncore);
27 int snb_pcode_read_p(struct intel_uncore *uncore, u32 mbcmd, u32 p1, u32 p2, u32 *val);
28 int snb_pcode_write_p(struct intel_uncore *uncore, u32 mbcmd, u32 p1, u32 p2, u32 val);
Dintel_uncore.c43 fw_domains_get(struct intel_uncore *uncore, enum forcewake_domains fw_domains) in fw_domains_get()
57 static void mmio_debug_suspend(struct intel_uncore *uncore) in mmio_debug_suspend()
73 static bool check_for_unclaimed_mmio(struct intel_uncore *uncore);
75 static void mmio_debug_resume(struct intel_uncore *uncore) in mmio_debug_resume()
294 fw_domains_get_normal(struct intel_uncore *uncore, enum forcewake_domains fw_domains) in fw_domains_get_normal()
313 fw_domains_get_with_fallback(struct intel_uncore *uncore, in fw_domains_get_with_fallback()
333 fw_domains_put(struct intel_uncore *uncore, enum forcewake_domains fw_domains) in fw_domains_put()
347 fw_domains_reset(struct intel_uncore *uncore, in fw_domains_reset()
362 static inline u32 gt_thread_status(struct intel_uncore *uncore) in gt_thread_status()
372 static void __gen6_gt_wait_for_thread_c0(struct intel_uncore *uncore) in __gen6_gt_wait_for_thread_c0()
[all …]
Dintel_pcode.c55 static int __snb_pcode_rw(struct intel_uncore *uncore, u32 mbox, in __snb_pcode_rw()
95 int snb_pcode_read(struct intel_uncore *uncore, u32 mbox, u32 *val, u32 *val1) in snb_pcode_read()
112 int snb_pcode_write_timeout(struct intel_uncore *uncore, u32 mbox, u32 val, in snb_pcode_write_timeout()
131 static bool skl_pcode_try_request(struct intel_uncore *uncore, u32 mbox, in skl_pcode_try_request()
159 int skl_pcode_request(struct intel_uncore *uncore, u32 mbox, u32 request, in skl_pcode_request()
207 static int pcode_init_wait(struct intel_uncore *uncore, int timeout_ms) in pcode_init_wait()
223 int intel_pcode_init(struct intel_uncore *uncore) in intel_pcode_init()
245 int snb_pcode_read_p(struct intel_uncore *uncore, u32 mbcmd, u32 p1, u32 p2, u32 *val) in snb_pcode_read_p()
261 int snb_pcode_write_p(struct intel_uncore *uncore, u32 mbcmd, u32 p1, u32 p2, u32 val) in snb_pcode_write_p()
Di915_irq.h21 struct intel_uncore;
43 void gen3_assert_iir_is_zero(struct intel_uncore *uncore, i915_reg_t reg);
45 void gen3_irq_reset(struct intel_uncore *uncore, i915_reg_t imr,
48 void gen3_irq_init(struct intel_uncore *uncore,
Di915_irq.c80 void gen3_irq_reset(struct intel_uncore *uncore, i915_reg_t imr, in gen3_irq_reset()
95 static void gen2_irq_reset(struct intel_uncore *uncore) in gen2_irq_reset()
112 void gen3_assert_iir_is_zero(struct intel_uncore *uncore, i915_reg_t reg) in gen3_assert_iir_is_zero()
128 static void gen2_assert_iir_is_zero(struct intel_uncore *uncore) in gen2_assert_iir_is_zero()
144 void gen3_irq_init(struct intel_uncore *uncore, in gen3_irq_init()
156 static void gen2_irq_init(struct intel_uncore *uncore, in gen2_irq_init()
663 struct intel_uncore *uncore = &dev_priv->uncore; in ibx_irq_reset()
678 struct intel_uncore *uncore = &dev_priv->uncore; in ilk_irq_reset()
711 struct intel_uncore *uncore = &dev_priv->uncore; in gen8_irq_reset()
727 struct intel_uncore *uncore = gt->uncore; in gen11_irq_reset()
[all …]
Dvlv_suspend.c111 struct intel_uncore *uncore = &i915->uncore; in vlv_save_gunit_s0ix_state()
196 struct intel_uncore *uncore = &i915->uncore; in vlv_restore_gunit_s0ix_state()
305 struct intel_uncore *uncore = &i915->uncore; in vlv_force_gfx_clock()
329 struct intel_uncore *uncore = &i915->uncore; in vlv_allow_gt_wake()
372 struct intel_uncore *uncore = &i915->uncore; in vlv_check_no_gt_access()
/linux-6.12.1/drivers/gpu/drm/xe/compat-i915-headers/
Dintel_uncore.h13 static inline struct xe_gt *__compat_uncore_to_gt(struct intel_uncore *uncore) in __compat_uncore_to_gt()
20 static inline struct xe_tile *__compat_uncore_to_tile(struct intel_uncore *uncore) in __compat_uncore_to_tile()
27 static inline u32 intel_uncore_read(struct intel_uncore *uncore, in intel_uncore_read()
35 static inline u8 intel_uncore_read8(struct intel_uncore *uncore, in intel_uncore_read8()
43 static inline u16 intel_uncore_read16(struct intel_uncore *uncore, in intel_uncore_read16()
52 intel_uncore_read64_2x32(struct intel_uncore *uncore, in intel_uncore_read64_2x32()
70 static inline void intel_uncore_posting_read(struct intel_uncore *uncore, in intel_uncore_posting_read()
78 static inline void intel_uncore_write(struct intel_uncore *uncore, in intel_uncore_write()
86 static inline u32 intel_uncore_rmw(struct intel_uncore *uncore, in intel_uncore_rmw()
94 static inline int intel_wait_for_register(struct intel_uncore *uncore, in intel_wait_for_register()
[all …]
Dintel_pcode.h13 snb_pcode_write_timeout(struct intel_uncore *uncore, u32 mbox, u32 val, in snb_pcode_write_timeout()
21 snb_pcode_write(struct intel_uncore *uncore, u32 mbox, u32 val) in snb_pcode_write()
28 snb_pcode_read(struct intel_uncore *uncore, u32 mbox, u32 *val, u32 *val1) in snb_pcode_read()
34 skl_pcode_request(struct intel_uncore *uncore, u32 mbox, in skl_pcode_request()
/linux-6.12.1/drivers/gpu/drm/i915/gt/
Dintel_gt_clock_utils.c14 static u32 read_reference_ts_freq(struct intel_uncore *uncore) in read_reference_ts_freq()
31 static u32 gen11_get_crystal_clock_freq(struct intel_uncore *uncore, in gen11_get_crystal_clock_freq()
57 static u32 gen11_read_clock_frequency(struct intel_uncore *uncore) in gen11_read_clock_frequency()
90 static u32 gen9_read_clock_frequency(struct intel_uncore *uncore) in gen9_read_clock_frequency()
112 static u32 gen6_read_clock_frequency(struct intel_uncore *uncore) in gen6_read_clock_frequency()
124 static u32 gen5_read_clock_frequency(struct intel_uncore *uncore) in gen5_read_clock_frequency()
133 static u32 g4x_read_clock_frequency(struct intel_uncore *uncore) in g4x_read_clock_frequency()
144 static u32 gen4_read_clock_frequency(struct intel_uncore *uncore) in gen4_read_clock_frequency()
158 static u32 read_clock_frequency(struct intel_uncore *uncore) in read_clock_frequency()
Dintel_rc6.c46 static struct intel_uncore *rc6_to_uncore(struct intel_rc6 *rc) in rc6_to_uncore()
59 struct intel_uncore *uncore = gt->uncore; in gen11_rc6_enable()
148 struct intel_uncore *uncore = rc6_to_uncore(rc6); in gen9_rc6_enable()
218 struct intel_uncore *uncore = rc6_to_uncore(rc6); in gen8_rc6_enable()
240 struct intel_uncore *uncore = rc6_to_uncore(rc6); in gen6_rc6_enable()
294 struct intel_uncore *uncore = rc6_to_uncore(rc6); in chv_rc6_init()
316 struct intel_uncore *uncore = rc6_to_uncore(rc6); in vlv_rc6_init()
369 struct intel_uncore *uncore = rc6_to_uncore(rc6); in chv_rc6_enable()
397 struct intel_uncore *uncore = rc6_to_uncore(rc6); in vlv_rc6_enable()
425 struct intel_uncore *uncore = rc6_to_uncore(rc6); in intel_check_bios_c6_setup()
[all …]
Dintel_gt_pm_irq.c16 struct intel_uncore *uncore = gt->uncore; in write_pm_imr()
64 struct intel_uncore *uncore = gt->uncore; in gen6_gt_pm_reset_iir()
77 struct intel_uncore *uncore = gt->uncore; in write_pm_ier()
Dintel_rps.c46 static struct intel_uncore *rps_to_uncore(struct intel_rps *rps) in rps_to_uncore()
70 static void set(struct intel_uncore *uncore, i915_reg_t reg, u32 val) in set()
278 struct intel_uncore *uncore = rps_to_uncore(rps); in gen5_rps_init()
317 struct intel_uncore *uncore = in __ips_chipset_val()
352 static unsigned long ips_mch_val(struct intel_uncore *uncore) in ips_mch_val()
389 struct intel_uncore *uncore = in __gen5_ips_update()
433 struct intel_uncore *uncore = rps_to_uncore(rps); in __gen5_rps_set()
484 static unsigned int init_emon(struct intel_uncore *uncore) in init_emon()
553 struct intel_uncore *uncore = rps_to_uncore(rps); in gen5_rps_enable()
624 struct intel_uncore *uncore = rps_to_uncore(rps); in gen5_rps_disable()
[all …]
Dintel_ggtt_fencing.c54 static struct intel_uncore *fence_to_uncore(struct i915_fence_reg *fence) in fence_to_uncore()
92 struct intel_uncore *uncore = fence_to_uncore(fence); in i965_write_fence_reg()
139 struct intel_uncore *uncore = fence_to_uncore(fence); in i915_write_fence_reg()
164 struct intel_uncore *uncore = fence_to_uncore(fence); in i830_write_fence_reg()
204 struct intel_uncore *uncore = fence_to_uncore(fence); in fence_update()
573 struct intel_uncore *uncore = ggtt->vm.gt->uncore; in detect_bit_6_swizzle()
841 struct intel_uncore *uncore = ggtt->vm.gt->uncore; in intel_ggtt_init_fences()
901 struct intel_uncore *uncore = gt->uncore; in intel_gt_init_swizzling()
Dintel_gtt.c438 struct intel_uncore *uncore = gt->uncore; in gtt_write_workarounds()
503 static void xelpmp_setup_private_ppat(struct intel_uncore *uncore) in xelpmp_setup_private_ppat()
541 static void tgl_setup_private_ppat(struct intel_uncore *uncore) in tgl_setup_private_ppat()
577 static void icl_setup_private_ppat(struct intel_uncore *uncore) in icl_setup_private_ppat()
610 static void bdw_setup_private_ppat(struct intel_uncore *uncore) in bdw_setup_private_ppat()
633 static void chv_setup_private_ppat(struct intel_uncore *uncore) in chv_setup_private_ppat()
671 struct intel_uncore *uncore = gt->uncore; in setup_private_pat()
Dintel_gt_pm_debugfs.c70 struct intel_uncore *uncore = gt->uncore; in fw_domains_show()
93 struct intel_uncore *uncore = gt->uncore; in vlv_drpc()
119 struct intel_uncore *uncore = gt->uncore; in gen6_drpc()
207 struct intel_uncore *uncore = gt->uncore; in ilk_drpc()
266 struct intel_uncore *uncore = gt->uncore; in mtl_drpc()
342 struct intel_uncore *uncore = gt->uncore; in intel_gt_pm_frequency_dump()
510 struct intel_uncore *uncore = gt->uncore; in rps_boost_show()
Dintel_gt_irq.c215 struct intel_uncore *uncore = gt->uncore; in gen11_gt_irq_reset()
263 struct intel_uncore *uncore = gt->uncore; in gen11_gt_irq_postinstall()
453 struct intel_uncore *uncore = gt->uncore; in gen8_gt_irq_reset()
475 struct intel_uncore *uncore = gt->uncore; in gen8_gt_irq_postinstall()
515 struct intel_uncore *uncore = gt->uncore; in gen5_gt_irq_reset()
524 struct intel_uncore *uncore = gt->uncore; in gen5_gt_irq_postinstall()
Dintel_region_lmem.c169 static bool get_legacy_lowmem_region(struct intel_uncore *uncore, in get_legacy_lowmem_region()
184 static int reserve_lowmem_region(struct intel_uncore *uncore, in reserve_lowmem_region()
204 struct intel_uncore *uncore = gt->uncore; in setup_lmem()
Dintel_gt_types.h38 struct intel_uncore;
102 struct intel_uncore *uncore;
/linux-6.12.1/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_fw.c22 struct intel_uncore *uncore = gt->uncore; in guc_prepare_xfer()
52 struct intel_uncore *uncore) in guc_xfer_rsa_mmio()
69 struct intel_uncore *uncore) in guc_xfer_rsa_vma()
81 struct intel_uncore *uncore) in guc_xfer_rsa()
97 static inline bool guc_load_done(struct intel_uncore *uncore, u32 *status, bool *success) in guc_load_done()
157 struct intel_uncore *uncore = gt->uncore; in guc_wait_ucode()
289 struct intel_uncore *uncore = gt->uncore; in intel_guc_fw_upload()
/linux-6.12.1/drivers/gpu/drm/i915/selftests/
Dmock_uncore.c29 nop_write##x(struct intel_uncore *uncore, i915_reg_t reg, u##x val, bool trace) { }
36 nop_read##x(struct intel_uncore *uncore, i915_reg_t reg, bool trace) { return 0; }
42 void mock_uncore_init(struct intel_uncore *uncore, in mock_uncore_init()
Dmock_uncore.h29 struct intel_uncore;
31 void mock_uncore_init(struct intel_uncore *uncore,
/linux-6.12.1/drivers/gpu/drm/xe/display/ext/
Di915_irq.c10 void gen3_irq_reset(struct intel_uncore *uncore, i915_reg_t imr, in gen3_irq_reset()
28 void gen3_assert_iir_is_zero(struct intel_uncore *uncore, i915_reg_t reg) in gen3_assert_iir_is_zero()
45 void gen3_irq_init(struct intel_uncore *uncore, in gen3_irq_init()
/linux-6.12.1/drivers/gpu/drm/i915/gem/
Di915_gem_stolen.c89 struct intel_uncore *uncore = ggtt->vm.gt->uncore; in adjust_stolen()
204 struct intel_uncore *uncore, in g4x_get_stolen_reserved()
239 struct intel_uncore *uncore, in gen6_get_stolen_reserved()
272 struct intel_uncore *uncore, in vlv_get_stolen_reserved()
301 struct intel_uncore *uncore, in gen7_get_stolen_reserved()
328 struct intel_uncore *uncore, in chv_get_stolen_reserved()
361 struct intel_uncore *uncore, in bdw_get_stolen_reserved()
381 struct intel_uncore *uncore, in icl_get_stolen_reserved()
447 struct intel_uncore *uncore = &i915->uncore; in init_reserved_stolen()
867 static int mtl_get_gms_size(struct intel_uncore *uncore) in mtl_get_gms_size()
[all …]
/linux-6.12.1/drivers/gpu/drm/i915/pxp/
Dintel_pxp_session.c20 struct intel_uncore *uncore = pxp->ctrl_gt->uncore; in intel_pxp_session_is_in_play()
33 struct intel_uncore *uncore = pxp->ctrl_gt->uncore; in pxp_wait_for_session_state()

123