| /freebsd/sys/dev/cxgbe/ |
| H A D | adapter.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 199 #define IS_DETACHING(vi) ((vi)->flags & VI_DETACHING) 200 #define SET_DETACHING(vi) do {(vi)->flags |= VI_DETACHING;} while (0) 201 #define CLR_DETACHING(vi) do {(vi)->flags &= ~VI_DETACHING;} while (0) 202 #define IS_BUSY(sc) ((sc)->flags & CXGBE_BUSY) 203 #define SET_BUSY(sc) do {(sc)->flags |= CXGBE_BUSY;} while (0) 204 #define CLR_BUSY(sc) do {(sc)->flags &= ~CXGBE_BUSY;} while (0) 233 int rsrv_noflowq; /* Reserve queue 0 for non-flowid packets */ 234 int nrxq; /* # of rx queues */ [all …]
|
| H A D | t4_sge.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 85 * 0-7 are valid values. 89 "payload DMA offset in rx buffer (bytes)"); 93 * -1: driver should figure out a good value. 97 int fl_pad = -1; 103 * -1: driver should figure out a good value. 106 static int spg_len = -1; 112 * -1: no congestion feedback (not recommended). 119 "Congestion control for NIC RX queues (0 = backpressure, 1 = drop, 2 = both"); [all …]
|
| H A D | t4_main.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 308 * Each tunable is set to a default value here if it's known at compile-time. 309 * Otherwise it is set to -n as an indication to tweak_tunables() that it should 323 * Number of queues for tx and rx, NIC and offload. 326 int t4_ntxq = -NTXQ; 332 int t4_nrxq = -NRXQ; 334 "Number of RX queues per port"); 338 static int t4_ntxq_vi = -NTXQ_VI; 343 static int t4_nrxq_vi = -NRXQ_VI; [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm/qcom/ |
| H A D | qcom-ipq8064-v2.0.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include "qcom-ipq8064.dtsi" 6 model = "Qualcomm Technologies, Inc. IPQ8064-v2.0"; 13 stdout-path = "serial0:115200n8"; 16 reserved-memory { 17 #address-cells = <1>; 18 #size-cells = <1>; 23 no-map; 44 compatible = "qcom,pcie-ipq8064-v2"; 48 compatible = "qcom,pcie-ipq8064-v2"; [all …]
|
| /freebsd/sys/dev/oce/ |
| H A D | oce_queue.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 34 * freebsd-drivers@emulex.com 50 static int oce_wq_create(struct oce_wq *wq, struct oce_eq *eq); 57 static int oce_rq_create(struct oce_rq *rq, uint32_t if_id, struct oce_eq *eq); 65 static void oce_eq_del(struct oce_eq *eq); 67 struct oce_eq *eq, uint32_t q_len); 72 struct oce_eq *eq, 93 /* alloc TX/RX queues */ in oce_queue_init_all() 95 sc->wq[i] = oce_wq_init(sc, sc->tx_ring_size, in oce_queue_init_all() [all …]
|
| H A D | oce_if.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 34 * freebsd-drivers@emulex.com 48 #define is_tso_pkt(m) (m->m_pkthdr.csum_flags & CSUM_TSO) 259 sc->dev = dev; in oce_probe() 273 sc->flags |= OCE_FLAGS_BE2; in oce_probe() 276 sc->flag in oce_probe() 686 struct oce_eq *eq = ii->eq; oce_intr() local 2516 struct oce_eq *eq; oce_if_deactivate() local 2560 struct oce_eq *eq; oce_if_activate() local [all...] |
| H A D | oce_if.h | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 34 * freebsd-drivers@emulex.com 109 #define IS_BE(sc) (((sc->flags & OCE_FLAGS_BE3) | \ 110 (sc->flags & OCE_FLAGS_BE2))? 1:0) 111 #define IS_BE3(sc) (sc->flags & OCE_FLAGS_BE3) 112 #define IS_BE2(sc) (sc->flags & OCE_FLAGS_BE2) 113 #define IS_XE201(sc) ((sc->flags & OCE_FLAGS_XE201) ? 1:0) 114 #define HAS_A0_CHIP(sc) ((sc->flags & OCE_FLAGS_HAS_A0_CHIP) ? 1:0) 115 #define IS_SH(sc) ((sc->flags & OCE_FLAGS_SH) ? 1 : 0) [all …]
|
| /freebsd/usr.sbin/bsdconfig/share/media/ |
| H A D | httpproxy.subr | 3 # Copyright (c) 2012-2013 Devin Teske 79 # The order in-which the below individual cases appear is important! 85 port="${port%%[!0-9]*}" 104 : leave hostname as-is 129 # $connect_only is present and non-null, then returns success if a connection 144 # $connect_only is present and non-NULL. 174 f_quietly nc -nz "$host" "$proxy_port" || continue 198 local rx 199 if ! rx=$( 201 nc -n "$host" "$proxy_port" [all …]
|
| H A D | http.subr | 3 # Copyright (c) 2012-2013 Devin Teske 49 # NOTE: This is according to actual fetch(1) test-results. We actually 60 pub/FreeBSD-Archive/old-releases/$UNAME_P 61 " # END-QUOTE 67 # Prompt the user to select from a range of ``built-in'' HTTP servers or 81 " # END-QUOTE 94 --title \"\$title\" \ 95 --backtitle \"\$btitle\" \ 96 --hline \"\$hline\" \ 97 --ok-label \"\$msg_ok\" \ [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/ |
| H A D | CSKYInstrInfoF2.td | 1 //===- CSKYInstrInfoF2.td - CSKY Instruction Float2.0 ------*- tablegen -* [all...] |
| /freebsd/sys/dev/mana/ |
| H A D | mana_en.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 108 ifmr->ifm_status = IFM_AVALID; in mana_ifmedia_status() 109 ifmr->ifm_active = IFM_ETHER; in mana_ifmedia_status() 111 if (!apc->port_is_up) { in mana_ifmedia_status() 113 mana_dbg(NULL, "Port %u link is down\n", apc->port_idx); in mana_ifmedia_status() 117 ifmr->ifm_status |= IFM_ACTIVE; in mana_ifmedia_status() 118 ifmr->ifm_active |= IFM_100G_DR | IFM_FDX; in mana_ifmedia_status() 127 struct mana_port_stats *stats = &apc->port_stats; in mana_get_counter() 131 return (counter_u64_fetch(stats->rx_packets)); in mana_get_counter() [all …]
|
| H A D | hw_channel.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 48 struct gdma_resource *r = &hwc->inflight_msg_res; in mana_hwc_get_msg_index() 51 sema_wait(&hwc->sema); in mana_hwc_get_msg_index() 53 mtx_lock_spin(&r->lock_spin); in mana_hwc_get_msg_index() 55 index = find_first_zero_bit(hwc->inflight_msg_res.map, in mana_hwc_get_msg_index() 56 hwc->inflight_msg_res.size); in mana_hwc_get_msg_index() 58 bitmap_set(hwc->inflight_msg_res.map, index, 1); in mana_hwc_get_msg_index() 60 mtx_unlock_spin(&r->lock_spin); in mana_hwc_get_msg_index() 70 struct gdma_resource *r = &hwc->inflight_msg_res; in mana_hwc_put_msg_index() [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm/st/ |
| H A D | stm32mp135f-dhcor-dhsbc.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 6 * DHCR-STM32MP135F-C100-R051-EE-F0409-SPI4-RTC-WBT-I-01LG 7 * DHCOR PCB number: 718-100 or newer 8 * DHSBC PCB number: 719-100 or newer 11 /dts-v1/; 13 #include <dt-bindings/regulator/st,stm32mp13-regulator.h> 16 #include "stm32mp13xx-dhcor-som.dtsi" 20 compatible = "dh,stm32mp135f-dhcor-dhsbc", 21 "dh,stm32mp135f-dhcor-som", 32 stdout-path = "serial0:115200n8"; [all …]
|
| H A D | stm32mp135f-dk.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2021 - All Rights Reserved 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/regulator/st,stm32mp13-regulator.h> 15 #include "stm32mp13-pinctrl.dtsi" 18 model = "STMicroelectronics STM32MP135F-DK Discovery Board"; 19 compatible = "st,stm32mp135f-dk", "st,stm32mp135"; [all …]
|
| /freebsd/sys/dev/mlx4/mlx4_en/ |
| H A D | mlx4_en_cq.c | 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 57 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_create_cq() 66 return -ENOMEM; in mlx4_en_create_cq() 70 cq->size = entries; in mlx4_en_create_cq() 71 cq->buf_size = cq->size * mdev->dev->caps.cqe_size; in mlx4_en_create_cq() 73 cq->tq = taskqueue_create_fast("mlx4_en_que", M_NOWAIT, in mlx4_en_create_cq() 74 taskqueue_thread_enqueue, &cq->tq); in mlx4_en_create_cq() 75 if (mode == RX) { in mlx4_en_create_cq() 76 TASK_INIT(&cq->cq_task, 0, mlx4_en_rx_que, cq); in mlx4_en_create_cq() [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/phy/ |
| H A D | qcom,ipq806x-usb-phy-ss.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/qcom,ipq806x-usb-phy-ss.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Ansuel Smith <ansuelsmth@gmail.com> 13 DWC3 PHY nodes are defined to describe on-chip Synopsis Physical layer 19 const: qcom,ipq806x-usb-phy-ss 21 "#phy-cells": 31 clock-names: 34 - const: ref [all …]
|
| H A D | phy-stm32-usbphyc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/phy-stm32-usbphyc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 22 |_ PHY port#2 ----| |________________ 27 - Amelie Delaunay <amelie.delaunay@foss.st.com> 31 const: st,stm32mp1-usbphyc 42 "#address-cells": 45 "#size-cells": 48 vdda1v1-supply: [all …]
|
| /freebsd/sys/dev/bxe/ |
| H A D | ecore_hsi.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2007-2017 QLogic Corporation. All rights reserved. 145 /* Up to 16 bytes of NULL-terminated string */ 164 (if multiple found, priority order is: NC-SI, UMP, IPMI) */ 169 /* Use SPIO4 as an arbiter between: 0-NC_SI, 1-IPMI 170 (can only be used when an add-in board, not BMC, pulls-down SPIO4) */ 172 /* Use SPIO4 as an arbiter between: 0-UMP, 1-IPMI 173 (can only be used when an add-in board, not BMC, pulls-down SPIO4) */ 175 /* Use SPIO4 as an arbiter between: 0-NC-SI, 1-UMP [all …]
|
| /freebsd/tools/test/stress2/misc/ |
| H A D | extattr3.sh | 4 # SPDX-License-Identifier: BSD-2-Clause 36 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 39 [ -z "`which setfacl`" ] && exit 0 42 mount | grep "$mntpoint" | grep -q md$mdstart && umount $mntpoint 43 mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart 45 mdconfig -a -t swap -s 512m -u $mdstart 47 tunefs -a enable /dev/md$mdstart 49 setfacl -d -m u::rwx,g::rx,o::,u:nobody:r $mntpoint 51 timeout 2s nc -lU $mntpoint/socket 55 mount | grep -q "on $mntpoint " || break [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/ |
| H A D | HexagonMCDuplexInfo.cpp | 1 //===- HexagonMCDuplexInfo.cpp - Instruction bundle checking --------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 32 #define DEBUG_TYPE "hexagon-mcduplex-info" 232 // Rd = memw(r29+#u5:2) - Handled above. in getDuplexCandidateGroup() 277 // Actual form JMPR implicit-def %pc, implicit %r31, implicit internal %r0. in getDuplexCandidateGroup() 394 // Rx = add(Rx,#s7) in getDuplexCandidateGroup() 397 // Rd = #-1 in getDuplexCandidateGroup() 400 // Rx = add(Rx,Rs) in getDuplexCandidateGroup() [all …]
|
| /freebsd/contrib/bearssl/src/symcipher/ |
| H A D | poly1305_ctmulq.c | 52 * The "accumulator" word is nominally a 130-bit value. We split it into 53 * words of 44 bits, each held in a 64-bit variable. 64 * We want to reduce that value modulo p = 2^130-5, so W^3 = 20 mod p, 80 * bits of u1. Note that since r is clamped down to a 124-bit value, the 95 * need to compute the additions (for the bx values) over 128-bit 96 * quantities; we can stick to 64-bit computations. 99 * Since the 128-bit result of a 64x64 multiplication is actually 100 * represented over two 64-bit registers, it is cheaper to arrange for 102 * that 64-bit boundary. This is done by left shifting the rx, ux and tx 211 len -= 64; in poly1305_inner_big() [all …]
|
| /freebsd/sys/dev/ocs_fc/ |
| H A D | ocs_hw_queues.c | 1 /*- 61 hw_eq_t *eqs[hw->config.n_rq]; in ocs_hw_init_queues() 62 hw_cq_t *cqs[hw->config.n_rq]; in ocs_hw_init_queues() 63 hw_rq_t *rqs[hw->config.n_rq]; in ocs_hw_init_queues() 68 hw_eq_t *eq = NULL; in ocs_hw_init_queues() local 76 default_lengths[QTOP_CQ] = hw->num_qentries[SLI_QTYPE_CQ]; in ocs_hw_init_queues() 77 default_lengths[QTOP_WQ] = hw->num_qentries[SLI_QTYPE_WQ]; in ocs_hw_init_queues() 78 default_lengths[QTOP_RQ] = hw->num_qentries[SLI_QTYPE_RQ]; in ocs_hw_init_queues() 83 hw->eq_count = 0; in ocs_hw_init_queues() 84 hw->cq_count = 0; in ocs_hw_init_queues() [all …]
|
| /freebsd/crypto/openssl/crypto/sha/asm/ |
| H A D | sha1-586.pl | 2 # Copyright 1998-2020 The OpenSSL Project Authors. All Rights Reserved. 18 # functions were re-implemented to address P4 performance issue [see 24 # It was noted that Intel IA-32 C compiler generates code which 25 # performs ~30% *faster* on P4 CPU than original *hand-coded* 27 # prove that humans are still better than machines:-), the 33 # Pentium -16% +48% 37 # As you can see Pentium came out as looser:-( Yet I reckoned that 39 # re-tuned code to 0.9.7 and later. 40 # ---------------------------------------------------------------- 48 # degradation on other CPUs:-). Also, the code was revised to maximize [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/M68k/ |
| H A D | M68kInstrArithmetic.td | 1 //===-- M68kInstrArithmetic.td - Integer Arith Instrs ------*- tablegen -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 23 /// [ ] - was not touched at all 24 /// [!] - requires extarnal stuff implemented 25 /// [~] - functional implementation 26 /// [X] - complete implementation 28 //===----------------------------------------------------------------------===// 30 //===----------------------------------------------------------------------===// 32 //===----------------------------------------------------------------------===// [all …]
|
| /freebsd/crypto/openssh/regress/ |
| H A D | test-exec.sh | 1 # $OpenBSD: test-exec.sh,v 1.127 2025/03/28 05:41:15 dtucker Exp $ 6 if [ ! -z "$TEST_SSH_ELAPSED_TIMES" ]; then 10 if [ ! -z "$TEST_SSH_PORT" ]; then 21 if [ ! -d $OBJ ]; then 30 if [ ! -f $SCRIPT ]; then 34 if $TEST_SHELL -n $SCRIPT; then 42 # Portable-specific settings. 44 if [ -x /usr/ucb/whoami ]; then 51 USER=`id -un` 53 if test -z "$LOGNAME"; then [all …]
|