Lines Matching defs:cpu_win_tbl
124 static struct decode_win cpu_win_tbl[MAX_CPU_WIN];
126 const struct decode_win *cpu_wins = cpu_win_tbl;
2072 bzero((void *)&cpu_win_tbl, sizeof(cpu_win_tbl));
2078 cpu_win_tbl[t].target = 1;
2079 cpu_win_tbl[t].attr = fdt32_to_cpu(ranges[i + 1]);
2080 cpu_win_tbl[t].base = fdt32_to_cpu(ranges[i + 2]);
2081 cpu_win_tbl[t].size = fdt32_to_cpu(ranges[i + 3]);
2082 cpu_win_tbl[t].remap = ~0;
2085 cpu_win_tbl[t].target,
2086 cpu_win_tbl[t].attr, cpu_win_tbl[t].base,
2087 cpu_win_tbl[t].size, cpu_win_tbl[t].remap);
2109 cpu_win_tbl[t].target = MV_WIN_CESA_TARGET;
2111 cpu_win_tbl[t].attr = MV_WIN_CESA_ATTR(0);
2113 cpu_win_tbl[t].attr = MV_WIN_CESA_ATTR(1);
2115 cpu_win_tbl[t].base = sram_base;
2116 cpu_win_tbl[t].size = sram_size;
2117 cpu_win_tbl[t].remap = ~0;
2134 if (t >= nitems(cpu_win_tbl)) {
2135 debugf("cannot fit CESA tuple into cpu_win_tbl\n");
2140 cpu_win_tbl[t].target = MV_WIN_CESA_TARGET;
2141 cpu_win_tbl[t].attr = MV_WIN_CESA_ATTR(1);
2142 cpu_win_tbl[t].base = sram_base;
2143 cpu_win_tbl[t].size = sram_size;
2144 cpu_win_tbl[t].remap = ~0;