Home
last modified time | relevance | path

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

123

/linux-6.1.9/drivers/gpu/drm/i915/
Dintel_uncore.h39 struct intel_uncore;
90 void (*force_wake_get)(struct intel_uncore *uncore,
95 enum forcewake_domains (*read_fw_domains)(struct intel_uncore *uncore,
97 enum forcewake_domains (*write_fw_domains)(struct intel_uncore *uncore,
100 u8 (*mmio_readb)(struct intel_uncore *uncore,
102 u16 (*mmio_readw)(struct intel_uncore *uncore,
104 u32 (*mmio_readl)(struct intel_uncore *uncore,
106 u64 (*mmio_readq)(struct intel_uncore *uncore,
109 void (*mmio_writeb)(struct intel_uncore *uncore,
111 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.c42 fw_domains_get(struct intel_uncore *uncore, enum forcewake_domains fw_domains) in fw_domains_get()
56 static void mmio_debug_suspend(struct intel_uncore *uncore) in mmio_debug_suspend()
72 static bool check_for_unclaimed_mmio(struct intel_uncore *uncore);
74 static void mmio_debug_resume(struct intel_uncore *uncore) in mmio_debug_resume()
280 fw_domains_get_normal(struct intel_uncore *uncore, enum forcewake_domains fw_domains) in fw_domains_get_normal()
299 fw_domains_get_with_fallback(struct intel_uncore *uncore, in fw_domains_get_with_fallback()
319 fw_domains_put(struct intel_uncore *uncore, enum forcewake_domains fw_domains) in fw_domains_put()
333 fw_domains_reset(struct intel_uncore *uncore, in fw_domains_reset()
348 static inline u32 gt_thread_status(struct intel_uncore *uncore) in gt_thread_status()
358 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 int intel_pcode_init(struct intel_uncore *uncore) in intel_pcode_init()
218 int snb_pcode_read_p(struct intel_uncore *uncore, u32 mbcmd, u32 p1, u32 p2, u32 *val) in snb_pcode_read_p()
234 int snb_pcode_write_p(struct intel_uncore *uncore, u32 mbcmd, u32 p1, u32 p2, u32 val) in snb_pcode_write_p()
Di915_irq.h20 struct intel_uncore;
93 void gen2_irq_reset(struct intel_uncore *uncore);
94 void gen3_irq_reset(struct intel_uncore *uncore, i915_reg_t imr,
97 void gen2_irq_init(struct intel_uncore *uncore,
99 void gen3_irq_init(struct intel_uncore *uncore,
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()
310 struct intel_uncore *uncore = &i915->uncore; in vlv_force_gfx_clock()
338 struct intel_uncore *uncore = &i915->uncore; in vlv_allow_gt_wake()
384 struct intel_uncore *uncore = &i915->uncore; in vlv_check_no_gt_access()
Di915_irq.c236 void gen3_irq_reset(struct intel_uncore *uncore, i915_reg_t imr, in gen3_irq_reset()
251 void gen2_irq_reset(struct intel_uncore *uncore) in gen2_irq_reset()
268 static void gen3_assert_iir_is_zero(struct intel_uncore *uncore, i915_reg_t reg) in gen3_assert_iir_is_zero()
284 static void gen2_assert_iir_is_zero(struct intel_uncore *uncore) in gen2_assert_iir_is_zero()
300 void gen3_irq_init(struct intel_uncore *uncore, in gen3_irq_init()
312 void gen2_irq_init(struct intel_uncore *uncore, in gen2_irq_init()
3005 struct intel_uncore *uncore = &dev_priv->uncore; in ibx_irq_reset()
3018 struct intel_uncore *uncore = &dev_priv->uncore; in vlv_display_irq_reset()
3036 struct intel_uncore *uncore = &dev_priv->uncore; in vlv_display_irq_postinstall()
3069 struct intel_uncore *uncore = &dev_priv->uncore; in ilk_irq_reset()
[all …]
Di915_perf.c417 struct intel_uncore *uncore = stream->uncore; in gen12_oa_hw_tail_read()
425 struct intel_uncore *uncore = stream->uncore; in gen8_oa_hw_tail_read()
432 struct intel_uncore *uncore = stream->uncore; in gen7_oa_hw_tail_read()
651 struct intel_uncore *uncore = stream->uncore; in gen8_append_oa_reports()
855 struct intel_uncore *uncore = stream->uncore; in gen8_oa_read()
945 struct intel_uncore *uncore = stream->uncore; in gen7_append_oa_reports()
1070 struct intel_uncore *uncore = stream->uncore; in gen7_oa_read()
1410 struct intel_uncore *uncore = stream->uncore; in gen7_init_oa_buffer()
1456 struct intel_uncore *uncore = stream->uncore; in gen8_init_oa_buffer()
1510 struct intel_uncore *uncore = stream->uncore; in gen12_init_oa_buffer()
[all …]
/linux-6.1.9/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_fw.c17 static void guc_prepare_xfer(struct intel_uncore *uncore) in guc_prepare_xfer()
47 struct intel_uncore *uncore) in guc_xfer_rsa_mmio()
64 struct intel_uncore *uncore) in guc_xfer_rsa_vma()
76 struct intel_uncore *uncore) in guc_xfer_rsa()
93 static inline bool guc_ready(struct intel_uncore *uncore, u32 *status) in guc_ready()
102 static int guc_wait_ucode(struct intel_uncore *uncore) in guc_wait_ucode()
168 struct intel_uncore *uncore = gt->uncore; in intel_guc_fw_upload()
/linux-6.1.9/drivers/gpu/drm/i915/gt/
Dintel_gt_clock_utils.c12 static u32 read_reference_ts_freq(struct intel_uncore *uncore) in read_reference_ts_freq()
29 static u32 gen11_get_crystal_clock_freq(struct intel_uncore *uncore, in gen11_get_crystal_clock_freq()
55 static u32 gen11_read_clock_frequency(struct intel_uncore *uncore) in gen11_read_clock_frequency()
88 static u32 gen9_read_clock_frequency(struct intel_uncore *uncore) in gen9_read_clock_frequency()
110 static u32 gen5_read_clock_frequency(struct intel_uncore *uncore) in gen5_read_clock_frequency()
122 static u32 gen2_read_clock_frequency(struct intel_uncore *uncore) in gen2_read_clock_frequency()
134 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()
56 static void set(struct intel_uncore *uncore, i915_reg_t reg, u32 val) in set()
64 struct intel_uncore *uncore = gt->uncore; in gen11_rc6_enable()
149 struct intel_uncore *uncore = rc6_to_uncore(rc6); in gen9_rc6_enable()
219 struct intel_uncore *uncore = rc6_to_uncore(rc6); in gen8_rc6_enable()
241 struct intel_uncore *uncore = rc6_to_uncore(rc6); in gen6_rc6_enable()
295 struct intel_uncore *uncore = rc6_to_uncore(rc6); in chv_rc6_init()
317 struct intel_uncore *uncore = rc6_to_uncore(rc6); in vlv_rc6_init()
370 struct intel_uncore *uncore = rc6_to_uncore(rc6); in chv_rc6_enable()
398 struct intel_uncore *uncore = rc6_to_uncore(rc6); in vlv_rc6_enable()
[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.c41 static struct intel_uncore *rps_to_uncore(struct intel_rps *rps) in rps_to_uncore()
65 static void set(struct intel_uncore *uncore, i915_reg_t reg, u32 val) in set()
272 struct intel_uncore *uncore = rps_to_uncore(rps); in gen5_rps_init()
310 struct intel_uncore *uncore = in __ips_chipset_val()
345 static unsigned long ips_mch_val(struct intel_uncore *uncore) in ips_mch_val()
382 struct intel_uncore *uncore = in __gen5_ips_update()
426 struct intel_uncore *uncore = rps_to_uncore(rps); in __gen5_rps_set()
476 static unsigned int init_emon(struct intel_uncore *uncore) in init_emon()
545 struct intel_uncore *uncore = rps_to_uncore(rps); in gen5_rps_enable()
616 struct intel_uncore *uncore = rps_to_uncore(rps); in gen5_rps_disable()
[all …]
Dintel_ggtt_fencing.c53 static struct intel_uncore *fence_to_uncore(struct i915_fence_reg *fence) in fence_to_uncore()
91 struct intel_uncore *uncore = fence_to_uncore(fence); in i965_write_fence_reg()
138 struct intel_uncore *uncore = fence_to_uncore(fence); in i915_write_fence_reg()
163 struct intel_uncore *uncore = fence_to_uncore(fence); in i830_write_fence_reg()
203 struct intel_uncore *uncore = fence_to_uncore(fence); in fence_update()
571 struct intel_uncore *uncore = ggtt->vm.gt->uncore; in detect_bit_6_swizzle()
839 struct intel_uncore *uncore = ggtt->vm.gt->uncore; in intel_ggtt_init_fences()
899 struct intel_uncore *uncore = gt->uncore; in intel_gt_init_swizzling()
Dintel_gtt.c418 struct intel_uncore *uncore = gt->uncore; in gtt_write_workarounds()
483 static void tgl_setup_private_ppat(struct intel_uncore *uncore) in tgl_setup_private_ppat()
496 static void icl_setup_private_ppat(struct intel_uncore *uncore) in icl_setup_private_ppat()
529 static void bdw_setup_private_ppat(struct intel_uncore *uncore) in bdw_setup_private_ppat()
552 static void chv_setup_private_ppat(struct intel_uncore *uncore) in chv_setup_private_ppat()
588 void setup_private_pat(struct intel_uncore *uncore) in setup_private_pat()
Dintel_gt.c129 struct intel_uncore *uncore = gt->uncore; in init_unused_ring()
159 struct intel_uncore *uncore = gt->uncore; in intel_gt_init_hw()
211 static void rmw_set(struct intel_uncore *uncore, i915_reg_t reg, u32 set) in rmw_set()
216 static void rmw_clear(struct intel_uncore *uncore, i915_reg_t reg, u32 clr) in rmw_clear()
221 static void clear_register(struct intel_uncore *uncore, i915_reg_t reg) in clear_register()
237 struct intel_uncore *uncore = gt->uncore; in intel_gt_clear_error_registers()
301 struct intel_uncore *uncore = gt->uncore; in gen8_check_faults()
357 struct intel_uncore *uncore = gt->uncore; in intel_gt_flush_ggtt_writes()
795 struct intel_uncore *uncore; in intel_gt_tile_setup()
986 struct intel_uncore *uncore = gt->uncore; in mmio_invalidate_full()
Dintel_gt_types.h37 struct intel_uncore;
95 struct intel_uncore *uncore;
Dintel_gt_irq.c202 struct intel_uncore *uncore = gt->uncore; in gen11_gt_irq_reset()
250 struct intel_uncore *uncore = gt->uncore; in gen11_gt_irq_postinstall()
416 struct intel_uncore *uncore = gt->uncore; in gen8_gt_irq_reset()
438 struct intel_uncore *uncore = gt->uncore; in gen8_gt_irq_postinstall()
478 struct intel_uncore *uncore = gt->uncore; in gen5_gt_irq_reset()
487 struct intel_uncore *uncore = gt->uncore; in gen5_gt_irq_postinstall()
Dintel_region_lmem.c158 static bool get_legacy_lowmem_region(struct intel_uncore *uncore, in get_legacy_lowmem_region()
173 static int reserve_lowmem_region(struct intel_uncore *uncore, in reserve_lowmem_region()
193 struct intel_uncore *uncore = gt->uncore; in setup_lmem()
Dintel_sseu_debugfs.c19 struct intel_uncore *uncore = gt->uncore; in cherryview_sseu_device_status()
53 struct intel_uncore *uncore = gt->uncore; in gen11_sseu_device_status()
113 struct intel_uncore *uncore = gt->uncore; in gen9_sseu_device_status()
/linux-6.1.9/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.1.9/drivers/gpu/drm/i915/gem/
Di915_gem_stolen.c84 struct intel_uncore *uncore = ggtt->vm.gt->uncore; in i915_adjust_stolen()
189 struct intel_uncore *uncore, in g4x_get_stolen_reserved()
224 struct intel_uncore *uncore, in gen6_get_stolen_reserved()
257 struct intel_uncore *uncore, in vlv_get_stolen_reserved()
286 struct intel_uncore *uncore, in gen7_get_stolen_reserved()
313 struct intel_uncore *uncore, in chv_get_stolen_reserved()
346 struct intel_uncore *uncore, in bdw_get_stolen_reserved()
366 struct intel_uncore *uncore, in icl_get_stolen_reserved()
398 struct intel_uncore *uncore = &i915->uncore; in i915_gem_init_stolen()
803 struct intel_uncore *uncore = &i915->uncore; in i915_gem_stolen_lmem_setup()
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_tc.c122 struct intel_uncore *uncore = &i915->uncore; in intel_tc_port_get_lane_mask()
138 struct intel_uncore *uncore = &i915->uncore; in intel_tc_port_get_pin_assignment_mask()
188 struct intel_uncore *uncore = &i915->uncore; in intel_tc_port_set_fia_lane_count()
248 struct intel_uncore *uncore = &i915->uncore; in icl_tc_port_live_status_mask()
283 struct intel_uncore *uncore = &i915->uncore; in adl_tc_port_live_status_mask()
328 struct intel_uncore *uncore = &i915->uncore; in icl_tc_phy_status_complete()
354 struct intel_uncore *uncore = &i915->uncore; in adl_tc_phy_status_complete()
382 struct intel_uncore *uncore = &i915->uncore; in icl_tc_phy_take_ownership()
409 struct intel_uncore *uncore = &i915->uncore; in adl_tc_phy_take_ownership()
436 struct intel_uncore *uncore = &i915->uncore; in icl_tc_phy_is_owned()
[all …]
/linux-6.1.9/drivers/gpu/drm/i915/pxp/
Dintel_pxp_session.c23 struct intel_uncore *uncore = pxp_to_gt(pxp)->uncore; in intel_pxp_session_is_in_play()
36 struct intel_uncore *uncore = pxp_to_gt(pxp)->uncore; in pxp_wait_for_session_state()

123