/freebsd/sys/contrib/device-tree/Bindings/iio/dac/ |
H A D | ad5755.txt | 1 * Analog Devices AD5755 IIO Multi-Channel DAC Linux Driver 4 - compatible: Has to contain one of the following: 6 adi,ad5755-1 11 - reg: spi chip select number for the device 12 - spi-cpha or spi-cpol: is the only modes that is supported 15 - spi-max-frequency: Definition as per 16 Documentation/devicetree/bindings/spi/spi-bus.txt 19 See include/dt-bindings/iio/ad5755.h 20 - adi,ext-dc-dc-compenstation-resistor: boolean set if the hardware have an 23 - adi,dc-dc-phase: [all …]
|
H A D | adi,ad5755.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices AD5755 Multi-Channel DAC 10 - Sean Nyekjaer <sean.nyekjaer@prevas.dk> 15 - adi,ad5755 16 - adi,ad5755-1 17 - adi,ad5757 18 - adi,ad5735 19 - adi,ad5737 [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/input/ |
H A D | iqs269a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jef [all...] |
H A D | iqs626a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS626A is a 14-channel capacitive touch controller that features 14 additional Hall-effect and inductive sensing capabilities. 19 - $ref: touchscreen/touchscreen.yaml# 31 "#address-cells": 34 "#size-cells": 37 azoteq,suspend-mode: [all …]
|
H A D | azoteq,iqs7222.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 21 - azoteq,iqs7222a 22 - azoteq,iqs7222b 23 - azoteq,iqs7222c 24 - azoteq,iqs7222d 29 irq-gpios: 32 Specifies the GPIO connected to the device's active-low RDY output. [all …]
|
/freebsd/sys/i386/i386/ |
H A D | perfmon.c | 1 /*- 152 return EBUSY; /* XXX reversed sense */ in perfmon_get() 167 return EBUSY; /* XXX reversed sense */ in perfmon_fini() 240 * Unfortunately, the performance-monitoring registers are laid out 292 * Now the user-mode interface, called from a subdevice of mem.c. 335 uint64_t freq; in perfmon_ioctl() local 345 rv = perfmon_setup(pmc->pmc_num, pmc->pmc_val); in perfmon_ioctl() 347 writerpmc |= (1 << pmc->pmc_num); in perfmon_ioctl() 353 rv = perfmon_get(pmc->pmc_num, &pmc->pmc_val); in perfmon_ioctl() 382 rv = perfmon_read(pmcd->pmcd_num, &pmcd->pmcd_value); in perfmon_ioctl() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/mfd/ |
H A D | x-powers,axp152.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mfd/x-powers,axp152.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: X-Powers AXP PMIC 10 - Chen-Yu Tsai <wens@csie.org> 13 - if: 18 - x-powers,axp152 19 - x-powers,axp202 20 - x-powers,axp209 [all …]
|
H A D | axp20x.txt | 4 axp152 (X-Powers) 5 axp202 (X-Powers) 6 axp209 (X-Powers) 7 axp221 (X-Powers) 8 axp223 (X-Powers) 9 axp803 (X-Powers) 10 axp806 (X-Powers) 11 axp809 (X-Powers) 12 axp813 (X-Powers) 20 - compatible: should be one of: [all …]
|
/freebsd/libexec/rc/rc.d/ |
H A D | power_profile | 19 LOGGER="logger -t power_profile -p daemon.notice" 33 if [ -z "$(sysctl -n ${node} 2> /dev/null)" ]; then 53 if [ -n "${value}" ]; then 60 if [ $# -ne 1 ]; then 65 # doesn't make sense to run in a svcj: privileged operations 91 node="dev.cpu.0.freq" 92 highest_value="`(sysctl -n dev.cpu.0.freq_levels | \ 93 awk '{ split($0, a, "[/ ]"); print a[1] }' -) 2> /dev/null`" 94 lowest_value="`(sysctl -n dev.cpu.0.freq_levels | \ 95 awk '{ split($0, a, "[/ ]"); print a[length(a) - 1] }' -) 2> /dev/null`"
|
/freebsd/sys/contrib/device-tree/Bindings/iio/temperature/ |
H A D | adi,ltc2983.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices LTC2983, LTC2986, LTM2985 Multi-sensor Temperature system 10 - Nuno Sá <nuno.sa@analog.com> 13 Analog Devices LTC2983, LTC2984, LTC2986, LTM2985 Multi-Sensor Digital 16 https://www.analog.com/media/en/technical-documentation/data-sheets/2983fc.pdf 17 https://www.analog.com/media/en/technical-documentation/data-sheets/2984fb.pdf 18 https://www.analog.com/media/en/technical-documentation/data-sheets/29861fa.pdf 19 https://www.analog.com/media/en/technical-documentation/data-sheets/ltm2985.pdf [all …]
|
/freebsd/sys/net80211/ |
H A D | ieee80211.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 5 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 134 if (ic->ic_sup_rates[m].rs_nrates == 0) \ in ieee80211_chan_init() 135 ic->ic_sup_rates[m] = def; \ in ieee80211_chan_init() 140 KASSERT(0 < ic->ic_nchans && ic->ic_nchans <= IEEE80211_CHAN_MAX, in ieee80211_chan_init() 141 ("invalid number of channels specified: %u", ic->ic_nchans)); in ieee80211_chan_init() 142 memset(ic->ic_chan_avail, 0, sizeof(ic->ic_chan_avail)); in ieee80211_chan_init() 143 memset(ic->ic_modecaps, 0, sizeof(ic->ic_modecaps)); in ieee80211_chan_init() 144 setbit(ic->ic_modecaps, IEEE80211_MODE_AUTO); in ieee80211_chan_init() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | BlockFrequencyInfoImpl.cpp | 1 //===- BlockFrequencyImplInfo.cpp - Block Frequency Info Implementation ---===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 18 #include "llvm/Config/llvm-config.h" 41 #define DEBUG_TYPE "block-freq" 45 "check-bfi-unknown-block-queries", 51 "use-iterative-bfi-inference", cl::Hidden, 52 cl::desc("Apply an iterative post-processing to infer correct BFI counts")); 55 "iterative-bfi-max-iterations-per-block", cl::init(1000), cl::Hidden, [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | MLRegallocEvictAdvisor.cpp |
|
H A D | MLRegAllocEvictAdvisor.cpp | 1 //===- MLRegAllocEvictAdvisor.cpp - ML eviction advisor -------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 48 #define DEBUG_TYPE "ml-regalloc" 59 "regalloc-evict-interactive-channel-base", cl::Hidden, 62 "have the name <regalloc-evict-interactive-channel-base>.in, while the " 64 "<regalloc-evict-interactive-channel-base>.out")); 66 // Options that only make sense in development mode 72 "regalloc-training-log", cl::Hidden, [all …]
|
H A D | MachineBlockPlacement.cpp | 1 //===- MachineBlockPlacement.cpp - Basic Block Code Layout optimization ---===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 18 // The algorithm works from the inner-most loop within a function outward, and 23 // function in-order. 25 //===----------------------------------------------------------------------===// 78 #define DEBUG_TYPE "block-placement" 88 "align-all-blocks", 94 "align-all-nofallthru-blocks", 95 cl::desc("Force the alignment of all blocks that have no fall-through " [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/input/touchscreen/ |
H A D | azoteq,iqs7211.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS7210A, IQS7211A and IQS7211E trackpad and touchscreen control- 14 lers employ projected-capacitance sensing and can track two contacts. 21 - azoteq,iqs7210a 22 - azoteq,iqs7211a 23 - azoteq,iqs7211e 28 irq-gpios: [all …]
|
/freebsd/sbin/camcontrol/ |
H A D | camcontrol.c | 2 * Copyright (c) 1997-2007 Kenneth D. Merry 209 {"devlist", CAM_CMD_DEVTREE, CAM_ARG_NONE, "-b"}, 236 {"sense", CAM_CMD_REQSENSE, CAM_ARG_NONE, "Dx"}, 238 {"-?", CAM_CMD_USAGE, CAM_ARG_NONE, NULL}, 239 {"-h", CAM_CMD_USAGE, CAM_ARG_NONE, NULL}, 380 for (opts = table; (opts != NULL) && (opts->optname != NULL); in getoption() 382 if (strncmp(opts->optname, arg, strlen(arg)) == 0) { in getoption() 383 *cmdnum = opts->cmdnum; in getoption() 384 *argnum = opts->argnum; in getoption() 385 *subopt = opts->subopt; in getoption() [all …]
|
/freebsd/sys/arm/freescale/imx/ |
H A D | imx_i2c.c | 1 /*- 2 * Copyright (C) 2008-2009 Semihalf, Michal Hajduk 36 * This driver currently implements only master-mode operations. 38 * This driver supports multi-master i2c buses, by detecting bus arbitration 41 * transfer cycles resulting in arbitration loss in mid-transfer. The caller 42 * must handle retries in a way that makes sense for the slave being addressed. 133 {"fsl,imx21-i2c", 1}, 134 {"fsl,imx6q-i2c", 1}, 135 {"fsl,imx-i2c", 1}, 156 if ((lvl) <= (sc)->debug) \ [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar5416/ |
H A D | ar5416_reset.c | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 5 * Copyright (c) 2002-2008 Atheros Communications, Inc. 33 (AH_PRIVATE(_ah)->ah_eeversion & AR5416_EEP_VER_MINOR_MASK) 122 HALASSERT(AH_PRIVATE(ah)->ah_eeversion >= AR_EEPROM_VER14_1); in ar5416Reset() 144 * Don't do this for the AR9285 - it breaks RX for single in ar5416Reset() 173 (ah->ah_config.ah_force_full_reset)) in ar5416Reset() 192 AH5416(ah)->ah_writeIni(ah, chan); in ar5416Reset() 230 * This routine swaps the analog chains - it should be done in ar5416Reset() [all …]
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | sme.c | 2 * wpa_supplicant - SME 3 * Copyright (c) 2009-2024, Jouni Malinen <j@w1.fi> 60 int *groups = wpa_s->conf->sae_groups; in sme_set_sae_group() 67 if (!index_within_array(groups, wpa_s->sme.sae_group_index)) in sme_set_sae_group() 68 return -1; in sme_set_sae_group() 71 int group = groups[wpa_s->sme.sae_group_index]; in sme_set_sae_group() 74 if (!int_array_includes(wpa_s->sme.sae_rejected_groups, in sme_set_sae_group() 76 sae_set_group(&wpa_s->sme.sae, group) == 0) { in sme_set_sae_group() 78 wpa_s->sme.sae.group); in sme_set_sae_group() 79 wpa_s->sme.sae.akmp = external ? in sme_set_sae_group() [all …]
|
/freebsd/contrib/wpa/src/drivers/ |
H A D | driver_nl80211.c | 3 * Copyright (c) 2002-2015, Jouni Malinen <j@w1.fi> 4 * Copyright (c) 2003-2004, Instant802 Networks, Inc. 5 * Copyright (c) 2005-2006, Devicescape Software, Inc. 7 * Copyright (c) 2009-2010, Atheros Communications 27 #include "common/qca-vendor.h" 28 #include "common/qca-vendor-attr.h" 57 NLMSGERR_ATTR_MAX = __NLMSGERR_ATTR_MAX - 1 161 struct hostapd_freq_params *freq); 168 unsigned int freq, unsigned int wait, 176 #define IFIDX_ANY -1 [all …]
|
/freebsd/sbin/ifconfig/ |
H A D | ifieee80211.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 30 /*- 131 /* XXX should also figure out where to put these for k/u-space sharing. */ 257 errx(-1, "missing or corrupted regdomain database"); in getregdata() 272 const struct ieee80211_channel *fc = &chaninfo->ic_chans[i]; in canpromote() 275 if ((fc->ic_flags & from) != from) in canpromote() 278 if (i+1 < chaninfo->ic_nchans && in canpromote() 279 chaninfo->ic_chans[i+1].ic_freq == fc->ic_freq && in canpromote() 280 (chaninfo->ic_chans[i+1].ic_flags & to) == to) in canpromote() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/samsung/ |
H A D | s5pv210-aries.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 32 reserved-memory { 33 #address-cells = <1>; 34 #size-cells = <1>; 38 compatible = "shared-dma-pool"; 39 no-map; 44 compatible = "shared-dma-pool"; [all …]
|
/freebsd/contrib/ntp/include/ |
H A D | ntp.h | 2 * ntp.h - NTP definitions for the masses 21 * Calendar arithmetic - contributed by G. Healton 35 / 4 - ((year - 1) / 100) + ((year - 1) / \ 41 #define ntp0(year) (julian0(year) - julian0(1900)) 46 #define unix0(year) (julian0(year) - julian0(1970)) 49 * LEAP YEAR test for full 4-digit years (e.g, 1999, 2010) 61 * to convert simple two-digit years to tm_year style years: 66 * to convert either two-digi [all...] |
/freebsd/sys/contrib/device-tree/src/arm/nvidia/ |
H A D | tegra30-colibri.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 15 nvidia,ddc-i2c-bus = <&hdmi_ddc>; 16 nvidia,hpd-gpio = 18 pll-supply = <®_1v8_avdd_hdmi_pll>; 19 vdd-supply = <®_3v3_avdd_hdmi>; 24 lan-reset- [all...] |