Home
last modified time | relevance | path

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

/linux/include/soc/amlogic/
H A 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/drivers/gpu/drm/i915/display/
H A Dintel_dmc.c69 } dmc_info[DMC_FW_MAX]; member
382 return dmc && dmc->dmc_info[dmc_id].payload; in has_dmc_id_fw()
556 dmc->dmc_info[dmc_id].mmioaddr[i], in dmc_mmiodata()
557 dmc->dmc_info[dmc_id].mmiodata[i])) in dmc_mmiodata()
563 return dmc->dmc_info[dmc_id].mmiodata[i]; in dmc_mmiodata()
593 for (i = 0; i < dmc->dmc_info[dmc_id].dmc_fw_size; i++) { in intel_dmc_load_program()
595 DMC_PROGRAM(dmc->dmc_info[dmc_id].start_mmioaddr, i), in intel_dmc_load_program()
596 dmc->dmc_info[dmc_id].payload[i]); in intel_dmc_load_program()
603 for (i = 0; i < dmc->dmc_info[dmc_id].mmio_count; i++) { in intel_dmc_load_program()
604 intel_de_write(i915, dmc->dmc_info[dmc_id].mmioaddr[i], in intel_dmc_load_program()
[all …]
/linux/drivers/perf/amlogic/
H A 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()
H A 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()