/linux/drivers/gpu/drm/i915/ |
H A D | Kconfig.profile | 2 int "Default timeout for requests (ms)" 16 int "Timeout for unsignaled foreign fences (ms, jiffy granularity)" 28 int "Runtime autosuspend delay for userspace GGTT mmaps (ms)" 35 that complements the runtime-pm autosuspend and provides a lower 36 floor on the autosuspend delay. 38 May be 0 to disable the extra delay and solely use the device level 39 runtime pm autosuspend delay tunable. 42 int "Interval between heartbeat pulses (ms)" 46 check the health of the GPU and undertake regular house-keeping of 56 int "Preempt timeout (ms, jiffy granularity)" [all …]
|
/linux/Documentation/devicetree/bindings/spi/ |
H A D | spi-pl022.yaml | 1 # 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# 14 - $ref: /schemas/arm/primecell.yaml# 23 - compatible 28 - const: arm,pl022 29 - const: arm,primecell [all …]
|
/linux/Documentation/power/ |
H A D | runtime_pm.rst | 5 (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/drivers/gpu/drm/panel/ |
H A D | panel-samsung-atna33xc20.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * by the DRM_PANEL_SIMPLE driver because its power sequencing is non-standard. 10 #include <linux/delay.h> 22 /* T3 VCC to HPD high is max 200 ms */ 67 * specifies to wait 150 ms after deasserting EL3_ON before in atana33xc20_suspend() 70 if (p->el3_was_on) in atana33xc20_suspend() 71 atana33xc20_wait(p->el_on3_off_time, 150); in atana33xc20_suspend() 73 drm_dp_dpcd_set_powered(p->aux, false); in atana33xc20_suspend() 74 ret = regulator_disable(p->supply); in atana33xc20_suspend() 77 p->powered_off_time = ktime_get_boottime(); in atana33xc20_suspend() [all …]
|
/linux/sound/usb/ |
H A D | usbaudio.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 10 /* handling of USB vendor/product ID pairs as 32-bit numbers */ 56 struct list_head ep_list; /* list of audio-related endpoints */ 80 #define USB_AUDIO_IFACE_UNUSED ((void *)-1L) 83 dev_err(&(chip)->dev->dev, fmt, ##args) 85 dev_err_ratelimited(&(chip)->dev->dev, fmt, ##args) 87 dev_warn(&(chip)->dev->dev, fmt, ##args) 89 dev_info(&(chip)->dev->dev, fmt, ##args) 91 dev_dbg(&(chip)->dev->dev, fmt, ##args) 98 #define QUIRK_NODEV_INTERFACE -3 /* return -ENODEV */ [all …]
|
/linux/Documentation/devicetree/bindings/remoteproc/ |
H A D | ti,omap-remoteproc.yaml | 1 # 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 …]
|
/linux/drivers/iio/accel/ |
H A D | kxsd9.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (c) 2008-2009 Jonathan Cameron <jic23@kernel.org> 22 #include <linux/delay.h> 61 #define KXSD9_CTRL_B_ST BIT(5) /* Self-test */ 66 * struct kxsd9_state - device related storage 89 #define KXSD9_ZERO_G_OFFSET -2048 109 return -EINVAL; in kxsd9_write_scale() 111 ret = regmap_update_bits(st->map, in kxsd9_write_scale() 119 st->scale = i; in kxsd9_write_scale() 142 int ret = -EINVAL; in kxsd9_write_raw() [all …]
|
H A D | bmc150-accel-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * 3-axis accelerometer driver supporting many Bosch-Sensortec chips 10 #include <linux/delay.h> 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() [all …]
|
/linux/drivers/ufs/host/ |
H A D | ufs-mediatek.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 51 * Ref-clk control 189 /* MTK delay of autosuspend: 500 ms */
|
/linux/drivers/iio/pressure/ |
H A D | mpl115.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * mpl115.c - Support for Freescale MPL115A pressure/temperature sensor 12 #include <linux/delay.h> 37 int ret = data->ops->write(data->dev, MPL115_CONVERT, 0); in mpl115_request() 54 mutex_lock(&data->lock); in mpl115_comp_pressure() 59 ret = data->ops->read(data->dev, MPL115_PADC); in mpl115_comp_pressure() 64 ret = data->ops->read(data->dev, MPL115_TADC); in mpl115_comp_pressure() 70 a1 = data->b1 + ((data->c12 * tadc) >> 11); in mpl115_comp_pressure() 71 y1 = (data->a0 << 10) + a1 * padc; in mpl115_comp_pressure() 74 pcomp = (y1 + ((data->b2 * (int) tadc) >> 1)) >> 9; in mpl115_comp_pressure() [all …]
|
H A D | zpa2326.c | 1 // 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 …]
|
/linux/drivers/iio/light/ |
H A D | bh1780.c | 1 // 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 …]
|
/linux/drivers/usb/core/ |
H A D | hub.c | 1 // SPDX-License-Identifier: GPL-2.0 66 * The SET_ADDRESS request timeout will be 500 ms when 69 #define USB_SHORT_SET_ADDRESS_REQ_TIMEOUT 500 /* ms */ 71 /* Protect struct usb_device->state and ->children members 72 * Note: Both are also protected by ->dev.sem, except that ->state can 80 /* synchronize hub-port add/remove and peering operations */ 90 * 10 seconds to send reply for the initial 64-byte descriptor request. 92 /* define initial 64-byte descriptor request timeout in milliseconds */ 96 "initial 64-byte descriptor request timeout in milliseconds " 97 "(default 5000 - 5.0 seconds)"); [all …]
|
/linux/drivers/nfc/ |
H A D | trf7970a.c | 1 // 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 …]
|
/linux/drivers/media/i2c/ |
H A D | imx283.c | 1 // SPDX-License-Identifier: GPL-2.0 13 * Copyright (C) 2019-2020 Raspberry Pi (Trading) Ltd 20 #include <linux/delay.h> 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) [all …]
|
H A D | thp7312.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/delay.h> 19 #include <linux/mtd/spi-nor.h> 26 #include <media/v4l2-async.h> 27 #include <media/v4l2-cci.h> 28 #include <media/v4l2-ctrls.h> 29 #include <media/v4l2-device.h> 30 #include <media/v4l2-fwnode.h> 31 #include <media/v4l2-subdev.h> 129 * enum thp7312_focus_state - State of the focus handler [all …]
|
/linux/drivers/usb/host/ |
H A D | uhci-hcd.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 48 #define USBSOF_DEFAULT 64 /* Frame length is exactly 1 ms */ 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, 98 * delay this long before turning FSBR off */ 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). [all …]
|
/linux/drivers/i2c/busses/ |
H A D | i2c-omap.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Copyright (C) 2004 - 2007 Texas Instruments. 19 #include <linux/delay.h> 29 #include <linux/platform_data/i2c-omap.h> 46 /* timeout for pm runtime autosuspend */ 47 #define OMAP_I2C_PM_TIMEOUT 1000 /* ms */ 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() [all …]
|
H A D | i2c-imx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2002 Motorola GSG-China 27 #include <linux/delay.h> 28 #include <linux/dma-mapping.h> 46 #include <linux/platform_data/i2c-imx.h> 53 #define DRIVER_NAME "imx-i2c" 108 * - write zero to clear(w0c) INT flag on i.MX, 109 * - but write one to clear(w1c) INT flag on Vybrid. 111 * - set I2CR_IEN bit enable the module on i.MX, 112 * - but clear I2CR_IEN bit enable the module on Vybrid. [all …]
|
/linux/drivers/net/usb/ |
H A D | usbnet.c | 1 // 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 /*-------------------------------------------------------------------------*/ 37 * Nineteen USB 1.1 max size bulk transactions per frame (ms), max. 48 #define RX_QLEN(dev) ((dev)->rx_qlen) 49 #define TX_QLEN(dev) ((dev)->tx_qlen) 62 /*-------------------------------------------------------------------------*/ 65 static int msg_level = -1; [all …]
|
/linux/drivers/usb/isp1760/ |
H A D | isp1760-hcd.c | 1 // 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/Documentation/sound/ |
H A D | alsa-configuration.rst | 2 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/Documentation/admin-guide/ |
H A D | kernel-parameters.txt | 16 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/drivers/bluetooth/ |
H A D | btusb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (C) 2005-2008 Marcel Holtmann <marcel@holtmann.org> 80 /* Apple-specific (Broadcom) devices */ 117 /* ALPS Modules with non-standard id */ 121 /* Ericsson with non-standard id */ 124 /* Canyon CN-BTU1 with HID interfaces */ 138 /* Foxconn - Hon Hai */ 142 /* Lite-On Technology - Broadcom based */ 150 /* ASUSTek Computer - Broadcom based */ 154 /* Belkin F8065bf - Broadcom based */ [all …]
|
/linux/drivers/usb/fotg210/ |
H A D | fotg210-hcd.c | 1 // 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 17 #include <linux/delay.h> 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 */ [all …]
|