/kernel/linux/linux-6.6/drivers/gpu/drm/i915/ |
H A D | intel_uncore.h | 39 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 *uncor 132 struct intel_uncore { global() struct [all...] |
H A D | intel_pcode.h | 11 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);
|
H A D | intel_uncore.c | 42 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() 291 fw_domains_get_normal(struct intel_uncore *uncore, enum forcewake_domains fw_domains) in fw_domains_get_normal() 310 fw_domains_get_with_fallback(struct intel_uncore *uncore, in fw_domains_get_with_fallback() 330 fw_domains_put(struct intel_uncore *uncore, enum forcewake_domains fw_domains) in fw_domains_put() 344 fw_domains_reset(struct intel_uncore *uncore, in fw_domains_reset() 359 static inline u32 gt_thread_status(struct intel_uncore *uncore) in gt_thread_status() 369 static void __gen6_gt_wait_for_thread_c0(struct intel_uncore *uncor [all...] |
H A D | intel_pcode.c | 55 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()
|
H A D | i915_irq.h | 21 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,
|
H A D | i915_irq.c | 81 void gen3_irq_reset(struct intel_uncore *uncore, i915_reg_t imr, in gen3_irq_reset() 96 static void gen2_irq_reset(struct intel_uncore *uncore) in gen2_irq_reset() 113 void gen3_assert_iir_is_zero(struct intel_uncore *uncore, i915_reg_t reg) in gen3_assert_iir_is_zero() 129 static void gen2_assert_iir_is_zero(struct intel_uncore *uncore) in gen2_assert_iir_is_zero() 145 void gen3_irq_init(struct intel_uncore *uncore, in gen3_irq_init() 157 static void gen2_irq_init(struct intel_uncore *uncore, in gen2_irq_init() 664 struct intel_uncore *uncore = &dev_priv->uncore; in ibx_irq_reset() 679 struct intel_uncore *uncore = &dev_priv->uncore; in ilk_irq_reset() 712 struct intel_uncore *uncore = &dev_priv->uncore; in gen8_irq_reset() 728 struct intel_uncore *uncor in gen11_irq_reset() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
H A D | intel_uncore.h | 37 struct intel_uncore; 76 void (*force_wake_get)(struct intel_uncore *uncore, 78 void (*force_wake_put)(struct intel_uncore *uncore, 81 enum forcewake_domains (*read_fw_domains)(struct intel_uncore *uncore, 83 enum forcewake_domains (*write_fw_domains)(struct intel_uncore *uncore, 86 u8 (*mmio_readb)(struct intel_uncore *uncore, 88 u16 (*mmio_readw)(struct intel_uncore *uncore, 90 u32 (*mmio_readl)(struct intel_uncore *uncore, 92 u64 (*mmio_readq)(struct intel_uncore *uncore, 95 void (*mmio_writeb)(struct intel_uncore *uncor 110 struct intel_uncore { global() struct [all...] |
H A D | intel_uncore.c | 243 fw_domains_get(struct intel_uncore *uncore, enum forcewake_domains fw_domains) in fw_domains_get() 262 fw_domains_get_with_fallback(struct intel_uncore *uncore, in fw_domains_get_with_fallback() 282 fw_domains_put(struct intel_uncore *uncore, enum forcewake_domains fw_domains) in fw_domains_put() 296 fw_domains_reset(struct intel_uncore *uncore, in fw_domains_reset() 311 static inline u32 gt_thread_status(struct intel_uncore *uncore) in gt_thread_status() 321 static void __gen6_gt_wait_for_thread_c0(struct intel_uncore *uncore) in __gen6_gt_wait_for_thread_c0() 332 static void fw_domains_get_with_thread_status(struct intel_uncore *uncore, in fw_domains_get_with_thread_status() 341 static inline u32 fifo_free_entries(struct intel_uncore *uncore) in fifo_free_entries() 348 static void __gen6_gt_wait_for_fifo(struct intel_uncore *uncore) in __gen6_gt_wait_for_fifo() 377 struct intel_uncore *uncor in intel_uncore_fw_release_timer() [all...] |
H A D | i915_irq.h | 20 struct intel_uncore; 121 void gen2_irq_reset(struct intel_uncore *uncore); 122 void gen3_irq_reset(struct intel_uncore *uncore, i915_reg_t imr, 125 void gen2_irq_init(struct intel_uncore *uncore, 127 void gen3_irq_init(struct intel_uncore *uncore,
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
H A D | intel_gt_clock_utils.c | 13 static u32 read_reference_ts_freq(struct intel_uncore *uncore) in read_reference_ts_freq() 30 static u32 gen11_get_crystal_clock_freq(struct intel_uncore *uncore, in gen11_get_crystal_clock_freq() 56 static u32 gen11_read_clock_frequency(struct intel_uncore *uncore) in gen11_read_clock_frequency() 89 static u32 gen9_read_clock_frequency(struct intel_uncore *uncore) in gen9_read_clock_frequency() 111 static u32 gen6_read_clock_frequency(struct intel_uncore *uncore) in gen6_read_clock_frequency() 123 static u32 gen5_read_clock_frequency(struct intel_uncore *uncore) in gen5_read_clock_frequency() 132 static u32 g4x_read_clock_frequency(struct intel_uncore *uncore) in g4x_read_clock_frequency() 143 static u32 gen4_read_clock_frequency(struct intel_uncore *uncore) in gen4_read_clock_frequency() 157 static u32 read_clock_frequency(struct intel_uncore *uncore) in read_clock_frequency()
|
H A D | intel_rc6.c | 46 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() 150 struct intel_uncore *uncore = rc6_to_uncore(rc6); in gen9_rc6_enable() 220 struct intel_uncore *uncore = rc6_to_uncore(rc6); in gen8_rc6_enable() 242 struct intel_uncore *uncore = rc6_to_uncore(rc6); in gen6_rc6_enable() 296 struct intel_uncore *uncore = rc6_to_uncore(rc6); in chv_rc6_init() 318 struct intel_uncore *uncore = rc6_to_uncore(rc6); in vlv_rc6_init() 371 struct intel_uncore *uncore = rc6_to_uncore(rc6); in chv_rc6_enable() 399 struct intel_uncore *uncore = rc6_to_uncore(rc6); in vlv_rc6_enable() 427 struct intel_uncore *uncor in intel_check_bios_c6_setup() [all...] |
H A D | intel_gt_pm_irq.c | 16 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()
|
H A D | intel_rps.c | 46 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() 316 struct intel_uncore *uncore = in __ips_chipset_val() 351 static unsigned long ips_mch_val(struct intel_uncore *uncore) in ips_mch_val() 388 struct intel_uncore *uncore = in __gen5_ips_update() 432 struct intel_uncore *uncore = rps_to_uncore(rps); in __gen5_rps_set() 483 static unsigned int init_emon(struct intel_uncore *uncore) in init_emon() 552 struct intel_uncore *uncore = rps_to_uncore(rps); in gen5_rps_enable() 623 struct intel_uncore *uncor in gen5_rps_disable() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_fw.c | 16 static void guc_prepare_xfer(struct intel_uncore *uncore) in guc_prepare_xfer() 45 struct intel_uncore *uncore) in guc_xfer_rsa() 67 static inline bool guc_ready(struct intel_uncore *uncore, u32 *status) in guc_ready() 77 static int guc_wait_ucode(struct intel_uncore *uncore) in guc_wait_ucode() 122 struct intel_uncore *uncore = gt->uncore; in intel_guc_fw_upload()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
H A D | intel_rc6.c | 42 static struct intel_uncore *rc6_to_uncore(struct intel_rc6 *rc) in rc6_to_uncore() 52 static inline void set(struct intel_uncore *uncore, i915_reg_t reg, u32 val) in set() 60 struct intel_uncore *uncore = gt->uncore; in gen11_rc6_enable() 125 struct intel_uncore *uncore = rc6_to_uncore(rc6); in gen9_rc6_enable() 196 struct intel_uncore *uncore = rc6_to_uncore(rc6); in gen8_rc6_enable() 218 struct intel_uncore *uncore = rc6_to_uncore(rc6); in gen6_rc6_enable() 273 struct intel_uncore *uncore = rc6_to_uncore(rc6); in chv_rc6_init() 295 struct intel_uncore *uncore = rc6_to_uncore(rc6); in vlv_rc6_init() 347 struct intel_uncore *uncore = rc6_to_uncore(rc6); in chv_rc6_enable() 375 struct intel_uncore *uncor in vlv_rc6_enable() [all...] |
H A D | intel_gtt.c | 239 struct intel_uncore *uncore = gt->uncore; in gtt_write_workarounds() 304 static void tgl_setup_private_ppat(struct intel_uncore *uncore) in tgl_setup_private_ppat() 317 static void cnl_setup_private_ppat(struct intel_uncore *uncore) in cnl_setup_private_ppat() 350 static void bdw_setup_private_ppat(struct intel_uncore *uncore) in bdw_setup_private_ppat() 367 static void chv_setup_private_ppat(struct intel_uncore *uncore) in chv_setup_private_ppat() 403 void setup_private_pat(struct intel_uncore *uncore) in setup_private_pat()
|
H A D | intel_gt_pm_irq.c | 16 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()
|
H A D | intel_gt.c | 18 #include "intel_uncore.h" 59 struct intel_uncore *uncore = gt->uncore; in init_unused_ring() 89 struct intel_uncore *uncore = gt->uncore; in intel_gt_init_hw() 141 static void rmw_set(struct intel_uncore *uncore, i915_reg_t reg, u32 set) in rmw_set() 146 static void rmw_clear(struct intel_uncore *uncore, i915_reg_t reg, u32 clr) in rmw_clear() 151 static void clear_register(struct intel_uncore *uncore, i915_reg_t reg) in clear_register() 167 struct intel_uncore *uncore = gt->uncore; in intel_gt_clear_error_registers() 231 struct intel_uncore *uncore = gt->uncore; in gen8_check_faults() 287 struct intel_uncore *uncore = gt->uncore; in intel_gt_flush_ggtt_writes() 709 struct intel_uncore *uncor in intel_gt_invalidate_tlbs() [all...] |
H A D | intel_rps.c | 36 static struct intel_uncore *rps_to_uncore(struct intel_rps *rps) in rps_to_uncore() 46 static inline void set(struct intel_uncore *uncore, i915_reg_t reg, u32 val) in set() 251 struct intel_uncore *uncore = rps_to_uncore(rps); in gen5_rps_init() 289 struct intel_uncore *uncore = in __ips_chipset_val() 324 static unsigned long ips_mch_val(struct intel_uncore *uncore) in ips_mch_val() 361 struct intel_uncore *uncore = in __gen5_ips_update() 395 struct intel_uncore *uncore = rps_to_uncore(rps); in gen5_rps_set() 435 static unsigned int init_emon(struct intel_uncore *uncore) in init_emon() 503 struct intel_uncore *uncore = rps_to_uncore(rps); in gen5_rps_enable() 569 struct intel_uncore *uncor in gen5_rps_disable() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_fw.c | 22 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() 156 struct intel_uncore *uncore = gt->uncore; in guc_wait_ucode() 283 struct intel_uncore *uncore = gt->uncore; in intel_guc_fw_upload()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/ |
H A D | mock_uncore.c | 29 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()
|
H A D | mock_uncore.h | 29 struct intel_uncore; 31 void mock_uncore_init(struct intel_uncore *uncore,
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/selftests/ |
H A D | mock_uncore.c | 29 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()
|
H A D | mock_uncore.h | 29 struct intel_uncore; 31 void mock_uncore_init(struct intel_uncore *uncore,
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_stolen.c | 74 struct intel_uncore *uncore = ggtt->vm.gt->uncore; in i915_adjust_stolen() 171 struct intel_uncore *uncore, in g4x_get_stolen_reserved() 206 struct intel_uncore *uncore, in gen6_get_stolen_reserved() 239 struct intel_uncore *uncore, in vlv_get_stolen_reserved() 268 struct intel_uncore *uncore, in gen7_get_stolen_reserved() 295 struct intel_uncore *uncore, in chv_get_stolen_reserved() 328 struct intel_uncore *uncore, in bdw_get_stolen_reserved() 348 struct intel_uncore *uncore, in icl_get_stolen_reserved() 379 struct intel_uncore *uncore = &i915->uncore; in i915_gem_init_stolen()
|