Home
last modified time | relevance | path

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

/linux/Documentation/devicetree/bindings/media/
H A Dgpio-ir-receiver.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/media/gpio-ir-receiver.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
13 - $ref: rc.yaml#
17 const: gpio-ir-receiver
22 linux,autosuspend-period:
23 description: autosuspend delay time in milliseconds
26 wakeup-source:
[all …]
/linux/Documentation/power/
H A 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 …]
/linux/Documentation/driver-api/usb/
H A Dpower-management.rst1 .. _usb-power-management:
7 :Date: Last-updated: February 2014
11 ---------
17 * Changing the default idle-delay time
20 * The driver interface for autosuspend and autoresume
31 -------------------------
35 component is ``suspended`` it is in a nonfunctional low-power state; it
37 ``resumed`` (returned to a functional full-power state) when the kernel
67 ----------------------
85 --------------------------
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-devices-power40 space to control the run-time power management of the device.
61 with the main suspend/resume thread) during system-wide power
86 attribute is read-only. If the device is not capable to wake up
98 is read-only. If the device is not capable to wake up the
110 state in progress. This attribute is read-only. If the device
122 read-only. If the device is not capable to wake up the system
133 the device is being processed (1). This attribute is read-only.
145 device, in milliseconds. This attribute is read-only. If the
156 with the device, in milliseconds. This attribute is read-only.
169 milliseconds. This attribute is read-only. If the device is
[all …]
/linux/Documentation/devicetree/bindings/iio/proximity/
H A Ddevantech-srf04.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/iio/proximity/devantech-srf04.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Andreas Klinger <ak@it-klinger.de>
13 Bit-banging driver using two GPIOs:
14 - trigger-gpio is raised by the driver to start sending out an ultrasonic
16 - echo-gpio is held high by the sensor after sending ultrasonic burst
20 https://www.robot-electronics.co.uk/htm/srf04tech.htm
22 https://www.maxbotix.com/documents/LV-MaxSonar-EZ_Datasheet.pdf
[all …]
/linux/drivers/media/i2c/
H A Dimx283.c1 // SPDX-License-Identifier: GPL-2.0
13 * Copyright (C) 2019-2020 Raspberry Pi (Trading) Ltd
32 #include <media/v4l2-cci.h>
33 #include <media/v4l2-ctrls.h>
34 #include <media/v4l2-device.h>
35 #include <media/v4l2-fwnode.h>
36 #include <media/v4l2-mediabus.h>
93 #define IMX283_HMAX_MAX (BIT(16) - 1)
97 #define IMX283_VMAX_MAX (BIT(16) - 1)
105 * Gain [dB] = -20log{(2048 - value [10:0]) /2048}
[all …]
/linux/drivers/usb/host/
H A Duhci-hcd.h1 /* SPDX-License-Identifier: GPL-2.0 */
61 #define USBPORTSC_DMINUS 0x0020 /* D- high (line status) */
80 /* PCI Intel-specific resume-enable register */
97 /* When no queues need Full-Speed Bandwidth Reclamation,
110 * To facilitate the strongest possible byte-order checking from "sparse"
127 * with each endpoint, and qh->element (updated by the HC) is either:
128 * - the next unprocessed TD in the endpoint's queue, or
129 * - UHCI_PTR_TERM (when there's no more traffic for this endpoint).
133 * place. Then qh->element is UHCI_PTR_TERM.
135 * In the schedule, qh->link maintains a list of QHs seen by the HC:
[all …]
/linux/arch/arm64/boot/dts/freescale/
H A Dimx8mq-evk.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
4 * Copyright (C) 2017-2018 Pengutronix, Lucas Stach <kernel@pengutronix.de>
7 /dts-v1/;
13 compatible = "fsl,imx8mq-evk", "fsl,imx8mq";
16 stdout-path = &uart1;
24 pcie0_refclk: pcie0-refclk {
25 compatible = "fixed-clock";
26 #clock-cells = <0>;
27 clock-frequency = <100000000>;
30 reg_pcie1: regulator-pcie {
[all …]
H A Dimx8mn-evk.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/usb/pd.h>
11 stdout-path = &uart2;
14 gpio-leds {
15 compatible = "gpio-leds";
16 pinctrl-names = "default";
17 pinctrl-0 = <&pinctrl_gpio_led>;
22 default-state = "on";
26 hdmi-connector {
27 compatible = "hdmi-connector";
[all …]
H A Dimx8mm-evk.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/phy/phy-imx8-pcie.h>
9 #include <dt-bindings/usb/pd.h>
14 stdout-path = &uart2;
22 hdmi-connector {
23 compatible = "hdmi-connector";
29 remote-endpoint = <&adv7535_out>;
35 compatible = "gpio-leds";
36 pinctrl-names = "default";
[all …]
/linux/drivers/iio/pressure/
H A 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
70 /* 200 ms should be enough for the longest conversion time in one-shot mode. */
78 * struct zpa2326_frequency - Hardware sampling frequency descriptor
102 ARRAY_SIZE(zpa2326_sampling_frequencies) - 1]; in zpa2326_highest_frequency()
106 * struct zpa2326_private - Per-device internal private state
138 dev_err(idev->dev.parent, fmt "\n", ##__VA_ARGS__)
[all …]
/linux/include/scsi/
H A Dscsi_device.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 #include <linux/blk-mq.h>
49 * originate in the mid-layer) */
86 /* put union of data structures, for non-simple event types,
92 * struct scsi_vpd - SCSI Vital Product Data
107 /* the next two are protected by the host->host_lock */
122 unsigned long queue_ramp_up_period; /* ramp up period in jiffies */
130 * vendor-specific cmd's */
133 void *hostdata; /* available to low-level driver */
163 * If true, let the high-level device driver (sd) manage the device
[all …]
H A Dscsi_host.h1 /* SPDX-License-Identifier: GPL-2.0 */
11 #include <linux/blk-mq.h>
31 * enum scsi_timeout_action - How to handle a command that timed out.
49 * Additional per-command data allocated for the driver.
77 * For compatibility, any other non-zero return is treated the
81 * this device/host completes, or a period of time determined by
123 * When unknown ioctl is passed return -ENOIOCTLCMD.
136 * define one of these if you don't want to - there is a default
139 * own strategy routine, this is where it is specified. Note - the
168 * Return values: 0 on success, non-0 on failure
[all …]
/linux/drivers/usb/fotg210/
H A Dfotg210-hcd.c1 // SPDX-License-Identifier: GPL-2.0+
2 /* Faraday FOTG210 EHCI-like driver
6 * Author: Yuan-Hsin Chen <yhchen@faraday-tech.com>
7 * Feng-Hsin Chiang <john453@faraday-tech.com>
8 * Po-Yu Chuang <ratbert.chuang@gmail.com>
10 * Most of code borrowed from the Linux-3.7 EHCI driver
29 #include <linux/dma-mapping.h>
49 #define FOTG210_TUNE_CERR 3 /* 0-3 qtd retries; 0 == don't stop */
52 #define FOTG210_TUNE_MULT_HS 1 /* 1-3 transactions/uframe; 4.10.3 */
60 #define FOTG210_TUNE_FLS 1 /* (medium) 512-frame schedule */
[all …]
/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt16 force -- enable ACPI if default was off
17 on -- enable ACPI but allow fallback to DT [arm64,riscv64]
18 off -- disable ACPI if default was on
19 noirq -- do not use ACPI for IRQ routing
20 strict -- Be less tolerant of platforms that are not
22 rsdt -- prefer RSDT over (default) XSDT
23 copy_dsdt -- copy DSDT to memory
24 nospcr -- disable console in ACPI SPCR table as
41 If set to vendor, prefer vendor-specific driver
73 Documentation/firmware-guide/acpi/debug.rst for more information about
[all …]
/linux/include/linux/
H A Dusb.h1 /* SPDX-License-Identifier: GPL-2.0 */
14 #include <linux/errno.h> /* for -ENODEV */
29 /*------
[all...]
/linux/drivers/iio/accel/
H A Dbmc150-accel-core.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * 3-axis accelerometer driver supporting many Bosch-Sensortec chips
26 #include "bmc150-accel.h"
212 struct device *dev = regmap_get_device(data->regmap); in bmc150_accel_set_mode()
216 int dur_val = -1; in bmc150_accel_set_mode()
231 return -EINVAL; in bmc150_accel_set_mode()
238 ret = regmap_write(data->regmap, BMC150_ACCEL_REG_PMU_LPW, lpw_bits); in bmc150_accel_set_mode()
256 ret = regmap_write(data->regmap, in bmc150_accel_set_bw()
262 data->bw_bits = in bmc150_accel_set_bw()
268 return -EINVAL; in bmc150_accel_set_bw()
[all …]
/linux/drivers/usb/isp1760/
H A Disp1760-hcd.c1 // SPDX-License-Identifier: GPL-2.0
6 * - ISO
7 * - OTG
33 #include "isp1760-core.h"
34 #include "isp1760-hcd.h"
35 #include "isp1760-regs.h"
46 return *(struct isp1760_hcd **)hcd->hcd_priv; in hcd_to_priv()
150 /* the rest is HCD-private */
158 /* QTD_XFER_STARTED: valid ptd has been written to isp176x - only
204 return isp1760_field_read(priv->fields, field); in isp1760_hcd_read()
[all …]
/linux/drivers/i2c/busses/
H A Di2c-omap.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * Copyright (C) 2004 - 2007 Texas Instruments.
29 #include <linux/platform_data/i2c-omap.h>
46 /* timeout for pm runtime autosuspend */
203 unsigned bb_valid:1; /* true when BB-bit reflects
268 writew_relaxed(val, omap->base + in omap_i2c_write_reg()
269 (omap->regs[reg] << omap->reg_shift)); in omap_i2c_write_reg()
274 return readw_relaxed(omap->base + in omap_i2c_read_reg()
275 (omap->regs[reg] << omap->reg_shift)); in omap_i2c_read_reg()
284 omap_i2c_write_reg(omap, OMAP_I2C_PSC_REG, omap->pscstate); in __omap_i2c_init()
[all …]
/linux/drivers/iio/imu/inv_mpu6050/
H A Dinv_mpu_core.c1 // SPDX-License-Identifier: GPL-2.0-only
315 clock = st->chip_config.clk; in inv_mpu6050_pwr_mgmt_1_write()
317 temp_dis = !st->chip_config.temp_en; in inv_mpu6050_pwr_mgmt_1_write()
327 dev_dbg(regmap_get_device(st->map), "pwr_mgmt_1: 0x%x\n", val); in inv_mpu6050_pwr_mgmt_1_write()
328 return regmap_write(st->map, st->reg->pwr_mgmt_1, val); in inv_mpu6050_pwr_mgmt_1_write()
336 switch (st->chip_type) { in inv_mpu6050_clock_switch()
341 ret = inv_mpu6050_pwr_mgmt_1_write(st, false, false, clock, -1); in inv_mpu6050_clock_switch()
344 st->chip_config.clk = clock; in inv_mpu6050_clock_switch()
362 if (mask & INV_MPU6050_SENSOR_ACCL && en == st->chip_config.accl_en) in inv_mpu6050_switch_engine()
364 if (mask & INV_MPU6050_SENSOR_GYRO && en == st->chip_config.gyro_en) in inv_mpu6050_switch_engine()
[all …]
/linux/drivers/net/usb/
H A Dusbnet.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (C) 2000-2005 by David Brownell
5 * Copyright (C) 2003-2005 David Hollis <dhollis@davehollis.com>
10 * kinds of full and high speed networking devices: host-to-host cables,
34 /*-------------------------------------------------------------------------*/
48 #define RX_QLEN(dev) ((dev)->rx_qlen)
49 #define TX_QLEN(dev) ((dev)->tx_qlen)
62 /*-------------------------------------------------------------------------*/
65 static int msg_level = -1;
69 /*-------------------------------------------------------------------------*/
[all …]
H A Dlan78xx.c1 // SPDX-License-Identifier: GPL-2.0+
122 #define LAN78XX_TSO_SIZE(dev) ((dev)->tx_urb_size - TX_SKB_MIN_LEN)
132 /* default autosuspend delay (mSec)*/
192 "RX 65 - 127 Byte Frames",
193 "RX 128 - 255 Byte Frames",
194 "RX 256 - 511 Bytes Frames",
195 "RX 512 - 1023 Byte Frames",
196 "RX 1024 - 1518 Byte Frames",
216 "TX 65 - 127 Byte Frames",
217 "TX 128 - 255 Byte Frames",
[all …]
/linux/Documentation/sound/
H A Dalsa-configuration.rst2 Advanced Linux Sound Architecture - Driver Configuration guide
38 ----------
47 limiting card index for auto-loading (1-8);
49 For auto-loading more than one card, specify this option
50 together with snd-card-X aliases.
63 Module snd-pcm-oss
64 ------------------
86 regarding opening the device. When this option is non-zero,
90 Module snd-rawmidi
91 ------------------
[all …]
/linux/drivers/media/usb/uvc/
H A Duvc_video.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * uvc_video.c -- USB Video Class driver - Video handling
5 * Copyright (C) 2005-2010
9 #include <linux/dma-mapping.h>
23 #include <media/v4l2-common.h>
27 /* ------------------------------------------------------------------------
38 pipe = (query & 0x80) ? usb_rcvctrlpipe(dev->udev, 0) in __uvc_query_ctrl()
39 : usb_sndctrlpipe(dev->udev, 0); in __uvc_query_ctrl()
42 return usb_control_msg(dev->udev, pipe, query, type, cs << 8, in __uvc_query_ctrl()
82 if (ret != -EPIPE) { in uvc_query_ctrl()
[all …]
/linux/drivers/ufs/core/
H A Dufshcd.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (C) 2011-2013 Samsung India Software Operations
5 * Copyright (c) 2013-2016, The Linux Foundation. All rights reserved.
17 #include <linux/blk-pm.h>
31 #include "ufshcd-priv.h"
34 #include "ufs-sysfs.h"
35 #include "ufs-debugfs.h"
36 #include "ufs-fault-injection.h"
38 #include "ufshcd-crypto.h"
77 /* maximum number of link-startup retries */
[all …]