Searched +full:precondition +full:- +full:timeout (Results 1 – 6 of 6) sorted by relevance
| /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/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/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/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 …]
|