/freebsd/sys/arm64/rockchip/ |
H A D | rk_tsadc.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 100 #define WR4(_sc, _r, _v) bus_write_4((_sc)->mem_res, (_r), (_v)) 101 #define RD4(_sc, _r) bus_read_4((_sc)->mem_res, (_r)) 153 {3800, -40000}, 154 {3792, -35000}, 155 {3783, -30000}, 156 {3774, -25000}, 157 {3765, -20000}, 158 {3756, -15000}, [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | devname2devid.c | 9 * or https://opensource.org/licenses/CDDL-1.0. 45 #define DEV_BYID_PATH "/dev/disk/by-id/" 54 /* The bus based by-id path is preferred */ in udev_device_get_devid() 63 * Example: 'dm-uuid-mpath-35000c5006304de3f' in udev_device_get_devid() 67 (void) snprintf(bufptr, buflen, "dm-uuid-%s", dm_uuid); in udev_device_get_devid() 74 * locate the bus specific by-id link in udev_device_get_devid() 76 * Example: 'scsi-MG03SCA300_350000494a8cb3d67-part1' in udev_device_get_devid() 78 (void) snprintf(devbyid, sizeof (devbyid), "%s%s-", DEV_BYID_PATH, bus); in udev_device_get_devid() 86 (void) stpncpy(bufptr, name, buflen - 1); in udev_device_get_devid() 87 bufptr[buflen - 1] = '\0'; in udev_device_get_devid() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/iio/potentiostat/ |
H A D | lmp91000.txt | 8 - compatible: should be one of the following: 11 - reg: the I2C address of the device 12 - io-channels: the phandle of the iio provider 14 - ti,external-tia-resistor: if the property ti,tia-gain-ohm is not defined this 19 - ti,tia-gain-ohm: ohm value of the internal resistor for the transimpedance 20 amplifier. Must be 2750, 3500, 7000, 14000, 35000, 120000, or 350000 ohms. 22 - ti,rload-ohm: ohm value of the internal resistor load applied to the gas 30 ti,tia-gain-ohm = <7500>; 32 io-channels = <&adc>;
|
H A D | ti,lmp91000.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matt Ranostay <matt.ranostay@konsulko.com> 20 - ti,lmp91000 21 - ti,lmp91002 26 io-channels: 29 ti,external-tia-resistor: 32 If the property ti,tia-gain-ohm is not defined this needs to be set to 35 ti,tia-gain-ohm: [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/thermal/ |
H A D | generic-adc-thermal.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/thermal/generic-adc-thermal.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Laxman Dewangan <ldewangan@nvidia.com> 16 temperature using voltage-temperature lookup table. 18 $ref: thermal-sensor.yaml# 22 const: generic-adc-thermal 24 '#thermal-sensor-cells': 27 io-channels: [all …]
|
H A D | thermal-generic-adc.txt | 6 temperature using voltage-temperature lookup table. 10 - compatible: Must be "generic-adc-thermal". 11 - #thermal-sensor-cells: Should be 1. See Documentation/devicetree/bindings/thermal/thermal-sen… 15 - temperature-lookup-table: Two dimensional array of Integer; lookup table 29 #include <dt-bindings/thermal/thermal.h> 35 sampling-frequency = <3300>; 36 #io-channel-cells = <1>; 40 tboard_thermistor: thermal-sensor { 41 compatible = "generic-adc-thermal"; 42 #thermal-sensor-cells = <0>; [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/mediatek/ |
H A D | mt8395-kontron-3-5-sbc-i1200.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 /dts-v1/; 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/input/input.h> 14 #include <dt-bindings/leds/common.h> 15 #include <dt-bindings/pinctrl/mt8195-pinfunc.h> 16 #include <dt-bindings/regulator/mediatek,mt6360-regulator.h> 17 #include <dt-bindings/spmi/spmi.h> 20 model = "Kontron 3.5\"-SBC-i1200"; 21 compatible = "kontron,3-5-sbc-i1200", "mediatek,mt8395", "mediatek,mt8195"; [all …]
|
H A D | mt8183-kukui.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 21 stdout-path = "serial0:115200n8"; 25 compatible = "pwm-backlight"; 27 power-supply = <®_vsys>; 28 enable-gpios = <&pio 176 0>; 29 brightness-levels = <0 1023>; 30 num-interpolated-steps = <1023>; 31 default-brightness-level = <576>; [all …]
|
H A D | mt8195-cherry.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/spmi/spmi.h> 25 backlight_lcd0: backlight-lcd0 { 26 compatible = "pwm-backlight"; 27 brightness-levels = <0 1023>; 28 default-brightness-level = <576>; 29 enable-gpios = <&pio 82 GPIO_ACTIVE_HIGH>; 30 num-interpolated-steps = <1023>; 32 power-supply = <&ppvar_sys>; [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/leds/ |
H A D | issi,is31fl319x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Vincent Knecht <vincent.knecht@mailoo.org> 14 Previously known as Si-En SN319{0,1,3,6,9}. 26 - issi,is31fl3190 27 - issi,is31fl3191 28 - issi,is31fl3193 29 - issi,is31fl3196 30 - issi,is31fl3199 [all …]
|
/freebsd/contrib/libarchive/tar/test/ |
H A D | test_option_r.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2003-2007 Tim Kientzle 10 * Also see test_option_q for additional validation of -r support. 16 size_t buff_size = 35000; in DEFINE_TEST() 26 r = systemf("%s cf archive.tar --format=ustar f1 >step1.out 2>step1.err", testprog); in DEFINE_TEST() 51 buff[buff_size - 1] = '\0'; in DEFINE_TEST() 53 r = systemf("%s rf archive.tar --format=ustar f1 >step2.out 2>step2.err", testprog); in DEFINE_TEST() 70 /* Verify end-of-archive marker. */ in DEFINE_TEST() 79 r = systemf("%s rf archive.tar --format=ustar f2 >step3.out 2>step3.err", testprog); in DEFINE_TEST() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/nvidia/ |
H A D | tegra234-p3767.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 28 dma-controller@2930000 { 32 interrupt-controller@2a40000 { 45 vcc-supply = <&vdd_1v8_hs>; 46 address-width = <8>; 49 read-only; 57 compatible = "jedec,spi-nor"; 59 spi-max-frequency = <102000000>; 60 spi-tx-bus-width = <4>; 61 spi-rx-bus-width = <4>; [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/broadcom/ |
H A D | bcm-hr2.dtsi | 33 #include <dt-bindings/interrupt-controller/arm-gic.h> 34 #include <dt-bindings/interrupt-controller/irq.h> 39 interrupt-parent = <&gic>; 40 #address-cells = <1>; 41 #size-cells = <1>; 44 #address-cells = <1>; 45 #size-cell [all...] |
H A D | bcm-nsp.dtsi | 33 #include <dt-bindings/interrupt-controller/arm-gic.h> 34 #include <dt-bindings/interrupt-controller/irq.h> 35 #include <dt-bindings/clock/bcm-nsp.h> 38 #address-cells = <1>; 39 #size-cells = <1>; 42 interrupt-paren [all...] |
/freebsd/sys/contrib/openzfs/lib/libzutil/os/linux/ |
H A D | zutil_import_os.c | 9 * or https://opensource.org/licenses/CDDL-1.0. 40 * pool guid -> toplevel vdev guid -> label txg 78 #define DEV_BYID_PATH "/dev/disk/by-id/" 84 * hpet - High Precision Event Timer 85 * watchdog[N] - Watchdog must be closed in a special way. 105 libpc_handle_t *hdl = rn->rn_hdl; in zpool_open_func() 113 if (should_skip_dev(zfs_basename(rn->rn_name))) in zpool_open_func() 120 if (stat64(rn->rn_name, &statbuf) != 0 || in zpool_open_func() 130 fd = open(rn->rn_name, O_RDONLY | O_DIRECT | O_CLOEXEC); in zpool_open_func() 132 fd = open(rn->rn_name, O_RDONLY | O_CLOEXEC); in zpool_open_func() [all …]
|
/freebsd/sys/dev/imcsmb/ |
H A D | imcsmb.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 6 * Copyright (c) 2017-2018 Panasas 87 sc->dev = dev; in imcsmb_attach() 88 sc->imcsmb_pci = device_get_parent(dev); in imcsmb_attach() 89 sc->regs = device_get_ivars(dev); in imcsmb_attach() 92 sc->smbus = device_add_child(dev, "smbus", DEVICE_UNIT_ANY); in imcsmb_attach() 93 if (sc->smbus == NULL) { in imcsmb_attach() 157 rc = imcsmb_pci_request_bus(sc->imcsmb_pci); in imcsmb_callback() 161 imcsmb_pci_release_bus(sc->imcsmb_pci); in imcsmb_callback() [all …]
|
/freebsd/sys/contrib/openzfs/cmd/zed/agents/ |
H A D | zfs_mod.c | 9 * or https://opensource.org/licenses/CDDL-1.0. 26 * Copyright (c) 2017 Open-E, Inc. All Rights Reserved. 91 #define DEV_BYID_PATH "/dev/disk/by-id/" 92 #define DEV_BYPATH_PATH "/dev/disk/by-path/" 93 #define DEV_BYVDEV_PATH "/dev/disk/by-vdev/" 125 return (vs->vs_state); in zfs_toplevel_state() 142 uap->uap_zhp = zhp; in zfs_unavail_pool() 169 * disk-add --> label-disk + tag-disk --> partition-add --> zpool_vdev_attach 219 * Get the persistent path, typically under the '/dev/disk/by-id' or in zfs_process_add() 220 * '/dev/disk/by-vdev' directories. Note that this path can change in zfs_process_add() [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/sound/pci/ |
H A D | fm801.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 176 return (bus_space_read_1(fm801->st, fm801->sh, regno)); in fm801_rd() 178 return (bus_space_read_2(fm801->st, fm801->sh, regno)); in fm801_rd() 180 return (bus_space_read_4(fm801->st, fm801->sh, regno)); in fm801_rd() 192 bus_space_write_1(fm801->st, fm801->sh, regno, data); in fm801_wr() 195 bus_space_write_2(fm801->st, fm801->sh, regno, data); in fm801_wr() 198 bus_space_write_4(fm801->st, fm801->sh, regno, data); in fm801_wr() 203 /* -------------------------------------------------------------------- */ 216 DPRINT("fm801 rdcd: 1 - DELAY\n"); in fm801_rdcd() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/apple/ |
H A D | t8112.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/interrupt-controller/apple-aic.h> 12 #include <dt-bindings/interrupt-controller/irq.h> 13 #include <dt-bindings/pinctrl/apple.h> 14 #include <dt-bindings/spmi/spmi.h> 17 compatible = "apple,t8112", "apple,arm-platform"; 19 #address-cells = <2>; 20 #size-cells = <2>; 23 #address-cells = <2>; [all …]
|
/freebsd/sys/cam/mmc/ |
H A D | mmc_da.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 6 * Copyright (c) 2015-2017 Ilya Bakulin <kibab@FreeBSD.org> All rights reserved. 132 char card_sn_string[16];/* Formatted serial # for disk->d_ident */ 227 500, 1000, 5000, 10000, 25000, 35000, 60000, 100000 231 1000, 5000, 10000, 25000, 35000, 45000, 800000, 200000 236 return periph->path->device->mmc_ident_data.card_rca; in get_rca() 241 * Look at both CAM-level errors and on MMC protocol errors. 248 KASSERT(ccb->ccb_h.func_code == XPT_MMC_IO, in mmc_handle_reply() 249 ("ccb %p: cannot handle non-XPT_MMC_IO errors, got func_code=%d", in mmc_handle_reply() [all …]
|
/freebsd/contrib/ntp/sntp/libevent/ |
H A D | CMakeLists.txt | 18 # cmake -G "Visual Studio 10" .. 41 # what? why would you get id of other useful build types? - Ellzey 101 alpha-dev 110 if (EVENT__STAGE_RET EQUAL -1) 117 "${EVENT_VERSION_MAJOR}.${EVENT_VERSION_MINOR}.${EVENT_VERSION_PATCH}-${EVENT_STAGE_NAME}") 152 # TODO: Add --disable-largefile omit support for large files 154 …get a test coverage report (only works with GCC/CLang). Make sure to enable -DCMAKE_BUILD_TYPE=Deb… 157 # top of the build tree rather than in hard-to-find leaf directories. 172 add_definitions(-DUSE_DEBUG=1) 175 # make it colorful under ninja-build [all …]
|
/freebsd/contrib/libevent/ |
H A D | CMakeLists.txt | 18 # cmake -G "Visual Studio 10" .. 41 # what? why would you get id of other useful build types? - Ellzey 101 alpha-dev 110 if (EVENT__STAGE_RET EQUAL -1) 117 "${EVENT_VERSION_MAJOR}.${EVENT_VERSION_MINOR}.${EVENT_VERSION_PATCH}-${EVENT_STAGE_NAME}") 152 # TODO: Add --disable-largefile omit support for large files 154 …get a test coverage report (only works with GCC/CLang). Make sure to enable -DCMAKE_BUILD_TYPE=Deb… 157 # top of the build tree rather than in hard-to-find leaf directories. 172 add_definitions(-DUSE_DEBUG=1) 175 # make it colorful under ninja-build [all …]
|
/freebsd/sys/dev/mmc/ |
H A D | mmc.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 35 * Group. This Simplified Specification is provided on a non-confidential 38 * Association, SD Group, SD-3C LLC or other third parties. 44 * is provided "AS-IS" without any representations or warranties of any 45 * kind. No responsibility is assumed by the SD Group, SD-3C LLC or the SD 47 * right of the SD Group, SD-3C LLC, the SD Card Association or any third 50 * SD Group, SD-3C LLC, the SD Card Association or any third party. Nothing 51 * herein shall be construed as an obligation by the SD Group, the SD-3C LLC 53 * information, know-how or other confidential information to any third party. [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/ti/omap/ |
H A D | am33xx-l4.dtsi | 2 compatible = "ti,am33xx-l4-wkup", "simple-pm-bus"; 3 power-domains = <&prm_wkup>; 5 clock-names = "fck"; 10 reg-names = "ap", "la", "ia0", "ia1"; 11 #address-cells = <1>; 12 #size-cells = <1>; 18 compatible = "simple-p [all...] |