Home
last modified time | relevance | path

Searched refs:dmc_info (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/include/soc/amlogic/
Dmeson_ddr_pmu.h24 struct dmc_info;
39 void (*enable)(struct dmc_info *info);
40 void (*disable)(struct dmc_info *info);
42 void (*set_axi_filter)(struct dmc_info *info, int axi_id, int chann);
43 int (*irq_handler)(struct dmc_info *info,
45 void (*get_counters)(struct dmc_info *info,
54 struct dmc_info { struct
/Linux-v6.6/drivers/gpu/drm/i915/display/
Dintel_dmc.c65 } dmc_info[DMC_FW_MAX]; member
300 return dmc && dmc->dmc_info[dmc_id].payload; in has_dmc_id_fw()
523 for (i = 0; i < dmc->dmc_info[dmc_id].dmc_fw_size; i++) { in intel_dmc_load_program()
525 DMC_PROGRAM(dmc->dmc_info[dmc_id].start_mmioaddr, i), in intel_dmc_load_program()
526 dmc->dmc_info[dmc_id].payload[i]); in intel_dmc_load_program()
533 for (i = 0; i < dmc->dmc_info[dmc_id].mmio_count; i++) { in intel_dmc_load_program()
534 intel_de_write(i915, dmc->dmc_info[dmc_id].mmioaddr[i], in intel_dmc_load_program()
535 dmc->dmc_info[dmc_id].mmiodata[i]); in intel_dmc_load_program()
576 !intel_de_read(i915, DMC_PROGRAM(dmc->dmc_info[DMC_FW_MAIN].start_mmioaddr, 0)), in assert_dmc_loaded()
627 if (dmc->dmc_info[dmc_id].present) in dmc_set_fw_offset()
[all …]
/Linux-v6.6/drivers/perf/amlogic/
Dmeson_g12_ddr_pmu.c128 static unsigned long dmc_g12_get_freq_quick(struct dmc_info *info) in dmc_g12_get_freq_quick()
173 static void g12_dump_reg(struct dmc_info *db) in g12_dump_reg()
199 static void dmc_g12_counter_enable(struct dmc_info *info) in dmc_g12_counter_enable()
220 static void dmc_g12_config_fiter(struct dmc_info *info, in dmc_g12_config_fiter()
255 static void dmc_g12_set_axi_filter(struct dmc_info *info, int axi_id, int channel) in dmc_g12_set_axi_filter()
263 static void dmc_g12_counter_disable(struct dmc_info *info) in dmc_g12_counter_disable()
283 static void dmc_g12_get_counters(struct dmc_info *info, in dmc_g12_get_counters()
298 static int dmc_g12_irq_handler(struct dmc_info *info, in dmc_g12_irq_handler()
Dmeson_ddr_pmu_core.c22 struct dmc_info info;
349 struct dmc_info *info = dev_id; in dmc_irq_handler()
444 struct dmc_info *info) in ddr_pmu_parse_dt()