Home
last modified time | relevance | path

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

12345678910>>...14

/openbmc/linux/Documentation/devicetree/bindings/input/touchscreen/
H A Dazoteq,iqs7211.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jeff LaBundy <jeff@labundy.com>
13 The Azoteq IQS7210A, IQS7211A and IQS7211E trackpad and touchscreen control-
14 lers employ projected-capacitance sensing and can track two contacts.
21 - azoteq,iqs7210a
22 - azoteq,iqs7211a
23 - azoteq,iqs7211e
28 irq-gpios:
[all …]
/openbmc/linux/drivers/parport/
H A Dieee1284.c2 * IEEE-1284 implementation for parport.
5 * Carsten Gross <carsten@sol.wohnheim.uni-ulm.de>
10 * read/write requests to low-level drivers.
38 up (&port->physport->ieee1284.irq); in parport_ieee1284_wakeup()
49 * parport_wait_event - wait for an event on a parallel port
51 * @timeout: time to wait (in jiffies)
53 * This function waits for up to @timeout jiffies for an
54 * interrupt to occur on a parallel port. If the port timeout is
57 * If an interrupt occurs before the timeout period elapses, this
64 int parport_wait_event (struct parport *port, signed long timeout) in parport_wait_event() argument
[all …]
H A Dieee1284_ops.c1 // SPDX-License-Identifier: GPL-2.0
2 /* IEEE-1284 operations for parport.
5 * they are used by the low-level drivers. If they have a special way
7 * the function pointers in port->ops); if not, they can just use these
31 * One-way data transfer functions. *
43 struct pardevice *dev = port->physport->cad; in parport_ieee1284_write_compat()
47 if (port->irq != PARPORT_IRQ_NONE) { in parport_ieee1284_write_compat()
52 port->physport->ieee1284.phase = IEEE1284_PH_FWD_DATA; in parport_ieee1284_write_compat()
56 unsigned long expire = jiffies + dev->timeout; in parport_ieee1284_write_compat()
112 pr_debug("%s: Timed out\n", port->name); in parport_ieee1284_write_compat()
[all …]
/openbmc/linux/Documentation/RCU/
H A Dstallwarn.rst1 .. SPDX-License-Identifier: GPL-2.0
9 options that can be used to fine-tune the detector's operation. Finally,
20 - A CPU looping in an RCU read-side critical section.
22 - A CPU looping with interrupts disabled.
24 - A CPU looping with preemption disabled.
26 - A CPU looping with bottom halves disabled.
28 - For !CONFIG_PREEMPTION kernels, a CPU looping anywhere in the
33 - Booting Linux using a console connection that is too slow to
34 keep up with the boot-time console-message rate. For example,
36 with boot-time message rates, and will frequently result in
[all …]
/openbmc/linux/drivers/media/rc/
H A Drc-ir-raw.c1 // SPDX-License-Identifier: GPL-2.0
2 // rc-ir-raw.c - handle IR pulse/space events
11 #include "rc-core-priv.h"
26 struct rc_dev *dev = raw->dev; in ir_raw_event_thread()
30 while (kfifo_out(&raw->kfifo, &ev, 1)) { in ir_raw_event_thread()
33 dev_warn_once(&dev->dev, "nonsensical timing event of duration 0"); in ir_raw_event_thread()
34 if (is_timing_event(raw->prev_ev) && in ir_raw_event_thread()
35 !is_transition(&ev, &raw->prev_ev)) in ir_raw_event_thread()
36 dev_warn_once(&dev->dev, "two consecutive events of type %s", in ir_raw_event_thread()
40 if (dev->enabled_protocols & in ir_raw_event_thread()
[all …]
/openbmc/linux/kernel/time/
H A Dtimer.c1 // SPDX-License-Identifier: GPL-2.0
7 * 1997-01-28 Modified by Finn Arne Gangstad to make timers scale better.
9 * 1997-09-10 Updated NTP code according to technical memorandum Jan '96
11 * 1998-12-24 Fixed a xtime SMP race (we need the xtime_lock rw spinlock to
14 * 1999-03-10 Improved NTP compatibility by Ulrich Windl
15 * 2002-05-31 Move sys_sysinfo here and make its locking sane, Robert Love
16 * 2000-10-05 Implemented scalable SMP per-CPU timer handling.
33 #include <linux/posix-timers.h>
55 #include "tick-internal.h"
85 * timeout timers (networking, disk I/O ...) are canceled before expiry. If
[all …]
/openbmc/linux/drivers/net/wireless/ti/wl1251/
H A 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 …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
H A Dauxg94.c35 struct nvkm_device *device = aux->base.pad->i2c->subdev.device; in g94_i2c_aux_fini()
36 nvkm_mask(device, 0x00e4e4 + (aux->ch * 0x50), 0x00310000, 0x00000000); in g94_i2c_aux_fini()
42 struct nvkm_device *device = aux->base.pad->i2c->subdev.device; in g94_i2c_aux_init()
46 u32 ctrl, timeout; in g94_i2c_aux_init() local
48 /* wait up to 1ms for any previous transaction to be done... */ in g94_i2c_aux_init()
49 timeout = 1000; in g94_i2c_aux_init()
51 ctrl = nvkm_rd32(device, 0x00e4e4 + (aux->ch * 0x50)); in g94_i2c_aux_init()
53 if (!timeout--) { in g94_i2c_aux_init()
54 AUX_ERR(&aux->base, "begin idle timeout %08x", ctrl); in g94_i2c_aux_init()
55 return -EBUSY; in g94_i2c_aux_init()
[all …]
H A Dauxgm200.c35 struct nvkm_device *device = aux->base.pad->i2c->subdev.device; in gm200_i2c_aux_fini()
36 nvkm_mask(device, 0x00d954 + (aux->ch * 0x50), 0x00710000, 0x00000000); in gm200_i2c_aux_fini()
42 struct nvkm_device *device = aux->base.pad->i2c->subdev.device; in gm200_i2c_aux_init()
46 u32 ctrl, timeout; in gm200_i2c_aux_init() local
48 /* wait up to 1ms for any previous transaction to be done... */ in gm200_i2c_aux_init()
49 timeout = 1000; in gm200_i2c_aux_init()
51 ctrl = nvkm_rd32(device, 0x00d954 + (aux->ch * 0x50)); in gm200_i2c_aux_init()
53 if (!timeout--) { in gm200_i2c_aux_init()
54 AUX_ERR(&aux->base, "begin idle timeout %08x", ctrl); in gm200_i2c_aux_init()
55 return -EBUSY; in gm200_i2c_aux_init()
[all …]
/openbmc/u-boot/drivers/video/
H A Dati_radeon_fb.h32 #define IS_RV100_VARIANT(rinfo) (((rinfo)->family == CHIP_FAMILY_RV100) || \
33 ((rinfo)->family == CHIP_FAMILY_RV200) || \
34 ((rinfo)->family == CHIP_FAMILY_RS100) || \
35 ((rinfo)->family == CHIP_FAMILY_RS200) || \
36 ((rinfo)->family == CHIP_FAMILY_RV250) || \
37 ((rinfo)->family == CHIP_FAMILY_RV280) || \
38 ((rinfo)->family == CHIP_FAMILY_RS300))
40 #define IS_R300_VARIANT(rinfo) (((rinfo)->family == CHIP_FAMILY_R300) || \
41 ((rinfo)->family == CHIP_FAMILY_RV350) || \
42 ((rinfo)->family == CHIP_FAMILY_R350) || \
[all …]
/openbmc/linux/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_hw.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved.
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()
42 (((u32)hw->mac_addr[4]) << 8) | in atl1e_hw_set_mac_addr()
43 (((u32)hw->mac_addr[5])) ; in atl1e_hw_set_mac_addr()
46 value = (((u32)hw->mac_addr[0]) << 8) | in atl1e_hw_set_mac_addr()
47 (((u32)hw->mac_addr[1])) ; in atl1e_hw_set_mac_addr()
62 if (is_valid_ether_addr(hw->perm_mac_addr)) in atl1e_get_permanent_address()
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-block-device4 Contact: linux-ide@vger.kernel.org
12 0 OFF - the LED is not activated on activity
13 1 BLINK_ON - the LED blinks on every 10ms when activity is
15 2 BLINK_OFF - the LED is on when idle, and blinks off
16 every 10ms when activity is detected.
26 Contact: linux-ide@vger.kernel.org
34 - If the device does not support the unload heads feature,
35 access is denied with -EOPNOTSUPP.
36 - The maximal value accepted for a timeout is 30000
38 - A previously set timeout can be cancelled and disk can resume
[all …]
/openbmc/linux/Documentation/devicetree/bindings/display/panel/
H A Dpanel-edp.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/display/panel/panel-edp.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Douglas Anderson <dianders@chromium.org>
14 to a Embedded DisplayPort AUX bus (see display/dp-aux-bus.yaml) without
17 board, either for second-sourcing purposes or to support multiple SKUs
51 :<T1>:<T2>: :<--T10-->:<T11>:<T12>:
52 : +-----------------------+---------+---------+
53 eDP -----------+ Black video | Src vid | Blk vid +
[all …]
/openbmc/u-boot/arch/arm/mach-socfpga/
H A Dreset_manager_arria10.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2016-2017 Intel Corporation
66 setbits_le32(&reset_manager_base->per1modrst, in socfpga_watchdog_disable()
73 clrbits_le32(&reset_manager_base->brgmodrst, in socfpga_reset_deassert_noc_ddr_scheduler()
85 return fdtdec_get_uint(blob, node, "init-val", 0); in get_bridge_init_val()
95 if (get_bridge_init_val(gd->fdt_blob, in socfpga_reset_deassert_bridges_handoff()
102 /* clear idle request to all bridges */ in socfpga_reset_deassert_bridges_handoff()
103 setbits_le32(&sysmgr_regs->noc_idlereq_clr, mask_noc); in socfpga_reset_deassert_bridges_handoff()
106 clrbits_le32(&reset_manager_base->brgmodrst, mask_rstmgr); in socfpga_reset_deassert_bridges_handoff()
108 /* Poll until all idleack to 0, timeout at 1000ms */ in socfpga_reset_deassert_bridges_handoff()
[all …]
/openbmc/linux/drivers/usb/phy/
H A Dphy-fsl-usb.h1 /* SPDX-License-Identifier: GPL-2.0+ */
4 #include <linux/usb/otg-fsm.h>
30 /* bit 9-8 are async schedule park mode count */
37 /* bit 23-16 are interrupt threshold control */
99 /* bit 11-10 are line status */
106 /* bit 15-14 are port indicator control */
113 /* bit 19-16 are port test control */
122 /* bit 27-26 are port speed */
134 /* bit 31-30 are port transceiver select */
230 * A-DEVICE timing constants
[all …]
/openbmc/linux/drivers/input/touchscreen/
H A Diqs7211.c1 // SPDX-License-Identifier: GPL-2.0-or-later
52 * The following delay is used during instances that must wait for the open-
124 .name = "event-prox",
131 .name = "event-touch",
138 .name = "event-tap",
145 .name = "event-hold",
152 .name = "event-swipe-x-neg",
159 .name = "event-swipe-x-pos",
166 .name = "event-swipe-y-pos",
173 .name = "event-swipe-y-neg",
[all …]
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Dst,stmpe.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
15 - Linus Walleij <linus.walleij@linaro.org>
18 - $ref: /schemas/spi/spi-peripheral-props.yaml#
23 - st,stmpe601
24 - st,stmpe801
25 - st,stmpe811
26 - st,stmpe1600
27 - st,stmpe1601
[all …]
/openbmc/linux/drivers/input/mouse/
H A Dcyapa.c9 * Copyright (C) 2011-2015 Cypress Semiconductor, Inc.
10 * Copyright (C) 2011-2012 Google, Inc.
46 if (cyapa->gen == CYAPA_GEN6 && cyapa->state == CYAPA_STATE_GEN6_BL) in cyapa_is_pip_bl_mode()
49 if (cyapa->gen == CYAPA_GEN5 && cyapa->state == CYAPA_STATE_GEN5_BL) in cyapa_is_pip_bl_mode()
57 if (cyapa->gen == CYAPA_GEN6 && cyapa->state == CYAPA_STATE_GEN6_APP) in cyapa_is_pip_app_mode()
60 if (cyapa->gen == CYAPA_GEN5 && cyapa->state == CYAPA_STATE_GEN5_APP) in cyapa_is_pip_app_mode()
71 if (cyapa->gen == CYAPA_GEN3 && in cyapa_is_bootloader_mode()
72 cyapa->state >= CYAPA_STATE_BL_BUSY && in cyapa_is_bootloader_mode()
73 cyapa->state <= CYAPA_STATE_BL_ACTIVE) in cyapa_is_bootloader_mode()
84 if (cyapa->gen == CYAPA_GEN3 && cyapa->state == CYAPA_STATE_OP) in cyapa_is_operational_mode()
[all …]
H A Dcyapa_gen3.c9 * Copyright (C) 2011-2015 Cypress Semiconductor, Inc.
10 * Copyright (C) 2011-2012 Google, Inc.
60 * Used in register 0x00, bit1-0, DeviceStatus field.
88 * bit 7 - 4: high 4 bits of x position value
89 * bit 3 - 0: high 4 bits of y position value
95 /* id range is 1 - 15. It is incremented with every new touch. */
101 * bit 0 - 1: device status
102 * bit 3 - 2: power mode
103 * bit 6 - 4: reserved
108 * bit 7 - 4: number of fingers currently touching pad
[all …]
/openbmc/linux/drivers/usb/dwc2/
H A Dcore.c1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * core.c - DesignWare HS OTG Controller common routines
5 * Copyright (C) 2004-2013 Synopsys, Inc.
18 #include <linux/dma-mapping.h>
31 * dwc2_backup_global_registers() - Backup global controller registers.
41 dev_dbg(hsotg->dev, "%s\n", __func__); in dwc2_backup_global_registers()
44 gr = &hsotg->gr_backup; in dwc2_backup_global_registers()
46 gr->gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_backup_global_registers()
47 gr->gintmsk = dwc2_readl(hsotg, GINTMSK); in dwc2_backup_global_registers()
48 gr->gahbcfg = dwc2_readl(hsotg, GAHBCFG); in dwc2_backup_global_registers()
[all …]
/openbmc/linux/Documentation/w1/masters/
H A Dds2490.rst13 -----------
16 which allows to build USB <-> W1 bridges.
18 DS9490(R) is a USB <-> W1 bus master device
20 low-level operational chip.
24 - The weak pullup current is a minimum of 0.9mA and maximum of 6.0mA.
25 - The 5V strong pullup is supported with a minimum of 5.9mA and a
27 - The hardware will detect when devices are attached to the bus on the
31 - The number of USB bus transactions could be reduced if w1_reset_send
40 - The hardware supports normal, flexible, and overdrive bus
42 - The registered w1_bus_master functions don't define error
[all …]
/openbmc/u-boot/drivers/ddr/fsl/
H A Dfsl_ddr_gen4.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2014-2015 Freescale Semiconductor, Inc.
24 int timeout = 1000; in set_wait_for_bits_clear() local
30 timeout--; in set_wait_for_bits_clear()
32 if (timeout <= 0) in set_wait_for_bits_clear()
33 puts("Error: wait for clear timeout.\n"); in set_wait_for_bits_clear()
42 * regs has the to-be-set values for DDR controller registers
57 int timeout; in fsl_ddr_set_memctl_regs() local
96 mod_bnds = regs->cs[0].config & CTLR_INTLV_MASK; in fsl_ddr_set_memctl_regs()
102 ddr_out32(&ddr->ddr_cdr1, regs->ddr_cdr1); in fsl_ddr_set_memctl_regs()
[all …]
/openbmc/qemu/hw/misc/
H A Dmac_via.c4 * Copyright (c) 2011-2018 Laurent Vivier
5 * Copyright (c) 2018 Mark Cave-Ayland
9 * Copyright (c) 2004-2007 Fabrice Bellard
12 * some parts from linux-2.6.29, arch/m68k/include/asm/mac_via.h
15 * See the COPYING file in the top-level directory.
19 #include "exec/address-spaces.h"
30 #include "hw/qdev-properties.h"
31 #include "hw/qdev-properties-system.h"
32 #include "sysemu/block-backend.h"
77 * state-control line SEL" on all but IIfx
[all …]
/openbmc/linux/arch/arm/mach-zynq/
H A Dplatsmp.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Copyright (C) 2011-2013 Xilinx
8 * based on linux/arch/arm/mach-realview/platsmp.c
20 #include <linux/irqchip/arm-gic.h>
32 u32 trampoline_code_size = &zynq_secondary_trampoline_end - in zynq_cpun_start()
36 /* MS: Expectation that SLCR are directly map and accessible */ in zynq_cpun_start()
41 u32 trampoline_size = &zynq_secondary_trampoline_jump - in zynq_cpun_start()
50 return -1; in zynq_cpun_start()
80 return -1; in zynq_cpun_start()
84 static int zynq_boot_secondary(unsigned int cpu, struct task_struct *idle) in zynq_boot_secondary() argument
[all …]
/openbmc/linux/drivers/peci/controller/
H A Dpeci-npcm.c1 // SPDX-License-Identifier: GPL-2.0
31 /* NPCM_PECI_CTL_STS - 0x00 : Control Register */
38 /* NPCM_PECI_RD_LENGTH - 0x04 : Command Register */
41 /* NPCM_PECI_CMD - 0x10 : Command Register */
44 /* NPCM_PECI_WR_LENGTH - 0x1C : Command Register */
47 /* NPCM_PECI_PDDR - 0x2C : Command Register */
75 struct npcm_peci *priv = dev_get_drvdata(controller->dev.parent); in npcm_peci_xfer()
76 unsigned long timeout = msecs_to_jiffies(priv->cmd_timeout_ms); in npcm_peci_xfer() local
81 /* Check command sts and bus idle state */ in npcm_peci_xfer()
82 ret = regmap_read_poll_timeout(priv->regmap, NPCM_PECI_CTL_STS, cmd_sts, in npcm_peci_xfer()
[all …]

12345678910>>...14