/freebsd/sys/contrib/device-tree/Bindings/input/ |
H A D | ti,drv260x.txt | 1 * Texas Instruments - drv260x Haptics driver family 4 - compatible - One of: 5 "ti,drv2604" - DRV2604 6 "ti,drv2605" - DRV2605 7 "ti,drv2605l" - DRV2605L 8 - reg - I2C slave address 9 - vbat-supply - Required supply regulator 10 - mode - Power up mode of the chip (defined in include/dt-bindings/input/ti-drv260x.h) 11 DRV260X_LRA_MODE - Linear Resonance Actuator mode (Piezoelectric) 12 DRV260X_LRA_NO_CAL_MODE - This is a LRA Mode but there is no calibration [all …]
|
H A D | ti,drv260x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Texas Instruments - drv260x Haptics driver family 10 - Andrew Davis <afd@ti.com> 15 - ti,drv2604 16 - ti,drv2605 17 - ti,drv2605l 22 vbat-supply: 30 (defined in include/dt-bindings/input/ti-drv260x.h) [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/power/supply/ |
H A D | richtek,rt5033-charger.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/supply/richtek,rt5033-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jakob Hauser <jahau@rocketmail.com> 14 under sub-node named "charger" using the following format. 18 const: richtek,rt5033-charger 20 monitored-battery: 26 precharge-current-microamp: 27 Current of pre-charge mode. The pre-charge current levels are 350 mA [all …]
|
/freebsd/contrib/kyua/utils/signals/ |
H A D | programmer.cpp | 53 /// Whether the signal is currently programmed by us or not. 54 bool programmed; member 64 programmed(false) in impl() 91 if (::sigaction(_pimpl->signo, &sa, &_pimpl->old_sa) == -1) { in programmer() 94 _pimpl->signo, original_errno); in programmer() 96 _pimpl->programmed = true; in programmer() 100 /// Destructor; unprograms the signal handler if still programmed. 106 if (_pimpl->programmed) { in ~programmer() 107 LW("Destroying still-programmed signals::programmer object"); in ~programmer() 119 /// \pre The signal handler is programmed (i.e. this can only be called once). [all …]
|
H A D | timer.cpp | 64 /// Calls setitimer(2) with exception-based error reporting. 68 /// \param delta The time to the first activation of the programmed timer. 81 if (::setitimer(ITIMER_REAL, &timeval, old_timeval) == -1) { in safe_setitimer() 103 /// sequentially to find either expired or expiring-now timers. 106 /// The original timer before any timer was programmed. 124 timers_set& timers = _all_timers[timer->when()]; in add_to_all_timers() 141 timer->when()); in remove_from_all_timers() 209 PRE(!(*iter).second.empty()); in reprogram_system_timer() 218 PRE(!(*iter).second.empty()); in reprogram_system_timer() 224 const datetime::delta delta = next - now; in reprogram_system_timer() [all …]
|
H A D | interrupts.cpp | 55 /// The interrupt signal that fired, or -1 if none. 56 static volatile int fired_signal = -1; 99 static const char* message = "[-- Signal caught; please wait for " in signal_handler() 100 "cleanup --]\n"; in signal_handler() 101 if (::write(STDERR_FILENO, message, std::strlen(message)) == -1) { in signal_handler() 119 /// \pre Must not have been called before. 124 PRE(sighup_handler.get() == NULL); in setup_handlers() 125 PRE(sigint_handler.get() == NULL); in setup_handlers() 126 PRE(sigterm_handler.get() == NULL); in setup_handlers() 148 sighup_handler->unprogram(); sighup_handler.reset(NULL); in cleanup_handlers() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/mtd/ |
H A D | mtd.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Miquel Raynal <miquel.raynal@bootlin.com> 11 - Richard Weinberger <richard@nod.at> 21 User-defined MTD device name. Can be used to assign user friendly 26 '#address-cells': 29 '#size-cells': 36 - compatible 39 "@[0-9a-f]+$": [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/clock/ |
H A D | silabs,si5341.txt | 6 https://www.silabs.com/documents/public/data-sheets/Si5341-40-D-DataSheet.pdf 8 https://www.silabs.com/documents/public/reference-manuals/Si5341-40-D-RM.pdf 10 https://www.silabs.com/documents/public/reference-manuals/Si5345-44-42-D-RM.pdf 21 chip at boot, in case you have a (pre-)programmed device. If the PLL is not 28 still be programmed into the chip and the driver will leave them "as is". 33 - compatible: shall be one of the following: 34 "silabs,si5340" - Si5340 A/B/C/D 35 "silabs,si5341" - Si5341 A/B/C/D 36 "silabs,si5342" - Si5342 A/B/C/D 37 "silabs,si5344" - Si5344 A/B/C/D [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/iio/adc/ |
H A D | qcom,spmi-vadc.txt | 3 - SPMI PMIC voltage ADC (VADC) provides interface to clients to read 4 voltage. The VADC is a 15-bit sigma-delta ADC. 5 - SPMI PMIC5 voltage ADC (ADC) provides interface to clients to read 6 voltage. The VADC is a 16-bit sigma-delta ADC. 10 - compatible: 13 Definition: Should contain "qcom,spmi-vadc". 14 Should contain "qcom,spmi-adc5" for PMIC5 ADC driver. 15 Should contain "qcom,spmi-adc-rev2" for PMIC rev2 ADC driver. 16 Should contain "qcom,pms405-adc" for PMS405 PMIC 18 - reg: [all …]
|
H A D | qcom,spmi-vadc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/qcom,spmi-vadc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andy Gross <agross@kernel.org> 11 - Bjorn Andersson <bjorn.andersson@linaro.org> 15 voltage. The VADC is a 15-bit sigma-delta ADC. 17 voltage. The VADC is a 16-bit sigma-delta ADC. 22 - items: 23 - const: qcom,pms405-adc [all …]
|
/freebsd/sys/dev/uart/ |
H A D | uart_dev_imx.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 71 * Low-level UART interface. 98 msg, bas->bsh, 123 * Get the baud rate the hardware is programmed for, then search the in imx_uart_getbaud() 125 * actual rate the hardware is programmed for. It's more comforting to in imx_uart_getbaud() 129 * don't know what u-boot might have set up. in imx_uart_getbaud() 133 rate = bas->rclk / predivs[i]; in imx_uart_getbaud() 192 * separate pre-divider. We simplify the problem of coming up with a in imx_uart_init() 193 * workable pair of numbers by assuming a pre-divider and numerator of in imx_uart_init() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/display/mediatek/ |
H A D | mediatek,ethdr.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schema [all...] |
/freebsd/sys/contrib/device-tree/Bindings/media/i2c/ |
H A D | maxim,max9286.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Jacopo Mondi <jacopo+renesas@jmondi.org> 12 - Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> 13 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 14 - Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> 18 Serial Links (GMSL) and outputs them on a CSI-2 D-PHY port using up to 4 data 28 '#address-cells': 31 '#size-cells': [all …]
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | rx_desc.h | 1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */ 3 * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved. 4 * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved. 202 * field in address search failure cache-only entry should 206 * If set, intra-BSS routing detection is enabled 210 * and use a programmed value corresponding to the REO2PPE 224 * uffer management for WiFi-to-PPE routing. 227 * by a different subsystem, completely disabling WiFi-to-PPE 294 * Meta data that SW has programmed in the Peer table entry 437 * received MPDU in the PPDU and this MPDU gets filtered-in, [all …]
|
/freebsd/sys/dev/ath/ |
H A D | if_ath_tdma.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 44 * by the driver - eg, calls to ath_hal_gettsf32(). 136 struct ath_hal *ah = sc->sc_ah; in ath_tdma_settimers() 141 bt.bt_nextdba = (nexttbtt<<3) - sc->sc_tdmadbaprep; in ath_tdma_settimers() 142 bt.bt_nextswba = (nexttbtt<<3) - sc->sc_tdmaswbaprep; in ath_tdma_settimers() 163 if (if_ath_alq_checkdebug(&sc->sc_alq, ATH_ALQ_TDMA_TIMER_SET)) { in ath_tdma_settimers() 171 t.sc_tdmadbaprep = htobe32(sc->sc_tdmadbaprep); in ath_tdma_settimers() 172 t.sc_tdmaswbaprep = htobe32(sc->sc_tdmaswbaprep); in ath_tdma_settimers() [all …]
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | core.h | 1 /* SPDX-License-Identifier: ISC */ 3 * Copyright (c) 2005-2011 Atheros Communications Inc. 4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc. 5 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. 49 #define ATH10K_DEFAULT_NOISE_FLOOR -95 70 /* SMBIOS type structure length (excluding strings-set) */ 145 return (struct ath10k_skb_cb *)&IEEE80211_SKB_CB(skb)->driver_data; in ATH10K_SKB_CB() 150 BUILD_BUG_ON(sizeof(struct ath10k_skb_rxcb) > sizeof(skb->cb)); in ATH10K_SKB_RXCB() 151 return (struct ath10k_skb_rxcb *)skb->cb; in ATH10K_SKB_RXCB() 283 u32 cycle_count; /* Total on-channel time */ [all …]
|
/freebsd/sys/dev/malo/ |
H A D | if_malo.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 183 /* MAC address programmed in HW */ 245 uint16_t action; /* 0 -> unset, 1 -> set */ 407 uint16_t pad; /* align to 4-byte boundary */ 411 bus_dmamap_sync((txq)->dma.dd_dmat, (txq)->dma.dd_dmamap, how); \ 442 bus_dmamap_sync((sc)->malo_rxdma.dd_dmat, \ 443 (sc)->malo_rxdma.dd_dmamap, how); \ 479 * firmware pre-fetches descriptors. This means that we 495 snprintf((_tq)->name, sizeof((_tq)->name), "%s_txq%u", \ [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar9002/ |
H A D | ar9285_attach.c | 1 /*- 2 * SPDX-License-Identifier: ISC 4 * Copyright (c) 2008-2009 Sam Leffler, Errno Consulting 86 .totalSizeDesired = { -55, -55, -55, -55, -62 }, in ar9285AniSetup() 87 .coarseHigh = { -14, -14, -14, -14, -12 }, in ar9285AniSetup() 88 .coarseLow = { -64, -64, -64, -64, -70 }, in ar9285AniSetup() 89 .firpwr = { -78, -78, -78, -78, -80 }, in ar9285AniSetup() 103 AH5416(ah)->ah_ani_function &= ~(1 << HAL_ANI_NOISE_IMMUNITY_LEVEL); in ar9285AniSetup() 109 "LNA1-LNA2", 118 const HAL_EEPROM_v4k *ee = AH_PRIVATE(ah)->ah_eeprom; in ar9285_eeprom_print_diversity_settings() [all …]
|
/freebsd/sys/dev/isci/scil/ |
H A D | sati_util.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause OR GPL-2.0 9 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 22 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 28 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 73 * length for an ATA non-data command. 75 * @pre It is expected that the user will use this method for setting these 76 * values in a non-data ATA command constuct. 90 sequence->data_direction = SATI_DATA_DIRECTION_NONE; in sati_ata_non_data_command() 91 sequence->protocol = SAT_PROTOCOL_NON_DATA; in sati_ata_non_data_command() [all …]
|
/freebsd/sys/dev/ice/ |
H A D | ice_lib.c | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 267 * ice_map_bar - Map PCIe BAR memory in ice_map_bar() 278 if (bar->res != NULL) { in ice_map_bar() 283 bar->rid = PCIR_BAR(bar_num); 284 bar->res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &bar->rid, 286 if (!bar->re [all...] |
H A D | if_ice_iflib.c | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 252 * scctx->isc_tx_tso_size_max + the VLAN header is a valid size. 256 * DMA tag. However, scctx->isc_tx_tso_segsize_max is used to set the 285 * IFLIB_SKIP_MSIX allows the driver to handle allocating MSI-X 308 /* Static driver-wide sysctls */ 312 * ice_pci_mapping - Map PCI BAR memory 323 rc = ice_map_bar(sc->dev, &sc->bar0, 0); in ice_pci_mapping() 331 * ice_free_pci_mapping - Release PCI BAR memory 340 ice_free_bar(sc->dev, &sc->bar0); in ice_free_pci_mapping() 348 * ice_register - register device method callback [all …]
|
/freebsd/contrib/googletest/docs/ |
H A D | gmock_for_dummies.md | 12 actually mean very different things in the Test-Driven Development (TDD) 17 not suitable for production. An in-memory file system would be an example of 19 * **Mocks** are objects pre-programmed with *expectations*, which form a 22 If all this seems too abstract for you, don't worry - the most important thing 46 error-prone. No wonder people go great distance to avoid it. 62 * You are stuck with a sub-optimal design and wish you had done more 77 hand-written mocks. 93 relies on a [LOGO](https://en.wikipedia.org/wiki/Logo_programming_language)-like 97 shiny new graphics card that has better anti-aliasing? Suddenly you have to 119 **all** classes you intend to inherit from - otherwise the destructor of the [all …]
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | rx_desc.h | 1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */ 3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. 160 * A-MPDU frame but a stand alone MPDU. Interior MPDU in an 161 * A-MPDU shall have both first_mpdu and last_mpdu bits set to 184 * Set if packet is not a non-QoS data frame. Only set when 208 * Set if number of MSDUs in A-MSDU is above a threshold or if the 276 * Indicates that the MPDU was pre-maturely terminated 297 * A-MSDU could not be properly de-agregated. 667 * Meta data that SW has programmed in the Peer table entry 719 * received MPDU in the PPDU and this MPDU gets filtered-in, [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/qcom/ |
H A D | msm8994-msft-lumia-octagon.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/input/gpio-keys.h> 14 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 20 /delete-node/ &adsp_mem; 21 /delete-node/ &audio_mem; 22 /delete-node/ &cont_splash_mem; 23 /delete-node/ &mba_mem; 24 /delete-node/ &mpss_mem; 25 /delete-node/ &peripheral_region; [all …]
|
/freebsd/sys/dev/arcmsr/ |
H A D | arcmsr.h | 11 ** SPDX-License-Identifier: BSD-3-Clause 13 ** Copyright (C) 2002 - 2012, Areca Technology Corporation All rights reserved. 43 #define ARCMSR_VIRTUAL_DEVICE_ID (ARCMSR_MAX_TARGETID - 1) 71 #define offsetof(type, member) ((size_t)(&((type *)0)->member)) 197 #define CHIP_REG_READ32(s, b, r) bus_space_read_4(acb->btag[b], acb->bhandle[b], offsetof(struct s,… 198 #define CHIP_REG_WRITE32(s, b, r, d) bus_space_write_4(acb->btag[b], acb->bhandle[b], offsetof(stru… 199 #define READ_CHIP_REG32(b, r) bus_space_read_4(acb->btag[b], acb->bhandle[b], r) 200 #define WRITE_CHIP_REG32(b, r, d) bus_space_write_4(acb->btag[b], acb->bhandle[b], r, d) 374 ** Set if Outbound Doorbell register bits 30:1 have a non-zero 486 /* ARC-1884 doorbell sync */ [all …]
|