/freebsd/sys/contrib/device-tree/Bindings/iio/adc/ |
H A D | ti,adc12138.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 ADC12138 and similar self-calibrating ADCs 10 - Akinobu Mita <akinobu.mita@gmail.com> 19 - ti,adc12130 20 - ti,adc12132 21 - ti,adc12138 34 vref-p-supply: 37 vref-n-supply: [all …]
|
H A D | ti-adc12138.txt | 4 - compatible: Should be one of 8 - reg: SPI chip select number for the device 9 - interrupts: Should contain interrupt for EOC (end of conversion) 10 - clocks: phandle to conversion clock input 11 - spi-max-frequency: Definision as per 12 Documentation/devicetree/bindings/spi/spi-bus.txt 13 - vref-p-supply: The regulator supply for positive analog voltage reference 16 - vref-n-supply: The regulator supply for negative analog voltage reference 17 (Note that this must not go below GND or exceed vref-p) 19 - ti,acquisition-time: The number of conversion clock periods for the S/H's [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/iio/dac/ |
H A D | adi,ad3552r.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Nuno Sá <nuno.sa@analog.com> 16 https://www.analog.com/media/en/technical-documentation/data-sheets/ad3541r.pdf 17 https://www.analog.com/media/en/technical-documentation/data-sheets/ad3542r.pdf 18 https://www.analog.com/media/en/technical-documentation/data-sheets/ad3551r.pdf 19 https://www.analog.com/media/en/technical-documentation/data-sheets/ad3552r.pdf 24 - adi,ad3541r 25 - adi,ad3542r [all …]
|
H A D | dpot-dac.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/dac/dpot-dac.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Peter Rosin <peda@axentia.se> 15 divided voltage is provided by a vref regulator. 17 .------. 18 .-----------. | | 19 | vref |--' .---. 20 | regulator |--. | | [all …]
|
H A D | dpot-dac.txt | 5 divided voltage is provided by a vref regulator. 7 .------. 8 .-----------. | | 9 | vref |--' .---. 10 | regulator |--. | | 11 '-----------' | | d | 12 | | p | 14 | | t |<---------+ 16 | '---' dac output voltage 18 '------+------------+ [all …]
|
/freebsd/sys/fs/nullfs/ |
H A D | null_subr.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 8 * Jan-Simon Pendry. 51 * entry is added the lower vnode is VREF'd. When the 89 * Return a VREF'ed alias for lower vnode if already exists, else 0. 103 * Find hash base, and then search the (two-way) linked in null_hashget_locked() 106 * reference count (but NOT the lower vnode's VREF counter). in null_hashget_locked() 110 if (a->null_lowervp == lowervp && NULLTOV(a)->v_mount == mp) { in null_hashget_locked() 118 vref(vp); in null_hashget_locked() 152 hd = NULL_NHASH(xp->null_lowervp); in null_hashins() [all …]
|
H A D | null_vnops.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 47 * a stackable layers techniques, and its "null-node"s stack above 48 * all lower-layer vnodes, not just over directory vnodes. 66 * of the lower vfs (target-pn) and the pathname where the null 67 * layer will appear in the namespace (alias-pn). After 69 * of target-p [all...] |
H A D | null_vfsops.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 8 * Jan-Simon Pendry. 89 NULLFSDEBUG("nullfs_mount(mp = %p)\n", (void *)mp); in nullfs_mount() 91 if (mp->mnt_flag & MNT_ROOTFS) in nullfs_mount() 95 * Update is a no-op in nullfs_mount() 97 if (mp->mnt_flag & MNT_UPDATE) { in nullfs_mount() 101 if (vfs_flagopt(mp->mnt_optnew, "export", NULL, 0)) in nullfs_mount() 110 error = vfs_getopt(mp->mnt_optnew, "from", (void **)&target, &len); in nullfs_mount() 112 error = vfs_getopt(mp->mnt_optnew, "target", (void **)&target, &len); in nullfs_mount() [all …]
|
/freebsd/sys/fs/unionfs/ |
H A D | union_vnops.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 4 * Copyright (c) 1992, 1993, 1994, 1995 Jan-Simon Pendry. 12 * Jan-Simon Pendry. 76 VNASSERT(((vp)->v_op == &unionfs_vnodeops), vp, \ 77 ("%s: non-unionfs vnode", __func__)) 95 cnp = ap->a_cnp; in unionfs_lookup() 96 nameiop = cnp->cn_nameiop; in unionfs_lookup() 97 cnflags = cnp->cn_flags; in unionfs_lookup() 98 dvp = ap->a_dvp; in unionfs_lookup() [all …]
|
H A D | union_subr.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 4 * Copyright (c) 1994 Jan-Simon Pendry 11 * Jan-Simon Pendry. 66 #define UNIONFSHASHMASK (NUNIONFSNODECACHE - 1) 122 MPASS(unp->un_dvp != NULL); in unionfs_deferred_rele() 123 vrele(unp->un_dvp); in unionfs_deferred_rele() 127 /* We expect this function to be single-threaded, thus no atomic */ in unionfs_deferred_rele() 138 return (&(unp->un_hashtbl[vfs_hash_index(lookup) & UNIONFSHASHMASK])); in unionfs_get_hashhead() 155 if (unp->un_uppervp == lookup || in unionfs_get_cached_vnode_locked() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/aspeed/ |
H A D | aspeed-bmc-ufispace-ncplite.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/i2c/i2c.h> 7 #include <dt-bindings/gpio/aspeed-gpio.h> 11 compatible = "ufispace,ncplite-bmc", "aspeed,ast2600"; 18 stdout-path = &uart5; 27 iio-hwmon { 28 compatible = "iio-hwmon"; 29 io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>, [all …]
|
H A D | aspeed-bmc-asus-x4tf.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 /dts-v1/; 6 #include "aspeed-g6.dtsi" 7 #include "aspeed-g6-pinctrl.dtsi" 8 #include <dt-bindings/i2c/i2c.h> 9 #include <dt-bindings/gpio/aspeed-gpio.h> 12 model = "ASUS-X4TF"; 13 compatible = "asus,x4tf-bmc", "aspeed,ast2600"; 20 stdout-path = "serial4:115200n8"; 28 reserved-memory { [all …]
|
H A D | aspeed-bmc-facebook-minerva.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 7 #include <dt-bindings/i2c/i2c.h> 11 compatible = "facebook,minerva-cmc", "aspeed,ast2600"; 17 * PCA9548 (2-0077) provides 8 channels connecting to 31 stdout-path = "serial5:57600n8"; 39 iio-hwmon { 40 compatible = "iio-hwmon"; [all …]
|
H A D | aspeed-bmc-quanta-s6q.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 7 #include <dt-binding [all...] |
/freebsd/sys/fs/procfs/ |
H A D | procfs_map.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 4 * Copyright (c) 1993 Jan-Simon Pendry 9 * Jan-Simon Pendry. 96 PROC_LOCK(p); in procfs_doprocmap() 97 error = p_candebug(td, p); in procfs_doprocmap() 98 PROC_UNLOCK(p); in procfs_doprocmap() 102 if (uio->uio_rw != UIO_READ) in procfs_doprocmap() 108 if (!(SV_PROC_FLAG(p, SV_ILP32))) in procfs_doprocmap() 114 vm = vmspace_acquire_ref(p); in procfs_doprocmap() [all …]
|
/freebsd/sys/fs/tarfs/ |
H A D | tarfs_vnops.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 5 * Copyright (c) 2022-2023 Klara, Inc. 52 vp = ap->a_vp; in tarfs_open() 56 TARFS_DPF(VNODE, "%s(%p=%s, %o)\n", __func__, in tarfs_open() 57 tnp, tnp->name, ap->a_mode); in tarfs_open() 59 if (vp->v_type != VREG && vp->v_type != VDIR) in tarfs_open() 62 vnode_create_vobject(vp, tnp->size, ap->a_td); in tarfs_open() 73 vp = ap->a_vp; in tarfs_close() 78 TARFS_DPF(VNODE, "%s(%p=%s)\n", __func__, in tarfs_close() [all …]
|
/freebsd/sys/kern/ |
H A D | vfs_default.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 160 printf("vop_notsupp[%s]\n", ap->a_desc->vdesc_name); in vop_eopnotsupp() 215 panic("filesystem goof: vop_panic[%s]", ap->a_desc->vdesc_name); in vop_panic() 234 *ap->a_vp in vop_nolookup() [all...] |
H A D | vfs_lookup.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 84 ndp->ni_resflags = 0; \ 85 ndp->ni_cnd.cn_flags &= ~NAMEI_INTERNAL_FLAGS; \ 86 ndp->ni_cnd.cn_flags |= ISRESTARTED; \ 97 (ndp)->ni_lcf &= ~NI_LCF_KTR_FLAGS; \ 126 vp = ap->a_v in crossmp_vop_lock1() [all...] |
/freebsd/sys/fs/nfsserver/ |
H A D | nfs_nfsdsocket.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 480 if (NFSD_VNET(nfsstatsv1_p)->srvstartcnt == in nfsrvd_statstart() 481 NFSD_VNET(nfsstatsv1_p)->srvdonecnt) { in nfsrvd_statstart() 483 NFSD_VNET(nfsstatsv1_p)->busyfrom = *now; in nfsrvd_statstart() 485 binuptime(&NFSD_VNET(nfsstatsv1_p)->busyfrom); in nfsrvd_statstart() 488 NFSD_VNET(nfsstatsv1_p)->srvrpccnt[op]++; in nfsrvd_statstart() 489 NFSD_VNET(nfsstatsv1_p)->srvstartcnt++; in nfsrvd_statstart() 512 NFSD_VNET(nfsstatsv1_p)->srvbytes[op] += bytes; in nfsrvd_statend() 513 NFSD_VNET(nfsstatsv1_p)->srvops[op]++; in nfsrvd_statend() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/nxp/imx/ |
H A D | imx6ull-dhcom-som.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause 6 #include "imx6ull-dhcor-som.dtsi" 10 /delete-property/ spi2; 11 /delete-property/ spi3; 28 stdout-path = "serial0:115200n8"; 31 reg_ext_3v3_ref: regulator-ext-3v3-ref { 32 compatible = "regulator-fixed"; 33 regulator-always-on; 34 regulator-max-microvolt = <3300000>; 35 regulator-min-microvolt = <3300000>; [all …]
|
/freebsd/sys/fs/devfs/ |
H A D | devfs_vnops.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2000-2004 5 * Poul-Henning Kamp. All rights reserved. 6 * Copyright (c) 1989, 1992-1993, 1995 10 * Jan-Simon Pendry. 80 static MALLOC_DEFINE(M_CDEVPDATA, "DEVFSP", "Metainfo for cdev-fp data"); 106 if (tsp->tv_sec != ts) { in devfs_timestamp() 107 tsp->tv_sec = ts; in devfs_timestamp() 108 tsp->tv_nsec = 0; in devfs_timestamp() [all …]
|
/freebsd/sys/fs/p9fs/ |
H A D | p9fs_vfsops.c | 1 /*- 2 * Copyright (c) 2017-2020 Juniper Networks, Inc. 77 if (node->parent && node->parent != node) { in p9fs_dispose_node() 78 vrele(P9FS_NTOV(node->parent)); in p9fs_dispose_node() 81 P9_DEBUG(VOPS, "%s: node: %p\n", __func__, *npp); in p9fs_dispose_node() 84 vp->v_data = NULL; in p9fs_dispose_node() 87 if (!(vp->v_vflag & VV_ROOT)) { in p9fs_dispose_node() 88 free(node->inode.i_name, M_TEMP); in p9fs_dispose_node() 153 vses = &vmp->p9fs_session; in p9fs_unmount() 177 mp->mnt_data = NULL; in p9fs_unmount() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/st/ |
H A D | stm32mp15xx-dhcom-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) 2019-2020 Marek Vasut <marex@denx.de> 6 #include "stm32mp15-pinctrl.dtsi" 7 #include "stm32mp15xxaa-pinctrl.dtsi" 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-binding [all...] |
/freebsd/sys/fs/smbfs/ |
H A D | smbfs_node.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2000-2001 Boris Popov 56 extern struct vop_vector smbfs_vnodeops; /* XXX -> .h file */ 74 bcopy(name, cp, nmlen - 1); in smbfs_name_alloc() 75 cp[nmlen - 1] = 0; in smbfs_name_alloc() 92 np = (struct smbnode *) vp->v_data; in smbfs_vnode_cmp() 94 if (np->n_parent != sc->n_parent || np->n_nmlen != sc->n_nmlen || in smbfs_vnode_cmp() 95 bcmp(sc->n_name, np->n_name, sc->n_nmlen) != 0) in smbfs_vnode_cmp() 111 char *p, *rpath; in smbfs_node_alloc() local [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/mfd/ |
H A D | st,stpmic1.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 12 - pascal Paillet <p.paillet@foss.st.com> 24 "#interrupt-cells": 27 interrupt-controller: true 36 const: st,stpmic1-onkey 40 - description: onkey-falling, happens when onkey is pressed. IT_PONKEY_F of pmic 41 - description: onkey-rising, happens when onkey is released. IT_PONKEY_R of pmic 43 interrupt-names: [all …]
|