/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gt/ |
H A D | intel_gt_pm.c | 28 static void user_forcewake(struct intel_gt *gt, bool suspend) in user_forcewake() 48 struct intel_gt *gt = container_of(wf, typeof(*gt), wakeref); in __gt_unpark() local 80 struct intel_gt *gt = container_of(wf, typeof(*gt), wakeref); in __gt_park() local 110 void intel_gt_pm_init_early(struct intel_gt *gt) in intel_gt_pm_init_early() 115 void intel_gt_pm_init(struct intel_gt *gt) in intel_gt_pm_init() 126 static bool reset_engines(struct intel_gt *gt) in reset_engines() 134 static void gt_sanitize(struct intel_gt *gt, bool force) in gt_sanitize() 176 void intel_gt_pm_fini(struct intel_gt *gt) in intel_gt_pm_fini() 183 int intel_gt_resume(struct intel_gt *gt) in intel_gt_resume() 253 static void wait_for_suspend(struct intel_gt *gt) in wait_for_suspend() [all …]
|
H A D | intel_gt_irq.c | 45 gen11_gt_engine_identity(struct intel_gt *gt, in gen11_gt_engine_identity() 78 gen11_other_irq_handler(struct intel_gt *gt, const u8 instance, in gen11_other_irq_handler() 92 gen11_engine_irq_handler(struct intel_gt *gt, const u8 class, in gen11_engine_irq_handler() 110 gen11_gt_identity_handler(struct intel_gt *gt, const u32 identity) in gen11_gt_identity_handler() 130 gen11_gt_bank_handler(struct intel_gt *gt, const unsigned int bank) in gen11_gt_bank_handler() 149 void gen11_gt_irq_handler(struct intel_gt *gt, const u32 master_ctl) in gen11_gt_irq_handler() 163 bool gen11_gt_reset_one_iir(struct intel_gt *gt, in gen11_gt_reset_one_iir() 192 void gen11_gt_irq_reset(struct intel_gt *gt) in gen11_gt_irq_reset() 213 void gen11_gt_irq_postinstall(struct intel_gt *gt) in gen11_gt_irq_postinstall() 247 void gen5_gt_irq_handler(struct intel_gt *gt, u32 gt_iir) in gen5_gt_irq_handler() [all …]
|
H A D | intel_gt_pm.h | 17 static inline bool intel_gt_pm_is_awake(const struct intel_gt *gt) in intel_gt_pm_is_awake() 22 static inline void intel_gt_pm_get(struct intel_gt *gt) in intel_gt_pm_get() 27 static inline void __intel_gt_pm_get(struct intel_gt *gt) in __intel_gt_pm_get() 32 static inline bool intel_gt_pm_get_if_awake(struct intel_gt *gt) in intel_gt_pm_get_if_awake() 37 static inline void intel_gt_pm_put(struct intel_gt *gt) in intel_gt_pm_put() 42 static inline void intel_gt_pm_put_async(struct intel_gt *gt) in intel_gt_pm_put_async() 47 static inline int intel_gt_pm_wait_for_idle(struct intel_gt *gt) in intel_gt_pm_wait_for_idle() 63 static inline bool is_mock_gt(const struct intel_gt *gt) in is_mock_gt()
|
H A D | intel_gt.c | 28 void intel_gt_init_early(struct intel_gt *gt, struct drm_i915_private *i915) in intel_gt_init_early() 47 void intel_gt_init_hw_early(struct intel_gt *gt, struct i915_ggtt *ggtt) in intel_gt_init_hw_early() 52 static void init_unused_ring(struct intel_gt *gt, u32 base) in init_unused_ring() 62 static void init_unused_rings(struct intel_gt *gt) in init_unused_rings() 81 int intel_gt_init_hw(struct intel_gt *gt) in intel_gt_init_hw() 158 intel_gt_clear_error_registers(struct intel_gt *gt, in intel_gt_clear_error_registers() 201 static void gen6_check_faults(struct intel_gt *gt) in gen6_check_faults() 224 static void gen8_check_faults(struct intel_gt *gt) in gen8_check_faults() 266 void intel_gt_check_and_clear_faults(struct intel_gt *gt) in intel_gt_check_and_clear_faults() 281 void intel_gt_flush_ggtt_writes(struct intel_gt *gt) in intel_gt_flush_ggtt_writes() [all …]
|
H A D | intel_reset.c | 181 static int i915_do_reset(struct intel_gt *gt, in i915_do_reset() 210 static int g33_do_reset(struct intel_gt *gt, in g33_do_reset() 220 static int g4x_do_reset(struct intel_gt *gt, in g4x_do_reset() 257 static int ilk_do_reset(struct intel_gt *gt, intel_engine_mask_t engine_mask, in ilk_do_reset() 292 static int gen6_hw_domain_reset(struct intel_gt *gt, u32 hw_domain_mask) in gen6_hw_domain_reset() 316 static int gen6_reset_engines(struct intel_gt *gt, in gen6_reset_engines() 447 static int gen11_reset_engines(struct intel_gt *gt, in gen11_reset_engines() 539 static int gen8_reset_engines(struct intel_gt *gt, in gen8_reset_engines() 580 static int mock_reset(struct intel_gt *gt, in mock_reset() 591 static reset_func intel_get_gpu_reset(const struct intel_gt *gt) in intel_get_gpu_reset() [all …]
|
H A D | intel_gt_pm_irq.c | 18 static void write_pm_imr(struct intel_gt *gt) in write_pm_imr() 37 static void gen6_gt_pm_update_irq(struct intel_gt *gt, in gen6_gt_pm_update_irq() 57 void gen6_gt_pm_unmask_irq(struct intel_gt *gt, u32 mask) in gen6_gt_pm_unmask_irq() 62 void gen6_gt_pm_mask_irq(struct intel_gt *gt, u32 mask) in gen6_gt_pm_mask_irq() 67 void gen6_gt_pm_reset_iir(struct intel_gt *gt, u32 reset_mask) in gen6_gt_pm_reset_iir() 79 static void write_pm_ier(struct intel_gt *gt) in write_pm_ier() 98 void gen6_gt_pm_enable_irq(struct intel_gt *gt, u32 enable_mask) in gen6_gt_pm_enable_irq() 107 void gen6_gt_pm_disable_irq(struct intel_gt *gt, u32 disable_mask) in gen6_gt_pm_disable_irq()
|
H A D | intel_gt_requests.c | 37 static bool flush_submission(struct intel_gt *gt) in flush_submission() 133 long intel_gt_retire_requests_timeout(struct intel_gt *gt, long timeout) in intel_gt_retire_requests_timeout() 196 int intel_gt_wait_for_idle(struct intel_gt *gt, long timeout) in intel_gt_wait_for_idle() 213 struct intel_gt *gt = in retire_work_handler() local 221 void intel_gt_init_requests(struct intel_gt *gt) in intel_gt_init_requests() 226 void intel_gt_park_requests(struct intel_gt *gt) in intel_gt_park_requests() 231 void intel_gt_unpark_requests(struct intel_gt *gt) in intel_gt_unpark_requests() 237 void intel_gt_fini_requests(struct intel_gt *gt) in intel_gt_fini_requests()
|
H A D | debugfs_gt_pm.c | 27 struct intel_gt *gt = m->private; in fw_domains_show() local 48 struct intel_gt *gt = m->private; in print_rc6_res() local 59 struct intel_gt *gt = m->private; in vlv_drpc() local 82 struct intel_gt *gt = m->private; in gen6_drpc() local 170 struct intel_gt *gt = m->private; in ilk_drpc() local 228 struct intel_gt *gt = m->private; in drpc_show() local 248 struct intel_gt *gt = m->private; in frequency_show() local 472 struct intel_gt *gt = m->private; in llc_show() local 514 static bool llc_eval(const struct intel_gt *gt) in llc_eval() 537 struct intel_gt *gt = m->private; in rps_boost_show() local [all …]
|
H A D | selftest_reset.c | 17 struct intel_gt *gt = arg; in igt_global_reset() local 47 struct intel_gt *gt = arg; in igt_wedged_reset() local 68 struct intel_gt *gt = arg; in igt_atomic_reset() local 112 struct intel_gt *gt = arg; in igt_atomic_engine_reset() local 176 struct intel_gt *gt = &i915->gt; in intel_reset_live_selftests() local
|
H A D | intel_gt.h | 17 #define GT_TRACE(gt, fmt, ...) do { \ argument 57 static inline u32 intel_gt_scratch_offset(const struct intel_gt *gt, in intel_gt_scratch_offset() 63 static inline bool intel_gt_is_wedged(const struct intel_gt *gt) in intel_gt_is_wedged() 68 static inline bool intel_gt_has_init_error(const struct intel_gt *gt) in intel_gt_has_init_error()
|
H A D | selftest_hangcheck.c | 52 struct intel_gt *gt; member 60 static int hang_init(struct hang *h, struct intel_gt *gt) in hang_init() 140 struct intel_gt *gt = h->gt; in hang_create_request() local 338 struct intel_gt *gt = arg; in igt_hang_sanitycheck() local 402 struct intel_gt *gt = arg; in igt_reset_nop() local 468 struct intel_gt *gt = arg; in igt_reset_nop_engine() local 551 static int __igt_reset_engine(struct intel_gt *gt, bool active) in __igt_reset_engine() 767 static int __igt_reset_engines(struct intel_gt *gt, in __igt_reset_engines() 1000 struct intel_gt *gt = arg; in igt_reset_engines() local 1018 static u32 fake_hangcheck(struct intel_gt *gt, intel_engine_mask_t mask) in fake_hangcheck() [all …]
|
H A D | selftest_lrc.c | 31 static struct i915_vma *create_scratch(struct intel_gt *gt) in create_scratch() 78 struct intel_gt *gt = arg; in live_sanitycheck() local 131 static int live_unlite_restore(struct intel_gt *gt, int prio) in live_unlite_restore() 295 struct intel_gt *gt = arg; in live_hold_reset() local 550 struct intel_gt *gt = arg; in live_timeslice_preempt() local 658 struct intel_gt *gt = arg; in live_timeslice_queue() local 792 struct intel_gt *gt = arg; in live_busywait_preempt() local 993 struct intel_gt *gt = arg; in live_preempt() local 1092 struct intel_gt *gt = arg; in live_late_preempt() local 1201 static int preempt_client_init(struct intel_gt *gt, struct preempt_client *c) in preempt_client_init() [all …]
|
H A D | intel_timeline.c | 29 struct intel_gt *gt; member 36 static struct i915_vma *__hwsp_alloc(struct intel_gt *gt) in __hwsp_alloc() 58 struct intel_gt_timelines *gt = &timeline->gt->timelines; in hwsp_alloc() local 107 struct intel_gt_timelines *gt = hwsp->gt_timelines; in __idle_hwsp_free() local 210 struct intel_gt *gt, in intel_timeline_init() 267 void intel_gt_init_timelines(struct intel_gt *gt) in intel_gt_init_timelines() 295 intel_timeline_create(struct intel_gt *gt, struct i915_vma *global_hwsp) in intel_timeline_create() 571 void intel_gt_fini_timelines(struct intel_gt *gt) in intel_gt_fini_timelines()
|
H A D | debugfs_gt.c | 19 void debugfs_gt_register(struct intel_gt *gt) in debugfs_gt_register() 34 void debugfs_gt_register_files(struct intel_gt *gt, in debugfs_gt_register_files()
|
H A D | debugfs_engines.c | 21 struct intel_gt *gt = m->private; in engines_show() local 34 void debugfs_engines_register(struct intel_gt *gt, struct dentry *root) in debugfs_engines_register()
|
H A D | intel_ppgtt.c | 132 int i915_ppgtt_init_hw(struct intel_gt *gt) in i915_ppgtt_init_hw() 147 __ppgtt_create(struct intel_gt *gt) in __ppgtt_create() 155 struct i915_ppgtt *i915_ppgtt_create(struct intel_gt *gt) in i915_ppgtt_create() 213 void ppgtt_init(struct i915_ppgtt *ppgtt, struct intel_gt *gt) in ppgtt_init()
|
/netbsd-src/sys/dev/marvell/ |
H A D | gt.c | 244 gt_attach_common(struct gt_softc *gt) in gt_attach_common() 523 struct gt_softc *gt = (struct gt_softc *)arg; in gt_devbus_intr() local 553 gt_devbus_intr_enb(struct gt_softc *gt) in gt_devbus_intr_enb() 575 struct gt_softc *gt = (struct gt_softc *)arg; in gt_ecc_intr() local 603 gt_ecc_intr_enb(struct gt_softc *gt) in gt_ecc_intr_enb() 626 gt_sdma_intr_enb(struct gt_softc *gt) in gt_sdma_intr_enb() 658 struct gt_softc *gt = (struct gt_softc *)arg; in gt_comm_intr() local 697 gt_comm_intr_enb(struct gt_softc *gt) in gt_comm_intr_enb() 715 gt_watchdog_init(struct gt_softc *gt) in gt_watchdog_init() 738 gt_watchdog_init(struct gt_softc *gt) in gt_watchdog_init() [all …]
|
H A D | gtsdmavar.h | 31 gt_sdma_icause(device_t gt, uint32_t _imask) in gt_sdma_icause() 42 gt_sdma_imask(device_t gt, uint32_t _imask) in gt_sdma_imask()
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/gt/uc/ |
H A D | intel_guc.c | 44 struct intel_gt *gt = guc_to_gt(guc); in intel_guc_notify() local 66 struct intel_gt *gt = guc_to_gt(guc); in intel_guc_init_send_regs() local 90 struct intel_gt *gt = guc_to_gt(guc); in gen9_reset_guc_interrupts() local 101 struct intel_gt *gt = guc_to_gt(guc); in gen9_enable_guc_interrupts() local 117 struct intel_gt *gt = guc_to_gt(guc); in gen9_disable_guc_interrupts() local 134 struct intel_gt *gt = guc_to_gt(guc); in gen11_reset_guc_interrupts() local 143 struct intel_gt *gt = guc_to_gt(guc); in gen11_enable_guc_interrupts() local 161 struct intel_gt *gt = guc_to_gt(guc); in gen11_disable_guc_interrupts() local 338 struct intel_gt *gt = guc_to_gt(guc); in intel_guc_init() local 392 struct intel_gt *gt = guc_to_gt(guc); in intel_guc_fini() local [all …]
|
H A D | intel_huc.c | 64 struct intel_gt *gt = huc_to_gt(huc); in intel_huc_rsa_data_create() local 160 struct intel_gt *gt = huc_to_gt(huc); in intel_huc_auth() local 213 struct intel_gt *gt = huc_to_gt(huc); in intel_huc_check_status() local
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/selftests/ |
H A D | igt_reset.c | 19 void igt_global_reset_lock(struct intel_gt *gt) in igt_global_reset_lock() 38 void igt_global_reset_unlock(struct intel_gt *gt) in igt_global_reset_unlock() 50 bool igt_force_reset(struct intel_gt *gt) in igt_force_reset()
|
H A D | i915_gem_evict.c | 136 struct intel_gt *gt = arg; in igt_evict_something() local 182 struct intel_gt *gt = arg; in igt_overcommit() local 219 struct intel_gt *gt = arg; in igt_evict_for_vma() local 270 struct intel_gt *gt = arg; in igt_evict_for_cache_color() local 361 struct intel_gt *gt = arg; in igt_evict_vm() local 401 struct intel_gt *gt = arg; in igt_evict_contexts() local
|
/netbsd-src/usr.sbin/mrouted/ |
H A D | rsrr.c | 51 #define GET_SCOPE(gt) { \ argument 265 struct gtable *gt,local_g; local 401 rsrr_cache(gt,route_query) in rsrr_cache() argument 458 rsrr_cache_send(gt,notify) in rsrr_cache_send() argument 484 rsrr_cache_clean(gt) in rsrr_cache_clean() argument
|
H A D | prune.c | 65 prun_add_ttls(struct gtable *gt) in prun_add_ttls() 81 #define GET_SCOPE(gt) { \ argument 132 struct gtable *gt; in find_src_grp() local 224 send_prune(struct gtable *gt) in send_prune() 295 send_graft(struct gtable *gt) in send_graft() 383 struct gtable *gt; in find_grp() local 399 find_grp_src(struct gtable *gt, u_long src) in find_grp_src() 423 struct gtable *gt, *gbest = NULL; in next_grp_src_mask() local 466 refresh_sg(struct sioc_sg_req *sg, struct gtable *gt, struct stable *st) in refresh_sg() 593 struct gtable *gt,**gtnp,*prev_gt; in add_table_entry() local [all …]
|
/netbsd-src/sys/arch/prep/pci/ |
H A D | gten.c | 122 struct gten_softc *gt = device_private(self); in gten_attach() local 244 struct gten_softc *gt = v; in gten_ioctl() local 273 struct gten_softc *gt = v; in gten_mmap() local 287 struct gten_softc *gt = v; in gten_alloc_screen() local 306 struct gten_softc *gt = v; in gten_free_screen() local 368 gten_getcmap(struct gten_softc *gt, struct wsdisplay_cmap *cm) in gten_getcmap() 391 gten_putcmap(struct gten_softc *gt, struct wsdisplay_cmap *cm) in gten_putcmap()
|