Home
last modified time | relevance | path

Searched refs:distance (Results 1 – 25 of 97) sorted by relevance

1234

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/
Dnuma.txt36 3 - distance-map
39 The optional device tree node distance-map describes the relative
40 distance (memory latency) between all numa nodes.
42 - compatible : Should at least contain "numa-distance-map-v1".
44 - distance-matrix
47 It is represented as a list of node pairs and their relative distance.
50 1. Each entry represents distance from first node to second node.
52 2. The distance from a node to self (local distance) is represented
53 with value 10 and all internode distance should be represented with
55 3. distance-matrix should have entries in lexicographical ascending
[all …]
/kernel/linux/linux-5.10/arch/parisc/kernel/
Djump_label.c29 int distance = target - addr; in arch_jump_label_transform() local
36 distance -= 8; in arch_jump_label_transform()
37 BUG_ON(distance > 262143 || distance < -262144); in arch_jump_label_transform()
38 insn = 0xe8000002 | reassemble_17(distance >> 2); in arch_jump_label_transform()
/kernel/linux/linux-5.10/drivers/of/
Dof_numa.c98 u32 nodea, nodeb, distance; in of_numa_parse_distance_map_v1() local
104 distance = of_read_number(matrix, 1); in of_numa_parse_distance_map_v1()
107 if ((nodea == nodeb && distance != LOCAL_DISTANCE) || in of_numa_parse_distance_map_v1()
108 (nodea != nodeb && distance <= LOCAL_DISTANCE)) { in of_numa_parse_distance_map_v1()
110 nodea, nodeb, distance); in of_numa_parse_distance_map_v1()
114 numa_set_distance(nodea, nodeb, distance); in of_numa_parse_distance_map_v1()
118 numa_set_distance(nodeb, nodea, distance); in of_numa_parse_distance_map_v1()
/kernel/linux/linux-5.10/Documentation/staging/
Dlzo.rst26 - a distance when copying data from the dictionary (past output buffer)
32 extra data can be a complement for the operand (eg: a length or a distance
66 taken from the last two bits of an extra operand (eg: distance).
68 End of stream is declared when a block copy of distance 0 is seen. Only one
69 instruction may encode this distance (0001HLLL), it takes one LE16 operand
70 for the distance, thus requiring 3 bytes.
133 the instruction's opcode or distance), the instruction is a copy of a
134 2-byte block from the dictionary within a 1kB distance. It is worth
139 0 0 0 0 D D S S (0..15) : copy 2 bytes from <= 1kB distance
143 distance = (H << 2) + D + 1
[all …]
/kernel/linux/linux-5.10/drivers/iio/proximity/
Dmb1232.c45 s16 distance; member
64 s16 distance; in mb1232_read_distance() local
98 distance = __be16_to_cpu(buf); in mb1232_read_distance()
100 if (distance < 0) { in mb1232_read_distance()
101 dev_err(&client->dev, "distance=%d\n", distance); in mb1232_read_distance()
108 return distance; in mb1232_read_distance()
122 data->scan.distance = mb1232_read_distance(data); in mb1232_trigger_handler()
123 if (data->scan.distance < 0) in mb1232_trigger_handler()
DKconfig22 menu "Proximity and distance sensors"
55 the distance of objects. Supported types are mb1202, mb1212,
67 used to measure the distance of objects.
80 Say Y to build a driver for the RFD77402 Time-of-Flight (distance)
91 ranger sensor. This driver can be used to measure the distance
138 This driver can be used to measure the distance of objects.
160 This driver can be used to measure the distance of objects.
/kernel/linux/linux-5.10/drivers/video/fbdev/
Darcfb.c248 unsigned int left, unsigned int right, unsigned int distance) in arcfb_lcd_update_page() argument
302 unsigned int distance, upper, lower; in arcfb_lcd_update_vert() local
304 distance = (bottom - top) + 1; in arcfb_lcd_update_vert()
308 while (distance > 0) { in arcfb_lcd_update_vert()
309 distance -= 8; in arcfb_lcd_update_vert()
324 unsigned int distance, upper, lower; in arcfb_lcd_update_horiz() local
326 distance = h; in arcfb_lcd_update_horiz()
328 lower = min(upper + distance - 1, ceil64(upper)); in arcfb_lcd_update_horiz()
330 while (distance > 0) { in arcfb_lcd_update_horiz()
331 distance -= ((lower - upper) + 1 ); in arcfb_lcd_update_horiz()
[all …]
/kernel/linux/linux-5.10/arch/arm64/mm/
Dnuma.c316 void __init numa_set_distance(int from, int to, int distance) in numa_set_distance() argument
326 from, to, distance); in numa_set_distance()
330 if ((u8)distance != distance || in numa_set_distance()
331 (from == to && distance != LOCAL_DISTANCE)) { in numa_set_distance()
333 from, to, distance); in numa_set_distance()
337 numa_distance[from * numa_distance_cnt + to] = distance; in numa_set_distance()
/kernel/linux/linux-5.10/arch/arm64/boot/dts/hisilicon/
Dhip07-d05.dts23 distance-map {
24 compatible = "numa-distance-map-v1";
25 distance-matrix = <0 0 10>,
/kernel/linux/linux-5.10/drivers/pci/
Dp2pdma.c582 int distance; in pci_p2pdma_distance_many() local
608 pci_client, &distance); in pci_p2pdma_distance_many()
611 &distance, NULL, NULL); in pci_p2pdma_distance_many()
621 total_dist += distance; in pci_p2pdma_distance_many()
661 int distance; in pci_p2pmem_find_many() local
676 distance = pci_p2pdma_distance_many(pdev, clients, in pci_p2pmem_find_many()
678 if (distance < 0 || distance > closest_distance) in pci_p2pmem_find_many()
681 if (distance == closest_distance && dev_cnt >= max_devs) in pci_p2pmem_find_many()
684 if (distance < closest_distance) { in pci_p2pmem_find_many()
689 closest_distance = distance; in pci_p2pmem_find_many()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/touchscreen/
Dcyttsp.txt24 - active-distance : the distance in pixels beyond which a touch must move
61 active-distance = <8>;
86 active-distance = <8>;
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-bus-iio-proximity-as39356 Get the current distance in meters of storm (1km steps)
7 1000-40000 = distance in meters
/kernel/linux/linux-5.10/net/dccp/
Dackvec.c131 static void dccp_ackvec_update_old(struct dccp_ackvec *av, s64 distance, in dccp_ackvec_update_old() argument
136 BUG_ON(distance > 0); in dccp_ackvec_update_old()
143 if (distance + runlen >= 0) { in dccp_ackvec_update_old()
167 distance += runlen + 1; in dccp_ackvec_update_old()
/kernel/linux/linux-5.10/arch/x86/mm/
Dnuma.c421 void __init numa_set_distance(int from, int to, int distance) in numa_set_distance() argument
429 from, to, distance); in numa_set_distance()
433 if ((u8)distance != distance || in numa_set_distance()
434 (from == to && distance != LOCAL_DISTANCE)) { in numa_set_distance()
436 from, to, distance); in numa_set_distance()
440 numa_distance[from * numa_distance_cnt + to] = distance; in numa_set_distance()
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dpixfmt-z16.rst10 16-bit depth data with distance values at each pixel
17 distance to the respective point in the image coordinates. Distance unit
Ddepth-formats.rst9 Depth data provides distance to points, mapped onto the image plane
Dhsv-formats.rst12 and the distance to the center is the SATURATION. This is a very
/kernel/linux/linux-5.10/drivers/nvme/host/
Dmultipath.c164 int found_distance = INT_MAX, fallback_distance = INT_MAX, distance; in __nvme_find_path() local
172 distance = node_distance(node, ns->ctrl->numa_node); in __nvme_find_path()
174 distance = LOCAL_DISTANCE; in __nvme_find_path()
178 if (distance < found_distance) { in __nvme_find_path()
179 found_distance = distance; in __nvme_find_path()
184 if (distance < fallback_distance) { in __nvme_find_path()
185 fallback_distance = distance; in __nvme_find_path()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/rmi4/
Drmi_2d_sensor.txt29 - syna,delta-x-threshold: Set the minimum distance on the X axis required
32 - syna,delta-y-threshold: Set the minimum distance on the Y axis required
/kernel/linux/linux-5.10/lib/
Ddecompress_unlzma.c427 uint32_t distance; in process_bit1() local
433 distance = cst->rep1; in process_bit1()
439 distance = cst->rep2; in process_bit1()
442 distance = cst->rep3; in process_bit1()
448 cst->rep0 = distance; in process_bit1()
/kernel/linux/linux-5.10/arch/sh/lib/
Dmemcpy.S20 sub r4,r5 ! From here, r5 has the distance to r0
Dmemmove.S26 sub r5,r4 ! From here, r4 has the distance to r0
/kernel/linux/linux-5.10/drivers/video/fbdev/aty/
Dradeon_monitor.c956 int distance = 0; in radeon_compare_modes() local
958 distance = mode->yres - var->yres; in radeon_compare_modes()
959 distance += (mode->xres - var->xres)/2; in radeon_compare_modes()
960 return distance; in radeon_compare_modes()
982 int distance = INT_MAX; in radeon_match_mode() local
1028 if (d < distance) { in radeon_match_mode()
1030 distance = d; in radeon_match_mode()
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dnuma.h37 void __init numa_set_distance(int from, int to, int distance);
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
Dlpar.c290 int distance; in update_vcpu_disp_stat() local
305 distance = cpu_relative_dispatch_distance(disp->last_disp_cpu, in update_vcpu_disp_stat()
307 if (distance < 0) in update_vcpu_disp_stat()
311 switch (distance) { in update_vcpu_disp_stat()
326 distance); in update_vcpu_disp_stat()
331 distance = cpu_home_node_dispatch_distance(disp_cpu); in update_vcpu_disp_stat()
332 if (distance < 0) in update_vcpu_disp_stat()
336 switch (distance) { in update_vcpu_disp_stat()
350 distance); in update_vcpu_disp_stat()

1234