| /freebsd/sys/contrib/device-tree/src/arm/nxp/imx/ |
| H A D | imx6ul-phytec-segin-peb-wlbt-05.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 11 reg_wl_en: regulator-wl-en { 12 compatible = "regulator-fixed"; 13 regulator-name = "wlan_en"; 14 regulator-min-microvolt = <3300000>; 15 regulator-max-microvolt = <3300000>; 16 pinctrl-names = "default"; 17 pinctrl-0 = <&pinctrl_wl>; [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/pinctrl/ |
| H A D | eswin,eic7700-pinctrl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/eswin,eic7700-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Yulin Lu <luyulin@eswincomputing.com> 13 - $ref: pinctrl.yaml# 19 and various pin configuration parameters, such as input-enable, pull-up, etc. 23 const: eswin,eic7700-pinctrl 28 vrgmii-supply: 32 depending on the board-level voltage configuration required by the RGMII interface. [all …]
|
| H A D | brcm,bcm21664-pinctrl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/brcm,bcm21664-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Florian Fainelli <florian.fainelli@broadcom.com> 11 - Ray Jui <rjui@broadcom.com> 12 - Scott Branden <sbranden@broadcom.com> 15 - $ref: pinctrl.yaml# 19 const: brcm,bcm21664-pinctrl 25 '-pins$': [all …]
|
| /freebsd/lib/libutil/ |
| H A D | quotafile.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2008 Dag-Erling Smørgrav 41 #include <grp.h> 51 int fd; /* -1 means using quotactl for access */ 53 int wordsize; /* 32-bit or 64-bit limits */ 55 dev_t dev; /* device */ member 85 strcpy(buf, fs->fs_mntops); in hasquota() 99 if (statfs(fs->fs_file, &sfb) != 0 || in hasquota() 100 strcmp(fs->fs_file, sfb.f_mntonname)) { in hasquota() [all …]
|
| /freebsd/contrib/openbsm/bin/auditd/ |
| H A D | auditd.c | 1 /*- 2 * Copyright (c) 2004-2009 Apple Inc. 53 #include <grp.h> 89 * change stdio to /dev/null. 103 static gid_t audit_review_gid = -1; 122 * Follow the 'current' symlink to get the active trail file name. 136 len = readlink(AUDIT_CURRENT_LINK, cf, MAXPATHLEN - 1); in get_curfile() 164 return (-1); in close_lastfile() 166 /* Rename the last file -- append timestamp. */ in close_lastfile() 205 return (-1); in swap_audit_file() [all …]
|
| /freebsd/sys/arm/arm/ |
| H A D | gic.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 65 #include <dev/fdt/fdt_intr.h> 66 #include <dev/ofw/ofw_bus_subr.h> 70 #include <contrib/dev/acpica/include/acpi.h> 71 #include <dev/acpica/acpivar.h> 104 ((_sc->typer & GICD_TYPER_SECURITYEXT) == GICD_TYPER_SECURITYEXT) 117 /* be used for MSI/MSI-X interrupts */ 119 /* for a MSI/MSI-X interrupt */ 124 static int arm_gic_bind_intr(device_t dev, struct intr_irqsrc *isrc); [all …]
|
| /freebsd/sbin/quotacheck/ |
| H A D | quotacheck.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 51 #include <grp.h> 82 (dp)->dp1.field : (dp)->dp2.field) 133 while ((ch = getopt(argc, argv, "ac:guvl:")) != -1) { in main() 159 argc - in main() 245 dev_t dev, userdev = 0, groupdev = 0; chkquota() local [all...] |
| /freebsd/sys/dev/iwn/ |
| H A D | if_iwn.c | 1 /*- 2 * Copyright (c) 2007-2009 Damien Bergamini <damien.bergamini@free.fr> 6 * Copyright (c) 2013 Cedric GROSS <c.gross@kreiz-it.fr> 54 #include <dev/pci/pcireg.h> 55 #include <dev/pci/pcivar.h> 70 #include <dev/iwn/if_iwnreg.h> 71 #include <dev/iwn/if_iwnvar.h> 72 #include <dev/iwn/if_iwn_devid.h> 73 #include <dev/iwn/if_iwn_chip_cfg.h> 74 #include <dev/iwn/if_iwn_debug.h> [all …]
|
| /freebsd/sys/net/ |
| H A D | iflib.c | 1 /*- 2 * Copyright (c) 2014-2018, Matthew Macy <mmacy@mattmacy.io> 83 #include <dev/led/led.h> 84 #include <dev/pci/pcireg.h> 85 #include <dev/pci/pcivar.h> 86 #include <dev/pci/pci_private.h> 93 #include <dev/pci/pci_iov.h> 108 * - Prefetching in tx cleaning should perhaps be a tunable. The distance ahead 111 * - NFLX's m_free path is dominated by vm-based M_EXT manipulation which 113 * - small packet forwarding which is just returning a single mbuf to [all …]
|
| /freebsd/sys/dev/ocs_fc/ |
| H A D | ocs_ioctl.c | 1 /*- 76 mtx_lock(&ocs->dbg_lock); in __ocs_ioctl_mbox_cb() 78 mtx_unlock(&ocs->dbg_lock); in __ocs_ioctl_mbox_cb() 88 sli4_cmd_sli_config_t *sli_config = (sli4_cmd_sli_config_t *)mcmd->payload; in ocs_process_sli_config() 91 if (sli_config->emb) { in ocs_process_sli_config() 92 sli4_req_hdr_t *req = (sli4_req_hdr_t *)sli_config->payload.embed; in ocs_process_sli_config() 94 switch (req->opcode) { in ocs_process_sli_config() 96 if (mcmd->out_bytes) { in ocs_process_sli_config() 98 (sli4_req_common_read_object_t *)sli_config->payload.embed; in ocs_process_sli_config() 100 if (ocs_dma_alloc(ocs, dma, mcmd->out_bytes, 4096)) { in ocs_process_sli_config() [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/include/ |
| H A D | libtest.shlib | 1 # SPDX-License-Identifier: CDDL-1.0 10 # or https://opensource.org/licenses/CDDL-1.0. 30 # Copyright (c) 2017, Open-E Inc. All rights reserved. 46 PWD="$(readlink -f $PWD)" 53 if [ -n "$STF_PATH" ]; then 64 [ "$(printf "$1\n$2" | sort -V | tail -n1)" = "$1" ] 74 [ -z "$ver" ] && case "$UNAME" in 78 # RHEL7: 3.10.0-1160.108.1.el7.x86_64 79 # Fedora 37: 6.5.12-100.fc37.x86_64 80 # Debian 12.6: 6.1.0-22-amd64 [all …]
|
| /freebsd/contrib/pf/authpf/ |
| H A D | authpf.c | 4 * Copyright (C) 1998 - 2007 Bob Beck (beck@openbsd.org). 39 #include <grp.h> 61 char rulesetname[MAXPATHLEN - PF_ANCHOR_NAME_SIZE - 2]; 66 int pidfd = -1; 101 if (strcmp(__progname, "-authpf-noip") == 0) in main() 111 syslog(LOG_ERR, "non-interactive session connection for authpf"); in main() 150 if ((lc = login_getclass(pw->pw_class)) != NULL) in main() 151 shell = login_getcapstr(lc, "shell", pw->pw_shell, in main() 152 pw->pw_shell); in main() 154 shell = pw->pw_shell; in main() [all …]
|
| /freebsd/sys/contrib/dev/rtw89/ |
| H A D | fw.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 2 /* Copyright(c) 2019-2020 Realtek Corporation 86 u32 h2c_desc_size = rtwdev->chip->h2c_desc_size; in rtw89_fw_h2c_alloc_skb() 95 memset(skb->data, 0, len); in rtw89_fw_h2c_alloc_skb() 112 const struct rtw89_mac_gen_def *mac = rtwdev->chip->mac_def; in rtw89_fw_check_rdy() 116 ret = read_poll_timeout_atomic(mac->fwdl_get_status, val, in rtw89_fw_check_rdy() 123 return -EINVAL; in rtw89_fw_check_rdy() 127 return -EINVAL; in rtw89_fw_check_rdy() 131 return -EINVAL; in rtw89_fw_check_rdy() 135 return -EBUSY; in rtw89_fw_check_rdy() [all …]
|
| H A D | core.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 2 /* Copyright(c) 2019-2020 Realtek Corporation 54 #define RTW89_RSSI_RAW_TO_DBM(rssi) ((s8)((rssi) >> RSSI_FACTOR) - MAX_RSSI) 111 RTW89_CH_6G_BAND_IDX6, /* Ultra-high */ 112 RTW89_CH_6G_BAND_IDX7, /* Ultra-high */ 271 * RTW89_ADDR_CAM_SEC_ALL_UNI : 0 - 6 unicast 272 * RTW89_ADDR_CAM_SEC_NORMAL : 0 - 1 unicast, 2 - 4 group, 5 - 6 BIP 273 * RTW89_ADDR_CAM_SEC_4GROUP : 0 - 1 unicast, 2 - 5 group, 6 BIP 771 #define RTW89_MIN_VALID_POWER_CONSTRAINT (-10) /* unit: dBm */ 977 /* The follow-up are derived from the above. We must ensure that it [all …]
|
| /freebsd/sys/dev/iwx/ |
| H A D | if_iwx.c | 1 /*- 2 * SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) AND ISC 28 /*- 64 /*- 65 * Based on BSD-licensed source modules in the Linux iwlwifi driver, 76 * Copyright(c) 2018 - 2019 Intel Corporation 90 * Copyright(c) 2018 - 2019 Intel Corporation 122 /*- 123 * Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr> 162 #include <dev/pci/pcireg.h> [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. 30 * Some code derived from the sys/dev/mmc and sys/cam/ata 114 int outstanding_cmds; /* Number of active commands */ 115 int refcount; /* Active xpt_action() calls */ 132 char card_sn_string[16];/* Formatted serial # for disk->d_ident */ 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() [all …]
|
| /freebsd/contrib/wpa/wpa_supplicant/ |
| H A D | p2p_supplicant.c | 2 * wpa_supplicant - P2P 3 * Copyright (c) 2009-2010, Atheros Communications 4 * Copyright (c) 2010-2014, Jouni Malinen <j@w1.fi> 73 * How many seconds to wait for initial 4-way handshake to get completed after 74 * WPS provisioning step or after the re-invocation of a persistent group on a 82 * How many seconds to wait for initial 4-way handshake to get completed after 92 * How many seconds to wait for initial 4-way handshake to get completed after 93 * re-invocation of a persistent group on the GO when the client is expected 99 #define P2P_MGMT_DEVICE_PREFIX "p2p-dev-" 102 * How many seconds to wait to re-attempt to move GOs, in case previous attempt [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/ |
| H A D | vendor-prefixes.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/vendor-prefixes.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 19 "^(at25|bm|devbus|dmacap|dsa|exynos|fsi[ab]|gpio-fan|gpio-key|gpio|gpmc|hdmi|i2c-gpio),.*": true 21 "^(pciclass|pinctrl-single|#pinctrl-single|PowerPC),.*": true 22 "^(pl022|pxa-mmc|rcar_sound|rotary-encoder|s5m8767|sdhci),.*": true 23 "^(simple-audio-card|st-plgpio|st-spics|ts),.*": true 24 "^pool[0-3],.*": true [all …]
|
| /freebsd/crypto/openssh/ |
| H A D | session.c | 51 #include <grp.h> 65 #include "openbsd-compat/sys-queue.h" 79 #include "ssh-gss.h" 83 #include "auth-options.h" 108 * without calling into the monitor. This requires either the post-auth 110 * sshd-session.c:privsep_postauth) or that PTY allocation doesn't require 118 (!strncmp(c, INTERNAL_SFTP_NAME, sizeof(INTERNAL_SFTP_NAME) - 1) && \ 119 (c[sizeof(INTERNAL_SFTP_NAME) - 1] == '\0' || \ 120 c[sizeof(INTERNAL_SFTP_NAME) - 1] == ' ' || \ 121 c[sizeof(INTERNAL_SFTP_NAME) - 1] == '\t')) [all …]
|
| H A D | sshd.c | 39 #include "openbsd-compat/sys-tree.h" 40 #include "openbsd-compat/sys-queue.h" 50 #include <grp.h> 67 #include "openbsd-compat/openssl-compat.h" 103 #include "sk-api.h" 113 /* Re-exec fds */ 243 children[i].pipefd = -1; in child_alloc() 244 children[i].pid = -1; in child_alloc() 260 if (children[i].pipefd != -1 || in child_register() 272 child->pipefd = pipefd; in child_register() [all …]
|
| /freebsd/contrib/unbound/ |
| H A D | configure | 2 # Guess values for system-dependent variables and create Makefiles. 5 # Report bugs to <unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues>. 8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, 14 ## -------------------- ## 16 ## -------------------- ## 21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 27 alias -g '${1+"$@"}'='"$@"' 30 case `(set -o) 2>/dev/null` in #( 32 set -o posix ;; #( [all …]
|
| /freebsd/crypto/heimdal/ |
| H A D | configure | 3 # Guess values for system-dependent variables and create Makefiles. 6 # Report bugs to <heimdal-bugs@h5l.org>. 16 ## -------------------- ## 18 ## -------------------- ## 22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 27 alias -g '${1+"$@"}'='"$@"' 30 case `(set -o) 2>/dev/null` in #( 32 set -o posix ;; #( 48 if test -z "$BASH_VERSION$ZSH_VERSION" \ [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorize.cpp | 1 //===- LoopVectorize.cpp - A Loop Vectorizer ------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 // and generates target-independent LLVM-IR. 20 // 2. LoopVectorizationLegality - A unit that checks for the legality 22 // 3. InnerLoopVectorizer - A unit that performs the actual 24 // 4. LoopVectorizationCostModel - A unit that checks for the profitability 31 // http://lists.llvm.org/pipermail/llvm-dev/2017-December/119523.html). For this 32 // purpose, we temporarily introduced the VPlan-native vectorization path: an 36 //===----------------------------------------------------------------------===// [all …]
|
| /freebsd/contrib/file/magic/Magdir/ |
| H A D | msdos | 2 #------------------------------------------------------------------------------ 4 # msdos: file(1) magic for MS-DOS files 11 !:mime text/x-msdos-batch 14 !:mime text/x-msdos-batch 17 !:mime text/x-msdos-batch 20 !:mime text/x-msdos-batch 40 # FMX64:FileMaker Pro 64-bit plug-in https://en.wikipedia.org/wiki/FileMaker 41 # FMX: FileMaker Pro 32-bit plug-in https://en.wikipedia.org/wiki/FileMaker 47 # MLL: Maya plug-in (generic) http://en.wikipedia.org/wiki/Autodesk_Maya 49 # 8*: PhotoShop plug-in (generic) http://www.adobe.com/products/photoshop/main.html [all …]
|
| /freebsd/sbin/pfctl/ |
| H A D | parse.y | 3 /*- 4 * SPDX-License-Identifier: BSD-2-Clause 69 #include <grp.h> 311 /* new-style scrub opts */ 527 !isdigit((addr).v.ifname[strlen((addr).v.ifname)-1]))) 633 | ruleset error '\n' { file->errors++; } 671 yyerror("unknown ruleset-optimization %s", $1); 699 if (!(pf->opts & PF_OPT_OPTIMIZE)) { 700 pf->opts |= PF_OPT_OPTIMIZE; 701 pf->optimize = $3; [all …]
|