Home
last modified time | relevance | path

Searched +full:y +full:- +full:min (Results 1 – 25 of 863) sorted by relevance

12345678910>>...35

/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dminmax.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
6 * Copyright (c) 2013-2015 Mellanox Technologies, Ltd.
7 * Copyright (c) 2014-2015 François Tigeot
41 #define min(x, y) ((x) < (y) ? (x) : (y)) macro
42 #define max(x, y) ((x) > (y) ? (x) : (y)) argument
44 #define min3(a, b, c) min(a, min(b, c))
47 #define min_not_zero(x, y) ({ \ argument
49 __typeof(y) __min2 = (y); \
50 __min1 == 0 ? __min2 : ((__min2 == 0) ? __min1 : min(__min1, __min2));\
[all …]
/freebsd/sys/dev/syscons/daemon/
H A Ddaemon_saver.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
63 " /- _ `-/ '",
67 " `-^--'`< '",
70 " `-----' /",
71 "<----. __ / __ \\",
72 "<----|====O)))==) \\) /====",
73 "<----' `--' `.__,' \\",
77 " ,' ,-----' |",
78 " `--{__________)",
[all …]
/freebsd/contrib/ofed/opensm/include/complib/
H A Dcl_math.h3 * Copyright (c) 2002-2005 Mellanox Technologies LTD. All rights reserved.
4 * Copyright (c) 1996-2003 Intel Corporation. All rights reserved.
16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
63 * MAX( x, y );
69 * y
73 * Returns the greater of the x and y parameters.
76 * MIN, ROUNDUP
79 #define MAX(x,y) ((x) > (y) ? (x) : (y)) argument
81 /****d* Component Library: Math/MIN
[all …]
/freebsd/sys/contrib/device-tree/Bindings/input/touchscreen/
H A Dads7846.txt7 Documentation/devicetree/bindings/spi/spi-bus.txt
23 vcc-supply A regulator node for the supply voltage.
28 ti,vref-delay-usecs vref supply delay in usecs, 0 for
30 ti,vref-mv The VREF voltage, in millivolts (u16).
33 ti,keep-vref-on set to keep vref on for differential
35 ti,settle-delay-usec Settling time of the analog signals;
37 on the X/Y drivers. If set to non-zero,
41 ti,penirq-recheck-delay-usecs If set to non-zero, after samples are
47 ti,x-plate-ohms Resistance of the X-plate,
49 ti,y-plate-ohms Resistance of the Y-plate,
[all …]
H A Dresistive-adc-touch.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/touchscreen/resistive-adc-touch.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Oleksij Rempel <o.rempel@pengutronix.de>
18 - $ref: touchscreen.yaml#
22 const: resistive-adc-touch
24 io-channels:
27 - description: x
28 - description: y
[all …]
H A Dti,ads7843.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Alexander Stein <alexander.stein@ew.tq-group.com>
11 - Dmitry Torokhov <dmitry.torokhov@gmail.com>
12 - Marek Vasut <marex@denx.de>
21 - ti,ads7843
22 - ti,ads7845
23 - ti,ads7846
24 - ti,ads7873
[all …]
H A Dtouchscreen.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Dmitry Torokhov <dmitry.torokhov@gmail.com>
20 touchscreen-min
[all...]
H A Dtoradex,vf50-touchscreen.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/touchscreen/toradex,vf50-touchscreen.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Dmitry Torokhov <dmitry.torokhov@gmail.com>
11 - Sanchayan Maity <maitysanchayan@gmail.com>
15 const: toradex,vf50-touchscreen
20 io-channels:
24 IIO ADC for Y-, X-, Y+, X+ connections
26 xp-gpios:
[all …]
/freebsd/contrib/bsddialog/lib/
H A Dlib_util.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2021-2023 Alfonso Sabato Siciliano
39 * -1- Error and diagnostic
45 * --
151 mvwaddwch(WINDOW * w,int y,int x,wchar_t wch) mvwaddwch() argument
230 draw_button(WINDOW * window,int y,int x,int size,const char * text,wchar_t first,bool selected,bool shortcut) draw_button() argument
270 int i, x, startx, y; draw_buttons() local
596 int i, j, x, y, z, l, line, maxwidth, tablen; text_autosize() local
736 int min; widget_min_height() local
762 int min, delimtitle, wbottomtitle, wtitle; widget_min_width() local
881 set_widget_position(struct bsddialog_conf * conf,int * y,int * x,int h,int w) set_widget_position() argument
1025 update_box(struct bsddialog_conf * conf,WINDOW * win,int y,int x,int h,int w,enum elevation elev) update_box() argument
1126 print_string(WINDOW * win,int * rows,int cols,int * y,int * x,wchar_t * str,bool color) print_string() argument
1183 int i, j, z, rows, cols, x, y, tablen; print_textpad() local
[all...]
H A Dbarbox.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2021-2024 Alfonso Sabato Siciliano
46 #define WBOX(d) ((d)->w - BORDERS - BARPADDING - BARPADDIN
71 int y; /* bar y in win */ global() member
108 int y; update_barbox() local
423 bsddialog_rangebox(struct bsddialog_conf * conf,const char * text,int rows,int cols,int min,int max,int * value) bsddialog_rangebox() argument
[all...]
/freebsd/contrib/llvm-project/libcxx/include/
H A Drandom1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
37 static constexpr result_type min() { return c == 0u ? 1u: 0u;}
38 static constexpr result_type max() { return m - 1u;}
57 const linear_congruential_engine<UIntType, a, c, m>& y);
62 const linear_congruential_engine<UIntType, a, c, m>& y);
99 static constexpr result_type min () { return 0; }
100 static constexpr result_type max() { return 2^w - 1; }
[all …]
/freebsd/sys/contrib/device-tree/Bindings/iio/accel/
H A Dlis302.txt8 - compatible: should be set to "st,lis3lv02d-spi"
9 - reg: the chipselect index
10 - spi-max-frequency: maximal bus speed, should be set to 1000000 unless
12 - interrupts: the interrupt generated by the device
15 - compatible: should be set to "st,lis3lv02d"
16 - reg: i2c slave address
17 - Vdd-supply: The input supply for Vdd
18 - Vdd_IO-supply: The input supply for Vdd_IO
23 - st,click-single-{x,y,z}: if present, tells the device to issue an
25 x/y/z axis.
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__numeric/
H A Dsaturation_arithmetic.h1 // -*- C++ -*-
2 //===----------------------------------------------------------------------===//
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
40 // Overflows if (x > 0 && y > 0) in __add_sat()
43 // Overflows if (x < 0 && y < 0) in __add_sat()
44 return std::numeric_limits<_Tp>::min(); in __add_sat()
54 // Overflows if (x < y) in __sub_sat()
55 return std::numeric_limits<_Tp>::min(); in __sub_sat()
59 // Overflows if (x >= 0 && y < 0) in __sub_sat()
[all …]
/freebsd/sys/contrib/device-tree/src/arm/ti/omap/
H A Domap3-overo-common-peripherals.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
11 lis33_3v3: lis33-3v3-reg {
12 compatible = "regulator-fixed";
13 regulator-name = "lis33-3v3-reg";
14 regulator-min-microvolt = <3300000>;
15 regulator-max-microvolt = <3300000>;
18 lis33_1v8: lis33-1v8-reg {
19 compatible = "regulator-fixed";
20 regulator-name = "lis33-1v8-reg";
21 regulator-min-microvolt = <1800000>;
[all …]
H A Domap3-gta04a3.dts1 // SPDX-License-Identifier: GPL-2.0-only
6 #include "omap3-gta04.dtsi"
18 interrupt-parent = <&gpio3>;
20 Vdd-supply = <&vaux2>;
21 Vdd_IO-supply = <&vaux2>;
23 st,click-single-x;
24 st,click-single-y;
25 st,click-single-z;
26 st,click-thresh-x = <8>;
27 st,click-thresh-y = <8>;
[all …]
/freebsd/contrib/libarchive/libarchive/
H A Darchive_pack_dev.c3 /*-
85 #define makedev(maj,min) ((0xff00 & ((maj)<<8)) | (0xffff00ff & (min)))
92 #define apd_makedev(maj, min) makedev(ND_LOCAL_NODE, (maj), (min)) argument
95 #define apd_makedev(maj, min) makedev((maj), (min))
98 #define apd_makedev(maj, min) mkdev((maj), (min))
101 #define apd_makedev(maj, min) makede
99 apd_makedev(maj,min) global() argument
102 apd_makedev(maj,min) global() argument
105 apd_makedev(maj,min) global() argument
108 apd_makedev(maj,min) global() argument
148 makedev_freebsd(x,y) global() argument
170 makedev_8_8(x,y) global() argument
192 makedev_12_20(x,y) global() argument
214 makedev_14_18(x,y) global() argument
236 makedev_8_24(x,y) global() argument
259 makedev_12_12_8(x,y,z) global() argument
[all...]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DIVDescriptors.h1 //===- llvm/Analysis/IVDescriptors.h - IndVar Descriptors -------*-
[all...]
/freebsd/contrib/arm-optimized-routines/math/aarch64/sve/
H A Derff.c2 * Single-precision vector erf(x) function.
4 * Copyright (c) 2023-2024, Arm Limited.
5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
14 float min, max, scale, shift, third; member
16 .min = 0x1.cp-7f, /* 1/64 - 1/512. */
17 .max = 3.9375, /* 4 - 8/128. */
20 .third = 0x1.555556p-2f, /* 1/3. */
25 /* Single-precision implementation of vector erf(x).
28 Let d = x - r, and scale = 2 / sqrt(pi) * exp(-r^2). For x near r,
30 erf(x) ~ erf(r) + scale * d * [1 - r * d - 1/3 * d^2]
[all …]
H A Dlog2.c2 * Double-precision SVE log2 function.
4 * Copyright (c) 2022-2024, Arm Limited.
5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
14 #define Min (0x0010000000000000) macro
15 #define Thresh (0x7fe0000000000000) /* Max - Min. */
24 .c0 = -0x1.71547652b83p-1,
25 .c1 = 0x1.ec709dc340953p-2,
26 .c2 = -0x1.71547651c8f35p-2,
27 .c3 = 0x1.2777ebe12dda5p-2,
28 .c4 = -0x1.ec738d616fe26p-3,
[all …]
H A Dlog10.c2 * Double-precision SVE log10(x) function.
4 * Copyright (c) 2022-2024, Arm Limited.
5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
12 #define Min 0x0010000000000000 macro
14 #define Thres 0x7fe0000000000000 /* Max - Min. */
25 .c0 = -0x1.bcb7b1526e506p-3,
26 .c1 = 0x1.287a7636be1d1p-3,
27 .c2 = -0x1.bcb7b158af938p-4,
28 .c3 = 0x1.63c78734e6d07p-4,
29 .c4 = -0x1.287461742fee4p-4,
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp1 //===- InstCombineCalls.cpp -----------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
87 "instcombine-guard-widening-window",
96 if (ITy->getBitWidth() < 32) in getPromotedType()
97 return Type::getInt32Ty(Ty->getContext()); in getPromotedType()
106 auto *Src = MI->getRawSource(); in hasUndefSource()
108 if (!Src->hasOneUse()) in hasUndefSource()
110 Src = cast<Instruction>(Src)->getOperand(0); in hasUndefSource()
[all …]
/freebsd/sys/contrib/xz-embedded/freebsd/
H A Dxz_config.h1 /*-
2 * Copyright (c) 2010-2012 Aleksandr Rybalko
35 #include <contrib/xz-embedded/linux/include/linux/xz.h>
64 #ifndef min
65 # define min(x, y) MIN((x), (y)) macro
68 #define min_t(type, x, y) min((x), (y)) argument
/freebsd/sys/contrib/openzfs/lib/libspl/include/os/linux/sys/
H A Dsysmacros.h10 * or https://opensource.org/licenses/CDDL-1.0.
33 #ifndef MIN
34 #define MIN(a, b) ((a) < (b) ? (a) : (b)) macro
40 #define ABS(a) ((a) < 0 ? -(a) : (a))
46 #define DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d))
49 #define makedevice(maj, min) makedev(maj, min) argument
53 * Compatibility macros/typedefs needed for Solaris -> Linux port
56 // #define P2ALIGN(x, align) ((x) & -(align))
57 #define P2CROSS(x, y, align) (((x) ^ (y)) > (align) - 1) argument
58 #define P2ROUNDUP(x, align) ((((x) - 1) | ((align) - 1)) + 1)
[all …]
/freebsd/contrib/pam_modules/pam_passwdqc/
H A Dpasswdqc_check.c2 * Copyright (c) 2000-2002 by Solar Designer. See LICENSE.
48 fixed x, y, z; in expected_different() local
50 x = ((fixed)(charset - 1) << FIXED_BITS) / charset; in expected_different()
51 y = x; in expected_different()
52 while (--length > 0) y = (y * x) >> FIXED_BITS; in expected_different()
53 z = (fixed)charset * (((fixed)1 << FIXED_BITS) - y); in expected_different()
94 if (uppers && isascii(c) && isupper(c)) uppers--; in is_simple()
95 c = (unsigned char)newpass[length - 1]; in is_simple()
96 if (digits && isascii(c) && isdigit(c)) digits--; in is_simple()
99 * that there're no non-ASCII characters for digits. */ in is_simple()
[all …]
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dsysmacros.h2 * Copyright (C) 2007-2010 Lawrence Livermore National Security, LLC.
6 * UCRL-CODE-235197
45 #define INT8_MIN (-128)
50 #define INT16_MIN (-32768)
87 * 0..MAX_PRIO-1: Process priority
88 * 0..MAX_RT_PRIO-1: RT priority tasks
89 * MAX_RT_PRIO..MAX_PRIO-1: SCHED_NORMAL tasks
93 #define minclsyspri (MAX_PRIO-1)
101 #define PRIO_TO_NICE(prio) ((prio) - MAX_RT_PRIO - 20)
137 #define makedevice(maj, min) makedev(maj, min) argument
[all …]

12345678910>>...35