Home
last modified time | relevance | path

Searched refs:xe_reg (Results 1 – 25 of 34) sorted by relevance

12

/drivers/gpu/drm/xe/
A Dxe_mmio.h12 struct xe_reg;
19 u8 xe_mmio_read8(struct xe_mmio *mmio, struct xe_reg reg);
20 u16 xe_mmio_read16(struct xe_mmio *mmio, struct xe_reg reg);
21 void xe_mmio_write32(struct xe_mmio *mmio, struct xe_reg reg, u32 val);
22 u32 xe_mmio_read32(struct xe_mmio *mmio, struct xe_reg reg);
23 u32 xe_mmio_rmw32(struct xe_mmio *mmio, struct xe_reg reg, u32 clr, u32 set);
24 int xe_mmio_write32_and_verify(struct xe_mmio *mmio, struct xe_reg reg, u32 val, u32 mask, u32 eval…
25 bool xe_mmio_in_range(const struct xe_mmio *mmio, const struct xe_mmio_range *range, struct xe_reg
27 u64 xe_mmio_read64_2x32(struct xe_mmio *mmio, struct xe_reg reg);
28 int xe_mmio_wait32(struct xe_mmio *mmio, struct xe_reg reg, u32 mask, u32 val,
[all …]
A Dxe_oa_types.h81 struct xe_reg oa_head_ptr;
82 struct xe_reg oa_tail_ptr;
83 struct xe_reg oa_buffer;
84 struct xe_reg oa_ctx_ctrl;
85 struct xe_reg oa_ctrl;
86 struct xe_reg oa_debug;
87 struct xe_reg oa_status;
A Dxe_gt_sriov_pf_service.c24 static const struct xe_reg tgl_runtime_regs[] = {
34 static const struct xe_reg ats_m_runtime_regs[] = {
45 static const struct xe_reg pvc_runtime_regs[] = {
56 static const struct xe_reg ver_1270_runtime_regs[] = {
69 static const struct xe_reg ver_2000_runtime_regs[] = {
85 static const struct xe_reg ver_3000_runtime_regs[] = {
104 const struct xe_reg *regs; in pick_runtime_regs()
135 const struct xe_reg *regs; in pf_alloc_runtime_info()
163 const struct xe_reg *regs, u32 *values) in read_many()
171 const struct xe_reg *regs; in pf_prepare_runtime_info()
[all …]
A Dxe_mmio.c181 u8 xe_mmio_read8(struct xe_mmio *mmio, struct xe_reg reg) in xe_mmio_read8()
194 u16 xe_mmio_read16(struct xe_mmio *mmio, struct xe_reg reg) in xe_mmio_read16()
207 void xe_mmio_write32(struct xe_mmio *mmio, struct xe_reg reg, u32 val) in xe_mmio_write32()
220 u32 xe_mmio_read32(struct xe_mmio *mmio, struct xe_reg reg) in xe_mmio_read32()
238 u32 xe_mmio_rmw32(struct xe_mmio *mmio, struct xe_reg reg, u32 clr, u32 set) in xe_mmio_rmw32()
250 struct xe_reg reg, u32 val, u32 mask, u32 eval) in xe_mmio_write32_and_verify()
262 struct xe_reg reg) in xe_mmio_in_range()
291 u64 xe_mmio_read64_2x32(struct xe_mmio *mmio, struct xe_reg reg) in xe_mmio_read64_2x32()
293 struct xe_reg reg_udw = { .addr = reg.addr + 0x4 }; in xe_mmio_read64_2x32()
319 static int __xe_mmio_wait32(struct xe_mmio *mmio, struct xe_reg reg, u32 mask, u32 val, in __xe_mmio_wait32()
[all …]
A Dxe_gt_sriov_vf.h13 struct xe_reg;
34 u32 xe_gt_sriov_vf_read32(struct xe_gt *gt, struct xe_reg reg);
35 void xe_gt_sriov_vf_write32(struct xe_gt *gt, struct xe_reg reg, u32 val);
A Dxe_gt_sriov_pf.c161 static struct xe_reg xe_reg_vf_to_pf(struct xe_reg vf_reg, unsigned int vfid, u32 stride) in xe_reg_vf_to_pf()
163 struct xe_reg pf_reg = vf_reg; in xe_reg_vf_to_pf()
174 struct xe_reg scratch; in pf_clear_vf_scratch_regs()
A Dxe_gt_sriov_pf_service_types.h11 struct xe_reg;
32 const struct xe_reg *regs;
A Dxe_gt_mcr.c51 static inline struct xe_reg to_xe_reg(struct xe_reg_mcr reg_mcr) in to_xe_reg()
567 const struct xe_reg reg = to_xe_reg(reg_mcr); in xe_gt_mcr_get_nonterminated_steering()
648 const struct xe_reg reg = to_xe_reg(reg_mcr); in rw_with_mcr_steering()
650 struct xe_reg steer_reg; in rw_with_mcr_steering()
715 const struct xe_reg reg = to_xe_reg(reg_mcr); in xe_gt_mcr_unicast_read_any()
794 struct xe_reg reg = to_xe_reg(reg_mcr); in xe_gt_mcr_multicast_write()
A Dxe_force_wake_types.h61 struct xe_reg reg_ctl;
63 struct xe_reg reg_ack;
A Dxe_hw_engine.h79 void xe_hw_engine_mmio_write32(struct xe_hw_engine *hwe, struct xe_reg reg, u32 val);
80 u32 xe_hw_engine_mmio_read32(struct xe_hw_engine *hwe, struct xe_reg reg);
A Dxe_gt_topology.c20 const struct xe_reg regs[]) in load_dss_mask()
218 static const struct xe_reg geometry_regs[] = { in xe_gt_topology_init()
223 static const struct xe_reg compute_regs[] = { in xe_gt_topology_init()
A Dxe_reg_sr.c124 static struct xe_reg_mcr to_xe_reg_mcr(const struct xe_reg reg) in to_xe_reg_mcr()
131 struct xe_reg reg = entry->reg; in apply_one_mmio()
A Dxe_reg_sr_types.h15 struct xe_reg reg;
A Dxe_hwmon.c215 static struct xe_reg xe_hwmon_get_reg(struct xe_hwmon *hwmon, enum xe_hwmon_reg hwmon_reg, in xe_hwmon_get_reg()
291 struct xe_reg rapl_limit, pkg_power_sku; in xe_hwmon_power_max_read()
334 struct xe_reg rapl_limit; in xe_hwmon_power_max_write()
419 struct xe_reg reg = xe_hwmon_get_reg(hwmon, REG_PKG_POWER_SKU, channel); in xe_hwmon_power_rated_max_read()
655 struct xe_reg rapl_limit; in xe_hwmon_attributes_visible()
825 struct xe_reg reg; in xe_hwmon_power_is_visible()
1235 struct xe_reg pkg_power_sku_unit; in xe_hwmon_get_preregistration_info()
A Dxe_guc_capture_types.h31 struct xe_reg reg;
A Dxe_force_wake.c32 struct xe_reg reg, struct xe_reg ack) in init_domain()
A Dxe_guc_types.h118 struct xe_reg notify_reg;
A Dxe_rtp_types.h24 struct xe_reg reg;
A Dxe_huc.c217 struct xe_reg reg;
A Dxe_hw_engine.c297 struct xe_reg reg, u32 val) in xe_hw_engine_mmio_write32()
317 u32 xe_hw_engine_mmio_read32(struct xe_hw_engine *hwe, struct xe_reg reg) in xe_hw_engine_mmio_read32()
A Dxe_guc_ads.c727 struct xe_reg reg, in guc_mmio_regset_write_one()
763 struct xe_reg reg; in guc_mmio_regset_write()
A Dxe_gt_sriov_vf.c966 u32 xe_gt_sriov_vf_read32(struct xe_gt *gt, struct xe_reg reg) in xe_gt_sriov_vf_read32()
1001 void xe_gt_sriov_vf_write32(struct xe_gt *gt, struct xe_reg reg, u32 val) in xe_gt_sriov_vf_write32()
/drivers/gpu/drm/xe/compat-i915-headers/
A Dintel_uncore.h30 struct xe_reg reg = XE_REG(i915_mmio_reg_offset(i915_reg)); in intel_uncore_read()
38 struct xe_reg reg = XE_REG(i915_mmio_reg_offset(i915_reg)); in intel_uncore_read8()
46 struct xe_reg reg = XE_REG(i915_mmio_reg_offset(i915_reg)); in intel_uncore_read16()
73 struct xe_reg reg = XE_REG(i915_mmio_reg_offset(i915_reg)); in intel_uncore_posting_read()
81 struct xe_reg reg = XE_REG(i915_mmio_reg_offset(i915_reg)); in intel_uncore_write()
89 struct xe_reg reg = XE_REG(i915_mmio_reg_offset(i915_reg)); in intel_uncore_rmw()
98 struct xe_reg reg = XE_REG(i915_mmio_reg_offset(i915_reg)); in intel_wait_for_register()
109 struct xe_reg reg = XE_REG(i915_mmio_reg_offset(i915_reg)); in intel_wait_for_register_fw()
120 struct xe_reg reg = XE_REG(i915_mmio_reg_offset(i915_reg)); in __intel_wait_for_register()
139 struct xe_reg reg = XE_REG(i915_mmio_reg_offset(i915_reg)); in intel_uncore_read_fw()
[all …]
/drivers/gpu/drm/xe/regs/
A Dxe_reg_defs.h32 struct xe_reg { struct
61 static_assert(sizeof(struct xe_reg) == sizeof(u32));
72 struct xe_reg __reg;
120 #define XE_REG(r_, ...) ((const struct xe_reg)XE_REG_INITIALIZER(r_, ##__VA_ARGS__))
132 static inline bool xe_reg_is_valid(struct xe_reg r) in xe_reg_is_valid()
/drivers/gpu/drm/xe/display/
A Dxe_plane_initial.c32 struct xe_reg pipe_frmtmstmp = XE_REG(i915_mmio_reg_offset(PIPE_FRMTMSTMP(crtc->pipe))); in intel_plane_initial_vblank_wait()

Completed in 47 milliseconds

12