| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
| D | Kconfig.profile | 2 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-6.6/drivers/gpu/drm/i915/ |
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/power/ |
| 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 …]
|
| /kernel/linux/linux-6.6/Documentation/power/ |
| 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 …]
|
| /kernel/linux/linux-6.6/sound/usb/ |
| D | usbaudio.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 10 /* handling of USB vendor/product ID pairs as 32-bit numbers */ 47 struct list_head ep_list; /* list of audio-related endpoints */ 68 #define USB_AUDIO_IFACE_UNUSED ((void *)-1L) 71 dev_err(&(chip)->dev->dev, fmt, ##args) 73 dev_err_ratelimited(&(chip)->dev->dev, fmt, ##args) 75 dev_warn(&(chip)->dev->dev, fmt, ##args) 77 dev_info(&(chip)->dev->dev, fmt, ##args) 79 dev_dbg(&(chip)->dev->dev, fmt, ##args) 86 #define QUIRK_NODEV_INTERFACE -3 /* return -ENODEV */ [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/panel/ |
| 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 */ 69 * specifies to wait 150 ms after deasserting EL3_ON before in atana33xc20_suspend() 72 if (p->el3_was_on) in atana33xc20_suspend() 73 atana33xc20_wait(p->el_on3_off_time, 150); in atana33xc20_suspend() 75 drm_dp_dpcd_set_powered(p->aux, false); in atana33xc20_suspend() 76 ret = regulator_disable(p->supply); in atana33xc20_suspend() 79 p->powered_off_time = ktime_get_boottime(); in atana33xc20_suspend() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/remoteproc/ |
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/remoteproc/ |
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/spi/ |
| 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#" 22 - compatible 27 - const: arm,pl022 28 - const: arm,primecell 39 clock-names: [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/spi/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/iio/accel/ |
| D | kxsd9.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/iio/accel/ |
| D | kxsd9.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/iio/pressure/ |
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/iio/light/ |
| 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 …]
|
| D | gp2ap002.c | 1 // 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-5.10/drivers/iio/light/ |
| 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 …]
|
| D | gp2ap002.c | 1 // 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-6.6/drivers/usb/core/ |
| D | hub.c | 1 // SPDX-License-Identifier: GPL-2.0 64 * The SET_ADDRESS request timeout will be 500 ms when 67 #define USB_SHORT_SET_ADDRESS_REQ_TIMEOUT 500 /* ms */ 70 * Give SS hubs 200ms time after wake to train downstream links before 73 #define USB_SS_PORT_U0_WAKE_TIME 200 /* ms */ 75 /* Protect struct usb_device->state and ->children members 76 * Note: Both are also protected by ->dev.sem, except that ->state can 84 /* synchronize hub-port add/remove and peering operations */ 94 * 10 seconds to send reply for the initial 64-byte descriptor request. 96 /* define initial 64-byte descriptor request timeout in milliseconds */ [all …]
|
| /kernel/linux/linux-5.10/drivers/usb/core/ |
| D | hub.c | 1 // SPDX-License-Identifier: GPL-2.0 56 /* Protect struct usb_device->state and ->children members 57 * Note: Both are also protected by ->dev.sem, except that ->state can 65 /* synchronize hub-port add/remove and peering operations */ 75 * 10 seconds to send reply for the initial 64-byte descriptor request. 77 /* define initial 64-byte descriptor request timeout in milliseconds */ 81 "initial 64-byte descriptor request timeout in milliseconds " 82 "(default 5000 - 5.0 seconds)"); 127 if (hub_is_superspeedplus(hub->hdev)) in portspeed() 129 if (hub_is_superspeed(hub->hdev)) in portspeed() [all …]
|
| /kernel/linux/linux-6.6/drivers/iio/gyro/ |
| D | mpu3050-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 #include <linux/delay.h> 39 * Register map: anything suffixed *_H is a big-endian high byte and always 76 /* Bits 8-11 select memory bank */ 163 * Fullscale precision is (for finest precision) +/- 250 deg/s, so the full 184 if (mpu3050->lpf == MPU3050_DLPF_CFG_256HZ_NOLPF2) in mpu3050_get_freq() 188 freq /= (mpu3050->divisor + 1); in mpu3050_get_freq() 200 ret = regmap_update_bits(mpu3050->map, MPU3050_PWR_MGM, in mpu3050_start_sampling() 205 /* Turn on the Z-axis PLL */ in mpu3050_start_sampling() 206 ret = regmap_update_bits(mpu3050->map, MPU3050_PWR_MGM, in mpu3050_start_sampling() [all …]
|
| /kernel/linux/linux-5.10/drivers/iio/gyro/ |
| D | mpu3050-core.c | 1 // 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-6.6/drivers/i2c/busses/ |
| D | i2c-sprd.c | 4 * SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <linux/delay.h> 72 /* timeout (ms) for pm runtime autosuspend */ 74 /* timeout (ms) for transfer message */ 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() [all …]
|
| /kernel/linux/linux-5.10/drivers/i2c/busses/ |
| D | i2c-sprd.c | 4 * 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/ |
| 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 …]
|