/linux-6.6.21/Documentation/devicetree/bindings/ |
D | numa.txt | 36 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 …]
|
/linux-6.6.21/Documentation/powerpc/ |
D | associativity.rst | 10 characteristic is presented in terms of NUMA node distance within the Linux kernel. 29 device tree properties are used to determine the NUMA distance between resource groups/domains. 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 49 Form 2 associativity format adds separate device tree properties representing NUMA node distance 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". 68 computing the distance of domain 8 from other domains present in the system. For the rest of 69 this document, this offset will be referred to as domain distance offset. [all …]
|
/linux-6.6.21/arch/parisc/kernel/ |
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-6.6.21/arch/csky/lib/ |
D | string.c | 34 int distance = 0; in memcpy() local 43 distance = s.as_uptr & WORD_MASK; in memcpy() 45 if (distance) { in memcpy() 54 s.as_u8 -= distance; in memcpy() 61 d.as_ulong[0] = last >> (distance * 8) | in memcpy() 62 next << ((BYTES_LONG - distance) * 8); in memcpy() 69 s.as_u8 += distance; in memcpy()
|
/linux-6.6.21/drivers/of/ |
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-6.6.21/Documentation/staging/ |
D | lzo.rst | 26 - 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 …]
|
/linux-6.6.21/drivers/iio/proximity/ |
D | mb1232.c | 47 s16 distance; member 66 s16 distance; in mb1232_read_distance() local 100 distance = __be16_to_cpu(buf); in mb1232_read_distance() 102 if (distance < 0) { in mb1232_read_distance() 103 dev_err(&client->dev, "distance=%d\n", distance); in mb1232_read_distance() 110 return distance; in mb1232_read_distance() 124 data->scan.distance = mb1232_read_distance(data); in mb1232_trigger_handler() 125 if (data->scan.distance < 0) in mb1232_trigger_handler()
|
D | Kconfig | 22 menu "Proximity and distance sensors" 78 the distance of objects. Supported types are mb1202, mb1212, 90 used to measure the distance of objects. 103 Say Y to build a driver for the RFD77402 Time-of-Flight (distance) 114 ranger sensor. This driver can be used to measure the distance 195 This driver can be used to measure the distance of objects. 217 This driver can be used to measure the distance of objects.
|
/linux-6.6.21/drivers/video/fbdev/ |
D | arcfb.c | 249 unsigned int left, unsigned int right, unsigned int distance) in arcfb_lcd_update_page() argument 303 unsigned int distance, upper, lower; in arcfb_lcd_update_vert() local 305 distance = (bottom - top) + 1; in arcfb_lcd_update_vert() 309 while (distance > 0) { in arcfb_lcd_update_vert() 310 distance -= 8; in arcfb_lcd_update_vert() 325 unsigned int distance, upper, lower; in arcfb_lcd_update_horiz() local 327 distance = h; in arcfb_lcd_update_horiz() 329 lower = min(upper + distance - 1, ceil64(upper)); in arcfb_lcd_update_horiz() 331 while (distance > 0) { in arcfb_lcd_update_horiz() 332 distance -= ((lower - upper) + 1 ); in arcfb_lcd_update_horiz() [all …]
|
/linux-6.6.21/arch/loongarch/kernel/ |
D | acpi.c | 231 void __init numa_set_distance(int from, int to, int distance) in numa_set_distance() argument 233 if ((u8)distance != distance || (from == to && distance != LOCAL_DISTANCE)) { in numa_set_distance() 235 from, to, distance); in numa_set_distance() 239 node_distances[from][to] = distance; in numa_set_distance()
|
/linux-6.6.21/drivers/base/ |
D | arch_numa.c | 308 void __init numa_set_distance(int from, int to, int distance) in numa_set_distance() argument 318 from, to, distance); in numa_set_distance() 322 if ((u8)distance != distance || in numa_set_distance() 323 (from == to && distance != LOCAL_DISTANCE)) { in numa_set_distance() 325 from, to, distance); in numa_set_distance() 329 numa_distance[from * numa_distance_cnt + to] = distance; in numa_set_distance()
|
/linux-6.6.21/arch/arm64/boot/dts/hisilicon/ |
D | hip07-d05.dts | 23 distance-map { 24 compatible = "numa-distance-map-v1"; 25 distance-matrix = <0 0 10>,
|
/linux-6.6.21/drivers/pci/ |
D | p2pdma.c | 693 int i, distance; in pci_p2pdma_distance_many() local 707 map = calc_map_type_and_dist(provider, pci_client, &distance, in pci_p2pdma_distance_many() 718 total_dist += distance; in pci_p2pdma_distance_many() 765 int distance; in pci_p2pmem_find_many() local 780 distance = pci_p2pdma_distance_many(pdev, clients, in pci_p2pmem_find_many() 782 if (distance < 0 || distance > closest_distance) in pci_p2pmem_find_many() 785 if (distance == closest_distance && dev_cnt >= max_devs) in pci_p2pmem_find_many() 788 if (distance < closest_distance) { in pci_p2pmem_find_many() 793 closest_distance = distance; in pci_p2pmem_find_many()
|
/linux-6.6.21/Documentation/ABI/testing/ |
D | sysfs-bus-iio-proximity-as3935 | 6 Get the current distance in meters of storm (1km steps) 7 1000-40000 = distance in meters
|
D | sysfs-kernel-mm-memory-tiers | 7 named by the abstract distance of the memory tier. 19 memory tier, memtierN, where N is derived based on abstract distance.
|
/linux-6.6.21/net/dccp/ |
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-6.6.21/Documentation/devicetree/bindings/iio/proximity/ |
D | maxbotix,mb1232.yaml | 7 title: MaxBotix I2CXL-MaxSonar ultrasonic distance sensor 13 MaxBotix I2CXL-MaxSonar ultrasonic distance sensor of type mb1202,
|
D | parallax-ping.yaml | 16 for receiving distance value as PWM signal 34 length of the input signal corresponds to the measured distance.
|
/linux-6.6.21/fs/erofs/ |
D | decompressor.c | 32 u16 distance; in z_erofs_load_lz4_config() local 39 distance = le16_to_cpu(lz4->max_distance); in z_erofs_load_lz4_config() 51 distance = le16_to_cpu(dsb->u1.lz4_max_distance); in z_erofs_load_lz4_config() 55 sbi->lz4.max_distance_pages = distance ? in z_erofs_load_lz4_config() 56 DIV_ROUND_UP(distance, PAGE_SIZE) + 1 : in z_erofs_load_lz4_config()
|
/linux-6.6.21/arch/x86/mm/ |
D | numa.c | 421 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()
|
/linux-6.6.21/Documentation/userspace-api/media/v4l/ |
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-6.6.21/mm/ |
D | memory-tiers.c | 364 int distance, best_distance; in establish_demotion_targets() local 404 distance = node_distance(node, target); in establish_demotion_targets() 405 if (distance == best_distance || best_distance == -1) { in establish_demotion_targets() 406 best_distance = distance; in establish_demotion_targets()
|
/linux-6.6.21/lib/ |
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-6.6.21/net/rxrpc/ |
D | conn_client.c | 202 int id_cursor, id, distance, limit; in rxrpc_may_reuse_conn() local 224 distance = id - id_cursor; in rxrpc_may_reuse_conn() 225 if (distance < 0) in rxrpc_may_reuse_conn() 226 distance = -distance; in rxrpc_may_reuse_conn() 228 if (distance > limit) in rxrpc_may_reuse_conn()
|
/linux-6.6.21/drivers/nvme/host/ |
D | multipath.c | 242 int found_distance = INT_MAX, fallback_distance = INT_MAX, distance; in __nvme_find_path() local 250 distance = node_distance(node, ns->ctrl->numa_node); in __nvme_find_path() 252 distance = LOCAL_DISTANCE; in __nvme_find_path() 256 if (distance < found_distance) { in __nvme_find_path() 257 found_distance = distance; in __nvme_find_path() 262 if (distance < fallback_distance) { in __nvme_find_path() 263 fallback_distance = distance; in __nvme_find_path()
|