/freebsd/sys/contrib/device-tree/Bindings/leds/ |
H A D | leds-lp55xx.txt | 4 - compatible: one of 11 - reg: I2C slave address 12 - clock-mode: Input clock mode, (0: automode, 1: internal, 2: external) 15 - led-cur: Current setting at each led channel (mA x10, 0 if led is not connected) 16 - max-cur: Maximun current at each led channel. 19 - enable-gpio: GPIO attached to the chip's enable pin 20 - label: Used for naming LEDs 21 - pwr-sel: LP8501 specific property. Power selection for output channels. 28 - chan-name (optional): name of channel 29 - linux,default-trigger (optional): see [all …]
|
H A D | leds-lp55xx.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-lp55x [all...] |
/freebsd/sys/contrib/device-tree/src/arm/ti/omap/ |
H A D | omap3-echo.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 5 /dts-v1/; 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/leds/common.h> 14 compatible = "amazon,omap3-echo", "ti,omap3630", "ti,omap3"; 18 cpu0-supply = <&vdd1_reg>; 28 compatible = "regulator-fixed"; 29 regulator-name = "vcc5v"; 30 regulator-min-microvolt = <5000000>; 31 regulator-max-microvolt = <5000000>; [all …]
|
H A D | omap3-n900.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (C) 2013-2014 Aaro Koskinen <aaro.koskinen@iki.fi> 7 /dts-v1/; 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/media/video-interfaces.h> 15 * Default secure signed bootloader (Nokia X-Loader) does not enable L3 firewall 17 * blocks then kernel receive "Unhandled fault: external abort on non-linefetch" 18 * and crash. Until somebody fix omap-aes.c and omap_hwmod_3xxx_data.c code (no 34 compatible = "nokia,omap3-n900", "ti,omap3430", "ti,omap3"; [all …]
|
/freebsd/tests/sys/kern/ |
H A D | sysctl_security_jail_children.sh | 2 # SPDX-License-Identifier: BSD-2-Clause 36 origin_max=$(sysctl -n security.jail.children.max) 37 origin_cur=$(sysctl -n security.jail.children.cur) 41 # - the test creates three jails: childfree, maxallowed, maxallowed.family 43 # - maxallowed.family wants to set children.max=4 44 # - it means that its parent (maxallowed) should have at least children.max=5 45 # - it makes the origin (parent of maxallowed) provide children.max=6 minimum 47 test $origin_cur -le $origin_max || atf_fail "Abnormal cur=$origin_cur > max=$origin_max." 48 …test $((origin_max - origin_cur)) -ge 3 || atf_skip "Not enough child jails are allowed for the te… 49 test $origin_max -ge 6 || atf_skip "Not high enough children.max limit for the test." [all …]
|
/freebsd/contrib/libxo/tests/core/saved/ |
H A D | test_02.XP.out | 15 <fd>-1</fd> 18 <fd>-1</fd> 31 <granularity-lw units="mAh">155</granularity-lw> 32 <mbuf-current>10</mbuf-current> 33 <mbuf-cache>20</mbuf-cache> 34 <mbuf-total>30</mbuf-total> 46 <cur>20</cur> 47 <max>125</max> 49 <cur>20</cur> 50 <max>125</max> [all …]
|
H A D | test_02.X.out | 4 </message><length>abcdef</length><fd>-1</fd><error>Bad file descriptor</error><test>good</test><fd>… 5 …-lw units="mAh">155</granularity-lw><mbuf-current>10</mbuf-current><mbuf-cache>20</mbuf-cache><mbu… 6 </message><error><message>Shut 'er down, Clancey! She's a-pumpin' mud! <>!,"!<>
|
H A D | test_02.J.out | 1 …-1,"error":"Bad file descriptor","test":"good","fd":-1,"error":"Bad fi","test":"good","lines":20,"…
|
H A D | test_02.JP.out | 10 "fd": -1, 13 "fd": -1, 26 "granularity-lw": 155, 27 "mbuf-current": 10, 28 "mbuf-cache": 20, 29 "mbuf-total": 30, 41 "cur": 20, 42 "max": 125, 44 "cur": 20, 45 "max": 125, [all …]
|
H A D | test_02.JPu.out | 10 "fd": -1, 13 "fd": -1, 41 "cur": 20, 42 "max": 125, 44 "cur": 20, 45 "max": 125, 47 "cur": 20, 48 "max": 125, 50 "cur": 20, 51 "max": 125, [all …]
|
H A D | test_02.E.out | 10 op content: [fd] [-1] [0] 13 op content: [fd] [-1] [0] 26 op content: [granularity-lw] [155] [0] 27 op content: [mbuf-current] [10] [0] 28 op content: [mbuf-cache] [20] [0] 29 op content: [mbuf-total] [30] [0] 41 op content: [cur] [20] [0x20] 42 op content: [max] [125] [0] 44 op content: [cur] [20] [0] 45 op content: [max] [125] [0] [all …]
|
H A D | test_02.HIPx.out | 2 <div class="data" data-tag="name" data-xpath="/top/data/name">em0 </div> 8 …<div class="data" data-tag="what" data-xpath="/top/data[name = 'em0 '][name = 'em0']/what">braces… 24 …<div class="data" data-tag="length" data-xpath="/top/data[name = 'em0 '][name = 'em0']/length">ab… 28 <div class="data" data-tag="fd" data-xpath="/top/data[name = 'em0 '][name = 'em0']/fd">-1</div> 30 …<div class="data" data-tag="error" data-xpath="/top/data[name = 'em0 '][name = 'em0']/error">Bad … 32 …<div class="data" data-tag="test" data-xpath="/top/data[name = 'em0 '][name = 'em0']/test">good</… 36 <div class="data" data-tag="fd" data-xpath="/top/data[name = 'em0 '][name = 'em0']/fd">-1</div> 38 …<div class="data" data-tag="error" data-xpath="/top/data[name = 'em0 '][name = 'em0']/error">Bad … 40 …<div class="data" data-tag="test" data-xpath="/top/data[name = 'em0 '][name = 'em0']/test">good</… 48 …<div class="data" data-tag="lines" data-xpath="/top/data[name = 'em0 '][name = 'em0']/lines"> … [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/st/ |
H A D | ste-href.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2012 ST-Ericsson AB 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/leds/common.h> 8 #include "ste-hre [all...] |
/freebsd/sys/dev/cxgbe/iw_cxgbe/ |
H A D | resource.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2009-2013 Chelsio, Inc. All rights reserved. 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 46 if (c4iw_id_table_alloc(&rdev->resource.qid_table, in c4iw_init_qid_table() 47 rdev->adap->vres.qp.start, in c4iw_init_qid_table() 48 rdev->adap->vres.qp.size, in c4iw_init_qid_table() 49 rdev->adap->vres.qp.size, 0)) { in c4iw_init_qid_table() 51 return -ENOMEM; in c4iw_init_qid_table() [all …]
|
/freebsd/sbin/bectl/ |
H A D | bectl_list.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 104 /* -H flag handling; all delimiters/padding are a single tab */ in print_padding() 105 if (pc->script_fmt) { in print_padding() 111 colsz -= strlen(fval); in print_padding() 154 nvpair_t *cur; in print_snapshots() local 165 for (cur = nvlist_next_nvpair(props, NULL); cur != NULL; in print_snapshots() 166 cur = nvlist_next_nvpair(props, cur)) { in print_snapshots() 167 nvpair_value_nvlist(cur, &sprops); in print_snapshots() 168 print_info(nvpair_name(cur), sprops, pc); in print_snapshots() [all …]
|
/freebsd/contrib/nvi/common/ |
H A D | util.h | 1 /*- 21 #define F_INIT(p, f) FL_INIT((p)->flags, f) /* Structure element flags. */ 22 #define F_SET(p, f) FL_SET((p)->flags, f) 23 #define F_CLR(p, f) FL_CLR((p)->flags, f) 24 #define F_ISSET(p, f) FL_ISSET((p)->flags, f) 27 #define COL_OFF(c, stop) ((stop) - ((c) % (stop))) 41 #define NNFITS(min, cur, add) \ argument 42 (((long)(min)) - (cur) <= (add)) 43 #define NPFITS(max, cur, add) \ argument 44 (((unsigned long)(max)) - (cur) >= (add)) [all …]
|
/freebsd/lib/libugidfw/ |
H A D | ugidfw.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2002-2005 Networks Associates Technology, Inc. 9 * under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the 67 char *cur, type[sizeof(rule->mbr_object.mbo_type) * CHAR_BIT + 1]; in bsde_rule_to_string() local 71 cur = buf; in bsde_rule_to_string() 74 len = snprintf(cur, left, "subject "); in bsde_rule_to_string() 77 left -= len; in bsde_rule_to_string() 78 cur += len; in bsde_rule_to_string() 79 if (rule->mbr_subject.mbs_flags) { in bsde_rule_to_string() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/nxp/imx/ |
H A D | imx6dl-yapp4-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 // Copyright (C) 2015-2018 Y Soft Corporation, a.s. 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/leds/common.h> 9 #include <dt-bindings/pwm/pwm.h> 20 compatible = "pwm-backlight"; 22 brightness-levels = <0 32 64 128 255>; 23 default-brightness-level = <32>; [all …]
|
H A D | imx6dl-yapp43-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/leds/common.h> 9 #include <dt-bindings/pwm/pwm.h> 20 compatible = "pwm-backlight"; 22 brightness-levels = <0 32 64 128 255>; 23 default-brightness-level = <32>; 24 num-interpolated-steps = <8>; [all …]
|
/freebsd/usr.bin/login/ |
H A D | login.conf | 1 # login.conf - login class capabilities database. 17 # Note that entries like "cputime" set both "cputime-cur" and "cputime-max" 51 :charset=UTF-8:\ 52 :lang=C.UTF-8: 55 # A collection of common class names - forward them all to 'default' 94 :charset=UTF-8:\ 95 :lang=ru_RU.UTF-8:\ 109 ## Note that entries like "cputime" set both "cputime-cur" and "cputime-max" 113 # :datasize-cur=22M:\ 114 # :stacksize-cur=8M:\ [all …]
|
/freebsd/sys/netpfil/ipfw/ |
H A D | dn_heap.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 1998-2002,2010 Luigi Rizzo, Universita` di Pisa 72 #define HEAP_FATHER(x) ( ( (x) - 1 ) / 2 ) 82 if ((unsigned int)h->size >= new_size ) /* have enough room */ in heap_resize() 95 printf("--- %s, resize %d failed\n", __func__, new_size ); in heap_resize() 98 if (h->size > 0) { in heap_resize() 99 bcopy(h->p, p, h->size * sizeof(*p) ); in heap_resize() 100 free(h->p, M_DN_HEAP); in heap_resize() 102 h->p = p; in heap_resize() [all …]
|
/freebsd/sys/arm/ti/clk/ |
H A D | ti_clk_dpll.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 55 uint32_t ti_clksel_offset; /* mult-div1 */ 82 uint32_t max; in ti_clk_factor_get_max() local 84 if (factor->flags & TI_CLK_FACTOR_FIXED) in ti_clk_factor_get_max() 85 max = factor->value; in ti_clk_factor_get_max() 87 max = (1 << factor->width); in ti_clk_factor_get_max() 90 return (max); in ti_clk_factor_get_max() 98 if (factor->flags & TI_CLK_FACTOR_FIXED) in ti_clk_factor_get_min() 99 min = factor->value; in ti_clk_factor_get_min() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | OptimizedStructLayout.cpp | 1 //===--- OptimizedStructLayout.cpp - Optimal data layout algorithm ----------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 29 "didn't assign a correctly-aligned offset to field"); in checkValidLayout() 35 ComputedMaxAlign = std::max(Field.Alignment, MaxAlign); in checkValidLayout() 53 "fixed-offset fields are not a strict prefix of array"); in performOptimizedStructLayout() 55 "fixed-offset fields overlap or are not in order"); in performOptimizedStructLayout() 58 "overflow in fixed-offset end offset"); in performOptimizedStructLayout() 69 // Find the first flexible-offset field, tracking MaxAlign. in performOptimizedStructLayout() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | IVDescriptors.cpp | 1 //===- llvm/Analysis/IVDescriptors.cpp - IndVar Descriptors -----*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 30 #define DEBUG_TYPE "iv-descriptors" 34 for (const Use &Use : I->operands()) in areAllUsesIn() 64 /// Determines if Phi may have been type-promoted. If Phi has a single user 71 if (!Phi->hasOneUse()) in lookThroughAnd() 75 Instruction *I, *J = cast<Instruction>(Phi->use_begin()->getUser()); in lookThroughAnd() 77 // Matches either I & 2^x-1 or 2^x-1 & I. If we find a match, we update RT in lookThroughAnd() [all …]
|
/freebsd/usr.bin/seq/ |
H A D | seq.c | 2 /*- 3 * SPDX-License-Identifier: BSD-2-Clause 48 #define MAX(a, b) (((a) < (b))? (b) : (a)) macro 49 #define ISSIGN(c) ((int)(c) == '-' || (int)(c) == '+') 62 {"equal-width", no_argument, NULL, 'w'}, 89 double first, last, incr, prev, cur, step; in main() local 102 if (locale && locale->decimal_point && locale->decimal_point[0] != '\0') in main() 103 decimal_point = locale->decimal_point; in main() 110 (c = getopt_long(argc, argv, "+f:hs:t:w", long_opts, NULL)) != -1) { in main() 135 argc -= optind; in main() [all …]
|