Searched +full:precondition +full:- +full:timeout (Results 1 – 11 of 11) sorted by relevance
| /linux/drivers/i2c/busses/ |
| H A D | i2c-aspeed.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2012-2017 ASPEED Technology Inc. 163 /* Multi-master */ 173 /* precondition: bus.lock has been acquired. */ 176 bus->master_state = ASPEED_I2C_MASTER_STOP; in aspeed_i2c_do_stop() 177 writel(ASPEED_I2CD_M_STOP_CMD, bus->base + ASPEED_I2C_CMD_REG); in aspeed_i2c_do_stop() 186 spin_lock_irqsave(&bus->lock, flags); in aspeed_i2c_recover_bus() 187 command = readl(bus->base + ASPEED_I2C_CMD_REG); in aspeed_i2c_recover_bus() 193 dev_dbg(bus->dev, "SCL hung (state %x), attempting recovery\n", in aspeed_i2c_recover_bus() 196 reinit_completion(&bus->cmd_complete); in aspeed_i2c_recover_bus() [all …]
|
| /linux/include/kunit/ |
| H A D | try-catch.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 20 * struct kunit_try_catch - provides a generic way to run code which might fail. 33 * needed to implement kunit->abort() which in turn is needed for implementing 34 * assertions. Assertions allow stating a precondition for a test simplifying 50 unsigned long timeout; member 60 return try_catch->try_result; in kunit_try_catch_get_result()
|
| /linux/arch/arm/boot/dts/microchip/ |
| H A D | at91-sama5d2_xplained.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * at91-sama5d2_xplained.dts - Device Tree file for SAMA5D2 Xplained board 8 /dts-v1/; 10 #include "sama5d2-pinfunc.h" 11 #include <dt-bindings/mfd/atmel-flexcom.h> 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/input/input.h> 14 #include <dt-bindings/regulator/active-semi,8945a-regulator.h> 18 compatible = "atmel,sama5d2-xplained", "atmel,sama5d2", "atmel,sama5"; 28 stdout-path = "serial0:115200n8"; [all …]
|
| /linux/kernel/kcsan/ |
| H A D | report.c | 1 // SPDX-License-Identifier: GPL-2.0 71 static struct other_info other_infos[CONFIG_KCSAN_NUM_WATCHPOINTS + NUM_SLOTS-1]; 95 * Therefore, we use a fixed-size array, which at most will occupy a page. This 109 * it could make sense to have a finer-grained locking story for @other_infos, 116 * been reported since (now - KCSAN_REPORT_ONCE_IN_MS). 130 invalid_before = jiffies - msecs_to_jiffies(CONFIG_KCSAN_REPORT_ONCE_IN_MS); in rate_limit_report() 142 if (time_before(rt->time, use_entry->tim in rate_limit_report() 531 int timeout = max(kcsan_udelay_task, kcsan_udelay_interrupt); set_other_info_task_blocking() local [all...] |
| /linux/drivers/media/pci/cx18/ |
| H A D | cx18-driver.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Derived from ivtv-driver.c 11 #include "cx18-driver.h" 12 #include "cx18-io.h" 13 #include "cx18-version.h" 14 #include "cx18-cards.h" 15 #include "cx18-i2c.h" 16 #include "cx18-irq.h" 17 #include "cx18-gpio.h" 18 #include "cx18-firmware.h" [all …]
|
| /linux/drivers/media/pci/ivtv/ |
| H A D | ivtv-driver.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com> 6 Copyright (C) 2005-2007 Hans Verkuil <hverkuil@kernel.org> 14 * ----- 15 * MPG600/MPG160 support by T.Adachi <tadachi@tadachi-net.com> 19 * using information provided by Jiun-Kuei Jung @ AVerMedia. 21 * Kurouto Sikou CX23416GYC-STVLP tested by K.Ohta <alpha292@bremen.or.jp> 22 * using information from T.Adachi,Takeru KOMORIYA and others :-) 24 * Nagase TRANSGEAR 5000TV, Aopen VA2000MAX-STN6 and I/O data GV-MVP/RX 28 #include "ivtv-driver.h" [all …]
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | pio.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright(c) 2015-2018 Intel Corporation. 38 int flush = 0; /* re-read sendctrl to make sure it is flushed */ in pio_send_control() 41 spin_lock_irqsave(&dd->sendctrl_lock, flags); in pio_send_control() 50 for (i = 0; i < ARRAY_SIZE(dd->vld); i++) in pio_send_control() 51 if (!dd->vld[i].mtu) in pio_send_control() 86 spin_unlock_irqrestore(&dd->sendctrl_lock, flags); in pio_send_control() 93 #define SCS_POOL_0 -1 94 #define SCS_POOL_1 -2 97 #define SCC_PER_VL -1 [all …]
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | sdio.c | 1 // SPDX-License-Identifier: ISC 72 __le32 buf; /* Can't be pointer on (64-bit) hosts */ 117 #define TXHI (TXQLEN - 256) /* turn on flow control above TXHI */ 118 #define TXLOW (TXHI - 256) /* turn off flow control below TXLOW */ 146 /* 1: isolate internal sdio signals, put external pads in tri-state; requires 151 /* Force SD->SB reset mapping (rev 11) */ 247 #define SFC_ABORTALL (1 << 3) /* Abort all in-progress frames */ 286 * Software-defined protocol header 417 uint fc_rcvd; /* Number of flow-control events received */ 418 uint fc_xoff; /* Number which turned on flow-control */ [all …]
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_main.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (c) 2018-2023, Intel Corporation. */ 48 static int debug = -1; 60 * ice_hw_to_dev - Get device pointer from the hardware structure 71 return &pf->pdev->dev; in ice_hw_to_dev() 94 return dev && (dev->netdev_ops == &ice_netdev_ops || in netif_is_ice() 95 dev->netdev_ops == &ice_netdev_safe_mode_ops); in netif_is_ice() 99 * ice_get_tx_pending - returns number of Tx descriptors not processed 106 head = ring->next_to_clean; in ice_get_tx_pending() 107 tail = ring->next_to_use; in ice_get_tx_pending() [all …]
|
| /linux/drivers/media/dvb-frontends/drx39xyj/ |
| H A D | drxj.c | 2 Copyright (c), 2004-2005,2007-2010 Trident Microsystems, Inc. 52 /*----------------------------------------------------------------------------- 54 ----------------------------------------------------------------------------*/ 75 #define DRX39XX_MAIN_FIRMWARE "dvb-fe-drxj-mc-1.0.8.fw" 201 /*----------------------------------------------------------------------------- 203 ----------------------------------------------------------------------------*/ 205 /*----------------------------------------------------------------------------- 207 ----------------------------------------------------------------------------*/ 209 #define DRXJ_WAKE_UP_KEY (demod->my_i2c_dev_addr->i2c_addr) 226 * \brief Timeout value for waiting on demod lock during channel scan (millisec). [all …]
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
| H A D | main.c | 3 * Copyright (c) 2013 Hauke Mehrtens <hauke@hauke-m.de> 50 /* n-mode support capability */ 82 #define EDCF_ECW2CW(exp) ((1 << (exp)) - 1) 123 #define BRCMS_TEMPSENSE_PERIOD 10 /* 10 second timeout */ 133 /* Per-AC retry limit register definitions; uses defs.h bitfield macros */ 167 #define BRCMS_PLCP_AUTO -1 172 #define BRCMS_PROTECTION_AUTO -1 199 /* MSC in use,indicates b0-6 holds an mcs */ 355 return wlc->band->basic_rate[mcs_table[rspec & RSPEC_RATE_MASK] in brcms_basic_rate() 357 return wlc->band->basic_rate[rspec & RSPEC_RATE_MASK]; in brcms_basic_rate() [all …]
|