/linux/Documentation/ABI/testing/ |
H A D | sysfs-platform-msi-laptop | 1 What: /sys/devices/platform/msi-laptop-pf/lcd_level 8 What: /sys/devices/platform/msi-laptop-pf/auto_brightness 17 What: /sys/devices/platform/msi-laptop-pf/wlan 24 What: /sys/devices/platform/msi-laptop-pf/bluetooth 33 What: /sys/devices/platform/msi-laptop-pf/touchpad 38 Contains either 0 or 1 and indicates if touchpad is turned on. 41 What: /sys/devices/platform/msi-laptop-pf/turbo_mode 46 Contains either 0 or 1 and indicates if turbo mode is turned 54 What: /sys/devices/platform/msi-laptop-pf/eco_mode 59 Contains either 0 or 1 and indicates if ECO mode is turned on. [all …]
|
H A D | sysfs-block-device | 4 Contact: linux-ide@vger.kernel.org 12 0 OFF - the LED is not activated on activity 13 1 BLINK_ON - the LED blinks on every 10ms when activity is 15 2 BLINK_OFF - the LED is on when idle, and blinks off 19 Note that the user must turn sw_activity OFF it they wish to 26 Contact: linux-ide@vger.kernel.org 31 respective drive off the platter and block all I/O operations 34 - If the device does not support the unload heads feature, 35 access is denied with -EOPNOTSUPP. 36 - The maximal value accepted for a timeout is 30000 [all …]
|
H A D | sysfs-platform-lg-laptop | 1 What: /sys/devices/platform/lg-laptop/reader_mode 4 Contact: "Matan Ziv-Av <matan@svgalib.org> 6 Control reader mode. 1 means on, 0 means off. 8 What: /sys/devices/platform/lg-laptop/fn_lock 11 Contact: "Matan Ziv-Av <matan@svgalib.org> 13 Control FN lock mode. 1 means on, 0 means off. 15 What: /sys/devices/platform/lg-laptop/battery_care_limit 18 Contact: "Matan Ziv-Av <matan@svgalib.org> 23 What: /sys/devices/platform/lg-laptop/fan_mode 26 Contact: "Matan Ziv-Av <matan@svgalib.org> [all …]
|
H A D | sysfs-platform-dell-privacy-wmi | 1 What: /sys/bus/wmi/devices/6932965F-1671-4CEB-B988-D3AB0A901919/dell_privacy_supported_type 32 …# cat /sys/bus/wmi/drivers/dell-privacy/6932965F-1671-4CEB-B988-D3AB0A901919/dell_privacy_supporte… 37 What: /sys/bus/wmi/devices/6932965F-1671-4CEB-B988-D3AB0A901919/dell_privacy_current_state 59 Identifies the privacy device is turned off 63 Identifies the privacy device is turned on, 69 …# cat /sys/bus/wmi/drivers/dell-privacy/6932965F-1671-4CEB-B988-D3AB0A901919/dell_privacy_current_…
|
H A D | sysfs-amd-pmf | 3 Contact: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> 7 This feature is not enabled by default and gets only turned on 11 To turn off CnQF user can write "off" to the sysfs node.
|
H A D | sysfs-platform-ideapad-laptop | 6 Control the power of camera module. 1 means on, 0 means off. 16 * 0 -> Super Silent Mode 17 * 1 -> Standard Mode 18 * 2 -> Dust Cleaning 19 * 4 -> Efficient Thermal Dissipation Mode 27 * 1 -> Switched On 28 * 0 -> Switched Off 33 Contact: platform-driver-x86@vger.kernel.org 37 around 50-60% in order to prolong the lifetime of the battery. 44 Control fn-lock mode. [all …]
|
/linux/Documentation/devicetree/bindings/regulator/ |
H A D | maxim,max77686.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chanwoo Choi <cw00.choi@samsung.com> 11 - Krzysztof Kozlowski <krzk@kernel.org> 17 The Maxim MAX77686 provides high-efficiency Buck and 26 Low-DropOut (LDO) 25 "^LDO([1-9]|1[0-9]|2[3-6])$": 31 Regulators which can be turned off during system suspend: 32 LDO2, LDO6-8, LDO10-12, LDO14-16 35 - regulator-name [all …]
|
/linux/sound/ppc/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 22 will be called snd-powermac. 25 bool "Toggle DRC automatically at headphone/line plug-in" 31 If this feature is enabled, DRC is turned off when the 32 headphone/line jack is plugged, and turned on when unplugged. 34 Note that you can turn on/off DRC manually even without this
|
/linux/Documentation/ABI/stable/ |
H A D | sysfs-class-rfkill | 1 rfkill - radio frequency (RF) connector kill switch support 3 For details to this subsystem look at Documentation/driver-api/rfkill.rst. 6 Documentation/ABI/removed/sysfs-class-rfkill. 9 Date: 09-Jul-2007 11 Contact: linux-wireless@vger.kernel.org, 17 What: /sys/class/rfkill/rfkill[0-9]+/name 18 Date: 09-Jul-2007 20 Contact: linux-wireless@vger.kernel.org 25 What: /sys/class/rfkill/rfkill[0-9]+/type 26 Date: 09-Jul-2007 [all …]
|
/linux/include/linux/platform_data/ |
H A D | i2c-gpio.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * i2c-gpio interface to platform code 11 * struct i2c_gpio_platform_data - Platform-dependent data for i2c-gpio 19 * @sda_is_output_only: SDA output drivers can't be turned off. 21 * @sda_has_no_pullup: SDA is used in a non-compliant way and has no pull-up. 22 * Therefore disable open-drain. 25 * @scl_is_output_only: SCL output drivers cannot be turned off. 26 * @scl_has_no_pullup: SCL is used in a non-compliant way and has no pull-up. 27 * Therefore disable open-drain.
|
/linux/drivers/infiniband/ulp/ipoib/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 tristate "IP-over-InfiniBand" 6 Support for the IP-over-InfiniBand protocol (IPoIB). This 13 bool "IP-over-InfiniBand Connected Mode support" 28 bool "IP-over-InfiniBand debugging" if EXPERT 33 IPoIB driver. The output can be turned on via the 43 bool "IP-over-InfiniBand data path debugging" 47 of the IPoIB driver. The output can be turned on via the 49 turned off, this debugging code will have some performance
|
/linux/Documentation/networking/ |
H A D | switchdev.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 Copyright |copy| 2014-2015 Scott Feldman <sfeldma@gmail.com> 14 The Ethernet switch device driver model (switchdev) is an in-kernel driver 19 an example setup using a data-center-class switch ASIC chip. Other setups 20 with SR-IOV or soft switches, such as OVS, are possible. 25 User-space tools 28 +-------------------------------------------------------------------+ 31 +--------------+-------------------------------+ 35 +----------------------------------------------+ 41 +--+----+----+----+----+----+---+ +-----+-----+ [all …]
|
/linux/drivers/misc/lis3lv02d/ |
H A D | lis3lv02d_i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 35 ret = regulator_bulk_disable(ARRAY_SIZE(lis3->regulators), in lis3_reg_ctrl() 36 lis3->regulators); in lis3_reg_ctrl() 38 ret = regulator_bulk_enable(ARRAY_SIZE(lis3->regulators), in lis3_reg_ctrl() 39 lis3->regulators); in lis3_reg_ctrl() 48 struct i2c_client *c = lis3->bus_priv; in lis3_i2c_write() 54 struct i2c_client *c = lis3->bus_priv; in lis3_i2c_read() 62 struct i2c_client *c = lis3->bus_priv; in lis3_i2c_blockread() 74 lis3->read(lis3, WHO_AM_I, ®); in lis3_i2c_init() [all …]
|
/linux/Documentation/devicetree/bindings/mmc/ |
H A D | sdhci.txt | 7 - sdhci-caps-mask: The sdhci capabilities register is incorrect. This 64bit 10 turned off, before applying sdhci-caps. 11 - sdhci-caps: The sdhci capabilities register is incorrect. This 64bit 13 bit is on in the property then the bit should be turned on.
|
/linux/tools/testing/selftests/damon/ |
H A D | reclaim.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # Kselftest framework requirement - SKIP code is 4. 7 if [ $EUID -ne 0 ] 14 if [ ! -f "$damon_reclaim_enabled" ] 20 nr_kdamonds=$(pgrep kdamond | wc -l) 21 if [ "$nr_kdamonds" -ne 0 ] 29 nr_kdamonds=$(pgrep kdamond | wc -l) 30 if [ "$nr_kdamonds" -ne 1 ] 32 echo "kdamond is not turned on" 37 nr_kdamonds=$(pgrep kdamond | wc -l) [all …]
|
H A D | lru_sort.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # Kselftest framework requirement - SKIP code is 4. 7 if [ $EUID -ne 0 ] 14 if [ ! -f "$damon_lru_sort_enabled" ] 20 nr_kdamonds=$(pgrep kdamond | wc -l) 21 if [ "$nr_kdamonds" -ne 0 ] 28 nr_kdamonds=$(pgrep kdamond | wc -l) 29 if [ "$nr_kdamonds" -ne 1 ] 31 echo "kdamond is not turned on" 36 nr_kdamonds=$(pgrep kdamond | wc -l) [all …]
|
/linux/lib/ |
H A D | bitmap.c | 1 // SPDX-License-Identifier: GPL-2.0-only 32 * endian architectures. See the big-endian headers 33 * include/asm-ppc64/bitops.h and include/asm-s390/bitops.h 82 * __bitmap_shift_right - logical right shift of the bits in a bitmap 88 * Shifting right (dividing) means moving bits in the MS -> LS bit 90 * LS bits shifted off the bottom are lost. 96 unsigned off = shift/BITS_PER_LONG, rem = shift % BITS_PER_LONG; in __bitmap_shift_right() local 98 for (k = 0; off + k < lim; ++k) { in __bitmap_shift_right() 105 if (!rem || off + k + 1 >= lim) in __bitmap_shift_right() 108 upper = src[off + k + 1]; in __bitmap_shift_right() [all …]
|
/linux/drivers/pmdomain/renesas/ |
H A D | rcar-gen4-sysc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * R-Car Gen4 SYSC Power management support 22 #include "rcar-gen4-sysc.h" 26 #define SYSCPONSR(x) (0x800 + ((x) * 0x4)) /* Power-ON Status Register 0 */ 27 #define SYSCPOFFSR(x) (0x808 + ((x) * 0x4)) /* Power-OFF Status Register */ 39 #define PWRON_PWROFF BIT(0) /* Power-ON/OFF request */ 45 #define PDRSR_OFF BIT(0) /* Power-OFF state */ 46 #define PDRSR_ON BIT(4) /* Power-ON state */ 47 #define PDRSR_OFF_STATE BIT(8) /* Processing Power-OFF sequence */ 48 #define PDRSR_ON_STATE BIT(12) /* Processing Power-ON sequence */ [all …]
|
H A D | rmobile-sysc.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * based on pm-sh7372.c 49 unsigned int mask = BIT(rmobile_pd->bit_shift); in rmobile_pd_power_down() 52 if (rmobile_pd->suspend) { in rmobile_pd_power_down() 53 int ret = rmobile_pd->suspend(); in rmobile_pd_power_down() 59 if (readl(rmobile_pd->base + PSTR) & mask) { in rmobile_pd_power_down() 60 writel(mask, rmobile_pd->base + SPDCR); in rmobile_pd_power_down() 62 readl_poll_timeout_atomic(rmobile_pd->base + SPDCR, val, in rmobile_pd_power_down() 66 pr_debug("%s: Power off, 0x%08x -> PSTR = 0x%08x\n", genpd->name, mask, in rmobile_pd_power_down() 67 readl(rmobile_pd->base + PSTR)); in rmobile_pd_power_down() [all …]
|
H A D | rcar-sysc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * R-Car SYSC Power management support 6 * Copyright (C) 2015-2017 Glider bvba 19 #include <linux/soc/renesas/rcar-sysc.h> 21 #include "rcar-sysc.h" 37 * Use WFI to power off, CPG/APMU to resume ARM cores on R-Car Gen2 38 * Use PSCI on R-Car Gen3 57 #define RCAR_PD_ALWAYS_ON 32 /* Always-on power area */ 91 return -EAGAIN; in rcar_sysc_pwr_on_off() 93 /* Power-off delay quirk */ in rcar_sysc_pwr_on_off() [all …]
|
/linux/Documentation/sound/cards/ |
H A D | cmipci.rst | 2 Brief Notes on C-Media 8338/8738/8768/8770 Driver 8 Front/Rear Multi-channel Playback 9 --------------------------------- 13 DACs, both streams are handled independently unlike the 4/6ch multi- 22 - The first DAC supports U8 and S16LE formats, while the second DAC 24 - The second DAC supports only two channel stereo. 32 As default it's turned on. 35 When "Four Channel Mode" switch is off, the output from rear speakers 38 before your turn off this switch. 51 control switch in the driver "Line-In As Rear", which you can change [all …]
|
/linux/drivers/thermal/ |
H A D | gov_bang_bang.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * gov_bang_bang.c - A simple thermal throttling governor using hysteresis 19 if (instance->target != 0 && instance->target != 1 && in bang_bang_set_instance_target() 20 instance->target != THERMAL_NO_TARGET) in bang_bang_set_instance_target() 21 pr_debug("Unexpected state %ld of thermal instance %s in bang-bang\n", in bang_bang_set_instance_target() 22 instance->target, instance->name); in bang_bang_set_instance_target() 28 instance->target = target; in bang_bang_set_instance_target() 29 instance->initialized = true; in bang_bang_set_instance_target() 31 dev_dbg(&instance->cdev->device, "target=%ld\n", instance->target); in bang_bang_set_instance_target() 33 thermal_cdev_update_nocheck(instance->cdev); in bang_bang_set_instance_target() [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sm6115p-lenovo-j606f.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 6 /dts-v1/; 14 chassis-type = "tablet"; 17 qcom,msm-id = <445 0x10000>, <420 0x10000>; 18 qcom,board-id = <34 3>; 25 #address-cells = <2>; 26 #size-cells = <2>; 30 compatible = "simple-framebuffer"; 40 gpio-keys { 41 compatible = "gpio-keys"; [all …]
|
/linux/tools/testing/selftests/net/ |
H A D | netdevice.sh | 2 # SPDX-License-Identifier: GPL-2.0 11 # Kselftest framework requirement - SKIP code is 4. 21 ip link show "$netdev" |grep -q UP 22 if [ $? -eq 0 ];then 28 if [ $? -ne 0 ];then 46 if [ $NETDEV_STARTED -eq 0 ];then 52 if [ $? -ne 0 ];then 55 ip link show $netdev |grep -q "$MACADDR" 56 if [ $? -eq 0 ];then 65 if [ $? -eq 0 ];then [all …]
|
/linux/drivers/phy/st/ |
H A D | phy-stm32-combophy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 #include <dt-bindings/phy/phy.h> 121 u32 min_imp = imp_lookup[imp_size - 1].microohm; in stm32_impedance_tune() 122 u32 max_vswing = imp_lookup[imp_size - 1].vswing[vswing_size - 1]; in stm32_impedance_tune() 127 if (!of_property_read_u32(combophy->dev->of_node, "st,output-micro-ohms", &val)) { in stm32_impedance_tune() 129 dev_err(combophy->dev, "Invalid value %u for output ohm\n", val); in stm32_impedance_tune() 130 return -EINVAL; in stm32_impedance_tune() 141 dev_dbg(combophy->dev, "Set %u micro-ohms output impedance\n", in stm32_impedance_tune() 144 regmap_update_bits(combophy->regmap, SYSCFG_PCIEPRGCR, in stm32_impedance_tune() 148 regmap_read(combophy->regmap, SYSCFG_PCIEPRGCR, &val); in stm32_impedance_tune() [all …]
|