/linux/Documentation/devicetree/bindings/ |
A D | numa.txt | 36 3 - distance-map 44 - distance-matrix 52 2. The distance from a node to self (local distance) is represented 60 distance-matrix is used. 75 then internode distance would be, 85 distance-map { 87 distance-matrix = <0 0 10>, 129 distance-map { 131 distance-matrix = <0 0 10>, 314 distance-map { [all …]
|
/linux/Documentation/powerpc/ |
A D | associativity.rst | 10 characteristic is presented in terms of NUMA node distance within the Linux kernel. 42 Linux kernel computes NUMA distance between two domains by recursively comparing 44 level of the resource group, the kernel doubles the NUMA distance between the 50 thereby making the node distance computation flexible. Form 2 also allows flexible primary 51 domain numbering. With numa distance computation now detached from the index value in 61 used as an index while computing numa distance information via "ibm,numa-distance-table". 69 this document, this offset will be referred to as domain distance offset. 72 distance between resource groups/domains present in the system. 75 N distance values encoded as with encode-bytes. The max distance value we could encode is 255. 102 "ibm,lookup-index-table" helps in having a compact representation of distance matrix. [all …]
|
/linux/Documentation/staging/ |
A D | lzo.rst | 66 taken from the last two bits of an extra operand (eg: distance). 70 for the distance, thus requiring 3 bytes. 143 distance = (H << 2) + D + 1 153 distance = (H << 2) + D + 2049 159 distance = 16384 + (H << 14) + D 161 End of stream is reached if distance == 16384 176 distance = D + 1 180 Copy 3-4 bytes from block within 2kB distance 184 distance = (H << 3) + D + 1 187 Copy 5-8 bytes from block within 2kB distance [all …]
|
/linux/arch/parisc/kernel/ |
A D | jump_label.c | 29 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()
|
/linux/drivers/of/ |
A D | of_numa.c | 98 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() 116 numa_set_distance(nodea, nodeb, distance); in of_numa_parse_distance_map_v1() 120 numa_set_distance(nodeb, nodea, distance); in of_numa_parse_distance_map_v1()
|
/linux/drivers/iio/proximity/ |
A D | mb1232.c | 45 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()
|
A D | Kconfig | 22 menu "Proximity and distance sensors" 66 the distance of objects. Supported types are mb1202, mb1212, 78 used to measure the distance of objects. 91 Say Y to build a driver for the RFD77402 Time-of-Flight (distance) 102 ranger sensor. This driver can be used to measure the distance 149 This driver can be used to measure the distance of objects. 171 This driver can be used to measure the distance of objects.
|
/linux/drivers/video/fbdev/ |
A D | arcfb.c | 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() 330 while (distance > 0) { in arcfb_lcd_update_horiz() 331 distance -= ((lower - upper) + 1 ); in arcfb_lcd_update_horiz() 353 distance = w; in arcfb_lcd_update() 357 while (distance > 0) { in arcfb_lcd_update() [all …]
|
/linux/tools/perf/tests/ |
A D | evsel-roundtrip-name.c | 68 int distance) in __perf_evsel__name_array_test() argument 88 if (strcmp(evsel__name(evsel), names[evsel->core.idx / distance])) { in __perf_evsel__name_array_test() 90 pr_debug("%s != %s\n", evsel__name(evsel), names[evsel->core.idx / distance]); in __perf_evsel__name_array_test() 99 #define perf_evsel__name_array_test(names, distance) \ argument 100 __perf_evsel__name_array_test(names, ARRAY_SIZE(names), distance)
|
/linux/drivers/base/ |
A D | arch_numa.c | 372 void __init numa_set_distance(int from, int to, int distance) in numa_set_distance() argument 382 from, to, distance); in numa_set_distance() 386 if ((u8)distance != distance || in numa_set_distance() 387 (from == to && distance != LOCAL_DISTANCE)) { in numa_set_distance() 389 from, to, distance); in numa_set_distance() 393 numa_distance[from * numa_distance_cnt + to] = distance; in numa_set_distance()
|
/linux/arch/arm64/boot/dts/hisilicon/ |
A D | hip07-d05.dts | 23 distance-map { 24 compatible = "numa-distance-map-v1"; 25 distance-matrix = <0 0 10>,
|
/linux/drivers/pci/ |
A D | p2pdma.c | 568 int i, distance; in pci_p2pdma_distance_many() local 582 map = calc_map_type_and_dist(provider, pci_client, &distance, in pci_p2pdma_distance_many() 593 total_dist += distance; in pci_p2pdma_distance_many() 641 int distance; in pci_p2pmem_find_many() local 656 distance = pci_p2pdma_distance_many(pdev, clients, in pci_p2pmem_find_many() 658 if (distance < 0 || distance > closest_distance) in pci_p2pmem_find_many() 661 if (distance == closest_distance && dev_cnt >= max_devs) in pci_p2pmem_find_many() 664 if (distance < closest_distance) { in pci_p2pmem_find_many() 669 closest_distance = distance; in pci_p2pmem_find_many()
|
/linux/Documentation/ABI/testing/ |
A D | sysfs-bus-iio-proximity-as3935 | 6 Get the current distance in meters of storm (1km steps) 7 1000-40000 = distance in meters
|
/linux/fs/erofs/ |
A D | decompressor.c | 24 u16 distance; in z_erofs_load_lz4_config() local 31 distance = le16_to_cpu(lz4->max_distance); in z_erofs_load_lz4_config() 45 distance = le16_to_cpu(dsb->u1.lz4_max_distance); in z_erofs_load_lz4_config() 49 sbi->lz4.max_distance_pages = distance ? in z_erofs_load_lz4_config() 50 DIV_ROUND_UP(distance, PAGE_SIZE) + 1 : in z_erofs_load_lz4_config()
|
/linux/arch/x86/mm/ |
A D | numa.c | 420 void __init numa_set_distance(int from, int to, int distance) in numa_set_distance() argument 428 from, to, distance); in numa_set_distance() 432 if ((u8)distance != distance || in numa_set_distance() 433 (from == to && distance != LOCAL_DISTANCE)) { in numa_set_distance() 435 from, to, distance); in numa_set_distance() 439 numa_distance[from * numa_distance_cnt + to] = distance; in numa_set_distance()
|
/linux/net/dccp/ |
A D | ackvec.c | 131 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()
|
/linux/Documentation/devicetree/bindings/iio/proximity/ |
A D | maxbotix,mb1232.yaml | 7 title: MaxBotix I2CXL-MaxSonar ultrasonic distance sensor 13 MaxBotix I2CXL-MaxSonar ultrasonic distance sensor of type mb1202,
|
A D | parallax-ping.yaml | 16 for receiving distance value as PWM signal 34 length of the input signal corresponds to the measured distance.
|
/linux/Documentation/userspace-api/media/v4l/ |
A D | pixfmt-z16.rst | 10 16-bit depth data with distance values at each pixel 17 distance to the respective point in the image coordinates. Distance unit
|
/linux/drivers/nvme/host/ |
A D | multipath.c | 190 int found_distance = INT_MAX, fallback_distance = INT_MAX, distance; in __nvme_find_path() local 198 distance = node_distance(node, ns->ctrl->numa_node); in __nvme_find_path() 200 distance = LOCAL_DISTANCE; in __nvme_find_path() 204 if (distance < found_distance) { in __nvme_find_path() 205 found_distance = distance; in __nvme_find_path() 210 if (distance < fallback_distance) { in __nvme_find_path() 211 fallback_distance = distance; in __nvme_find_path()
|
/linux/lib/ |
A D | decompress_unlzma.c | 427 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()
|
/linux/drivers/video/fbdev/aty/ |
A D | radeon_monitor.c | 954 int distance = 0; in radeon_compare_modes() local 956 distance = mode->yres - var->yres; in radeon_compare_modes() 957 distance += (mode->xres - var->xres)/2; in radeon_compare_modes() 958 return distance; in radeon_compare_modes() 980 int distance = INT_MAX; in radeon_match_mode() local 1026 if (d < distance) { in radeon_match_mode() 1028 distance = d; in radeon_match_mode()
|
/linux/Documentation/devicetree/bindings/input/rmi4/ |
A D | rmi_2d_sensor.txt | 29 - 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
|
/linux/arch/powerpc/platforms/pseries/ |
A D | lpar.c | 291 int distance; in update_vcpu_disp_stat() local 306 distance = cpu_relative_dispatch_distance(disp->last_disp_cpu, in update_vcpu_disp_stat() 308 if (distance < 0) in update_vcpu_disp_stat() 312 switch (distance) { in update_vcpu_disp_stat() 327 distance); in update_vcpu_disp_stat() 332 distance = cpu_home_node_dispatch_distance(disp_cpu); in update_vcpu_disp_stat() 333 if (distance < 0) in update_vcpu_disp_stat() 337 switch (distance) { in update_vcpu_disp_stat() 351 distance); in update_vcpu_disp_stat()
|
/linux/net/rxrpc/ |
A D | conn_client.c | 220 int id_cursor, id, distance, limit; in rxrpc_may_reuse_conn() local 241 distance = id - id_cursor; in rxrpc_may_reuse_conn() 242 if (distance < 0) in rxrpc_may_reuse_conn() 243 distance = -distance; in rxrpc_may_reuse_conn() 245 if (distance > limit) in rxrpc_may_reuse_conn()
|