Searched refs:bank_index (Results 1 – 2 of 2) sorted by relevance
121 int row_index = 0, bank_index = 0, col_index = 0; in address_to_autodetect_cells() local137 bank_index = i; in address_to_autodetect_cells()147 trace_allwinner_r40_dramc_offset_to_cell(offset, row_index, bank_index, in address_to_autodetect_cells()149 return &dram_autodetect_cells[row_index][bank_index][col_index]; in address_to_autodetect_cells()
1211 static void cirrus_update_bank_ptr(CirrusVGAState * s, unsigned bank_index) in cirrus_update_bank_ptr() argument1217 offset = s->vga.gr[0x09 + bank_index]; in cirrus_update_bank_ptr()1231 if (((s->vga.gr[0x0b] & 0x01) == 0) && (bank_index != 0)) { in cirrus_update_bank_ptr()1241 s->cirrus_bank_base[bank_index] = offset; in cirrus_update_bank_ptr()1242 s->cirrus_bank_limit[bank_index] = limit; in cirrus_update_bank_ptr()1244 s->cirrus_bank_base[bank_index] = 0; in cirrus_update_bank_ptr()1245 s->cirrus_bank_limit[bank_index] = 0; in cirrus_update_bank_ptr()2011 unsigned bank_index; in cirrus_vga_mem_read() local2022 bank_index = addr >> 15; in cirrus_vga_mem_read()2024 if (bank_offset < s->cirrus_bank_limit[bank_index]) { in cirrus_vga_mem_read()[all …]