| /freebsd/sys/contrib/device-tree/src/arm64/qcom/ |
| H A D | msm8992-lg-h815.dts | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 8 /dts-v1/; 13 #include <dt-bindings/leds/common.h> 16 /delete-node/ &cont_splash_mem; 19 /delete-node/ &dfps_data_mem; 24 chassis-type = "handset"; 26 qcom,msm-id = <0xfb 0x0>; 27 qcom,pmic-id = <0x10009 0x1000a 0x0 0x0>; 28 qcom,board-id = <0xb64 0x0>; 31 /delete-node/ psci; [all …]
|
| H A D | msm8939.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2013-2015, The Linux Foundation. All rights reserved. 4 * Copyright (c) 2020-2023, Linaro Limited 7 #include <dt-bindings/clock/qcom,gcc-msm8939.h> 8 #include <dt-bindings/clock/qcom,rpmcc.h> 9 #include <dt-bindings/interconnect/qcom,msm8939.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/power/qcom-rpmpd.h> 12 #include <dt-bindings/reset/qcom,gcc-msm8939.h> 13 #include <dt-bindings/soc/qcom,apr.h> [all …]
|
| /freebsd/contrib/ofed/opensm/include/complib/ |
| H A D | cl_spinlock.h | 3 * Copyright (c) 2002-2005 Mellanox Technologies LTD. All rights reserved. 4 * Copyright (c) 1996-2003 Intel Corporation. All rights reserved. 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 38 * Declaration of spin lock object. 83 * spin lock. 91 * [in] Pointer to a spin lock structure whose state to initialize. 101 * spin lock function except cl_spinlock_init. 112 * The cl_spinlock_init function initializes a spin lock for use. 120 * [in] Pointer to a spin lock structure to initialize. [all …]
|
| /freebsd/share/man/man9/ |
| H A D | locking.9 | 1 .\" Copyright (c) 2007 Julian Elischer (julian - freebsd org ) 45 then a thread attempting to acquire the mutex will spin rather than yielding 52 .Ss Spin Mutexes 53 Spin mutexes are a variation of basic mutexes; the main difference between 54 the two is that spin mutexes never block. 55 Instead, they spin while waiting for the lock to be released. 56 To avoid deadlock, a thread that holds a spin mutex must never yield its CPU. 57 Unlike ordinary mutexes, spin mutexes disable interrupts when acquired. 60 Spin mutexes should be used only when absolutely necessary, 98 .Ss Read-Mostly Locks [all …]
|
| H A D | LOCK_PROFILING.9 | 1 .\"- 2 .\" Copyright (c) 2004 Dag-Erling Smørgrav 50 .Bl -bullet 59 The total number of non-recursive acquisitions. 62 when this point was reached, requiring a spin or a sleep. 77 .Bl -tag -width indent 86 .Bl -tag -width ".Va cnt_hold" 115 filled up. 117 Disable or enable the lock profiling code for the spin locks. 118 This defaults to 0 (do profiling for the spin locks). [all …]
|
| H A D | sleepqueue.9 | 1 .\" Copyright (c) 2000-2004 John H. Baldwin <jhb@FreeBSD.org> 95 The implementation of each wait channel splits its sleepqueue into 2 sub-queues 119 A sleep queue chain contains a spin mutex and a list of sleep queues that hash 121 Active sleep queues are protected by their chain's spin mutex. 180 parameter specifies the sub-queue, in which the contending thread will be 185 .Bl -tag -width ".Dv SLEEPQ_CONDVAR" -compact 201 .Bl -tag -width ".Dv SLEEPQ_INTERRUPTIBLE" -compact 205 .Bl -tag -width ".Dv SLEEPQ_STOP_ON_BDRY" -compact 210 Wake it up instead. 251 function is used for non-interruptible sleeps that do not have a timeout. [all …]
|
| H A D | sleep.9 | 87 handle event-based thread blocking. 109 are woken up later by 230 reference a default, i.e. non-spin, mutex. 239 reference a spin mutex. 314 is based on an absolute real-time clock value, 320 If the real-time clock is adjusted, these functions will set 332 a non-zero error code is returned. 342 Zero can also be returned when the real-time clock is adjusted; 345 Otherwise, a non-zero error code is returned. 351 .Bl -tag -width Er [all …]
|
| /freebsd/contrib/llvm-project/openmp/runtime/src/ |
| H A D | kmp_wait_release.h | 2 * kmp_wait_release.h -- Wait/Release implementation 5 //===----------------------------------------------------------------------===// 9 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 11 //===----------------------------------------------------------------------===// 20 #include "ompt-specific.h" 151 this->waiting_threads[0] = thr; 167 if (Sleepable && !(this->sleepLoc)) 168 return (traits_type::tcr(*(this->get())) & ~KMP_BARRIER_SLEEP_STATE) == 171 return traits_type::tcr(*(this->get())) == checker; 182 return traits_type::tcr(*(this->get())) != checker; [all …]
|
| /freebsd/sys/kern/ |
| H A D | subr_lock.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 60 * Uncomment to validate that spin argument to acquire/release routines matches 83 /* Check for double-init and zero object. */ in lock_init() 87 /* Look up lock class to find its index. */ in lock_init() 90 lock->lo_flags = i << LO_CLASSSHIFT; in lock_init() 96 lock->lo_name = name; in lock_init() 97 lock->lo_flags |= flags | LO_INITIALIZED; in lock_init() 109 lock->lo_flags &= ~LO_INITIALIZED; in lock_destroy() 121 struct lock_delay_config *lc = la->config; in lock_delay() [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/arm/ |
| H A D | qcom.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <bjorn.andersson@linaro.org> 90 https://docs.kernel.org/arch/arm/google/chromebook-boot-flow.html 97 - items: 98 - enum: 99 - qcom,apq8016-sbc 100 - schneider,apq8016-hmibsc 101 - const: qcom,apq8016 [all …]
|
| /freebsd/lib/libthr/ |
| H A D | libthr.3 | 50 The library is tightly integrated with the run-time link editor 51 .Xr ld-elf.so.1 1 62 The run-time linker 63 .Xr ld-elf.so.1 1 64 has some code to ensure backward-compatibility with older versions of 70 .Li -lpthread , 71 the run-time dependency 83 is more resource-consuming than the previous. 91 First, on SMP systems, a spin loop 99 If the spin loop [all …]
|
| /freebsd/share/man/man4/ |
| H A D | mps.4 | 4 .\" Copyright (c) 2015-2017 Avago Technologies 5 .\" Copyright (c) 2015-2017 Broadcom Ltd. 45 .Nd "LSI Fusion-MPT 2 IT/IR 6Gb/s Serial Attached SCSI/SATA driver" 49 .Bd -ragged -offset indent 57 .Bd -literal -offset indent 64 Fusion-MPT 2 IT/IR 72 .Bl -bullet -compact 103 .Bd -literal -offset indent 111 .Bd -literal -offset indent 115 To disable MSI-X interrupts for all [all …]
|
| H A D | mpr.4 | 4 .\" Copyright (c) 2015-2017 Avago Technologies 5 .\" Copyright (c) 2015-2022 Broadcom Ltd. 45 .Nd "LSI Fusion-MPT 3/3.5 IT/IR 12Gb/s Serial Attached SCSI/SATA/PCIe driver" 49 .Bd -ragged -offset indent 57 .Bd -literal -offset indent 64 Fusion-MPT 3/3.5 IT/IR 72 .Bl -bullet -compac [all...] |
| /freebsd/lib/libdpv/ |
| H A D | dprompt.c | 1 /*- 2 * Copyright (c) 2013-2014 Devin Teske <dteske@FreeBSD.org> 62 int pbar_size = PBAR_SIZE_DEFAULT; /* Mini-progressbar size */ 71 static char spin[SPIN_SIZE + 1] = "/-\\|"; variable 73 static char *spin_cp = spin; 81 * Returns a pointer to the current spin character in the spin string and 90 spin_cp = spin; in spin_char() 94 if (++spin_cp >= (spin + SPIN_SIZE)) in spin_char() 95 spin_cp = spin; in spin_char() 127 /* Calculate width of dialog(3) or [X]dialog(1) --gauge box */ in dprompt_init() [all …]
|
| /freebsd/sys/dev/qcom_tlmm/ |
| H A D | qcom_tlmm_pinmux.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 31 * specific way of configuring up pins. 64 * For now we're hard-coded to doing IPQ4018 stuff here, but 73 { "bias-disable", PIN_ID_BIAS_DISABLE, 0 }, 74 { "bias-high-impedance", PIN_ID_BIAS_HIGH_IMPEDANCE, 0 }, 75 { "bias-bus-hold", PIN_ID_BIAS_BUS_HOLD, 0 }, 76 { "bias-pull-up", PIN_ID_BIAS_PULL_UP, 0 }, 77 { "bias-pull-down", PIN_ID_BIAS_PULL_DOWN, 0 }, 78 { "bias-pull-pin-default", PIN_ID_BIAS_PULL_PIN_DEFAULT, 0 }, [all …]
|
| /freebsd/sys/dev/ppbus/ |
| H A D | if_plip.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 1997 Poul-Henning Kamp 41 * IF_LINK0 - Tim Wilkinson. 49 * +----------------------------------------+ 50 * |A-name A-End B-End Descr. Port/Bit | 51 * +----------------------------------------+ 53 * |-ERROR 15 2 1/0x08 | 54 * +----------------------------------------+ 57 * +----------------------------------------+ [all …]
|
| H A D | ppb_1284.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 33 * General purpose routines for the IEEE1284-1994 Standard 56 * Wait for the peripherial up to 40ms 82 ppb->error = PPB_NO_ERROR; in ppb_1284_reset_error() 83 ppb->state = state; in ppb_1284_reset_error() 98 mtx_assert(ppb->ppc_lock, MA_OWNED); in ppb_1284_get_state() 99 return (ppb->state); in ppb_1284_get_state() 114 mtx_assert(ppb->ppc_lock, MA_OWNED); in ppb_1284_set_state() 115 if ((ppb->state != PPB_ERROR) && in ppb_1284_set_state() [all …]
|
| H A D | lpt.c | 1 /*- 2 * SPDX-License-Identifier: BSD-4-Clause 35 * ON-LINE 386BSD USER MANUAL BEFORE USE. A BOOK DISCUSSING THE INTERNALS 100 #define LPINITRDY 4 /* wait up to 4 seconds for a ready */ 165 /* Printer Ready condition - from lpa.c */ 202 if (sc->sc_state & HAVEBUS) in lpt_request_ppbus() 207 sc->sc_state |= HAVEBUS; in lpt_request_ppbus() 219 if (sc->sc_state & HAVEBUS) { in lpt_release_ppbus() 222 sc->sc_state &= ~HAVEBUS; in lpt_release_ppbus() 241 } while (temp != data && --timeout); in lpt_port_test() [all …]
|
| /freebsd/sys/dev/hptnr/ |
| H A D | README | 7 v1.1.4 2015-06-09 10 v1.1.3 2015-05-19 13 v1.1.2 2015-05-05 16 v1.1.1 2015-03-26 19 * Support staggered drive spin up. 21 * Error handling to avoid scsi command lost which caused system hang up. 24 v1.0.1 2014-8-19 26 disable spin up feature. 27 * Fix up a bug that disk failed to probe if driver failed to access the 33 v1.0 2013-7-3 [all …]
|
| /freebsd/sys/powerpc/aim/ |
| H A D | locore64.S | 2 /*- 3 * Copyright (C) 2010-2016 Nathan Whitehorn 76 * that it ends up before any linker-generated call stubs and actually at 78 * (start of image) + 0x60, so put a spin loop there. 89 .long -1 94 /* Invalidate icache for low-memory copy and jump there */ 105 lwz %r1,0x40(0) /* Spin on ap_kexec_spin_sem */ 141 /* Set 64-bit mode if not yet set before branching to C */ 149 /* Set up the TOC pointer */ 154 .llong __tocbase + 0x8000 - . [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm/broadcom/ |
| H A D | bcm2711.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <dt-bindings/interrupt-controller/arm-gic.h> 5 #include <dt-bindings/soc/bcm2835-pm.h> 10 #address-cells = <2>; 11 #size-cells = <1>; 13 interrupt-parent = <&gicv2>; 16 compatible = "brcm,bcm2711-vc5"; 20 clk_27MHz: clk-27M { 21 #clock-cells = <0>; 22 compatible = "fixed-clock"; [all …]
|
| /freebsd/share/man/man4/man4.i386/ |
| H A D | apm.4 | 30 .Bl -enum -offset indent 32 When the system wakes up from suspended mode, 36 When the system wakes up from suspended mode, 56 .Bl -tag -width 4n -offset indent 82 Also the system hangs up if HLT instruction is disabled in the kernel 108 .Bl -column "xxxxxxxxxxxxxxxxx" "xxxxxxxxxxxxx" "xxxxxxxx" 128 Many, if not most, of the implementations of APM-bios in laptops 130 You may be putting your LCD-display and batteries at 133 MS-Windows is that they use the real-mode interface.) 143 is active, calling the BIOS setup routine by using hot-keys, [all …]
|
| /freebsd/sys/riscv/riscv/ |
| H A D | vm_machdep.c | 1 /*- 2 * Copyright (c) 2015-2018 Ruslan Bukin <br@bsdpad.com> 7 * FA8750-10-C-0237 ("CTSRD"), as part of the DARPA CRASH research programme. 63 td->td_pcb = (struct pcb *)((char *)td->td_kstack + in cpu_set_pcb_frame() 64 td->td_kstack_pages * PAGE_SIZE) - 1; in cpu_set_pcb_frame() 67 * td->td_frame + TF_SIZE will be the saved kernel stack pointer whilst in cpu_set_pcb_frame() 76 td->td_frame = (struct trapframe *)(STACKALIGN( in cpu_set_pcb_frame() 77 (char *)td->td_pcb - sizeof(struct kernframe)) - TF_SIZE); in cpu_set_pcb_frame() 81 * Finish a fork operation, with process p2 nearly set up. 82 * Copy and update the pcb, set up the stack so that the child [all …]
|
| /freebsd/sys/dev/isci/scil/ |
| H A D | scic_config_parameters.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause OR GPL-2.0 9 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 22 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 28 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 115 * This field specifies the NOTIFY (ENABLE SPIN UP) primitive 138 * - A value of 1 indicates generation 1 (i.e. 1.5 Gb/s). 139 * - A value of 2 indicates generation 2 (i.e. 3.0 Gb/s). 140 * - A value of 3 indicates generation 3 (i.e. 6.0 Gb/s). 275 * user supplied an invalid interrupt coalescence time, spin up
|
| /freebsd/sys/dev/ice/ |
| H A D | ice_osdep.c | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 54 MALLOC_DEFINE(M_ICE_OSDEP, "ice-osdep", "Intel(R) 100Gb Network Driver osdep allocations"); 69 * ice_hw_to_dev - Given a hw private struct, find the associated device_t 84 return sc->dev; in ice_hw_to_dev() 88 * ice_debug - Log a debug message if the type is enabled 93 * Check if hw->debug_mask has enabled the given message type. If so, log the 103 if (!(mask & hw->debug_mask)) in ice_debug() 113 * ice_debug_array - Format and print an array of values to the console 134 if (!(mask & hw->debug_mask)) in ice_debug_array() 140 /* Make sure the row-size isn't too large */ in ice_debug_array() [all …]
|