Searched refs:smp_width (Results 1 – 7 of 7) sorted by relevance
/arch/tile/include/asm/ |
D | smp.h | 51 #define smp_width (smp_topology.width) macro 56 return cpu % smp_width; in cpu_x() 60 return cpu / smp_width; in cpu_y() 64 return y * smp_width + x; in xy_to_cpu() 92 #define smp_width 1 macro 116 return HV_LOTAR_X(lotar) + (HV_LOTAR_Y(lotar) * smp_width); in hv_lotar_to_cpu()
|
/arch/tile/kernel/ |
D | smp.c | 58 .y = cpu / smp_width, in send_IPI_single() 59 .x = cpu % smp_width, in send_IPI_single() 75 r->y = cpu / smp_width; in send_IPI_many() 76 r->x = cpu % smp_width; in send_IPI_many()
|
D | hardwall.c | 126 for (x = 0; x < smp_width; ++x, ++cpu) in setup_rectangle() 178 int x = cpu % smp_width; in hardwall_setup_ipi_func() 179 int y = cpu / smp_width; in hardwall_setup_ipi_func() 204 cpu = r->ulhc_y * smp_width + r->ulhc_x; in hardwall_setup() 205 delta = (r->height - 1) * smp_width; in hardwall_setup() 214 for (y = 0; y < r->height; ++y, cpu += smp_width) { in hardwall_setup() 237 x = cpu % smp_width; in do_hardwall_trap() 238 y = cpu / smp_width; in do_hardwall_trap() 572 unsigned int x = cpu % smp_width; in reset_network_state() 573 unsigned int y = cpu / smp_width; in reset_network_state() [all …]
|
D | setup.c | 594 int num_cpus = smp_height * smp_width; in zone_sizes_init() 716 int w = smp_width; in node_neighbors() 754 for (coord.x = 0; coord.x < smp_width; in setup_numa_mapping() 822 for (x = 0; x < smp_width; ++x, ++cpu) { in setup_numa_mapping() 843 for (i = 0; i < smp_height * smp_width; ++i) in topology_init() 1019 if ((smp_height * smp_width) > nr_cpu_ids) in validate_hv() 1021 " NR_CPUS %d\n", smp_height, smp_width, in validate_hv() 1175 for (; i < smp_height * smp_width; ++i) in setup_cpu_maps() 1178 for (i = smp_height * smp_width; i < NR_CPUS; ++i) in setup_cpu_maps()
|
D | sysfs.c | 39 return sprintf(page, "%u\n", smp_width); in chip_width_show()
|
/arch/tile/mm/ |
D | pgtable.c | 416 unsigned int width = smp_width; in set_remote_cache_cpu() 432 return x + y * smp_width; in get_remote_cache_cpu()
|
D | homecache.c | 92 cpumask_set_cpu(asids[i].y * smp_width + asids[i].x, &mask); in hv_flush_update()
|