Home
last modified time | relevance | path

Searched refs:ram_code (Results 1 – 11 of 11) sorted by relevance

/openbmc/u-boot/arch/arm/mach-tegra/tegra20/
H A Demc.c117 static int find_emc_tables(const void *blob, int node, int ram_code) in find_emc_tables() argument
127 if (ram_code == -1) { in find_emc_tables()
150 == ram_code) in find_emc_tables()
155 ram_code); in find_emc_tables()
177 int ram_code; in decode_emc() local
181 ram_code = (readl(&pp->strapping_opt_a) & RAM_CODE_MASK) in decode_emc()
201 node = find_emc_tables(blob, node, ram_code & 3); in decode_emc()
H A Dwarmboot.c123 u32 ram_code; in warmboot_save_sdram_params() local
139 ram_code = (readl(&apb_misc->strapping_opt_a) >> in warmboot_save_sdram_params()
142 (char *)((struct sdram_params *)SDRAM_PARAMS_BASE + ram_code), in warmboot_save_sdram_params()
/openbmc/linux/drivers/clk/tegra/
H A Dclk-tegra124-emc.c69 u32 ram_code; member
119 u8 ram_code = tegra_read_ram_code(); in emc_determine_rate() local
126 if (tegra->timings[k].ram_code == ram_code) in emc_determine_rate()
131 if (tegra->timings[t].ram_code != ram_code) in emc_determine_rate()
293 u32 ram_code = tegra_read_ram_code(); in get_backup_timing() local
298 if (timing->ram_code != ram_code) in get_backup_timing()
309 if (timing->ram_code != ram_code) in get_backup_timing()
327 u32 ram_code = tegra_read_ram_code(); in emc_set_rate() local
344 tegra->timings[i].ram_code == ram_code) { in emc_set_rate()
444 u32 ram_code) in load_timings_from_dt() argument
[all …]
/openbmc/linux/drivers/gpu/drm/sti/
H A Dsti_awg_utils.h15 u32 *ram_code; member
H A Dsti_dvo.c112 static int dvo_awg_generate_code(struct sti_dvo *dvo, u8 *ram_size, u32 *ram_code) in dvo_awg_generate_code() argument
119 fw_gen_params.ram_code = ram_code; in dvo_awg_generate_code()
H A Dsti_awg_utils.c113 fwparams->ram_code[fwparams->instruction_offset] = in awg_generate_instr()
/openbmc/linux/drivers/memory/tegra/
H A Dtegra124-emc.c1031 tegra_emc_find_node_by_ram_code(struct device_node *node, u32 ram_code) in tegra_emc_find_node_by_ram_code() argument
1040 if (err || (value != ram_code)) in tegra_emc_find_node_by_ram_code()
1446 u32 ram_code; in tegra_emc_probe() local
1464 ram_code = tegra_read_ram_code(); in tegra_emc_probe()
1466 np = tegra_emc_find_node_by_ram_code(pdev->dev.of_node, ram_code); in tegra_emc_probe()
1475 ram_code); in tegra_emc_probe()
H A Dmc.c481 u32 ram_code, node_ram_code; in tegra_mc_setup_timings() local
484 ram_code = tegra_read_ram_code(); in tegra_mc_setup_timings()
491 if (err || (node_ram_code != ram_code)) in tegra_mc_setup_timings()
504 ram_code); in tegra_mc_setup_timings()
H A Dtegra20-emc.c462 u32 value, ram_code; in tegra_emc_find_node_by_ram_code() local
478 ram_code = tegra_read_ram_code(); in tegra_emc_find_node_by_ram_code()
483 if (err || value != ram_code) { in tegra_emc_find_node_by_ram_code()
533 ram_code); in tegra_emc_find_node_by_ram_code()
H A Dtegra30-emc.c1030 u32 value, ram_code; in emc_find_node_by_ram_code() local
1043 ram_code = tegra_read_ram_code(); in emc_find_node_by_ram_code()
1047 if (err || value != ram_code) in emc_find_node_by_ram_code()
1054 ram_code); in emc_find_node_by_ram_code()
/openbmc/linux/drivers/dma/
H A Dimx-sdma.c1934 unsigned short *ram_code; in sdma_load_firmware() local
1970 ram_code = (void *)header + header->ram_code_start; in sdma_load_firmware()
1975 sdma_load_script(sdma, ram_code, in sdma_load_firmware()