Home
last modified time | relevance | path

Searched refs:dram_reg_info (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/gpu/drm/ast/
H A Dast_2100.c304 const struct ast_dramstruct *dram_reg_info; in ast_post_chip_2100() local
311 dram_reg_info = ast2100_dram_table_data; in ast_post_chip_2100()
313 dram_reg_info = ast1100_dram_table_data; in ast_post_chip_2100()
327 while (!AST_DRAMSTRUCT_IS(dram_reg_info, INVALID)) { in ast_post_chip_2100()
328 if (AST_DRAMSTRUCT_IS(dram_reg_info, UDELAY)) { in ast_post_chip_2100()
330 udelay(dram_reg_info->data); in ast_post_chip_2100()
331 } else if (AST_DRAMSTRUCT_IS(dram_reg_info, DRAM_TYPE)) { in ast_post_chip_2100()
340 data = dram_reg_info->data; in ast_post_chip_2100()
347 ast_write32(ast, 0x10000 + dram_reg_info->index, data | temp); in ast_post_chip_2100()
349 ast_write32(ast, 0x10000 + dram_reg_info->index, in ast_post_chip_2100()
[all …]
H A Dast_2000.c103 const struct ast_dramstruct *dram_reg_info; in ast_post_chip_2000() local
108 dram_reg_info = ast2000_dram_table_data; in ast_post_chip_2000()
117 while (!AST_DRAMSTRUCT_IS(dram_reg_info, INVALID)) { in ast_post_chip_2000()
118 if (AST_DRAMSTRUCT_IS(dram_reg_info, UDELAY)) { in ast_post_chip_2000()
120 udelay(dram_reg_info->data); in ast_post_chip_2000()
122 ast_write32(ast, 0x10000 + dram_reg_info->index, in ast_post_chip_2000()
123 dram_reg_info->data); in ast_post_chip_2000()
125 dram_reg_info++; in ast_post_chip_2000()