Home
last modified time | relevance | path

Searched +full:autosuspend +full:- +full:delay +full:- +full:ms (Results 1 – 25 of 66) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
DKconfig.profile2 int "Timeout for unsignaled foreign fences (ms, jiffy granularity)"
14 int "Runtime autosuspend delay for userspace GGTT mmaps (ms)"
21 that complements the runtime-pm autosuspend and provides a lower
22 floor on the autosuspend delay.
24 May be 0 to disable the extra delay and solely use the device level
25 runtime pm autosuspend delay tunable.
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)"
66 take a non-negligible time to setup, we do a short spin first to
[all …]
/kernel/linux/linux-5.10/Documentation/power/
Druntime_pm.rst5 (C) 2009-2011 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc.
18 put their PM-related work items. It is strongly recommended that pm_wq be
20 them to be synchronized with system-wide power transitions (suspend to RAM,
53 The ->runtime_suspend(), ->runtime_resume() and ->runtime_idle() callbacks
57 1. PM domain of the device, if the device's PM domain object, dev->pm_domain,
60 2. Device type of the device, if both dev->type and dev->type->pm are present.
62 3. Device class of the device, if both dev->class and dev->class->pm are
65 4. Bus type of the device, if both dev->bus and dev->bus->pm are present.
69 dev->driver->pm directly (if present).
73 and bus type. Moreover, the high-priority one will always take precedence over
[all …]
/kernel/linux/linux-4.19/Documentation/power/
Druntime_pm.txt3 (C) 2009-2011 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc.
13 put their PM-related work items. It is strongly recommended that pm_wq be
15 them to be synchronized with system-wide power transitions (suspend to RAM,
47 The ->runtime_suspend(), ->runtime_resume() and ->runtime_idle() callbacks
51 1. PM domain of the device, if the device's PM domain object, dev->pm_domain,
54 2. Device type of the device, if both dev->type and dev->type->pm are present.
56 3. Device class of the device, if both dev->class and dev->class->pm are
59 4. Bus type of the device, if both dev->bus and dev->bus->pm are present.
63 dev->driver->pm directly (if present).
67 and bus type. Moreover, the high-priority one will always take precedence over
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/spi/
Dspi_pl022.txt4 - compatible : "arm,pl022", "arm,primecell"
5 - reg : Offset and length of the register set for the device
6 - interrupts : Should contain SPI controller interrupt
7 - num-cs : total number of chipselects
10 - cs-gpios : should specify GPIOs used for chipselects.
13 - pl022,autosuspend-delay : delay in ms following transfer completion before
15 device. A setting of 0 indicates no delay and the
17 - pl022,rt : indicates the controller should run the message pump with realtime
19 - dmas : Two or more DMA channel specifiers following the convention outlined
21 - dma-names: Names for the dma channels, if present. There must be at
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/remoteproc/
Dti,omap-remoteproc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/remoteproc/ti,omap-remoteproc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Suman Anna <s-anna@ti.com>
13 The OMAP family of SoCs usually have one or more slave processor sub-systems
14 that are used to offload some of the processor-intensive tasks, or to manage
17 The processor cores in the sub-system are usually behind an IOMMU, and may
18 contain additional sub-modules like Internal RAM and/or ROMs, L1 and/or L2
21 The OMAP SoCs usually have a DSP processor sub-system and/or an IPU processor
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/spi/
Dspi-pl022.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/spi/spi-pl022.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Linus Walleij <linus.walleij@linaro.org>
13 - $ref: "spi-controller.yaml#"
22 - compatible
27 - const: arm,pl022
28 - const: arm,primecell
39 clock-names:
[all …]
/kernel/linux/linux-5.10/drivers/iio/accel/
Dkxsd9.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Copyright (c) 2008-2009 Jonathan Cameron <jic23@kernel.org>
21 #include <linux/delay.h>
60 #define KXSD9_CTRL_B_ST BIT(5) /* Self-test */
65 * struct kxsd9_state - device related storage
88 #define KXSD9_ZERO_G_OFFSET -2048
108 return -EINVAL; in kxsd9_write_scale()
110 ret = regmap_update_bits(st->map, in kxsd9_write_scale()
118 st->scale = i; in kxsd9_write_scale()
141 int ret = -EINVAL; in kxsd9_write_raw()
[all …]
Dbmc150-accel-core.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * 3-axis accelerometer driver supporting following Bosch-Sensortec chips:
4 * - BMC150
5 * - BMI055
6 * - BMA255
7 * - BMA250E
8 * - BMA222E
9 * - BMA280
17 #include <linux/delay.h>
31 #include "bmc150-accel.h"
[all …]
/kernel/linux/linux-4.19/drivers/iio/accel/
Dkxsd9.c5 * Copyright (c) 2008-2009 Jonathan Cameron <jic23@kernel.org>
24 #include <linux/delay.h>
63 #define KXSD9_CTRL_B_ST BIT(5) /* Self-test */
68 * struct kxsd9_state - device related storage
91 #define KXSD9_ZERO_G_OFFSET -2048
111 return -EINVAL; in kxsd9_write_scale()
113 ret = regmap_update_bits(st->map, in kxsd9_write_scale()
121 st->scale = i; in kxsd9_write_scale()
144 int ret = -EINVAL; in kxsd9_write_raw()
147 pm_runtime_get_sync(st->dev); in kxsd9_write_raw()
[all …]
Dbmc150-accel-core.c2 * 3-axis accelerometer driver supporting following Bosch-Sensortec chips:
3 * - BMC150
4 * - BMI055
5 * - BMA255
6 * - BMA250E
7 * - BMA222E
8 * - BMA280
25 #include <linux/delay.h>
39 #include "bmc150-accel.h"
269 struct device *dev = regmap_get_device(data->regmap); in bmc150_accel_set_mode()
[all …]
/kernel/linux/linux-5.10/drivers/iio/light/
Dbh1780.c1 // SPDX-License-Identifier: GPL-2.0-only
14 #include <linux/delay.h>
34 /* power on settling time in ms */
36 /* max time before value available in ms */
45 int ret = i2c_smbus_write_byte_data(bh1780->client, in bh1780_write()
49 dev_err(&bh1780->client->dev, in bh1780_write()
58 int ret = i2c_smbus_read_byte_data(bh1780->client, in bh1780_read()
61 dev_err(&bh1780->client->dev, in bh1780_read()
70 int ret = i2c_smbus_read_word_data(bh1780->client, in bh1780_read_word()
73 dev_err(&bh1780->client->dev, in bh1780_read_word()
[all …]
Dgp2ap002.c1 // SPDX-License-Identifier: GPL-2.0-only
14 * https://lore.kernel.org/lkml/1315556546-7445-1-git-send-email-dg77.kim@samsung.com/
17 * https://lore.kernel.org/linux-input/20190125175045.22576-1-pawel.mikolaj.chmiel@gmail.com/
18 * Based partly on code from the Samsung GT-S7710 by <mjchen@sta.samsung.com>
31 #include <linux/delay.h>
42 /* ------------------------------------------------------------------------ */
45 /* ------------------------------------------------------------------------ */
52 /* ------------------------------------------------------------------------ */
54 /* LED0 :Select switch for LED driver's On-registence(0:2x higher, 1:normal)*/
57 /* CYCL :Determine the detection cycle(typically 8ms, up to 128x) */
[all …]
/kernel/linux/linux-4.19/drivers/iio/light/
Dbh1780.c13 #include <linux/delay.h>
33 /* power on settling time in ms */
35 /* max time before value available in ms */
44 int ret = i2c_smbus_write_byte_data(bh1780->client, in bh1780_write()
48 dev_err(&bh1780->client->dev, in bh1780_write()
57 int ret = i2c_smbus_read_byte_data(bh1780->client, in bh1780_read()
60 dev_err(&bh1780->client->dev, in bh1780_read()
69 int ret = i2c_smbus_read_word_data(bh1780->client, in bh1780_read_word()
72 dev_err(&bh1780->client->dev, in bh1780_read_word()
107 switch (chan->type) { in bh1780_read_raw()
[all …]
/kernel/linux/linux-4.19/drivers/usb/core/
Dhub.c1 // SPDX-License-Identifier: GPL-2.0
47 /* Protect struct usb_device->state and ->children members
48 * Note: Both are also protected by ->dev.sem, except that ->state can
56 /* synchronize hub-port add/remove and peering operations */
66 * 10 seconds to send reply for the initial 64-byte descriptor request.
68 /* define initial 64-byte descriptor request timeout in milliseconds */
72 "initial 64-byte descriptor request timeout in milliseconds "
73 "(default 5000 - 5.0 seconds)");
118 if (hub_is_superspeedplus(hub->hdev)) in portspeed()
120 if (hub_is_superspeed(hub->hdev)) in portspeed()
[all …]
/kernel/linux/linux-5.10/drivers/usb/core/
Dhub.c1 // SPDX-License-Identifier: GPL-2.0
52 /* Protect struct usb_device->state and ->children members
53 * Note: Both are also protected by ->dev.sem, except that ->state can
61 /* synchronize hub-port add/remove and peering operations */
71 * 10 seconds to send reply for the initial 64-byte descriptor request.
73 /* define initial 64-byte descriptor request timeout in milliseconds */
77 "initial 64-byte descriptor request timeout in milliseconds "
78 "(default 5000 - 5.0 seconds)");
123 if (hub_is_superspeedplus(hub->hdev)) in portspeed()
125 if (hub_is_superspeed(hub->hdev)) in portspeed()
[all …]
/kernel/linux/linux-4.19/drivers/iio/gyro/
Dmpu3050-core.c16 #include <linux/delay.h>
36 * Register map: anything suffixed *_H is a big-endian high byte and always
73 /* Bits 8-11 select memory bank */
160 * Fullscale precision is (for finest precision) +/- 250 deg/s, so the full
181 if (mpu3050->lpf == MPU3050_DLPF_CFG_256HZ_NOLPF2) in mpu3050_get_freq()
185 freq /= (mpu3050->divisor + 1); in mpu3050_get_freq()
197 ret = regmap_update_bits(mpu3050->map, MPU3050_PWR_MGM, in mpu3050_start_sampling()
202 /* Turn on the Z-axis PLL */ in mpu3050_start_sampling()
203 ret = regmap_update_bits(mpu3050->map, MPU3050_PWR_MGM, in mpu3050_start_sampling()
211 raw_val[i] = cpu_to_be16(mpu3050->calibration[i]); in mpu3050_start_sampling()
[all …]
/kernel/linux/linux-5.10/drivers/iio/gyro/
Dmpu3050-core.c1 // SPDX-License-Identifier: GPL-2.0-only
17 #include <linux/delay.h>
37 * Register map: anything suffixed *_H is a big-endian high byte and always
74 /* Bits 8-11 select memory bank */
161 * Fullscale precision is (for finest precision) +/- 250 deg/s, so the full
182 if (mpu3050->lpf == MPU3050_DLPF_CFG_256HZ_NOLPF2) in mpu3050_get_freq()
186 freq /= (mpu3050->divisor + 1); in mpu3050_get_freq()
198 ret = regmap_update_bits(mpu3050->map, MPU3050_PWR_MGM, in mpu3050_start_sampling()
203 /* Turn on the Z-axis PLL */ in mpu3050_start_sampling()
204 ret = regmap_update_bits(mpu3050->map, MPU3050_PWR_MGM, in mpu3050_start_sampling()
[all …]
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-sprd.c4 * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 #include <linux/delay.h>
73 /* timeout (ms) for pm runtime autosuspend */
75 /* timeout (ms) for transfer message */
96 writel(count, i2c_dev->base + I2C_COUNT); in sprd_i2c_set_count()
101 u32 tmp = readl(i2c_dev->base + I2C_CTL); in sprd_i2c_send_stop()
104 writel(tmp & ~STP_EN, i2c_dev->base + I2C_CTL); in sprd_i2c_send_stop()
106 writel(tmp | STP_EN, i2c_dev->base + I2C_CTL); in sprd_i2c_send_stop()
111 u32 tmp = readl(i2c_dev->base + I2C_CTL); in sprd_i2c_clear_start()
113 writel(tmp & ~I2C_START, i2c_dev->base + I2C_CTL); in sprd_i2c_clear_start()
[all …]
/kernel/linux/linux-5.10/drivers/iio/pressure/
Dzpa2326.c1 // SPDX-License-Identifier: GPL-2.0-only
34 * - get device out of low power mode,
35 * - setup hardware sampling period,
36 * - at end of period, upon data ready interrupt: pop pressure samples out of
38 * - when no longer needed, stop sampling process by putting device into
56 #include <linux/delay.h>
70 /* 200 ms should be enough for the longest conversion time in one-shot mode. */
73 /* There should be a 1 ms delay (Tpup) after getting out of reset. */
78 * struct zpa2326_frequency - Hardware sampling frequency descriptor
102 ARRAY_SIZE(zpa2326_sampling_frequencies) - 1]; in zpa2326_highest_frequency()
[all …]
/kernel/linux/linux-4.19/drivers/iio/pressure/
Dzpa2326.c42 * - get device out of low power mode,
43 * - setup hardware sampling period,
44 * - at end of period, upon data ready interrupt: pop pressure samples out of
46 * - when no longer needed, stop sampling process by putting device into
64 #include <linux/delay.h>
77 /* 200 ms should be enough for the longest conversion time in one-shot mode. */
80 /* There should be a 1 ms delay (Tpup) after getting out of reset. */
85 * struct zpa2326_frequency - Hardware sampling frequency descriptor
109 ARRAY_SIZE(zpa2326_sampling_frequencies) - 1]; in zpa2326_highest_frequency()
113 * struct zpa_private - Per-device internal private state
[all …]
/kernel/linux/linux-4.19/include/linux/
Dusb.h1 /* SPDX-License-Identifier: GPL-2.0 */
14 #include <linux/errno.h> /* for -ENODEV */
15 #include <linux/delay.h> /* for mdelay() */
30 /*-------------------------------------------------------------------------*/
33 * Host-side wrappers for standard USB descriptors ... these are parsed
37 * - devices have one (usually) or more configs;
38 * - configs have one (often) or more interfaces;
39 * - interfaces have one (usually) or more settings;
40 * - each interface setting has zero or (usually) more endpoints.
41 * - a SuperSpeed endpoint has a companion descriptor
[all …]
/kernel/linux/linux-5.10/drivers/phy/motorola/
Dphy-mapphone-mdm6600.c1 // SPDX-License-Identifier: GPL-2.0
7 #include <linux/delay.h>
111 struct gpio_desc *enable_gpio = ddata->ctrl_gpios[PHY_MDM6600_ENABLE]; in phy_mdm6600_init()
113 if (!ddata->enabled) in phy_mdm6600_init()
114 return -EPROBE_DEFER; in phy_mdm6600_init()
124 struct gpio_desc *enable_gpio = ddata->ctrl_gpios[PHY_MDM6600_ENABLE]; in phy_mdm6600_power_on()
127 if (!ddata->enabled) in phy_mdm6600_power_on()
128 return -ENODEV; in phy_mdm6600_power_on()
130 error = pinctrl_pm_select_default_state(ddata->dev); in phy_mdm6600_power_on()
132 dev_warn(ddata->dev, "%s: error with default_state: %i\n", in phy_mdm6600_power_on()
[all …]
/kernel/linux/linux-4.19/drivers/phy/motorola/
Dphy-mapphone-mdm6600.c1 // SPDX-License-Identifier: GPL-2.0
7 #include <linux/delay.h>
110 struct gpio_desc *enable_gpio = ddata->ctrl_gpios[PHY_MDM6600_ENABLE]; in phy_mdm6600_init()
112 if (!ddata->enabled) in phy_mdm6600_init()
113 return -EPROBE_DEFER; in phy_mdm6600_init()
123 struct gpio_desc *enable_gpio = ddata->ctrl_gpios[PHY_MDM6600_ENABLE]; in phy_mdm6600_power_on()
125 if (!ddata->enabled) in phy_mdm6600_power_on()
126 return -ENODEV; in phy_mdm6600_power_on()
136 struct gpio_desc *enable_gpio = ddata->ctrl_gpios[PHY_MDM6600_ENABLE]; in phy_mdm6600_power_off()
138 if (!ddata->enabled) in phy_mdm6600_power_off()
[all …]
/kernel/linux/linux-5.10/drivers/nfc/
Dtrf7970a.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com
19 #include <linux/delay.h>
39 * when EN2 is left low. The 'en2-rf-quirk' device tree property
62 * has sent the command to the tag, it simply returns -ECANCELED. If the
65 * sending the data upstream, it frees the rx_skb and sends -ECANCELED
73 * those cases, the timeout mechanism is used to wait 20 ms in case more
74 * data arrives. After 20 ms, it is assumed that all of the data has been
79 * been received and there isn't an error). The delay is 20 ms since delays
80 * of ~16 ms have been observed during testing.
[all …]
/kernel/linux/linux-4.19/drivers/nfc/
Dtrf7970a.c4 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com
22 #include <linux/delay.h>
42 * when EN2 is left low. The 'en2-rf-quirk' device tree property
65 * has sent the command to the tag, it simply returns -ECANCELED. If the
68 * sending the data upstream, it frees the rx_skb and sends -ECANCELED
76 * those cases, the timeout mechanism is used to wait 20 ms in case more
77 * data arrives. After 20 ms, it is assumed that all of the data has been
82 * been received and there isn't an error). The delay is 20 ms since delays
83 * of ~16 ms have been observed during testing.
86 * driver will wait 20 ms for the FIFO to drain past the low-watermark
[all …]

123