Lines Matching refs:send_regs
57 GEM_BUG_ON(!guc->send_regs.base); in guc_send_reg()
58 GEM_BUG_ON(!guc->send_regs.count); in guc_send_reg()
59 GEM_BUG_ON(i >= guc->send_regs.count); in guc_send_reg()
61 return _MMIO(guc->send_regs.base + 4 * i); in guc_send_reg()
70 GEM_BUG_ON(!guc->send_regs.base); in intel_guc_init_send_regs()
71 GEM_BUG_ON(!guc->send_regs.count); in intel_guc_init_send_regs()
73 for (i = 0; i < guc->send_regs.count; i++) { in intel_guc_init_send_regs()
78 guc->send_regs.fw_domains = fw_domains; in intel_guc_init_send_regs()
199 guc->send_regs.base = i915_mmio_reg_offset(MEDIA_SOFT_SCRATCH(0)); in intel_guc_init_early()
202 guc->send_regs.base = i915_mmio_reg_offset(GEN11_SOFT_SCRATCH(0)); in intel_guc_init_early()
205 guc->send_regs.count = GEN11_SOFT_SCRATCH_COUNT; in intel_guc_init_early()
212 guc->send_regs.base = i915_mmio_reg_offset(SOFT_SCRATCH(0)); in intel_guc_init_early()
213 guc->send_regs.count = GUC_MAX_MMIO_MSG_LEN; in intel_guc_init_early()
505 GEM_BUG_ON(len > guc->send_regs.count); in intel_guc_send_mmio()
511 intel_uncore_forcewake_get(uncore, guc->send_regs.fw_domains); in intel_guc_send_mmio()
579 int count = min(response_buf_size, guc->send_regs.count); in intel_guc_send_mmio()
597 intel_uncore_forcewake_put(uncore, guc->send_regs.fw_domains); in intel_guc_send_mmio()
945 GEM_BUG_ON(guc->send_regs.fw_domains); in intel_guc_write_barrier()