Searched refs:smp_width (Results 1 – 8 of 8) sorted by relevance
/linux-4.4.14/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() 93 #define smp_width 1 macro 115 return HV_LOTAR_X(lotar) + (HV_LOTAR_Y(lotar) * smp_width); in hv_lotar_to_cpu()
|
/linux-4.4.14/arch/tile/kernel/ |
D | smp.c | 66 .y = cpu / smp_width, in send_IPI_single() 67 .x = cpu % smp_width, in send_IPI_single() 83 r->y = cpu / smp_width; in send_IPI_many() 84 r->x = cpu % smp_width; in send_IPI_many()
|
D | setup.c | 742 int num_cpus = smp_height * smp_width; in zone_sizes_init() 868 int w = smp_width; in node_neighbors() 906 for (coord.x = 0; coord.x < smp_width; in setup_numa_mapping() 974 for (x = 0; x < smp_width; ++x, ++cpu) { in setup_numa_mapping() 995 for (i = 0; i < smp_height * smp_width; ++i) in topology_init() 1204 if ((smp_height * smp_width) > nr_cpu_ids) in validate_hv() 1206 smp_height, smp_width, nr_cpu_ids); in validate_hv() 1354 for (; i < smp_height * smp_width; ++i) in setup_cpu_maps() 1357 for (i = smp_height * smp_width; i < NR_CPUS; ++i) in setup_cpu_maps()
|
D | hardwall.c | 222 for (x = 0; x < smp_width; ++x, ++cpu) in check_rectangle() 301 cpu = r->ulhc_y * smp_width + r->ulhc_x; in hardwall_protect_rectangle() 302 delta = (r->height - 1) * smp_width; in hardwall_protect_rectangle() 311 for (y = 0; y < r->height; ++y, cpu += smp_width) { in hardwall_protect_rectangle()
|
D | sysfs.c | 39 return sprintf(page, "%u\n", smp_width); in chip_width_show()
|
D | pci_gx.c | 135 return irq % (smp_height * smp_width); in tile_irq_cpu()
|
/linux-4.4.14/arch/tile/mm/ |
D | pgtable.c | 373 unsigned int width = smp_width; in set_remote_cache_cpu() 389 return x + y * smp_width; in get_remote_cache_cpu()
|
D | homecache.c | 80 cpumask_set_cpu(asids[i].y * smp_width + asids[i].x, &mask); in hv_flush_update()
|