| /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" 17 depends on OVERLAY_FS 21 still possible to turn off redirects globally with the 22 "redirect_dir=off" module option or on a filesystem instance basis 26 an overlay which has redirects on a kernel that doesn't support this 34 depends on OVERLAY_FS 47 bool "Overlayfs: turn on inodes index feature by default" 48 depends on OVERLAY_FS [all …]
|
| /linux/drivers/leds/trigger/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 4 depends on LEDS_CLASS 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 26 controlled via sysfs. It's useful to notify the user on 28 or on dense events, where this blinks the LED at constant rate if 37 depends on ATA 44 depends on MTD 53 The flash frequency is a hyperbolic function of the 1-minute [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 7 * is on when any CPU is active. 19 * Copyright 2011 - 2012 Bryan Wu <bryan.wu@canonical.com> 45 * ledtrig_cpu - emit a CPU event as a trigger 48 * Emit a CPU event on a CPU core, which will trigger a 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() [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/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() 44 TH_LOG("GET_CONTROL should fail on kernel/hw without ZVE32X"); in TEST() 46 TH_LOG("GET_CONTROL should fail on kernel/hw without ZVE32X"); in TEST() 57 EXPECT_EQ(-1, rc) in TEST() 58 TH_LOG("SET_CONTROL should fail on kernel/hw without ZVE32X"); in TEST() 60 TH_LOG("SET_CONTROL should fail on kernel/hw without ZVE32X"); in TEST() 88 EXPECT_EQ(-1, rc) in TEST() [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/drivers/pci/hotplug/ |
| 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 …]
|
| 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() 44 * before taking any action that relies on power having been in set_slot_off() 55 * board_added - Called after a board has been added to the system. 58 * Turns power on for the board. 64 struct pci_bus *parent = ctrl->pcie->port->subordinate; in board_added() 67 /* Power on slot */ in board_added() 82 if (ctrl->power_fault_detected || pciehp_query_power_fault(ctrl)) { in board_added() [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> 15 #include <linux/dma-direct.h> 45 /* macro for fastest write-though access to the framebuffer */ 64 #define TILE_MASK (TILE_SIZE - 1) 82 static int gbe_turned_on; /* 0 turned off, 1 turned on */ 88 /* 640x480, 60 Hz, Non-Interlaced (25.175 MHz dotclock) */ 103 .height = -1, 104 .width = -1, [all …]
|
| H A D | xilinxfb.c | 7 * 2002-2007 (c) MontaVista Software, Inc. 17 * This driver was based on au1100fb.c by MontaVista rewritten for 2.6 18 * by Embedded Alley Solutions <source@embeddedalley.com>, which in turn 19 * was based on skeletonfb.c, Skeleton for a frame buffer device by 32 #include <linux/dma-mapping.h> 45 * the VGA port on the Xilinx ML40x board. This is a hardware display 52 * be turned on or off as well as rotated 180 degrees. 92 /* Physical address of framebuffer memory; If non-zero, driver 163 * To perform the read/write on the registers we need to check on 169 if (drvdata->flags & BUS_ACCESS_FLAG) { in xilinx_fb_out32() [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() 43 /*=* DFP Low Pad on *=*/ in viafb_tmds_trasmitter_identify() 50 /* DFP Low Pad on */ in viafb_tmds_trasmitter_identify() 53 /* DVP0 Pad on */ in viafb_tmds_trasmitter_identify() 59 /* DVP0/DVP1 Pad on */ in viafb_tmds_trasmitter_identify() [all …]
|
| /linux/arch/arm/mach-qcom/ |
| H A D | platsmp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 59 node = of_find_compatible_node(NULL, NULL, "qcom,gcc-msm8660"); in scss_release_secondary() 62 return -ENXIO; in scss_release_secondary() 68 return -ENOMEM; in scss_release_secondary() 88 return -ENODEV; in cortex_a7_release_secondary() 92 ret = -ENODEV; in cortex_a7_release_secondary() 98 ret = -ENOMEM; in cortex_a7_release_secondary() 106 /* Turn on the BHS and set the BHS_CNT to 16 XO clock cycles */ in cortex_a7_release_secondary() 144 return -ENODEV; in kpssv1_release_secondary() 148 ret = -ENODEV; in kpssv1_release_secondary() [all …]
|
| /linux/drivers/gpu/drm/msm/hdmi/ |
| H A D | hdmi_phy_8x60.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 /* De-serializer delay D/C for non-lbk mode: */ in hdmi_phy_8x60_powerup() 39 /* Turn PowerGen on: */ in hdmi_phy_8x60_powerup() 48 /* Turn PLL power on: */ in hdmi_phy_8x60_powerup() 56 /* Write to HIGH after PLL power down de-assert: */ in hdmi_phy_8x60_powerup() 60 /* ASIC power on; PHY REG9 = 0 */ in hdmi_phy_8x60_powerup() 64 * Enable the re-time logic in hdmi_phy_8x60_powerup() 70 /* Drivers are on: */ in hdmi_phy_8x60_powerup() 88 /* If we want to use lock enable based on counting: */ in hdmi_phy_8x60_powerup() 101 /* De-assert RESET PHY from controller */ in hdmi_phy_8x60_powerdown() [all …]
|
| /linux/Documentation/networking/device_drivers/ethernet/ti/ |
| H A D | tlan.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 (C) 1997-1998 Caldera, Inc. 13 (C) 1999-2001 Torben Mathiasen <tmm@image.dk, torben.mathiasen@compaq.com> 41 108d 0012 Olicom OC-2325 42 108d 0013 Olicom OC-2183 43 108d 0014 Olicom OC-2326 54 on daughterboard, it should work with 100BaseTx. 68 0x01 Turn on general debugging messages. 69 0x02 Turn on receive debugging messages. 70 0x04 Turn on transmit debugging messages. [all …]
|
| /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/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/platform/x86/intel/atomisp2/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 11 depends on GPIOLIB && LEDS_GPIO 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 25 inside the driver, this means that this driver only works on systems 32 tristate "Intel AtomISP v2 dummy / power-management driver" 33 depends on PCI && IOSF_MBI && PM 34 depends on !INTEL_ATOMISP 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/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 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 38 - A previously set timeout can be cancelled and disk can resume [all …]
|
| /linux/Documentation/input/devices/ |
| H A D | rotary-encoder.rst | 2 rotary-encoder - a generic driver for GPIO connected devices 8 -------- 11 peripherals with two wires. The outputs are phase-shifted by 90 degrees 12 and by triggering on falling and rising edges, the turn direction can 16 a stable state with both outputs high (half-period mode) and some have 17 a stable state in all steps (quarter-period mode). 33 |<-------->| 36 |<-->| 37 one step (half-period mode) 40 one step (quarter-period mode) [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 18 on (inverted) when not rearmed. 20 The trigger can be activated from user space on led class devices as shown 26 Documentation/ABI/testing/sysfs-class-led-trigger-oneshot 28 Example use-case: network devices, initialization:: 31 echo 33 > delay_on # blink at 1 / (33 + 33) Hz on continuous traffic 36 echo 1 > invert # set led as normally-on, turn the led on [all …]
|
| /linux/drivers/misc/lis3lv02d/ |
| H A D | lis3lv02d_i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Driver is based on corresponding SPI driver written by Daniel Mack 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() [all …]
|
| /linux/arch/x86/power/ |
| H A D | hibernate_asm_64.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Hibernation support for x86-64 21 #include <asm/asm-offsets.h> 22 #include <asm/processor-flags.h> 24 #include <asm/nospec-branch.h> 37 movq %rdx, %cr4; # turn off PGE 40 movq %rax, %cr4; # turn PGE back on 129 movq %rcx, %cr4; # turn off PGE 132 movq %rbx, %cr4; # turn PGE back on
|
| /linux/arch/m68k/amiga/ |
| H A D | amisound.c | 24 0, -39, -75, -103, -121, -127, -121, -103, -75, -39 32 * device since it depends on htotal (for OCS/ECS/AGA) 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/Documentation/userspace-api/media/rc/ |
| H A D | rc-tables.rst | 1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 11 mapped completely differently on different IR devices. This resulted 12 that the same IR keyname to be mapped completely different on different 14 keys on IR. 30 .. flat-table:: IR default keymapping 31 :header-rows: 0 32 :stub-columns: 0 36 - .. row 1 38 - Key code 40 - Meaning [all …]
|