Searched refs:distance (Results 1 - 25 of 57) sorted by path

123

/linux-master/arch/m68k/ifpsp060/src/
H A Dfplsp.S10910 add.w &32, %d0 # no; fix shift distance
H A Dfpsp.S18535 mov.w (tbl_fea_mode.b,%pc,%d0.w*2),%d0 # fetch jmp distance
22391 add.w &32, %d0 # no; fix shift distance
H A Disp.S924 mov.w (tbl_ea_mode.b,%pc,%d0.w*2), %d0 # fetch jmp distance
H A Dpfpsp.S4584 mov.w (tbl_fea_mode.b,%pc,%d0.w*2),%d0 # fetch jmp distance
6513 add.w &32, %d0 # no; fix shift distance
/linux-master/arch/sh/lib/
H A Dmemcpy.S20 sub r4,r5 ! From here, r5 has the distance to r0
H A Dmemmove.S26 sub r5,r4 ! From here, r4 has the distance to r0
/linux-master/drivers/scsi/bfa/
H A Dbfi.h1151 u32 distance; /* from swtich unit in meters */ member in struct:bfi_diag_dport_scn_testcomp_s
/linux-master/arch/csky/lib/
H A Dstring.c34 int distance = 0; local
43 distance = s.as_uptr & WORD_MASK;
45 if (distance) {
49 * s is distance bytes ahead of d, and d just reached
51 * and shift data to compensate for distance, in order to do
54 s.as_u8 -= distance;
61 d.as_ulong[0] = last >> (distance * 8) |
62 next << ((BYTES_LONG - distance) * 8);
69 s.as_u8 += distance;
/linux-master/arch/loongarch/include/asm/
H A Dtopology.h23 void numa_set_distance(int from, int to, int distance);
/linux-master/arch/loongarch/kernel/
H A Dacpi.c231 void __init numa_set_distance(int from, int to, int distance) argument
233 if ((u8)distance != distance || (from == to && distance != LOCAL_DISTANCE)) {
234 pr_warn_once("Warning: invalid distance parameter, from=%d to=%d distance=%d\n",
235 from, to, distance);
239 node_distances[from][to] = distance;
/linux-master/arch/parisc/kernel/
H A Djump_label.c29 int distance = target - addr; local
36 distance -= 8;
37 BUG_ON(distance > 262143 || distance < -262144);
38 insn = 0xe8000002 | reassemble_17(distance >> 2);
/linux-master/arch/powerpc/mm/
H A Dnuma.c252 int distance = LOCAL_DISTANCE; local
263 /* Double the distance for each NUMA level */
264 distance *= 2;
267 return distance;
319 * broken hierarchy, return with broken distance table
340 * Used to update distance information w.r.t newly added node.
365 * With FORM2 we expect NUMA distance of all possible NUMA
369 "NUMA distance details for node %d not provided\n", nid);
375 * ibm,numa-distance-table = { N, 1, 2, 4, 5, 1, 6, .... N elements}
397 form2_distances = of_get_property(root, "ibm,numa-distance
[all...]
/linux-master/arch/powerpc/platforms/pseries/
H A Dlpar.c293 int distance; local
308 distance = cpu_relative_dispatch_distance(disp->last_disp_cpu,
310 if (distance < 0)
314 switch (distance) {
325 pr_debug_ratelimited("vcpudispatch_stats: cpu %d (%d -> %d): unexpected relative dispatch distance %d\n",
329 distance);
334 distance = cpu_home_node_dispatch_distance(disp_cpu);
335 if (distance < 0)
339 switch (distance) {
350 pr_debug_ratelimited("vcpudispatch_stats: cpu %d on %d: unexpected numa dispatch distance
[all...]
/linux-master/arch/sparc/kernel/
H A Dprocess_64.c429 unsigned long fp, distance, rval; local
447 distance = fp - psp;
448 rval = (csp - distance);
449 if (raw_copy_in_user((void __user *)rval, (void __user *)psp, distance))
/linux-master/arch/x86/include/asm/
H A Dnuma.h29 extern void __init numa_set_distance(int from, int to, int distance);
/linux-master/arch/x86/mm/
H A Dnuma.c349 * numa_reset_distance - Reset NUMA distance table
384 pr_warn("Warning: can't allocate distance table!\n");
398 printk(KERN_DEBUG "NUMA: Initialized distance table, cnt=%d\n", cnt);
404 * numa_set_distance - Set NUMA distance from one NUMA to another
405 * @from: the 'from' node to set distance
406 * @to: the 'to' node to set distance
407 * @distance: NUMA distance
409 * Set the distance from node @from to @to to @distance
422 numa_set_distance(int from, int to, int distance) argument
[all...]
/linux-master/drivers/base/
H A Darch_numa.c271 * Create a new NUMA distance table.
291 pr_debug("Initialized distance table, cnt=%d\n", numa_distance_cnt);
297 * numa_set_distance() - Set inter node NUMA distance from node to node.
298 * @from: the 'from' node to set distance
299 * @to: the 'to' node to set distance
300 * @distance: NUMA distance
302 * Set the distance from node @from to @to to @distance.
303 * If distance tabl
308 numa_set_distance(int from, int to, int distance) argument
[all...]
H A Dnode.c559 * at the most (distance + space or newline).
571 static DEVICE_ATTR(distance, 0444, node_read_distance, NULL);
/linux-master/drivers/crypto/hisilicon/
H A Dqm.c371 int distance; member in struct:hisi_qm_resource
3335 res->distance = node_distance(dev_node, node);
3338 if (res->distance < tmp->distance) {
3357 * This function will sort all available device according to numa distance.
/linux-master/drivers/cxl/core/
H A Dregion.c1175 int distance)
1188 * then that endpoint, at index 'position - distance', must also be
1191 if (pos < distance) {
1197 cxled_peer = p->targets[pos - distance];
1242 int i, distance; local
1245 * Passthrough decoders impose no distance requirements between
1249 distance = 0;
1251 distance = p->nr_targets / cxl_rr->nr_targets;
1255 distance);
1173 check_last_peer(struct cxl_endpoint_decoder *cxled, struct cxl_ep *ep, struct cxl_region_ref *cxl_rr, int distance) argument
/linux-master/drivers/gpu/drm/bridge/
H A Dsii902x.c541 int distance = 100000; local
547 if (d >= distance)
551 distance = d;
/linux-master/drivers/hid/amd-sfh-hid/sfh1_1/
H A Damd_sfh_interface.h157 u32 distance : 16; member in struct:hpd_status::__anon928::__anon929
/linux-master/drivers/hid/
H A Dwacom_wac.c410 /* Compute distance between mouse and tablet */
902 unsigned int x, y, distance, t; local
940 distance = data[9] >> 2;
944 distance >>= 1;
947 distance = features->distance_max - distance;
950 input_report_abs(input, ABS_DISTANCE, distance);
3189 * Convert distance from out prox to distance from tablet.
3190 * distance wil
[all...]
/linux-master/drivers/iio/proximity/
H A Dmb1232.c47 s16 distance; member in struct:mb1232_data::__anon116
66 s16 distance; local
100 distance = __be16_to_cpu(buf);
102 if (distance < 0) {
103 dev_err(&client->dev, "distance=%d\n", distance);
110 return distance;
124 data->scan.distance = mb1232_read_distance(data);
125 if (data->scan.distance < 0)
/linux-master/drivers/infiniband/hw/hns/
H A Dhns_roce_hem.c1109 int distance; local
1130 distance = offset - r->offset;
1149 start_aligned = (distance / step) * step + r->offset;

Completed in 568 milliseconds

123