| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/media/ |
| D | gpio-ir-receiver.txt | 1 Device-Tree bindings for GPIO IR receiver 4 - compatible: should be "gpio-ir-receiver". 5 - gpios: specifies GPIO used for IR signal reception. 8 - linux,rc-map-name: see rc.txt file in the same 10 - linux,autosuspend-period: autosuspend delay time, 15 ir: ir-receiver { 16 compatible = "gpio-ir-receiver"; 18 linux,rc-map-name = "rc-rc6-mce"; 19 linux,autosuspend-period = <125>;
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/media/ |
| D | gpio-ir-receiver.yaml | 1 # 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 …]
|
| /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/Documentation/driver-api/usb/ |
| D | power-management.rst | 1 .. _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 …]
|
| /kernel/linux/linux-5.10/Documentation/driver-api/usb/ |
| D | power-management.rst | 1 .. _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 …]
|
| /kernel/linux/linux-5.10/Documentation/ABI/testing/ |
| D | sysfs-devices-power | 40 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 …]
|
| /kernel/linux/linux-5.10/drivers/media/rc/ |
| D | gpio-ir-recv.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 #include <media/rc-core.h> 33 struct device *pmdev = gpio_dev->pmdev; in gpio_ir_recv_irq() 48 val = gpiod_get_value(gpio_dev->gpiod); in gpio_ir_recv_irq() 50 ir_raw_event_store_edge(gpio_dev->rcdev, val == 1); in gpio_ir_recv_irq() 62 struct device *dev = &pdev->dev; in gpio_ir_recv_probe() 63 struct device_node *np = dev->of_node; in gpio_ir_recv_probe() 66 u32 period = 0; in gpio_ir_recv_probe() local 70 return -ENODEV; in gpio_ir_recv_probe() 74 return -ENOMEM; in gpio_ir_recv_probe() [all …]
|
| /kernel/linux/linux-6.6/drivers/media/rc/ |
| D | gpio-ir-recv.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 #include <media/rc-core.h> 33 struct device *pmdev = gpio_dev->pmdev; in gpio_ir_recv_irq() 48 val = gpiod_get_value(gpio_dev->gpiod); in gpio_ir_recv_irq() 50 ir_raw_event_store_edge(gpio_dev->rcdev, val == 1); in gpio_ir_recv_irq() 62 struct device *dev = &pdev->dev; in gpio_ir_recv_probe() 63 struct device_node *np = dev->of_node; in gpio_ir_recv_probe() 66 u32 period = 0; in gpio_ir_recv_probe() local 70 return -ENODEV; in gpio_ir_recv_probe() 74 return -ENOMEM; in gpio_ir_recv_probe() [all …]
|
| /kernel/linux/linux-6.6/Documentation/ABI/testing/ |
| D | sysfs-devices-power | 40 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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/proximity/ |
| D | devantech-srf04.yaml | 1 # 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/proximity/ |
| D | devantech-srf04.yaml | 1 # 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 …]
|
| /kernel/linux/linux-5.10/drivers/iio/adc/ |
| D | sun4i-gpadc-iio.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (c) 2016 Quentin Schulz <quentin.schulz@free-electrons.com> 15 * This is also the reason of using autosuspend in pm_runtime. If there was no 16 * autosuspend, the thermal sensor would need X seconds after every 17 * pm_runtime_get_sync to get a value from the ADC. The autosuspend allows the 37 #include <linux/mfd/sun4i-gpadc.h> 59 .temp_offset = -1932, 68 .temp_offset = -1447, 77 .temp_offset = -1623, 86 .temp_offset = -1662, [all …]
|
| /kernel/linux/linux-6.6/drivers/iio/adc/ |
| D | sun4i-gpadc-iio.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (c) 2016 Quentin Schulz <quentin.schulz@free-electrons.com> 15 * This is also the reason of using autosuspend in pm_runtime. If there was no 16 * autosuspend, the thermal sensor would need X seconds after every 17 * pm_runtime_get_sync to get a value from the ADC. The autosuspend allows the 36 #include <linux/mfd/sun4i-gpadc.h> 58 .temp_offset = -1932, 67 .temp_offset = -1447, 76 .temp_offset = -1623, 85 .temp_offset = -1662, [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/ |
| D | rtw_pwrctrl.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved. 57 BIT[4] = sub-state 116 #define RT_RF_OFF_LEVL_HALT_NIC BIT(3) /* NIC halt, re-initialize hw parameters */ 117 #define RT_RF_OFF_LEVL_FREE_FW BIT(4) /* FW free, re-download the FW */ 123 #define RT_IN_PS_LEVEL(ppsc, _PS_FLAG) ((ppsc->cur_ps_level & _PS_FLAG) ? true : false) 124 #define RT_CLEAR_PS_LEVEL(ppsc, _PS_FLAG) (ppsc->cur_ps_level &= (~(_PS_FLAG))) 125 #define RT_SET_PS_LEVEL(ppsc, _PS_FLAG) (ppsc->cur_ps_level |= _PS_FLAG) 163 u32 fast_scan_period; /* Fast scan period */ 165 u32 slow_scan_period; /* slow scan period */ [all …]
|
| /kernel/linux/linux-6.6/drivers/i2c/busses/ |
| D | i2c-sprd.c | 4 * 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 …]
|
| /kernel/linux/linux-5.10/drivers/i2c/busses/ |
| D | i2c-sprd.c | 4 * SPDX-License-Identifier: (GPL-2.0+ OR MIT) 73 /* timeout (ms) for pm runtime autosuspend */ 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() 118 u32 tmp = readl(i2c_dev->base + I2C_STATUS); in sprd_i2c_clear_ack() 120 writel(tmp & ~I2C_RX_ACK, i2c_dev->base + I2C_STATUS); in sprd_i2c_clear_ack() [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/freescale/ |
| D | imx8mq-evk.dts | 1 // 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 …]
|
| D | imx8mn-evk.dtsi | 1 // 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 …]
|
| D | imx8mm-evk.dtsi | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/usb/host/ |
| D | uhci-hcd.h | 1 /* 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 …]
|
| D | isp116x-hcd.c | 1 // SPDX-License-Identifier: GPL-2.0 21 * The driver passes all usbtests 1-14. 40 2. Implement platform-specific delay function possibly 42 include/linux/usb-isp116x.h for more info. Some broken 83 static const char hcd_name[] = "isp116x-hcd"; 85 /*-----------------------------------------------------------------*/ 88 Write len bytes to fifo, pad till 32-bit boundary 103 for (; len > 1; len -= 2) { in write_ptddata_to_fifo() 112 for (; len > 1; len -= 2) { in write_ptddata_to_fifo() 125 Read len bytes from fifo and then read till 32-bit boundary. [all …]
|
| /kernel/linux/linux-6.6/drivers/usb/host/ |
| D | uhci-hcd.h | 1 /* 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 …]
|
| D | isp116x-hcd.c | 1 // SPDX-License-Identifier: GPL-2.0 21 * The driver passes all usbtests 1-14. 40 2. Implement platform-specific delay function possibly 42 include/linux/usb-isp116x.h for more info. Some broken 83 static const char hcd_name[] = "isp116x-hcd"; 85 /*-----------------------------------------------------------------*/ 88 Write len bytes to fifo, pad till 32-bit boundary 103 for (; len > 1; len -= 2) { in write_ptddata_to_fifo() 112 for (; len > 1; len -= 2) { in write_ptddata_to_fifo() 125 Read len bytes from fifo and then read till 32-bit boundary. [all …]
|
| /kernel/linux/linux-5.10/include/scsi/ |
| D | scsi_device.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 47 * originate in the mid-layer) */ 84 /* put union of data structures, for non-simple event types, 90 * struct scsi_vpd - SCSI Vital Product Data 105 /* the next two are protected by the host->host_lock */ 120 unsigned long queue_ramp_up_period; /* ramp up period in jiffies */ 128 * vendor-specific cmd's */ 131 void *hostdata; /* available to low-level driver */ 167 unsigned tagged_supported:1; /* Supports SCSI-II tagged queuing */ 173 unsigned use_10_for_rw:1; /* first try 10-byte read / write */ [all …]
|