Home
last modified time | relevance | path

Searched +full:autosuspend +full:- +full:period (Results 1 – 22 of 22) 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/drivers/media/rc/
H A Dgpio-ir-recv.c1 // SPDX-License-Identifier: GPL-2.0-only
16 #include <media/rc-core.h>
32 struct device *pmdev = gpio_dev->pmdev; in gpio_ir_recv_irq()
47 val = gpiod_get_value(gpio_dev->gpiod); in gpio_ir_recv_irq()
49 ir_raw_event_store_edge(gpio_dev->rcdev, val == 1); in gpio_ir_recv_irq()
59 struct device *dev = &pdev->dev; in gpio_ir_recv_probe()
60 struct device_node *np = dev->of_node; in gpio_ir_recv_probe()
63 u32 period = 0; in gpio_ir_recv_probe() local
67 return -ENODEV; in gpio_ir_recv_probe()
71 return -ENOMEM; in gpio_ir_recv_probe()
[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/i2c/busses/
H A Di2c-sprd.c4 * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
72 /* timeout (ms) for pm runtime autosuspend */
95 writel(count, i2c_dev->base + I2C_COUNT); in sprd_i2c_set_count()
100 u32 tmp = readl(i2c_dev->base + I2C_CTL); in sprd_i2c_send_stop()
103 writel(tmp & ~STP_EN, i2c_dev->base + I2C_CTL); in sprd_i2c_send_stop()
105 writel(tmp | STP_EN, i2c_dev->base + I2C_CTL); in sprd_i2c_send_stop()
110 u32 tmp = readl(i2c_dev->base + I2C_CTL); in sprd_i2c_clear_start()
112 writel(tmp & ~I2C_START, i2c_dev->base + I2C_CTL); in sprd_i2c_clear_start()
117 u32 tmp = readl(i2c_dev->base + I2C_STATUS); in sprd_i2c_clear_ack()
119 writel(tmp & ~I2C_RX_ACK, i2c_dev->base + I2C_STATUS); in sprd_i2c_clear_ack()
[all …]
H A Di2c-davinci.c1 // SPDX-License-Identifier: GPL-2.0-or-later
10 * ----------------------------------------------------------------------------
12 * ----------------------------------------------------------------------------
32 /* ----- global defines ----------------------------------------------- */
117 /* timeout for pm runtime autosuspend */
146 writew_relaxed(val, i2c_dev->base + reg); in davinci_i2c_write_reg()
151 return readw_relaxed(i2c_dev->base + reg); in davinci_i2c_read_reg()
175 u32 input_clock = clk_get_rate(dev->clk); in i2c_davinci_calc_clk_dividers()
180 * input clk --> PSC Div -----------> ICCL/H Div --> output clock in i2c_davinci_calc_clk_dividers()
186 * (ICCL + ICCH) = clk = (input clk / ((psc +1) * output clk)) - 2d; in i2c_davinci_calc_clk_dividers()
[all …]
H A Di2c-omap.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * Copyright (C) 2004 - 2007 Texas Instruments.
30 #include <linux/platform_data/i2c-omap.h>
47 /* timeout for pm runtime autosuspend */
204 unsigned bb_valid:1; /* true when BB-bit reflects
270 writew_relaxed(val, omap->base + in omap_i2c_write_reg()
271 (omap->regs[reg] << omap->reg_shift)); in omap_i2c_write_reg()
276 return readw_relaxed(omap->base + in omap_i2c_read_reg()
277 (omap->regs[reg] << omap->reg_shift)); in omap_i2c_read_reg()
286 omap_i2c_write_reg(omap, OMAP_I2C_PSC_REG, omap->pscstate); in __omap_i2c_init()
[all …]
H A Di2c-imx.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2002 Motorola GSG-China
29 #include <linux/dma-mapping.h>
47 #include <linux/platform_data/i2c-imx.h>
54 #define DRIVER_NAME "imx-i2c"
109 * - write zero to clear(w0c) INT flag on i.MX,
110 * - but write one to clear(w1c) INT flag on Vybrid.
112 * - set I2CR_IEN bit enable the module on i.MX,
113 * - but clear I2CR_IEN bit enable the module on Vybrid.
124 * taken from table 26-5, p.26-9, Freescale i.MX
[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 …]
H A Doxu210hp-hcd.c1 // SPDX-License-Identifier: GPL-2.0+
6 * This code is *strongly* based on EHCI-HCD code by David Brownell since
7 * the chip is a quasi-EHCI compatible.
26 #include <linux/dma-mapping.h>
83 #define EHCI_TUNE_CERR 3 /* 0-3 qtd retries; 0 == don't stop */
86 #define EHCI_TUNE_MULT_HS 1 /* 1-3 transactions/uframe; 4.10.3 */
102 u32 hcs_params; /* HCSPARAMS - offset 0x4 */
111 u32 hcc_params; /* HCCPARAMS - offset 0x8 */
117 #define HCC_64BIT_ADDR(p) ((p)&(1)) /* true: can use 64-bit addr */
118 u8 portroute[8]; /* nibbles for routing - offset 0xC */
[all …]
/linux/drivers/usb/core/
H A Dhub.c1 // SPDX-License-Identifier: GPL-2.0
77 /* Protect struct usb_device->state and ->children members
78 * Note: Both are also protected by ->dev.sem, except that ->state can
86 /* synchronize hub-port add/remove and peering operations */
96 * 10 seconds to send reply for the initial 64-byte descriptor request.
98 /* define initial 64-byte descriptor request timeout in milliseconds */
102 "initial 64-byte descriptor request timeout in milliseconds "
103 "(default 5000 - 5.0 seconds)");
147 if (hub_is_superspeedplus(hub->hdev)) in portspeed()
149 if (hub_is_superspeed(hub->hdev)) in portspeed()
[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 - ther
[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 nocmcff -- Disable firmware first mode for corrected
28 nospcr -- disable console in ACPI SPCR table as
45 If set to vendor, prefer vendor-specific driver
[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/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/media/i2c/
H A Dalvium-csi2.c1 // SPDX-License-Identifier: GPL-2.0
15 #include <media/mipi-csi2.h>
16 #include <media/v4l2-async.h>
17 #include <media/v4l2-ctrls.h>
18 #include <media/v4l2-device.h>
19 #include <media/v4l2-fwnode.h>
20 #include <media/v4l2-subdev.h>
22 #include "alvium-csi2.h"
44 .bay_fmt_regval = -1,
54 .bay_fmt_regval = -1,
[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+
123 #define LAN78XX_TSO_SIZE(dev) ((dev)->tx_urb_size - TX_SKB_MIN_LEN)
133 /* default autosuspend delay (mSec)*/
193 "RX 65 - 127 Byte Frames",
194 "RX 128 - 255 Byte Frames",
195 "RX 256 - 511 Bytes Frames",
196 "RX 512 - 1023 Byte Frames",
197 "RX 1024 - 1518 Byte Frames",
217 "TX 65 - 127 Byte Frames",
218 "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/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"
76 /* maximum number of link-startup retries */
[all …]