Home
last modified time | relevance | path

Searched +full:hw +full:- +full:timeout +full:- +full:ms (Results 1 – 25 of 1060) sorted by relevance

12345678910>>...43

/kernel/linux/linux-6.6/drivers/gpu/drm/i915/
DKconfig.profile2 int "Default timeout for requests (ms)"
5 Configures the default timeout after which any user submissions will
13 May be 0 to disable the timeout.
16 int "Timeout for unsignaled foreign fences (ms, jiffy granularity)"
21 make forward progress. This value specifies the timeout used for an
24 May be 0 to disable the timeout, and rely on the foreign fence being
28 int "Runtime autosuspend delay for userspace GGTT mmaps (ms)"
35 that complements the runtime-pm autosuspend and provides a lower
42 int "Interval between heartbeat pulses (ms)"
46 check the health of the GPU and undertake regular house-keeping of
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/
Drohm,bd9576-pmic.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/mfd/rohm,bd9576-pmic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Matti Vaittinen <mazziesaccount@gmail.com>
14 powering the R-Car series processors.
21 - rohm,bd9576
22 - rohm,bd9573
32 rohm,vout1-en-low:
35 controlled by a GPIO. This is dictated by state of vout1-en pin during
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
DKconfig.profile2 int "Timeout for unsignaled foreign fences (ms, jiffy granularity)"
7 make forward progress. This value specifies the timeout used for an
10 May be 0 to disable the timeout, and rely on the foreign fence being
14 int "Runtime autosuspend delay for userspace GGTT mmaps (ms)"
21 that complements the runtime-pm autosuspend and provides a lower
28 int "Interval between heartbeat pulses (ms)"
32 check the health of the GPU and undertake regular house-keeping of
42 int "Preempt timeout (ms, jiffy granularity)"
47 does not hit an arbitration point and yield to HW before the timer
48 expires, the HW will be reset to allow the more important context
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/
Dixgbe_82598.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
18 static s32 ixgbe_setup_copper_link_82598(struct ixgbe_hw *hw,
21 static s32 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset,
25 * ixgbe_set_pcie_completion_timeout - set pci-e completion timeout
26 * @hw: pointer to the HW structure
28 * The defaults for 82598 should be in the range of 50us to 50ms,
29 * however the hardware default for these parts is 500us to 1ms which is less
30 * than the 10ms recommended by the pci-e spec. To address this we need to
31 * increase the value to either 10ms to 250ms for capability version 1 config,
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_82598.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
18 static s32 ixgbe_setup_copper_link_82598(struct ixgbe_hw *hw,
21 static s32 ixgbe_read_i2c_eeprom_82598(struct ixgbe_hw *hw, u8 byte_offset,
25 * ixgbe_set_pcie_completion_timeout - set pci-e completion timeout
26 * @hw: pointer to the HW structure
28 * The defaults for 82598 should be in the range of 50us to 50ms,
29 * however the hardware default for these parts is 500us to 1ms which is less
30 * than the 10ms recommended by the pci-e spec. To address this we need to
31 * increase the value to either 10ms to 250ms for capability version 1 config,
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/
Ddevlink_linecard.sh2 # SPDX-License-Identifier: GPL-2.0
5 # LC_SLOT - If not set, all probed line cards are going to be tested,
41 devlink lc show $DEVLINK_DEV lc $lc -j | jq -e -r ".[][][].state"
48 local timeout=$3 # ms
50 busywait "$timeout" until_lc_state_is_not "$state" lc_state_get "$lc"
57 local timeout=$3 # ms
59 busywait "$timeout" until_lc_state_is "$state" lc_state_get "$lc"
75 devlink port -j | jq -e -r ".[][] | select(.lc==$lc) | .port" | wc -l
82 local timeout=$3 # ms
84 busywait "$timeout" until_lc_port_count_is "$port_count" lc_port_count_get "$lc"
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/orinoco/
Dorinoco_pci.c4 * (i.e. these are not PCMCIA cards in a PCMCIA-to-PCI bridge).
14 * Some of this code is "inspired" by linux-wlan-ng-0.1.10, but nothing
15 * has been copied from it. linux-wlan-ng-0.1.10 is originally :
20 * (C) Copyright David Gibson, IBM Corp. 2002-2003.
63 * Those times are straight from wlan-ng, and it is claimed that they
65 #define HERMES_PCI_COR_ONT (250) /* ms */
66 #define HERMES_PCI_COR_OFFT (500) /* ms */
67 #define HERMES_PCI_COR_BUSYT (500) /* ms */
72 * This is the part of the code that is strongly inspired from wlan-ng
77 * need only around 245 iteration of the loop to do 250 ms delay.
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/intersil/orinoco/
Dorinoco_pci.c4 * (i.e. these are not PCMCIA cards in a PCMCIA-to-PCI bridge).
14 * Some of this code is "inspired" by linux-wlan-ng-0.1.10, but nothing
15 * has been copied from it. linux-wlan-ng-0.1.10 is originally :
20 * (C) Copyright David Gibson, IBM Corp. 2002-2003.
63 * Those times are straight from wlan-ng, and it is claimed that they
65 #define HERMES_PCI_COR_ONT (250) /* ms */
66 #define HERMES_PCI_COR_OFFT (500) /* ms */
67 #define HERMES_PCI_COR_BUSYT (500) /* ms */
72 * This is the part of the code that is strongly inspired from wlan-ng
77 * need only around 245 iteration of the loop to do 250 ms delay.
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/atheros/atl1e/
Datl1e_hw.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved.
19 int atl1e_check_eeprom_exist(struct atl1e_hw *hw) in atl1e_check_eeprom_exist() argument
23 value = AT_READ_REG(hw, REG_SPI_FLASH_CTRL); in atl1e_check_eeprom_exist()
26 AT_WRITE_REG(hw, REG_SPI_FLASH_CTRL, value); in atl1e_check_eeprom_exist()
28 value = AT_READ_REGW(hw, REG_PCIE_CAP_LIST); in atl1e_check_eeprom_exist()
32 void atl1e_hw_set_mac_addr(struct atl1e_hw *hw) in atl1e_hw_set_mac_addr() argument
36 * 00-0B-6A-F6-00-DC in atl1e_hw_set_mac_addr()
40 value = (((u32)hw->mac_addr[2]) << 24) | in atl1e_hw_set_mac_addr()
41 (((u32)hw->mac_addr[3]) << 16) | in atl1e_hw_set_mac_addr()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atl1e/
Datl1e_hw.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved.
19 int atl1e_check_eeprom_exist(struct atl1e_hw *hw) in atl1e_check_eeprom_exist() argument
23 value = AT_READ_REG(hw, REG_SPI_FLASH_CTRL); in atl1e_check_eeprom_exist()
26 AT_WRITE_REG(hw, REG_SPI_FLASH_CTRL, value); in atl1e_check_eeprom_exist()
28 value = AT_READ_REGW(hw, REG_PCIE_CAP_LIST); in atl1e_check_eeprom_exist()
32 void atl1e_hw_set_mac_addr(struct atl1e_hw *hw) in atl1e_hw_set_mac_addr() argument
36 * 00-0B-6A-F6-00-DC in atl1e_hw_set_mac_addr()
40 value = (((u32)hw->mac_addr[2]) << 24) | in atl1e_hw_set_mac_addr()
41 (((u32)hw->mac_addr[3]) << 16) | in atl1e_hw_set_mac_addr()
[all …]
/kernel/linux/linux-6.6/drivers/rtc/
Drtc-jz4740.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2009-2010, Lars-Peter Clausen <lars@metafoo.de>
9 #include <linux/clk-provider.h>
75 return readl(rtc->base + reg); in jz4740_rtc_reg_read()
82 return readl_poll_timeout(rtc->base + JZ_REG_RTC_CTRL, ctrl, in jz4740_rtc_wait_write_ready()
95 writel(JZ_RTC_WENR_MAGIC, rtc->base + JZ_REG_RTC_WENR); in jz4780_rtc_enable_write()
97 return readl_poll_timeout(rtc->base + JZ_REG_RTC_WENR, ctrl, in jz4780_rtc_enable_write()
106 if (rtc->type >= ID_JZ4760) in jz4740_rtc_reg_write()
111 writel(val, rtc->base + reg); in jz4740_rtc_reg_write()
123 spin_lock_irqsave(&rtc->lock, flags); in jz4740_rtc_ctrl_set_bits()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igb/
De1000_82575.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2007 - 2018 Intel Corporation. */
46 static s32 igb_set_pcie_completion_timeout(struct e1000_hw *hw);
47 static s32 igb_reset_mdicnfg_82580(struct e1000_hw *hw);
48 static s32 igb_validate_nvm_checksum_82580(struct e1000_hw *hw);
49 static s32 igb_update_nvm_checksum_82580(struct e1000_hw *hw);
50 static s32 igb_validate_nvm_checksum_i350(struct e1000_hw *hw);
51 static s32 igb_update_nvm_checksum_i350(struct e1000_hw *hw);
55 /* Due to a hw errata, if the host tries to configure the VFTA register
61 * igb_write_vfta_i350 - Write value to VLAN filter table
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/
De1000_82575.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2007 - 2018 Intel Corporation. */
46 static s32 igb_set_pcie_completion_timeout(struct e1000_hw *hw);
47 static s32 igb_reset_mdicnfg_82580(struct e1000_hw *hw);
48 static s32 igb_validate_nvm_checksum_82580(struct e1000_hw *hw);
49 static s32 igb_update_nvm_checksum_82580(struct e1000_hw *hw);
50 static s32 igb_validate_nvm_checksum_i350(struct e1000_hw *hw);
51 static s32 igb_update_nvm_checksum_i350(struct e1000_hw *hw);
55 /* Due to a hw errata, if the host tries to configure the VFTA register
61 * igb_write_vfta_i350 - Write value to VLAN filter table
[all …]
/kernel/linux/linux-5.10/drivers/watchdog/
Dux500_wdt.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) ST-Ericsson SA 2011-2013
5 * Author: Mathieu Poirier <mathieu.poirier@linaro.org> for ST-Ericsson
6 * Author: Jonas Aaberg <jonas.aberg@stericsson.com> for ST-Ericsson
20 #include <linux/mfd/dbx500-prcmu.h>
25 #define WATCHDOG_MAX28 268435 /* 28 bit resolution in ms == 268435.455 s */
26 #define WATCHDOG_MAX32 4294967 /* 32 bit resolution in ms == 4294967.295 s */
28 static unsigned int timeout = WATCHDOG_TIMEOUT; variable
29 module_param(timeout, uint, 0);
30 MODULE_PARM_DESC(timeout,
[all …]
/kernel/linux/linux-6.6/drivers/scsi/csiostor/
Dcsio_mb.c4 * Copyright (c) 2008-2012 Chelsio Communications, Inc. All rights reserved.
16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
51 * csio_mb_fw_retval - FW return value from a mailbox response.
60 hdr = (struct fw_cmd_hdr *)(mbp->mb); in csio_mb_fw_retval()
62 return FW_CMD_RETVAL_G(ntohl(hdr->lo)); in csio_mb_fw_retval()
66 * csio_mb_hello - FW HELLO command helper
67 * @hw: The HW structure
76 csio_mb_hello(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, in csio_mb_hello() argument
80 struct fw_hello_cmd *cmdp = (struct fw_hello_cmd *)(mbp->mb); in csio_mb_hello()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/csiostor/
Dcsio_mb.c4 * Copyright (c) 2008-2012 Chelsio Communications, Inc. All rights reserved.
16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
51 * csio_mb_fw_retval - FW return value from a mailbox response.
60 hdr = (struct fw_cmd_hdr *)(mbp->mb); in csio_mb_fw_retval()
62 return FW_CMD_RETVAL_G(ntohl(hdr->lo)); in csio_mb_fw_retval()
66 * csio_mb_hello - FW HELLO command helper
67 * @hw: The HW structure
76 csio_mb_hello(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, in csio_mb_hello() argument
80 struct fw_hello_cmd *cmdp = (struct fw_hello_cmd *)(mbp->mb); in csio_mb_hello()
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath12k/
Dreg.c1 // SPDX-License-Identifier: BSD-3-Clause-Clear
3 * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved.
4 * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
11 #define ATH12K_2GHZ_CH01_11 REG_RULE(2412 - 10, 2462 + 10, 40, 0, 20, 0)
12 #define ATH12K_5GHZ_5150_5350 REG_RULE(5150 - 10, 5350 + 10, 80, 0, 30,\
14 #define ATH12K_5GHZ_5725_5850 REG_RULE(5725 - 10, 5850 + 10, 80, 0, 30,\
31 static bool ath12k_regdom_changes(struct ieee80211_hw *hw, char *alpha2) in ath12k_regdom_changes() argument
35 regd = rcu_dereference_rtnl(hw->wiphy->regd); in ath12k_regdom_changes()
43 return memcmp(regd->alpha2, alpha2, 2) != 0; in ath12k_regdom_changes()
49 struct ieee80211_hw *hw = wiphy_to_ieee80211_hw(wiphy); in ath12k_reg_notifier() local
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl1251/
Dps.c1 // SPDX-License-Identifier: GPL-2.0-only
13 /* in ms */
26 mutex_lock(&wl->mutex); in wl1251_elp_work()
28 if (wl->elp || wl->station_mode == STATION_ACTIVE_MODE) in wl1251_elp_work()
33 wl->elp = true; in wl1251_elp_work()
36 mutex_unlock(&wl->mutex); in wl1251_elp_work()
46 if (wl->station_mode != STATION_ACTIVE_MODE) { in wl1251_ps_elp_sleep()
48 ieee80211_queue_delayed_work(wl->hw, &wl->elp_work, delay); in wl1251_ps_elp_sleep()
54 unsigned long timeout, start; in wl1251_ps_elp_wakeup() local
57 cancel_delayed_work(&wl->elp_work); in wl1251_ps_elp_wakeup()
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wl1251/
Dps.c1 // SPDX-License-Identifier: GPL-2.0-only
13 /* in ms */
26 mutex_lock(&wl->mutex); in wl1251_elp_work()
28 if (wl->elp || wl->station_mode == STATION_ACTIVE_MODE) in wl1251_elp_work()
33 wl->elp = true; in wl1251_elp_work()
36 mutex_unlock(&wl->mutex); in wl1251_elp_work()
46 if (wl->station_mode != STATION_ACTIVE_MODE) { in wl1251_ps_elp_sleep()
48 ieee80211_queue_delayed_work(wl->hw, &wl->elp_work, delay); in wl1251_ps_elp_sleep()
54 unsigned long timeout, start; in wl1251_ps_elp_wakeup() local
57 cancel_delayed_work(&wl->elp_work); in wl1251_ps_elp_wakeup()
[all …]
/kernel/linux/linux-5.10/drivers/staging/gasket/
Dapex_driver.c1 // SPDX-License-Identifier: GPL-2.0
46 /* The number of user-mappable memory ranges in BAR2 of a Apex chip. */
62 /* Wait 100 ms between checks. Total 12 sec wait maximum. */
102 /* Error registers - Used mostly for debug */
234 /* Allows HW based clock gating. */
262 * - Software force GCB idle in apex_enter_reset()
263 * - Enable GCB idle in apex_enter_reset()
269 /* - Initiate DMA pause */ in apex_enter_reset()
273 /* - Wait for DMA pause complete. */ in apex_enter_reset()
277 dev_err(gasket_dev->dev, in apex_enter_reset()
[all …]
/kernel/linux/linux-5.10/drivers/spi/
Dspi-sprd-adi.c4 * SPDX-License-Identifier: GPL-2.0
37 #define REG_ADI_CHN_ADDR(id) (0x44 + (id - 2) * 4)
60 /* Timeout (ms) for the trylock of hardware spinlocks */
105 /* Use default timeout 50 ms that converts to watchdog values */
122 if (paddr < sadi->slave_pbase || paddr > in sprd_adi_check_paddr()
123 (sadi->slave_pbase + ADI_SLAVE_ADDR_SIZE)) { in sprd_adi_check_paddr()
124 dev_err(sadi->dev, in sprd_adi_check_paddr()
127 return -EINVAL; in sprd_adi_check_paddr()
135 return (paddr - sadi->slave_pbase + sadi->slave_vbase); in sprd_adi_to_vaddr()
140 u32 timeout = ADI_FIFO_DRAIN_TIMEOUT; in sprd_adi_drain_fifo() local
[all …]
/kernel/linux/linux-6.6/drivers/video/fbdev/omap2/omapfb/dss/
Dpll.c1 // SPDX-License-Identifier: GPL-2.0-only
41 return -EBUSY; in dss_pll_register()
61 if (dss_plls[i] && strcmp(dss_plls[i]->name, name) == 0) in dss_pll_find()
72 r = clk_prepare_enable(pll->clkin); in dss_pll_enable()
76 if (pll->regulator) { in dss_pll_enable()
77 r = regulator_enable(pll->regulator); in dss_pll_enable()
82 r = pll->ops->enable(pll); in dss_pll_enable()
89 if (pll->regulator) in dss_pll_enable()
90 regulator_disable(pll->regulator); in dss_pll_enable()
92 clk_disable_unprepare(pll->clkin); in dss_pll_enable()
[all …]
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/
Dpll.c1 // SPDX-License-Identifier: GPL-2.0-only
41 return -EBUSY; in dss_pll_register()
61 if (dss_plls[i] && strcmp(dss_plls[i]->name, name) == 0) in dss_pll_find()
72 r = clk_prepare_enable(pll->clkin); in dss_pll_enable()
76 if (pll->regulator) { in dss_pll_enable()
77 r = regulator_enable(pll->regulator); in dss_pll_enable()
82 r = pll->ops->enable(pll); in dss_pll_enable()
89 if (pll->regulator) in dss_pll_enable()
90 regulator_disable(pll->regulator); in dss_pll_enable()
92 clk_disable_unprepare(pll->clkin); in dss_pll_enable()
[all …]
/kernel/linux/linux-6.6/drivers/watchdog/
Dbd9576_wdt.c1 // SPDX-License-Identifier: GPL-2.0-or-later
10 #include <linux/mfd/rohm-bd957x.h>
37 gpiod_set_value_cansleep(priv->gpiod_en, 0); in bd9576_wdt_disable()
45 gpiod_set_value_cansleep(priv->gpiod_ping, 1); in bd9576_wdt_ping()
46 gpiod_set_value_cansleep(priv->gpiod_ping, 0); in bd9576_wdt_ping()
55 gpiod_set_value_cansleep(priv->gpiod_en, 1); in bd9576_wdt_start()
97 return -EINVAL; in find_closest_fast()
113 return -EINVAL; in find_closest_slow_by_fast()
141 return -EINVAL; in find_closest_slow()
156 struct device *dev = priv->dev; in bd957x_set_wdt_mode()
[all …]
/kernel/linux/linux-5.10/drivers/platform/x86/
Dintel_atomisp2_pm.c1 // SPDX-License-Identifier: GPL-2.0
10 * Copyright (C) 2010-2017 Intel Corporation. All rights reserved.
38 unsigned long timeout; in isp_set_power() local
46 * There should be no IUNIT access while power-down is in isp_set_power()
47 * in progress. HW sighting: 4567865. in isp_set_power()
48 * Wait up to 50 ms for the IUNIT to shut down. in isp_set_power()
51 timeout = jiffies + msecs_to_jiffies(50); in isp_set_power()
62 } while (time_before(jiffies, timeout)); in isp_set_power()
64 dev_err(&dev->dev, "IUNIT power-%s timeout.\n", enable ? "on" : "off"); in isp_set_power()
65 return -EBUSY; in isp_set_power()
[all …]

12345678910>>...43