| /linux/fs/overlayfs/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 7 An overlay filesystem combines two filesystems - an 'upper' filesystem 16 bool "Overlayfs: turn on redirect directory feature by default" 21 still possible to turn off redirects globally with the 22 "redirect_dir=off" module option or on a filesystem instance basis 23 with the "redirect_dir=off" mount option. 32 bool "Overlayfs: follow redirects even if redirects are turned off" 47 bool "Overlayfs: turn on inodes index feature by default" 52 In this case it is still possible to turn off index globally with the 53 "index=off" module option or on a filesystem instance basis with the [all …]
|
| /linux/arch/powerpc/kernel/ |
| H A D | l2cr_6xx.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 Copyright © 1997-1998 by PowerLogix R & D, Inc. 9 - First public release, contributed by PowerLogix. 12 - Terry: Made sure code disabled interrupts before running. (Previously 14 - Terry: Updated for tentative G4 support. 4MB of memory is now flushed 16 - Terry: Updated for workaround to HID0[DPM] processor bug 20 - Terry: Added isync to correct for an errata. 23 - DanM: Finally added the 7450 patch I've had for the past 29 Please e-mail updates to this file to me, thanks! 36 #include <asm/feature-fixups.h> [all …]
|
| /linux/drivers/pci/hotplug/ |
| H A D | pciehp_ctrl.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com) 8 * Copyright (C) 2003-2004 Intel Corporation 36 * Turn off slot, turn on attention indicator, turn off power in set_slot_off() 43 * After turning power off, we must wait for at least 1 second in set_slot_off() 55 * board_added - Called after a board has been added to the system. 64 struct pci_bus *parent = ctrl->pcie->port->subordinate; in board_added() 82 if (ctrl->power_fault_detected || pciehp_query_power_fault(ctrl)) { in board_added() 84 retval = -EIO; in board_added() 90 if (retval != -EEXIST) { in board_added() [all …]
|
| H A D | shpchp_ctrl.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com) 8 * Copyright (C) 2003-2004 Intel Corporation 34 return -ENOMEM; in queue_interrupt_event() 36 info->event_type = event_type; in queue_interrupt_event() 37 info->p_slot = p_slot; in queue_interrupt_event() 38 INIT_WORK(&info->work, interrupt_event_handler); in queue_interrupt_event() 40 queue_work(p_slot->wq, &info->work); in queue_interrupt_event() 53 p_slot = shpchp_find_slot(ctrl, hp_slot + ctrl->slot_device_offset); in shpchp_handle_attention_button() 54 shpchp_get_adapter_status(p_slot, &p_slot->presence_save); in shpchp_handle_attention_button() [all …]
|
| /linux/drivers/leds/trigger/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 18 For more details read Documentation/leds/leds-class.rst. 23 tristate "LED One-shot Trigger" 25 This allows LEDs to blink in one-shot pulses with parameters 53 The flash frequency is a hyperbolic function of the 1-minute 61 turn off and on when the display is blanked and unblanked. 113 This enables direct flash/torch on/off by the driver, kernel space. 146 When build as a module this driver will be called ledtrig-tty. 152 Turn LEDs on when there is input (/dev/input/event*) activity and turn 153 them back off again after there has been no activity for 5 seconds. [all …]
|
| H A D | ledtrig-cpu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ledtrig-cpu.c - LED trigger based on CPU activity 19 * Copyright 2011 - 2012 Bryan Wu <bryan.wu@canonical.com> 45 * ledtrig_cpu - emit a CPU event as a trigger 49 * bound LED to turn on or turn off. 54 bool is_active = trig->is_active; in ledtrig_cpu() 60 /* Will turn the LED on, max brightness */ in ledtrig_cpu() 67 /* Will turn the LED off */ in ledtrig_cpu() 76 if (is_active != trig->is_active) { in ledtrig_cpu() 81 trig->is_active = is_active; in ledtrig_cpu() [all …]
|
| /linux/drivers/video/fbdev/ |
| H A D | gbefb.c | 4 * Copyright (C) 1999 Silicon Graphics, Inc. - Jeffrey Newquist 5 * Copyright (C) 2002 Vivien Chappelier <vivien.chappelier@linux-mips.org> 14 #include <linux/dma-mapping.h> 44 /* macro for fastest write-though access to the framebuffer */ 63 #define TILE_MASK (TILE_SIZE - 1) 81 static int gbe_turned_on; /* 0 turned off, 1 turned on */ 87 /* 640x480, 60 Hz, Non-Interlaced (25.175 MHz dotclock) */ 102 .height = -1, 103 .width = -1, 133 .height = -1, [all …]
|
| /linux/include/linux/usb/ |
| H A D | ohci_pdriver.h | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2012 Hauke Mehrtens <hauke@hauke-m.de> 10 * struct usb_ohci_pdata - platform_data for generic ohci driver 26 /* Turn on all power and clocks */ 28 /* Turn off all power and clocks */ 30 /* Turn on only VBUS suspend power and hotplug detection, 31 * turn off everything else */
|
| H A D | ehci_pdriver.h | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2012 Hauke Mehrtens <hauke@hauke-m.de> 13 * struct usb_ehci_pdata - platform_data for generic ehci driver 41 /* Turn on all power and clocks */ 43 /* Turn off all power and clocks */ 45 /* Turn on only VBUS suspend power and hotplug detection, 46 * turn off everything else */
|
| /linux/arch/arm/boot/dts/marvell/ |
| H A D | armada-385-synology-ds116.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 /dts-v1/; 9 #include "armada-385.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 14 compatible = "marvell,a385-gp", "marvell,armada385", "marvell,armada380"; 17 stdout-path = "serial0:115200n8"; 32 internal-regs { 34 pinctrl-names = "default"; 35 pinctrl-0 = <&i2c0_pins>; 37 clock-frequency = <100000>; [all …]
|
| /linux/Documentation/ABI/testing/ |
| 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 …]
|
| /linux/tools/testing/selftests/riscv/vector/ |
| H A D | vstate_prctl.c | 1 // SPDX-License-Identifier: GPL-2.0-only 22 return -1; in test_and_compare_child() 27 return -2; in test_and_compare_child() 43 EXPECT_EQ(-1, rc) in TEST() 57 EXPECT_EQ(-1, rc) in TEST() 88 EXPECT_EQ(-1, rc) in TEST() 104 /* Turn on next's vector explicitly and test */ in TEST() 122 /* Turn off next's vector explicitly and test */ in TEST() 140 /* Turn on next's vector explicitly and test no inherit */ in TEST() 160 /* Turn on next's vector explicitly and test inherit */ in TEST() [all …]
|
| /linux/Documentation/leds/ |
| H A D | ledtrig-oneshot.rst | 2 One-shot LED Trigger 6 no clear trap points to put standard led-on and led-off settings. Using this 8 happened, then the trigger turns the LED on and then keeps it off for a 16 A one-shot LED only stays in a constant state when there are no events. An 17 additional "invert" property specifies if the LED has to stay off (normal) or 26 Documentation/ABI/testing/sysfs-class-led-trigger-oneshot 28 Example use-case: network devices, initialization:: 36 echo 1 > invert # set led as normally-on, turn the led on 44 echo 0 > invert # set led as normally-off, turn the led off
|
| /linux/Documentation/networking/device_drivers/wifi/intel/ |
| H A D | ipw2100.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 - Intel(R) PRO/Wireless 2100 Network Connection 12 Copyright |copy| 2003-2006, Intel Corporation 16 :Version: git-1.1.5 23 2. Release git-1.1.5 Current Features 64 the warranty and/or issues arising from regulatory non-compliance, and 69 modules, and accordingly, condition system-level regulatory approval 72 non-compliant. 81 https://www.intel.com/support/wireless/sb/CS-006408.htm 97 2. Release git-1.1.5 Current Supported Features [all …]
|
| /linux/Documentation/devicetree/bindings/memory-controllers/ |
| H A D | mvebu-devbus.txt | 9 - compatible: Armada 370/XP SoC are supported using the 10 "marvell,mvebu-devbus" compatible string. 13 "marvell,orion-devbus" compatible string. 15 - reg: A resource specifier for the register space. 20 - #address-cells: Must be set to 1 21 - #size-cells: Must be set to 1 22 - ranges: Must be set up to reflect the memory layout with four 23 integer values for each chip-select line in use: 28 - devbus,keep-config This property can optionally be used to keep 37 - devbus,turn-off-ps: Defines the time during which the controller does not [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
| H A D | pwrseq.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2009-2010 Realtek Corporation.*/ 46 /* 0xc00[7:0] = 4 turn off 3-wire */}, \ 49 /* 0xe00[7:0] = 4 turn off 3-wire */}, \ 67 /*0x04[9] = 1 turn off MAC by HW state machine*/}, \ 91 /* suspend option all off */}, \ 94 /*0x14[7] = 1 turn on ZCD */}, \ 117 /* 0x15[0] =0 trun off ZCD */}, \ 120 /*0x14[7] = 0 turn off ZCD */}, \ 153 /*0x14[7] = 1 turn on ZCD */}, \ [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/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
| H A D | hal_btc.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2009-2012 Realtek Corporation.*/ 19 if (!rtlpriv->btcoexist.bt_coexistence) in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps() 22 if (ppsc->inactiveps) { in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps() 24 "[BT][DM], Before enter IPS, turn off all Coexist DM\n"); in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps() 25 rtlpriv->btcoexist.cstate = 0; in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps() 26 rtlpriv->btcoexist.previous_state = 0; in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps() 27 rtlpriv->btcoexist.cstate_h = 0; in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps() 28 rtlpriv->btcoexist.previous_state_h = 0; in rtl8723e_dm_bt_turn_off_bt_coexist_before_enter_lps() 38 u8 bibss = (mac->opmode == NL80211_IFTYPE_ADHOC) ? 1 : 0; in mgnt_link_status_query() [all …]
|
| /linux/sound/hda/common/ |
| H A D | beep.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Digital Beep Input Interface for HD-audio codec 26 struct hda_codec *codec = beep->codec; in generate_tone() 28 if (tone && !beep->playing) { in generate_tone() 30 if (beep->power_hook) in generate_tone() 31 beep->power_hook(beep, true); in generate_tone() 32 beep->playing = 1; in generate_tone() 34 if (!codec->beep_just_power_on) in generate_tone() 35 snd_hda_codec_write(codec, beep->nid, 0, in generate_tone() 37 if (!tone && beep->playing) { in generate_tone() [all …]
|
| /linux/drivers/video/fbdev/via/ |
| H A D | dvi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 1998-2008 VIA Technologies, Inc. All Rights Reserved. 4 * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved. 7 #include <linux/via-core.h> 40 /* Turn on ouputting pad */ in viafb_tmds_trasmitter_identify() 41 switch (viaparinfo->chip_info->gfx_chip_name) { in viafb_tmds_trasmitter_identify() 63 /* SR3E[1]Multi-function selection: in viafb_tmds_trasmitter_identify() 71 viaparinfo->chip_info->tmds_chip_info.tmds_chip_name = VT1632_TMDS; in viafb_tmds_trasmitter_identify() 72 viaparinfo->chip_info-> in viafb_tmds_trasmitter_identify() 74 viaparinfo->chip_info->tmds_chip_info.i2c_port = VIA_PORT_31; in viafb_tmds_trasmitter_identify() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn316/ |
| H A D | dcn316_smu.c | 62 CTX->logger 82 …ine VBIOSSMC_MSG_SetDisplayIdleOptimizations 0x12 ///< Set Idle state optimization for display off 85 … 0x15 ///< Inform PMFW to turn on/off DTB clock arg = 1, turn DTB clock on 600MHz/ arg = … 113 } while (max_retries--); in dcn316_smu_wait_for_response() 130 return -1; in dcn316_smu_send_msg_with_param() 163 int actual_dispclk_set_mhz = -1; in dcn316_smu_set_dispclk() 165 if (!clk_mgr->smu_present) in dcn316_smu_set_dispclk() 179 int actual_dcfclk_set_mhz = -1; in dcn316_smu_set_hard_min_dcfclk() 181 if (!clk_mgr->base.ctx->dc->debug.pstate_enabled) in dcn316_smu_set_hard_min_dcfclk() 182 return -1; in dcn316_smu_set_hard_min_dcfclk() [all …]
|
| /linux/arch/m68k/amiga/ |
| H A D | amisound.c | 24 0, -39, -75, -103, -121, -127, -121, -103, -75, -39 35 volatile unsigned short amiga_audio_min_period = 124; /* Default for pre-OCS */ 64 /* without amifb, turn video off and enable high quality sound */ in amiga_init_sound() 102 /* turn on DMA for audio channel 2 */ in amiga_mksound() 114 /* turn off DMA for audio channel 2 */ in nosound()
|
| /linux/tools/testing/selftests/drivers/net/netdevsim/ |
| H A D | udp_tunnel_nic.sh | 2 # SPDX-License-Identifier: GPL-2.0-only 30 [ -e /sys/class/net/$dev ] && ip link del dev $dev 36 if [ -e $NSIM_DEV_SYS ]; then 58 [ "$ipver" != '6' ] || ipfl="-6" 84 [ "$ipver" != '6' ] || ipfl="-6" 118 echo -e "port: $((val >> 16))\ttype: $((val & 0xffff))" 134 type_name="vxlan-gpe" 146 local -n expected=$2 149 read -a have < $path 151 if [ ${#expected[@]} -ne ${#have[@]} ]; then [all …]
|
| /linux/drivers/platform/x86/intel/atomisp2/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 20 on at boot. This driver will turn the LED off at boot and also allows 24 ACPI tables, so this driver contains per-system info about the GPIO 32 tristate "Intel AtomISP v2 dummy / power-management driver" 37 Power-management driver for Intel's Image Signal Processor found on 39 is to turn the ISP off (put it in D3) to save power and to allow
|
| /linux/lib/ |
| H A D | debug_locks.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 * We want to turn all lock-debugging facilities on/off at once, 29 * The locking-testsuite uses <debug_locks_silent> to get a 37 * Generic 'turn off all lock debugging' function:
|