Home
last modified time | relevance | path

Searched refs:dist (Results 1 – 10 of 10) sorted by relevance

/arch/hexagon/kernel/
Dmodule.c102 int dist = (int)(value - (uint32_t)location); in apply_relocate_add() local
103 if ((dist < -0x00800000) || in apply_relocate_add()
104 (dist >= 0x00800000)) { in apply_relocate_add()
109 dist, value, (uint32_t)location, in apply_relocate_add()
116 *location |= 0x00003fff & dist; in apply_relocate_add()
117 *location |= 0x01ff0000 & (dist<<2); in apply_relocate_add()
/arch/m68k/kernel/
Dtime.c54 static unsigned cnt = 0, period = 0, dist = 0; in timer_interrupt() local
56 if (cnt == 0 || cnt == dist) in timer_interrupt()
58 else if (cnt == 7 || cnt == dist+7) in timer_interrupt()
68 dist = period / 4; in timer_interrupt()
/arch/x86/mm/
Dnuma_emulation.c505 int dist; in numa_emulation() local
507 if (get_option(&emu_cmdline, &dist) == 2) in numa_emulation()
510 dist = physi == physj ? in numa_emulation()
513 dist = phys_dist[physi * numa_dist_cnt + physj]; in numa_emulation()
515 numa_set_distance(i, j, dist); in numa_emulation()
/arch/powerpc/platforms/pseries/
Dpapr_scm.c308 int min_dist = INT_MAX, dist; in papr_scm_node() local
316 dist = node_distance(node, nid); in papr_scm_node()
317 if (dist < min_dist) { in papr_scm_node()
318 min_dist = dist; in papr_scm_node()
/arch/arm64/kernel/
Dhw_breakpoint.c737 u64 min_dist = -1, dist; in watchpoint_handler() local
771 dist = get_distance_from_watchpoint(addr, val, &ctrl); in watchpoint_handler()
772 if (dist < min_dist) { in watchpoint_handler()
773 min_dist = dist; in watchpoint_handler()
777 if (dist != 0) in watchpoint_handler()
/arch/ia64/kernel/
Dptrace.c84 unsigned long dist; \ in ia64_get_scratch_nat_bits()
86 dist = 64 + bit - first; \ in ia64_get_scratch_nat_bits()
88 dist = bit - first; \ in ia64_get_scratch_nat_bits()
89 ia64_rotr(unat, dist) & mask; \ in ia64_get_scratch_nat_bits()
123 long dist; \ in ia64_put_scratch_nat_bits()
125 dist = 64 + bit - first; \ in ia64_put_scratch_nat_bits()
127 dist = bit - first; \ in ia64_put_scratch_nat_bits()
128 ia64_rotl(nat & mask, dist); \ in ia64_put_scratch_nat_bits()
/arch/powerpc/mm/
Dnuma.c168 int dist = 0; in cpu_distance() local
176 dist++; in cpu_distance()
179 return dist; in cpu_distance()
/arch/s390/mm/
Dgmap.c1039 unsigned long vmaddr, dist; in gmap_protect_range() local
1059 dist = HPAGE_SIZE - (gaddr & ~HPAGE_MASK); in gmap_protect_range()
1060 len = len < dist ? 0 : len - dist; in gmap_protect_range()
/arch/arm/boot/dts/
Dhi3620.dtsi87 /* gic dist base, gic cpu base */
Dhisi-x5hd2.dtsi22 /* gic dist base, gic cpu base */