Home
last modified time | relevance | path

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

123

/linux/Documentation/arch/powerpc/
H A Dassociativity.rst10 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/arch/csky/lib/
H A Dstring.c34 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/drivers/iio/proximity/
H A Dmb1232.c60 s16 distance; in mb1232_read_distance() local
94 distance = __be16_to_cpu(buf); in mb1232_read_distance()
96 if (distance < 0) { in mb1232_read_distance()
97 dev_err(&client->dev, "distance=%d\n", distance); in mb1232_read_distance()
104 return distance; in mb1232_read_distance()
118 s16 distance; in mb1232_trigger_handler() member
122 scan.distance = mb1232_read_distance(data); in mb1232_trigger_handler()
123 if (scan.distance < 0) in mb1232_trigger_handler()
H A DKconfig22 menu "Proximity and distance sensors"
103 the distance of objects. Supported types are mb1202, mb1212,
115 used to measure the distance of objects.
128 Say Y to build a driver for the RFD77402 Time-of-Flight (distance)
139 ranger sensor. This driver can be used to measure the distance
220 This driver can be used to measure the distance of objects.
242 This driver can be used to measure the distance of objects.
257 This driver can be used to measure the distance of objects.
H A Dvl53l1x-i2c.c450 u16 distance; in vl53l1x_read_proximity() local
488 &distance); in vl53l1x_read_proximity()
492 *val = distance; in vl53l1x_read_proximity()
553 u16 distance; in vl53l1x_trigger_handler() member
569 &scan.distance); in vl53l1x_trigger_handler()
/linux/drivers/video/fbdev/
H A Darcfb.c249 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/arch/arm64/boot/dts/hisilicon/
H A Dhip07-d05.dts23 distance-map {
24 compatible = "numa-distance-map-v1";
25 distance-matrix = <0 0 10>,
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-iio-proximity-as39356 Get the current distance in meters of storm (1km steps)
7 1000-40000 = distance in meters
H A Dsysfs-kernel-mm-memory-tiers7 named by the abstract distance of the memory tier.
19 memory tier, memtierN, where N is derived based on abstract distance.
/linux/mm/
H A Dnuma_memblks.c21 * numa_reset_distance - Reset NUMA distance table
53 pr_warn("Warning: can't allocate distance table!\n"); in numa_alloc_distance()
66 pr_debug("NUMA: Initialized distance table, cnt=%d\n", cnt); in numa_alloc_distance()
72 * numa_set_distance - Set NUMA distance from one NUMA to another in numa_alloc_distance()
73 * @from: the 'from' node to set distance in numa_alloc_distance()
74 * @to: the 'to' node to set distance in numa_alloc_distance()
75 * @distance: NUMA distance in numa_alloc_distance()
77 * Set the distance from node @from to @to to @distance in numa_alloc_distance()
105 numa_set_distance(int from,int to,int distance) numa_set_distance() argument
[all...]
/linux/Documentation/driver-api/cxl/platform/acpi/
H A Dslit.rst9 distance away from all other nodes.
11 The abstract distance described in this table does not describe any real
/linux/net/dccp/
H A Dackvec.c
/linux/fs/erofs/
H A Ddecompressor.c17 u16 distance; in z_erofs_load_lz4_config() local
24 distance = le16_to_cpu(lz4->max_distance); in z_erofs_load_lz4_config()
36 distance = le16_to_cpu(dsb->u1.lz4_max_distance); in z_erofs_load_lz4_config()
37 if (!distance && !erofs_sb_has_lz4_0padding(sbi)) in z_erofs_load_lz4_config()
43 sbi->lz4.max_distance_pages = distance ? in z_erofs_load_lz4_config()
44 DIV_ROUND_UP(distance, PAGE_SIZE) + 1 : in z_erofs_load_lz4_config()
/linux/Documentation/userspace-api/media/v4l/
H A Dpixfmt-z16.rst11 16-bit depth data with distance values at each pixel
18 distance to the respective point in the image coordinates. Distance unit
H A Ddepth-formats.rst10 Depth data provides distance to points, mapped onto the image plane
H A Dhsv-formats.rst13 and the distance to the center is the SATURATION. This is a very
/linux/lib/zstd/compress/
H A Dzstd_preSplit.c98 U64 distance = 0; in fpDistance() local
102 distance += in fpDistance()
105 return distance; in fpDistance()
/linux/lib/
H A Ddecompress_unlzma.c429 uint32_t distance; in process_bit1() local
435 distance = cst->rep1; in process_bit1()
441 distance = cst->rep2; in process_bit1()
444 distance = cst->rep3; in process_bit1()
450 cst->rep0 = distance; in process_bit1()
/linux/net/rxrpc/
H A Dconn_client.c209 int id_cursor, id, distance, limit; in rxrpc_may_reuse_conn() local
231 distance = id - id_cursor; in rxrpc_may_reuse_conn()
232 if (distance < 0) in rxrpc_may_reuse_conn()
233 distance = -distance; in rxrpc_may_reuse_conn()
235 if (distance > limit) in rxrpc_may_reuse_conn()
/linux/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/drivers/video/fbdev/aty/
H A Dradeon_monitor.c954 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/include/linux/
H A Dnuma_memblks.h10 void __init numa_set_distance(int from, int to, int distance);
/linux/drivers/input/touchscreen/
H A Dwacom_w9000.c159 u8 distance = 0; in wacom_w9000_coord() local
184 distance = data[7]; in wacom_w9000_coord()
200 input_report_abs(wacom_data->input_dev, ABS_DISTANCE, distance); in wacom_w9000_coord()
/linux/drivers/net/phy/
H A Dmarvell.c2258 static u32 marvell_vct5_distance2cm(int distance) in marvell_vct5_distance2cm() argument
2260 return distance * 805 / 10; in marvell_vct5_distance2cm()
2269 int distance, int pair) in marvell_vct5_amplitude_distance() argument
2277 distance); in marvell_vct5_amplitude_distance()
2308 int distance; in marvell_vct5_amplitude_graph() local
2338 for (distance = priv->first; in marvell_vct5_amplitude_graph()
2339 distance <= priv->last; in marvell_vct5_amplitude_graph()
2340 distance += priv->step) { in marvell_vct5_amplitude_graph()
2341 err = marvell_vct5_amplitude_distance(phydev, distance, in marvell_vct5_amplitude_graph()
2346 if (distance > TDR_SHORT_CABLE_LENGTH && in marvell_vct5_amplitude_graph()
[all …]

123