/freebsd/sys/dev/irdma/ |
H A D | irdma_hw.c | 1 /*- 2 * SPDX-License-Identifier: GPL-2.0 or Linux-OpenIB 4 * Copyright (c) 2015 - 2023 Intel Corporation 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 89 * irdma_iwarp_ce_handler - handle iwarp completions 95 struct irdma_cq *cq = iwcq->back_cq; in irdma_iwarp_ce_handler() 97 if (!cq->user_mode) in irdma_iwarp_ce_handler() 98 atomic_set(&cq->armed, 0); in irdma_iwarp_ce_handler() 99 if (cq->ibcq.comp_handler) in irdma_iwarp_ce_handler() [all …]
|
H A D | icrdma.c | 1 /*- 2 * SPDX-License-Identifier: GPL-2.0 or Linux-OpenIB 4 * Copyright (c) 2021 - 2023 Intel Corporation 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 55 char irdma_driver_version[] = "1.2.36-k"; 58 * irdma_init_tunable - prepare tunables 59 * @rf: RDMA PCI function 63 irdma_init_tunable(struct irdma_pci_f *rf, uint8_t pf_id) in irdma_init_tunable() argument 66 struct irdma_tunable_info *t_info = &rf->tun_info; in irdma_init_tunable() [all …]
|
H A D | fbsd_kcompat.c | 1 /*- 2 * SPDX-License-Identifier: GPL-2.0 or Linux-OpenIB 4 * Copyright (c) 2021 - 2023 Intel Corporation 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 51 KASSERT(reg < dev_ctx->mem_bus_space_size, in irdma_rd32() 53 (uintmax_t)reg, (uintmax_t)dev_ctx->mem_bus_space_size)); in irdma_rd32() 55 return (bus_space_read_4(dev_ctx->mem_bus_space_tag, in irdma_rd32() 56 dev_ctx->mem_bus_space_handle, reg)); in irdma_rd32() 63 KASSERT(reg < dev_ctx->mem_bus_space_size, in irdma_wr32() [all …]
|
H A D | irdma_utils.c | 1 /*- 2 * SPDX-License-Identifier: GPL-2.0 or Linux-OpenIB 4 * Copyright (c) 2015 - 2023 Intel Corporation 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 41 {IRDMA_AE_AMP_UNALLOCATED_STAG, "Unallocated memory key (L-Key/R-Key)"}, 42 {IRDMA_AE_AMP_INVALID_STAG, "Invalid memory key (L-Key/R-Key)"}, 47 {IRDMA_AE_AMP_BAD_STAG_KEY, "Bad memory key (L-Key/R-Key)"}, 48 {IRDMA_AE_AMP_BAD_STAG_INDEX, "Bad memory key (L-Key/R-Key): Too large memory key index"}, 65 "Attempt to bind an Memory Window (MW) with a valid MW memory key (L-Key/R-Key)"}, [all …]
|
H A D | irdma_kcompat.c | 1 /*- 2 * SPDX-License-Identifier: GPL-2.0 or Linux-OpenIB 4 * Copyright (c) 2018 - 2023 Intel Corporation 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 75 irdma_fw_major_ver(&iwdev->rf->sc_dev), in irdma_get_dev_fw_str() 76 irdma_fw_minor_ver(&iwdev->rf->sc_dev)); in irdma_get_dev_fw_str() 100 * irdma_alloc_mr - register stag for fast memory registration 110 struct irdma_device *iwdev = to_iwdev(pd->device); in irdma_alloc_mr() 116 int err_code = -ENOMEM; in irdma_alloc_mr() [all …]
|
H A D | irdma_verbs.c | 1 /*- 2 * SPDX-License-Identifier: GPL-2.0 or Linux-OpenIB 4 * Copyright (c) 2015 - 2023 Intel Corporation 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 38 * irdma_query_device - get device attributes 49 struct irdma_pci_f *rf = iwdev->rf; in irdma_query_device() local 50 struct pci_dev *pcidev = iwdev->rf->pcidev; in irdma_query_device() 51 struct irdma_hw_attrs *hw_attrs = &rf->sc_dev.hw_attrs; in irdma_query_device() 53 if (udata->inlen || udata->outlen) in irdma_query_device() [all …]
|
H A D | irdma_main.h | 1 /*- 2 * SPDX-License-Identifier: GPL-2.0 or Linux-OpenIB 4 * Copyright (c) 2015 - 2023 Intel Corporation 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 65 #include "irdma-abi.h" 216 struct irdma_pci_f *rf; member 269 void (*request_reset)(struct irdma_pci_f *rf); 368 struct irdma_pci_f *rf; member 463 * irdma_alloc_resource - allocate a resource [all …]
|
/freebsd/sys/dev/bwi/ |
H A D | bwirf.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 81 (ieee80211_ieee2mhz((chan), IEEE80211_CHAN_2GHZ) - 2400) 106 #define SAVE_RF_REG(mac, regs, n) (regs)->rf_##n = RF_READ((mac), 0x##n) 107 #define RESTORE_RF_REG(mac, regs, n) RF_WRITE((mac), 0x##n, (regs)->rf_##n) 109 #define SAVE_PHY_REG(mac, regs, n) (regs)->phy_##n = PHY_READ((mac), 0x##n) 110 #define RESTORE_PHY_REG(mac, regs, n) PHY_WRITE((mac), 0x##n, (regs)->phy_##n) 167 val -= 64; in bwi_nrssi_11g() 181 return &mac->mac_rf.rf_lo[n]; in bwi_get_rf_lo() 187 struct bwi_rf *rf = &mac->mac_rf; in bwi_rf_lo_isused() local [all …]
|
H A D | bwiphy.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 137 struct bwi_softc *sc = mac->mac_sc; in bwi_phy_write() 146 struct bwi_softc *sc = mac->mac_sc; in bwi_phy_read() 155 struct bwi_softc *sc = mac->mac_sc; in bwi_phy_attach() 156 struct bwi_phy *phy = &mac->mac_phy; in bwi_phy_attach() 166 device_printf(sc->sc_dev, "PHY: type %d, rev %d, ver %d\n", in bwi_phy_attach() 176 device_printf(sc->sc_dev, "unsupported 11A PHY, " in bwi_phy_attach() 180 phy->phy_init = bwi_phy_init_11a; in bwi_phy_attach() 181 phy->phy_mode = IEEE80211_MODE_11A; in bwi_phy_attach() [all …]
|
H A D | bwimac.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 120 struct bwi_softc *sc = mac->mac_sc; in bwi_tmplt_write_4() 122 if (mac->mac_flags & BWI_MAC_F_BSWAP) in bwi_tmplt_write_4() 163 struct bwi_softc *sc = mac->mac_sc; in bwi_memobj_read_2() 180 struct bwi_softc *sc = mac->mac_sc; in bwi_memobj_read_4() 206 struct bwi_softc *sc = mac->mac_sc; in bwi_memobj_write_2() 224 struct bwi_softc *sc = mac->mac_sc; in bwi_memobj_write_4() 246 if (mac->mac_rev >= 5) in bwi_mac_lateattach() 247 CSR_READ_4(mac->mac_sc, BWI_STATE_HI); /* dummy read */ in bwi_mac_lateattach() [all …]
|
/freebsd/sys/dev/usb/wlan/ |
H A D | if_run.c | 1 /*- 5 * Copyright (c) 2013-2014 Kevin Lo 20 /*- 114 device_printf((_sc)->sc_dev, __VA_ARGS__); \ 530 /* MCS - single stream */ 540 /* MCS - 2 streams */ 550 /* MCS - 3 streams */ 731 if (uaa->dev_state != UAA_DEV_READY) in run_autoinst() 737 id = iface->idesc; in run_autoinst() 738 if (id == NULL || id->bInterfaceClass != UICLASS_MASS) in run_autoinst() [all …]
|
H A D | if_zyd.c | 4 /*- 6 * Copyright (c) 2006 by Florian Stoehr <ich@florian-stoehr.de> 105 usbd_do_request_flags((sc)->sc_udev, &(sc)->sc_mtx, req, data, 0, NULL, 5000) 318 if (uaa->usb_mode != USB_MODE_HOST) in zyd_match() 320 if (uaa->info.bConfigIndex != ZYD_CONFIG_INDEX) in zyd_match() 322 if (uaa->info.bIfaceIndex != ZYD_IFACE_INDEX) in zyd_match() 333 struct ieee80211com *ic = &sc->sc_ic; in zyd_attach() 337 if (uaa->info.bcdDevice < 0x4330) { in zyd_attach() 340 uaa->info.bcdDevice); in zyd_attach() 345 sc->sc_dev = dev; in zyd_attach() [all …]
|
/freebsd/sys/gnu/dev/bwn/phy_n/ |
H A D | if_bwn_radio_2055.h | 22 Boston, MA 02110-1301, USA. 90 #define B2055_RF_PLLMOD0 0x3B /* RF PLL MOD0 */ 91 #define B2055_RF_PLLMOD1 0x3C /* RF PLL MOD1 */ 92 #define B2055_RF_MMDIDAC1 0x3D /* RF MMD IDAC 1 */ 93 #define B2055_RF_MMDIDAC0 0x3E /* RF MMD IDAC 0 */ 94 #define B2055_RF_MMDSP 0x3F /* RF MMD spare */ 115 #define B2055_PLL_RFVTH 0x54 /* PLL RF VTH */ 133 #define B2055_C1_RX_RFSPC1 0x66 /* Core 1 RX RF SPC1 */ 134 #define B2055_C1_RX_RFR1 0x67 /* Core 1 RX RF reg 1 */ 135 #define B2055_C1_RX_RFR2 0x68 /* Core 1 RX RF reg 2 */ [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | ARMWinEH.cpp | 1 //===-- ARMWinEH.cpp - Windows on ARM EH Support Functions ------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 14 std::pair<uint16_t, uint32_t> SavedRegisterMask(const RuntimeFunction &RF, in SavedRegisterMask() argument 16 uint8_t NumRegisters = RF.Reg(); in SavedRegisterMask() 17 uint8_t RegistersVFP = RF.R(); in SavedRegisterMask() 18 uint8_t LinkRegister = RF.L(); in SavedRegisterMask() 19 uint8_t ChainedFrame = RF.C(); in SavedRegisterMask() 28 if (RF.Ret() != ReturnType::RT_POP) in SavedRegisterMask() 30 else if (!RF.H()) // If H == 0, we pop directly into Pc in SavedRegisterMask() [all …]
|
/freebsd/sys/dev/ral/ |
H A D | rt2860.c | 1 /*- 2 * Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr> 21 /*- 70 #define DPRINTF(x) do { if (sc->sc_debug > 0) printf x; } while (0) 71 #define DPRINTFN(n, x) do { if (sc->sc_debug >= (n)) printf x; } while (0) 238 struct ieee80211com *ic = &sc->sc_ic; in rt2860_attach() 242 sc->sc_dev = dev; in rt2860_attach() 243 sc->sc_debug = 0; in rt2860_attach() 245 mtx_init(&sc->sc_mtx, device_get_nameunit(dev), MTX_NETWORK_LOCK, in rt2860_attach() 248 callout_init_mtx(&sc->watchdog_ch, &sc->sc_mtx, 0); in rt2860_attach() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/ |
H A D | SparcRegisterInfo.td | 1 //===-- SparcRegisterInfo.td - Sparc Register defs ------- [all...] |
/freebsd/bin/pax/ |
H A D | options.h | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 65 #define RF 0x00000800 macro 95 #define ISLIST(x) (((x) & (RF|WF)) == 0) 96 #define ISEXTRACT(x) (((x) & (RF|WF)) == RF) 97 #define ISARCHIVE(x) (((x) & (AF|RF|WF)) == WF) 98 #define ISAPPND(x) (((x) & (AF|RF|WF)) == (AF|WF)) 99 #define ISCOPY(x) (((x) & (RF|WF)) == (RF|WF)) 100 #define ISWRITE(x) (((x) & (RF|WF)) == WF) 107 #define BDARCH (CF|KF|LF|NF|PF|RF|CDF|CEF|CYF|CZF) [all …]
|
/freebsd/sys/dev/qat/qat_hw/qat_c4xxx/ |
H A D | adf_c4xxx_inline.h | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 2 /* Copyright(c) 2007-2022 Intel Corporation */ 21 ((accel_dev)->aram_info->sadb_region_size / 32) 66 /* 64-bit inline control registers. It will require 76 * - MAC_LINKUP_ENABLE = 1 77 * - MAX_FRAME_LENGTH = 0x2600 89 /* 64-bit Inline statistics registers. It will require 120 /* 32-bit Inline statistics registers. It will require 441 #define RF_PAR_MUL_MAP(bit_num) (((bit_num)-2) / 4) 442 #define RF_PAR_MAP(bit_num) (((bit_num)-3) / 4) [all …]
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
H A D | ARMWinEHPrinter.cpp | 1 //===-- ARMWinEHPrinter.cpp - Windows on ARM EH Data Printer ----*- C++ -*- 1133 dumpUnpackedEntry(const COFFObjectFile & COFF,const SectionRef Section,uint64_t Offset,unsigned Index,const RuntimeFunction & RF) dumpUnpackedEntry() argument 1201 dumpPackedEntry(const object::COFFObjectFile & COFF,const SectionRef Section,uint64_t Offset,unsigned Index,const RuntimeFunction & RF) dumpPackedEntry() argument 1300 dumpPackedARM64Entry(const object::COFFObjectFile & COFF,const SectionRef Section,uint64_t Offset,unsigned Index,const RuntimeFunctionARM64 & RF) dumpPackedARM64Entry() argument [all...] |
/freebsd/contrib/netbsd-tests/rump/rumpkern/h_client/ |
H A D | h_forkcli.c | 20 struct rumpclient_fork *rf; in simple() local 31 if ((rf = rumpclient_prefork()) == NULL) in simple() 35 case -1: in simple() 39 if (rumpclient_fork_init(rf) == -1) in simple() 59 if (wait(&status) == -1) in simple() 77 #define TESTSLEN (sizeof(TESTSTR)-1) 81 struct rumpclient_fork *rf; in pipecomm() local 86 if (rump_sys_pipe(pipetti) == -1) in pipecomm() 89 if ((rf = rumpclient_prefork()) == NULL) in pipecomm() 93 case -1: in pipecomm() [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/ |
H A D | zfs_rollback_001_pos.ksh | 1 #!/bin/ksh -p 10 # or https://opensource.org/licenses/CDDL-1.0. 37 # 'zfs rollback -r|-rf|-R|-Rf' will recursively destroy any snapshots 52 log_assert "'zfs rollback -r|-rf|-R|-Rf' will recursively destroy any " \ 67 typeset -i cnt=$2 68 typeset -i pointcnt=$3 75 if pgrep -x dd 2>/dev/null; then 76 pkill -x dd 79 datasetexists $FS && destroy_dataset $FS -Rf 82 log_must umount -f $TESTDIR1 [all …]
|
/freebsd/sbin/ifconfig/ |
H A D | iflagg.c | 1 /*- 41 strlcpy(rp.rp_ifname, ctx->ifname, sizeof(rp.rp_ifname)); in setlaggport() 52 ctx->ifname, val, strerror(errno)); in setlaggport() 62 strlcpy(rp.rp_ifname, ctx->ifname, sizeof(rp.rp_ifname)); in unsetlaggport() 87 strlcpy(ra.ra_ifname, ctx->ifname, sizeof(ra.ra_ifname)); in setlaggproto() 98 strlcpy(ro.ro_ifname, ctx->ifname, sizeof(ro.ro_ifname)); in setlaggflowidshift() 112 strlcpy(ro.ro_ifname, ctx->ifname, sizeof(ro.ro_ifname)); in setlaggrr_limit() 116 errx(1, "Invalid round-robin stride: %s", val); in setlaggrr_limit() 130 case -LAGG_OPT_USE_FLOWID: in setlaggsetopt() 132 case -LAGG_OPT_USE_NUMA: in setlaggsetopt() [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/ |
H A D | zfs_destroy_001_pos.ksh | 1 #!/bin/ksh -p 10 # or https://opensource.org/licenses/CDDL-1.0. 38 # 'zfs destroy -r|-rf|-R|-Rf <fs|ctr|vol|snap>' should recursively destroy 45 # 3. Run 'zfs destroy [-rRf] <dataset>' 70 # '-f' has no effect on non-filesystems 71 if [[ $opt == -f ]]; then 73 log_note "UNSUPPORTED: '-f ' is only available for " \ 80 datasetexists $CTR && destroy_dataset $CTR -Rf 84 -r|-rf) setup_testenv snap ;; 85 -R|-Rf) setup_testenv clone ;; [all …]
|
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_destroy/ |
H A D | zfs_destroy_001_pos.ksh | 1 #!/usr/local/bin/ksh93 -p 37 # 'zfs destroy -r|-rf|-R|-Rf <fs|ctr|vol|snap>' should recursively destroy 44 # 3. Run 'zfs destroy [-rRf] <dataset>' 51 # CODING_STATUS: COMPLETED (2005-07-22) 78 # '-f' has no effect on non-filesystems 79 if [[ $opt == -f ]]; then 81 log_note "UNSUPPORTED: '-f ' is only available for FS." 88 log_must $ZFS destroy -Rf $CTR 93 -r|-rf) setup_testenv snap ;; 94 -R|-Rf) setup_testenv clone ;; [all …]
|
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_rollback/ |
H A D | zfs_rollback_001_pos.ksh | 1 #!/usr/local/bin/ksh93 -p 37 # 'zfs rollback -r|-rf|-R|-Rf' will recursively destroy any snapshots 53 # CODING_STATUS: COMPLETED (2005-07-29) 61 log_assert "'zfs rollback -r|-rf|-R|-Rf' will recursively destroy any " \ 76 typeset -i cnt=$2 77 typeset -i pointcnt=$3 84 datasetexists $FS && log_must $ZFS destroy -Rf $FS 86 $MOUNT | grep -q "/dev/zvol/$VOL" > /dev/null 2>&1 87 (( $? == 0 )) && log_must $UMOUNT -f $TESTDIR1 89 log_must $ZFS destroy -Rf $VOL [all …]
|