Home
last modified time | relevance | path

Searched +full:static +full:- +full:enable (Results 1 – 25 of 1115) sorted by relevance

12345678910>>...45

/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib.h1 /*-
2 * Copyright (c) 2013-2020, Mellanox Technologies, Ltd. All rights reserved.
42 #include <rdma/mlx5-abi.h>
46 pr_debug("%s:%s:%d:(pid %d): " format, (dev)->ib_dev.name, __func__, \
47 __LINE__, current->pid, ##arg)
50 pr_err("%s: ERR: %s:%d:(pid %d): " format, (dev)->ib_dev.name, __func__, \
51 __LINE__, current->pid, ##arg)
54 pr_warn("%s: WARN: %s:%d:(pid %d): " format, (dev)->ib_dev.name, __func__, \
55 __LINE__, current->pid, ##arg)
58 sizeof(((type *)0)->fl
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetMachine.cpp1 //===-- AArch64TargetMachine.cpp - Define TargetMachine for AArch64 -------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 //===----------------------------------------------------------------------===//
61 static cl::opt<bool> EnableCCMP("aarch64-enable-ccmp",
62 cl::desc("Enable the CCMP formation pass"),
65 static cl::opt<bool>
66 EnableCondBrTuning("aarch64-enable-cond-br-tune",
67 cl::desc("Enable the conditional branch tuning pass"),
70 static cl::opt<bool> EnableAArch64CopyPropagation(
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/
H A Dmcu.c1 // SPDX-License-Identifier: ISC
14 static bool prefer_offload_fw = true;
73 dev->mt76.mcu.timeout = 20 * HZ; in mt7615_mcu_fill_msg()
75 seq = ++dev->mt76.mcu.msg_seq & 0xf; in mt7615_mcu_fill_msg()
77 seq = ++dev->mt76.mcu.msg_seq & 0xf; in mt7615_mcu_fill_msg()
92 val = FIELD_PREP(MT_TXD0_TX_BYTES, skb->len) | in mt7615_mcu_fill_msg()
104 uni_txd->len = cpu_to_le16(skb->len - sizeof(uni_txd->txd)); in mt7615_mcu_fill_msg()
105 uni_txd->option = MCU_CMD_UNI_EXT_ACK; in mt7615_mcu_fill_msg()
106 uni_txd->cid = cpu_to_le16(mcu_cmd); in mt7615_mcu_fill_msg()
107 uni_txd->s2d_index = MCU_S2D_H2N; in mt7615_mcu_fill_msg()
[all …]
/freebsd/sys/dev/qcom_clk/
H A Dqcom_clk_branch2.c1 /*-
67 static bool
72 CLKDEV_READ_4(clknode_get_device(sc->clknode), sc->enable_offset,
75 DPRINTF(clknode_get_device(sc->clknode),
77 sc->enable_offset, reg);
79 return (!! (reg & (1U << sc->enable_shift)));
83 static int
92 static bool
97 if (sc->hwcg_reg == 0) in qcom_clk_branch2_in_hwcg_mode_locked()
100 CLKDEV_READ_4(clknode_get_device(sc->clknode), sc->hwcg_reg, in qcom_clk_branch2_in_hwcg_mode_locked()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetMachine.cpp1 //===-- AMDGPUTargetMachine.cpp - TargetMachine for hw codegen targets-----===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
13 //===----------------------------------------------------------------------===//
87 static bool onlyAllocateSGPRs(const TargetRegisterInfo &TRI, in onlyAllocateSGPRs()
94 static bool onlyAllocateVGPRs(const TargetRegisterInfo &TRI, in onlyAllocateVGPRs()
101 /// -{sgpr|vgpr}-regalloc=... command line option.
102 static FunctionPass *useDefaultRegisterAllocator() { return nullptr; } in useDefaultRegisterAllocator()
106 static llvm::once_flag InitializeDefaultSGPRRegisterAllocatorFlag;
107 static llvm::once_flag InitializeDefaultVGPRRegisterAllocatorFlag;
[all …]
/freebsd/sys/contrib/dev/rtw89/
H A Ddebug.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2 /* Copyright(c) 2019-2020 Realtek Corporation
64 static const u16 rtw89_rate_info_bw_to_mhz_map[] = {
72 static u16 rtw89_rate_info_bw_to_mhz(enum rate_info_bw bw) in rtw89_rate_info_bw_to_mhz()
80 static int rtw89_debugfs_single_show(struct seq_file *m, void *v) in rtw89_debugfs_single_show()
82 struct rtw89_debugfs_priv *debugfs_priv = m->private; in rtw89_debugfs_single_show()
84 return debugfs_priv->cb_read(m, v); in rtw89_debugfs_single_show()
87 static ssize_t rtw89_debugfs_single_write(struct file *filp, in rtw89_debugfs_single_write()
91 struct rtw89_debugfs_priv *debugfs_priv = filp->private_data; in rtw89_debugfs_single_write()
93 return debugfs_priv->cb_write(filp, buffer, count, loff); in rtw89_debugfs_single_write()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_hexagon.cpp1 //===-- xray_hexagon.cpp --------------------------------------*- C++ ---*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 // Implementation of hexagon-specific routines (32-bit).
13 //===----------------------------------------------------------------------===//
27 // ICLASS 0x7 - S2-type A-type
42 inline static uint32_t
45 static const uint32_t REG_MASK = 0x1f; in encodeExtendedTransferImmediate()
47 // The constant-extended register transfer encodes the 6 least in encodeExtendedTransferImmediate()
55 inline static uint32_t
[all …]
H A Dxray_arm.cpp1 //===-- xray_arm.cpp --------------------------------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 // Implementation of ARM-specific routines (32-bit).
13 //===----------------------------------------------------------------------===//
32 // 0xUUUUWXYZ -> 0x000W0XYZ
33 inline static uint32_t getMovwMask(const uint32_t Value) XRAY_NEVER_INSTRUMENT { in getMovwMask()
37 // 0xWXYZUUUU -> 0x000W0XYZ
38 inline static uint32_t getMovtMask(const uint32_t Value) XRAY_NEVER_INSTRUMENT { in getMovtMask()
45 inline static uint32_t *
[all …]
H A Dxray_x86_64.cpp28 static std::pair<ssize_t, bool>
34 if (BytesRead == -1) { in retryingReadSome()
42 BytesToRead -= BytesRead; in retryingReadSome()
48 static bool readValueFromFile(const char *Filename, in readValueFromFile()
51 if (Fd == -1) in readValueFromFile()
53 static constexpr size_t BufSize = 256; in readValueFromFile()
72 long long TSCFrequency = -1; in getTSCFrequency()
83 return TSCFrequency == -1 ? 0 : static_cast<uint64_t>(TSCFrequency); in getTSCFrequency()
87 long long TSCFrequency = -1;
91 &tscfreqsz, NULL, 0) != -1) {
[all …]
/freebsd/sys/dev/uart/
H A Duart_dev_mvebu.c1 /*-
56 #define CTRL_ST_MIRR_EN (1 << 13) /* Status Mirror Enable */
57 #define CTRL_LPBK_EN (1 << 12) /* Loopback Mode Enable */
59 #define CTRL_PAR_EN (1 << 10) /* Parity Enable */
61 #define CTRL_TX_HALF_INT (1 << 8) /* TX Half-Full Interrupt Enable */
62 #define CTRL_RX_HALF_INT (1 << 7) /* RX Half-Full Interrupt Enable */
63 #define CTRL_TX_EMPT_INT (1 << 6) /* TX Empty Interrupt Enable */
64 #define CTRL_TX_RDY_INT (1 << 5) /* TX Ready Interrupt Enable */
65 #define CTRL_RX_RDY_INT (1 << 4) /* RX Ready Interrupt Enable */
66 #define CTRL_BRK_DET_INT (1 << 3) /* Break Detect Interrupt Enable */
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCommandFlags.cpp1 //===-- CommandFlags.cpp - Command Line Flags Interface ---------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // This file contains codegen-specific flags that are shared between different
13 //===----------------------------------------------------------------------===//
33 static cl::opt<TY> *NAME##View; \
40 static cl::list<TY> *NAME##View; \
50 if (NAME##View->getNumOccurrences()) { \
120 static cl::opt<std::string> MArch( in CGOPT()
121 "march", cl::desc("Architecture to generate code for (see --version)")); in CGOPT()
[all …]
/freebsd/sys/arm/broadcom/bcm2835/
H A Dbcm2835_pwm.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2017 Poul-Henning Kamp <phk@FreeBSD.org>
48 static struct ofw_compat_data compat_data[] = {
49 {"broadcom,bcm2835-pwm", 1},
50 {"brcm,bcm2835-pwm", 1},
73 bus_space_write_4(_sc->sc_m_bst, _sc->sc_m_bsh, _off, _val)
75 bus_space_read_4(_sc->sc_m_bst, _sc->sc_m_bsh, _off)
77 bus_space_write_4(_sc->sc_c_bst, _sc->sc_c_bsh, _off, _val)
79 bus_space_read_4(_sc->sc_c_bst, _sc->sc_c_bsh, _off)
[all …]
/freebsd/sys/arm/arm/
H A Dcpuinfo.c1 /*-
54 static SYSCTL_NODE(_hw, OID_AUTO, cpu, CTLFLAG_RD | CTLFLAG_MPSAFE, 0,
56 static SYSCTL_NODE(_hw_cpu, OID_AUTO, quirks, CTLFLAG_RD | CTLFLAG_MPSAFE, 0,
67 static uint32_t cpu_quirks_actlr_mask;
72 static uint32_t cpu_quirks_actlr_set;
77 static int
127 /* non ARM -> must be new id scheme */ in cpuinfo_init()
136 /* CP15 c0,c0 regs 0-7 exist on all CPUs (although aliased with MIDR) */ in cpuinfo_init()
161 /* Not yet - CBAR only exist on ARM SMP Cortex A CPUs in cpuinfo_init()
203 cpuinfo.dcache_line_mask = cpuinfo.dcache_line_size - 1; in cpuinfo_init()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVTargetMachine.cpp1 //===-- RISCVTargetMachine.cpp - Define TargetMachine for RISC-V ----------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // Implements the info about RISC-V target spec.
11 //===----------------------------------------------------------------------===//
45 static cl::opt<bool> EnableRedundantCopyElimination(
46 "riscv-enable-copyelim",
47 cl::desc("Enable the redundant copy elimination pass"), cl::init(true),
51 static cl::opt<cl::boolOrDefault>
52 EnableGlobalMerge("riscv-enable-global-merge", cl::Hidden,
[all …]
/freebsd/usr.sbin/apm/
H A Dapm.c4 * Copyright (C) 1994-1996 by Tatsumi Hosokawa <hosokawa@jp.FreeBSD.org>
39 static int cmos_wall = 0; /* True when wall time is in cmos clock, else UTC */
41 static void
45 "usage: apm [-ablstzZ] [-d enable ] [ -e enable ] " in usage()
46 "[ -h enable ] [-r delta]\n"); in usage()
54 static int
65 strcasecmp(boolean, "enable") == 0) in is_true()
79 static int
86 return -1; in int2bcd()
96 static int
[all …]
/freebsd/sys/dev/usb/controller/
H A Dusb_nop_xceiv.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
57 static struct ofw_compat_data compat_data[] = {
58 {"usb-nop-xceiv", 1},
63 static int usb_nop_xceiv_phy_enable(struct phynode *phy, bool enable);
64 static phynode_usb_method_t usb_nop_xceiv_phynode_methods[] = {
73 static int
74 usb_nop_xceiv_phy_enable(struct phynode *phynode, bool enable) in usb_nop_xceiv_phy_enable() argument
88 /* Enable the phy clock */ in usb_nop_xceiv_phy_enable()
89 if (sc->clk_freq != 0) { in usb_nop_xceiv_phy_enable()
[all …]
/freebsd/sys/arm/ti/
H A Dti_pruss.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
73 static d_open_t ti_pruss_irq_open;
74 static d_read_t ti_pruss_irq_read;
75 static d_poll_t ti_pruss_irq_poll;
77 static device_probe_t ti_pruss_probe;
78 static device_attach_t ti_pruss_attach;
79 static device_detach_t ti_pruss_detach;
80 static void ti_pruss_intr(void *);
81 static d_open_t ti_pruss_open;
[all …]
H A Dti_adc.c1 /*-
74 static struct ti_adc_input ti_adc_inputs[TI_ADC_NPINS] = {
85 static int ti_adc_samples[5] = { 0, 2, 4, 8, 16 };
87 static int ti_adc_detach(device_t dev);
90 static void
94 evdev_push_event(sc->sc_evdev, EV_ABS, ABS_X, sc->sc_x); in ti_adc_ev_report()
95 evdev_push_event(sc->sc_evdev, EV_ABS, ABS_Y, sc->sc_y); in ti_adc_ev_report()
96 evdev_push_event(sc->sc_evdev, EV_KEY, BTN_TOUCH, sc->sc_pen_down); in ti_adc_ev_report()
97 evdev_sync(sc->sc_evdev); in ti_adc_ev_report()
101 static void
[all …]
/freebsd/sys/net80211/
H A Dieee80211_alq.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
29 * net80211 fast-logging support, primarily for debugging.
32 * per-device enumeration where needed.
60 static struct alq *ieee80211_alq;
61 static int ieee80211_alq_lost;
62 static int ieee80211_alq_logged;
63 static char ieee80211_alq_logfile[MAXPATHLEN] = "/tmp/net80211.log";
64 static unsigned int ieee80211_alq_qsize = 64*1024;
66 static int
[all …]
/freebsd/sys/dev/iicbus/rtc/
H A Drv3032.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
102 #define RV3032_CTRL1_TE (1 << 3) /* Periodic countdown timer enable bit */
109 #define RV3032_CTRL2_EIE (1 << 2) /* External event interrupt enable bit */
110 #define RV3032_CTRL2_AIE (1 << 3) /* Alarm interrupt enable bit */
111 #define RV3032_CTRL2_TIE (1 << 4) /* Periodic countdown timer interrupt enable bit */
112 #define RV3032_CTRL2_UIE (1 << 5) /* Periodic time update interrupt enable bit */
113 #define RV3032_CTRL2_CLKIE (1 << 6) /* Interrupt Controlled Clock Output Enable bit */
115 #define RV3032_CTRL3_TLIE (1 << 0) /* Temperature Low Interrupt Enable bit */
116 #define RV3032_CTRL3_THIE (1 << 1) /* Temperature High Interrupt Enable bit */
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTargetMachine.cpp1 //===-- HexagonTargetMachine.cpp - Define TargetMachine for Hexagon -------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
35 static cl::opt<bool>
36 EnableCExtOpt("hexagon-cext", cl::Hidden, cl::init(true),
37 cl::desc("Enable Hexagon constant-extender optimization"));
39 static cl::opt<bool> EnableRDFOpt("rdf-opt", cl::Hidden, cl::init(true),
40 cl::desc("Enable RDF-based optimizations"));
43 "rdf-bb-limit", cl::Hidden, cl::init(1000),
[all …]
/freebsd/sys/dev/hdmi/
H A Ddwc_hdmi.c1 /*-
72 static void
81 msec -= 10; in dwc_hdmi_phy_wait_i2c_done()
89 static void
104 static void
112 static void
120 inv_val = ((sc->sc_mode.flags & VID_PVSYNC) ? in dwc_hdmi_av_composer()
124 inv_val |= ((sc->sc_mode.flags & VID_PHSYNC) ? in dwc_hdmi_av_composer()
130 inv_val |= ((sc->sc_mode.flags & VID_INTERLACE) ? in dwc_hdmi_av_composer()
134 inv_val |= ((sc->sc_mode.flags & VID_INTERLACE) ? in dwc_hdmi_av_composer()
[all …]
/freebsd/sys/dev/qat/qat_hw/qat_c4xxx/
H A Dadf_c4xxx_hw_data.c1 /* SPDX-License-Identifier: BSD-3-Clause */
2 /* Copyright(c) 2007-2022 Intel Corporation */
24 static struct adf_accel_unit adf_c4xxx_au_32_ae[] =
32 static struct adf_accel_unit adf_c4xxx_au_24_ae[] = {
39 static struct adf_accel_unit adf_c4xxx_au_12_ae[] = {
44 static struct adf_accel_unit adf_c4xxx_au_emulation[] =
53 static const struct adf_ae_info adf_c4xxx_32_ae_sym[] =
62 static const struct adf_ae_info adf_c4xxx_24_ae_sym[] =
71 static const struct adf_ae_info adf_c4xxx_12_ae_sym[] =
81 static const struct adf_ae_info adf_c4xxx_32_ae[] =
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyMCTargetDesc.cpp1 //===-- WebAssemblyMCTargetDesc.cpp - WebAssembly Target Descriptions -----===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 /// This file provides WebAssembly-specific target descriptions.
12 //===----------------------------------------------------------------------===//
26 #define DEBUG_TYPE "wasm-mc-target-desc"
38 // Exception handling & setjmp-longjmp handling related options.
40 // Emscripten's asm.js-style exception handling
42 "enable-emscripten-cxx-exceptions",
43 cl::desc("WebAssembly Emscripten-style exception handling"),
[all …]
/freebsd/sbin/tunefs/
H A Dtunefs.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
64 static int blocks;
65 static char clrbuf[MAXBSIZE];
66 static struct uufsd disk;
69 static void usage(void) __dead2;
70 static void printfs(void);
71 static int journal_alloc(int64_t size);
72 static void journal_clear(void);
73 static void sbdirty(void);
[all …]

12345678910>>...45