Home
last modified time | relevance | path

Searched +full:config +full:- +full:complete +full:- +full:timeout +full:- +full:us (Results 1 – 25 of 209) sorted by relevance

123456789

/linux/drivers/gpu/drm/i915/
H A DKconfig.profile1 config DRM_I915_REQUEST_TIMEOUT
2 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.
15 config DRM_I915_FENCE_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
27 config DRM_I915_USERFAULT_AUTOSUSPEND
35 that complements the runtime-pm autosuspend and provides a lower
[all …]
/linux/Documentation/devicetree/bindings/fpga/
H A Dfpga-region.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/fpga/fpga-region.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Michal Simek <michal.simek@amd.com>
14 - Introduction
15 - Terminology
16 - Sequence
17 - FPGA Region
18 - Supported Use Models
[all …]
/linux/drivers/i2c/busses/
H A Di2c-rzv2m.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2016-2022 Renesas Electronics Corporation
92 complete(&priv->msg_tia_done); in rzv2m_i2c_tia_irq_handler()
101 const struct bitrate_config *config; in rzv2m_i2c_clock_calculate() local
111 pclk_hz = clk_get_rate(priv->clk); in rzv2m_i2c_clock_calculate()
117 /* Config setting */ in rzv2m_i2c_clock_calculate()
120 priv->bus_mode = RZV2M_I2C_400K; in rzv2m_i2c_clock_calculate()
123 priv->bus_mode = RZV2M_I2C_100K; in rzv2m_i2c_clock_calculate()
127 return -EINVAL; in rzv2m_i2c_clock_calculate()
129 config = &bitrate_configs[priv->bus_mode]; in rzv2m_i2c_clock_calculate()
[all …]
H A Di2c-sh_mobile.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2014-19 Wolfram Sang <wsa@sang-engineering.com>
8 * Portions of the code based on out-of-tree driver i2c-sh7343.c
15 #include <linux/dma-mapping.h>
41 /* ICIC: -DTE */
48 /* ICIC: -DTE */
52 /* 3 bytes or more, +---------+ gets repeated */
57 /* 0 byte receive - not supported since slave may hold SDA low */
62 /* ICIC: -DTE | +DTE */
69 /* ICIC: -DTE | +DTE */
[all …]
/linux/drivers/spi/
H A Dspi-sprd.c1 // SPDX-License-Identifier: GPL-2.0
6 #include <linux/dma-mapping.h>
7 #include <linux/dma/sprd-dma.h>
179 u32 size = t->bits_per_word * SPRD_SPI_FIFO_SIZE; in sprd_spi_transfer_max_timeout()
180 u32 bit_time_us = DIV_ROUND_UP(USEC_PER_SEC, ss->hw_speed_hz); in sprd_spi_transfer_max_timeout()
186 u32 interval_cycle = SPRD_SPI_FIFO_SIZE * ss->word_delay; in sprd_spi_transfer_max_timeout()
188 ss->src_clk); in sprd_spi_transfer_max_timeout()
195 u32 val, us; in sprd_spi_wait_for_tx_end() local
198 us = sprd_spi_transfer_max_timeout(ss, t); in sprd_spi_wait_for_tx_end()
199 ret = readl_relaxed_poll_timeout(ss->base + SPRD_SPI_INT_RAW_STS, val, in sprd_spi_wait_for_tx_end()
[all …]
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_82598.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
26 * ixgbe_set_pcie_completion_timeout - set pci-e completion timeout
29 * The defaults for 82598 should be in the range of 50us to 50ms,
30 * however the hardware default for these parts is 500us to 1ms which is less
31 * than the 10ms recommended by the pci-e spec. To address this we need to
32 * increase the value to either 10ms to 250ms for capability version 1 config,
40 if (ixgbe_removed(hw->hw_addr)) in ixgbe_set_pcie_completion_timeout()
43 /* only take action if timeout value is defaulted to 0 */ in ixgbe_set_pcie_completion_timeout()
49 * timeout of 10ms to 250ms through the GCR register in ixgbe_set_pcie_completion_timeout()
[all …]
/linux/include/linux/
H A Dregmap.h1 /* SPDX-License-Identifier: GPL-2.0-only */
54 #define REGMAP_UPSHIFT(s) (-(s))
73 * struct reg_default - Default value for a register.
87 * struct reg_sequence - An individual write from a sequence of writes.
110 * regmap_read_poll_timeout - Poll until a condition is met or a timeout occurs
116 * @sleep_us: Maximum time to sleep between reads in us (0 tight-loops). Please
119 * @timeout_us: Timeout in us, 0 means never timeout
123 * Returns: 0 on success and -ETIMEDOUT upon a timeout or the regmap_read
137 * regmap_read_poll_timeout_atomic - Poll until a condition is met or a timeout occurs
143 * @delay_us: Time to udelay between reads in us (0 tight-loops). Please
[all …]
/linux/drivers/usb/storage/
H A Disd200.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Transport & Protocol Driver for In-System Design, Inc. ISD200 ASIC
6 * (C) 2001-2002 Björn Stenberg (bjorn@haxx.se)
12 * (C) 2000 In-System Design, Inc. (support@in-system.com)
20 * 2002-10-19: Removed the specialized transfer routines.
22 * 2001-02-24: Removed lots of duplicate code and simplified the structure.
24 * 2002-01-16: Fixed endianness bug so it works on the ppc arch.
26 * 2002-01-17: All bitfields removed.
51 #define DRV_NAME "ums-isd200"
53 MODULE_DESCRIPTION("Driver for In-System Design, Inc. ISD200 ASIC");
[all …]
/linux/drivers/nvmem/
H A Dimx-ocotp.c1 // SPDX-License-Identifier: GPL-2.0-only
14 * Copyright (C) 2010-2013 Freescale Semiconductor, Inc
21 #include <linux/nvmem-provider.h>
85 struct nvmem_config *config; member
107 void __iomem *base = priv->base; in imx_ocotp_wait_for_busy()
109 bm_ctrl_busy = priv->params->ctrl.bm_busy; in imx_ocotp_wait_for_busy()
110 bm_ctrl_error = priv->params->ctrl.bm_error; in imx_ocotp_wait_for_busy()
114 for (count = 10000; count >= 0; count--) { in imx_ocotp_wait_for_busy()
124 * - A write is performed to a shadow register during a shadow in imx_ocotp_wait_for_busy()
128 * - A write is performed to a shadow register which has been in imx_ocotp_wait_for_busy()
[all …]
/linux/Documentation/networking/device_drivers/can/
H A Dcan327.rst1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
7 --------
14 -----------
26 -------------
33 order to fake full-duplex operation.
36 enough to implement simple request-response protocols (such as OBD II),
50 -----------
59 ----------------------------------
68 --debug \
69 --speed 38400 \
[all …]
/linux/drivers/media/rc/
H A Dnuvoton-cir.c2 * Driver for Nuvoton Technology Corporation w83667hg/w83677hg-i CIR
32 #include <media/rc-core.h>
35 #include "nuvoton-cir.h"
48 return nvt->rdev->dev.parent; in nvt_get_dev()
53 return nvt->chip_ver == NVT_W83667HG; in is_w83667hg()
56 /* write val to config reg */
59 outb(reg, nvt->cr_efir); in nvt_cr_write()
60 outb(val, nvt->cr_efdr); in nvt_cr_write()
63 /* read val from config reg */
66 outb(reg, nvt->cr_efir); in nvt_cr_read()
[all …]
/linux/Documentation/scsi/
H A DChangeLog.lpfc2 * Please read the associated RELEASE-NOTES file !!!
8 * Fixed build warning for 2.6.12-rc2 kernels: mempool_alloc now
19 * Removed FC_TRANSPORT_PATCHESxxx defines. They're in 2.6.12-rc1.
26 * Added PCI ID for LP10000-S.
29 if we timed out waiting for command to complete after abort was
31 * Zero-out response sense length in lpfc_scsi_prep_cmnd to prevent
33 - was causing spurious 0710 messages.
55 - stop using volatile. if you need special ordering use memory
57 - switch lpfc_sli_pcimem_bcopy to take void * arguments.
58 - remove typecast for constants - a U postfix marks them
[all …]
/linux/net/ipv4/
H A Dipconfig.c1 // SPDX-License-Identifier: GPL-2.0
3 * Automatic Configuration of IP -- use DHCP, BOOTP, RARP, or
4 * user-supplied information to configure own IP address and routes.
6 * Copyright (C) 1996-1998 Martin Mares <mj@atrey.karlin.mff.cuni.cz>
12 * of misusing the IP layer. num_bugs_causing_wrong_arp_replies--;
13 * -- MJ, December 1998
17 * - Arnaldo Carvalho de Melo <acme@conectiva.com.br>, 08/11/1999
21 * -- Chip Salzenberg <chip@valinux.com>, May 2000
23 * Ported DHCP support from 2.2.16 to 2.4.0-test4
24 * -- Eric Biederman <ebiederman@lnxi.com>, 30 Aug 2000
[all …]
/linux/drivers/comedi/drivers/
H A Dadv_pci1760.c1 // SPDX-License-Identifier: GPL-2.0+
3 * COMEDI driver for the Advantech PCI-1760
9 * COMEDI - Linux Control and Measurement Device Interface
15 * Description: Advantech PCI-1760 Relay & Isolated Digital Input Card
16 * Devices: [Advantech] PCI-1760 (adv_pci1760)
18 * Updated: Fri, 13 Nov 2015 12:34:00 -0700
21 * Configuration Options: not applicable, uses PCI auto config
28 * PCI-1760 Register Map
32 * OMB2: The command code to the PCI-1760
37 * IMB3: The Isolated Digital Input status (updated every 100us)
[all …]
/linux/drivers/scsi/aacraid/
H A Dcommsup.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * Copyright (c) 2000-2010 Adaptec, Inc.
10 * 2010-2015 PMC-Sierra, Inc. (aacraid@pmc-sierra.com)
11 * 2016-2017 Microsemi Corp. (aacraid@microsemi.com)
42 * fib_map_alloc - allocate the fib objects
51 dev->max_cmd_size = AAC_MAX_NATIVE_SIZE; in fib_map_alloc()
55 &dev->pdev->dev, dev->max_cmd_size, dev->scsi_host_ptr->can_queue, in fib_map_alloc()
56 AAC_NUM_MGT_FIB, &dev->hw_fib_pa)); in fib_map_alloc()
57 dev->hw_fib_va = dma_alloc_coherent(&dev->pdev->dev, in fib_map_alloc()
58 (dev->max_cmd_size + sizeof(struct aac_fib_xporthdr)) in fib_map_alloc()
[all …]
/linux/drivers/net/wireless/ath/ath9k/
H A Dmain.c2 * Copyright (c) 2008-2011 Atheros Communications Inc.
30 * 1 for 1/4 us in ath9k_parse_mpdudensity()
31 * 2 for 1/2 us in ath9k_parse_mpdudensity()
32 * 3 for 1 us in ath9k_parse_mpdudensity()
33 * 4 for 2 us in ath9k_parse_mpdudensity()
34 * 5 for 4 us in ath9k_parse_mpdudensity()
35 * 6 for 8 us in ath9k_parse_mpdudensity()
36 * 7 for 16 us in ath9k_parse_mpdudensity()
65 spin_lock_bh(&txq->axq_lock); in ath9k_has_pending_frames()
67 if (txq->axq_depth) { in ath9k_has_pending_frames()
[all …]
/linux/drivers/net/wireless/ath/ath6kl/
H A Dsdio.c2 * Copyright (c) 2004-2011 Atheros Communications Inc.
3 * Copyright (c) 2011-2012 Qualcomm Atheros, Inc.
27 #include "hif-ops.h"
82 return ar->hif_priv; in ath6kl_sdio_priv()
86 * Macro to check if DMA buffer is WORD-aligned and DMA-able.
88 * bug-check otherwise (i.e. buffers on the stack). virt_addr_valid
98 struct ath6kl_mbox_info *mbox_info = &ar->mbox_info; in ath6kl_sdio_set_mbox_info()
101 mbox_info->htc_addr = HIF_MBOX_BASE_ADDR; in ath6kl_sdio_set_mbox_info()
102 mbox_info->htc_ext_addr = HIF_MBOX0_EXT_BASE_ADDR; in ath6kl_sdio_set_mbox_info()
103 mbox_info->htc_ext_sz = HIF_MBOX0_EXT_WIDTH; in ath6kl_sdio_set_mbox_info()
[all …]
/linux/drivers/infiniband/hw/hfi1/
H A Dfirmware.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright(c) 2015 - 2017 Intel Corporation.
103 #define AUGMENT_SIZE (sizeof(struct augmented_firmware_file) - \
155 /* RSA engine timeout, in ms */
158 /* hardware mutex timeout, in ms */
161 /* 8051 memory access timeout, in us */
162 #define DC8051_ACCESS_TIMEOUT 100 /* us */
217 * Read a single 64-bit value from 8051 data memory.
224 * ignored - i.e. the hardware will always do aligned 8-byte reads as if
227 * Return 0 on success, -ENXIO on a read error (timeout).
[all …]
/linux/drivers/net/ethernet/agere/
H A Det131x.c2 * 10/100/1000 Base-T Ethernet Driver for the ET1301 and ET131x series MACs
10 *------------------------------------------------------------------------------
87 MODULE_DESCRIPTION("10/100/1000 Base-T Ethernet Driver for the ET1310 by Agere Systems");
106 * In both cases, when flow control is enabled for either Tx or bi-direction,
133 /* Tx Timeout */
148 /* Some offsets in PCI config space that are actually used. */
156 #define ET131X_PCI_DEVICE_ID_GIG 0xED00 /* ET1310 1000 Base-T 8 */
157 #define ET131X_PCI_DEVICE_ID_FAST 0xED01 /* ET1310 100 Base-T */
173 /* number of RFDs - default and min */
189 u32 word2; /* Bits 10-31 reserved, 0-9 descriptor */
[all …]
/linux/Documentation/filesystems/
H A Dorangefs.rst1 .. SPDX-License-Identifier: GPL-2.0
7 OrangeFS is an LGPL userspace scale-out parallel storage system. It is ideal
48 clients, but a complete filesystem can be run on a single machine for
51 On Fedora, install orangefs and orangefs-server::
53 dnf -y install orangefs orangefs-server
64 pvfs2-client-core.
68 pvfs2-server -f /etc/orangefs/orangefs.conf
72 systemctl start orangefs-server
76 pvfs2-ping -m /pvfsmnt
81 systemctl start orangefs-client
[all …]
/linux/drivers/net/ethernet/3com/
H A D3c515.c2 Written 1997-1998 by Donald Becker.
15 2000/2/2- Added support for kernel-level ISAPnP
19 2001/11/17 - Added ethtool support (jgarzik)
21 2002/10/28 - Locking updates for 2.5 (alan@lxorguk.ukuu.org.uk)
30 /* Set the copy breakpoint for the copy-only-tiny-frames scheme.
37 /* Enable the automatic media selection code -- usually set. */
41 programmed-I/O for Vortex cards. Full-bus-master transfers are always
83 /* Put out somewhat more debugging messages. (0 - no msg, 1 minimal msgs). */
85 /* Some values here only for performance evaluation and path-coverage
118 II. Board-specific settings
[all …]
/linux/drivers/platform/x86/amd/hsmp/
H A Dhsmp.c1 // SPDX-License-Identifier: GPL-2.0
28 /* Timeout in millsec */
44 * Send a message to the HSMP port via PCI-e config space registers
56 unsigned long timeout, short_sleep; in __hsmp_send_message() local
61 mbinfo = &sock->mbinfo; in __hsmp_send_message()
65 ret = sock->amd_hsmp_rdwr(sock, mbinfo->msg_resp_off, &mbox_status, HSMP_WR); in __hsmp_send_message()
67 dev_err(sock->dev, "Error %d clearing mailbox status register\n", ret); in __hsmp_send_message()
73 while (index < msg->num_args) { in __hsmp_send_message()
74 ret = sock->amd_hsmp_rdwr(sock, mbinfo->msg_arg_off + (index << 2), in __hsmp_send_message()
75 &msg->args[index], HSMP_WR); in __hsmp_send_message()
[all …]
/linux/drivers/scsi/lpfc/
H A Dlpfc_mbox.c4 * Copyright (C) 2017-2024 Broadcom. All Rights Reserved. The term *
6 * Copyright (C) 2004-2016 Emulex. All rights reserved. *
9 * Portions Copyright (C) 2004-2005 Christoph Hellwig *
17 * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE *
47 * lpfc_mbox_rsrc_prep - Prepare a mailbox with DMA buffer memory.
69 return -ENOMEM; in lpfc_mbox_rsrc_prep()
71 mp->virt = lpfc_mbuf_alloc(phba, 0, &mp->phys); in lpfc_mbox_rsrc_prep()
72 if (!mp->virt) { in lpfc_mbox_rsrc_prep()
74 return -ENOMEM; in lpfc_mbox_rsrc_prep()
77 memset(mp->virt, 0, LPFC_BPL_SIZE); in lpfc_mbox_rsrc_prep()
[all …]
/linux/drivers/scsi/
H A Dpmcraid.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * pmcraid.c -- driver for PMC Sierra MaxRAID controller adapters
5 * Written By: Anil Ravindranath<anil_ravindranath@pmc-sierra.com>
6 * PMC-Sierra Inc
54 * pmcraid_adapter_count - count of configured adapters
59 * Supporting user-level control interface through IOCTL commands.
60 * pmcraid_major - major number to use
61 * pmcraid_minor - minor number(s) to use
72 MODULE_AUTHOR("Anil Ravindranath<anil_ravindranath@pmc-sierra.com>");
79 "Enables firmware error code logging, default :1 high-severity"
[all …]
H A Ddc395x.c6 * (SCSI chip set used Tekram ASIC TRM-S1040)
11 * (C) Copyright 1995-1999 Tekram Technology Co., Ltd.
14 * (C) 1999-2000 Kurt Garloff
72 #define DC395X_BANNER "Tekram DC395(U/UW/F), DC315(U) - ASIC TRM-S1040"
75 /*---------------------------------------------------------------------------
77 ---------------------------------------------------------------------------*/
94 #define DC395x_LOCK_IO(dev,flags) spin_lock_irqsave(((struct Scsi_Host *)dev)->host_lock, flags)
95 #define DC395x_UNLOCK_IO(dev,flags) spin_unlock_irqrestore(((struct Scsi_Host *)dev)->host_lock, f…
97 #define DC395x_read8(acb,address) (u8)(inb(acb->io_port_base + (address)))
98 #define DC395x_read16(acb,address) (u16)(inw(acb->io_port_base + (address)))
[all …]

123456789