/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/systemd/systemd-systemctl/ |
H A D | systemctl | 10 import re 43 skip_re = re.compile(r"^\s*([#;]|$)") 44 section_re = re.compile(r"^\s*\[(?P<section>.*)\]") 45 kv_re = re.compile(r"^\s*(?P<key>[^\s]+)\s*=\s*(?P<value>.*)") 104 skip_re = re.compile(r"^\s*([#;]|$)") 105 directive_re = re.compile(r"^\s*(?P<action>enable|disable)\s+(?P<unit_name>(.+))") 142 `enable`: unit_name is enabled 158 print("ln -s {} {}".format(target, path)) 194 def enable(self, caller_unit=None): member in SystemdUnit 195 # if we're enabling an instance, first extract the actual instance [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd-systemctl/ |
H A D | systemctl | 10 import re 51 skip_re = re.compile(r"^\s*([#;]|$)") 52 section_re = re.compile(r"^\s*\[(?P<section>.*)\]") 53 kv_re = re.compile(r"^\s*(?P<key>[^\s]+)\s*=\s*(?P<value>.*)") 120 skip_re = re.compile(r"^\s*([#;]|$)") 121 directive_re = re.compile(r"^\s*(?P<action>enable|disable)\s+(?P<unit_name>(.+))") 158 `enable`: unit_name is enabled 174 print("ln -s {} {}".format(target, path)) 206 dependent = re.sub("([^%](%%)*)%i", "\\g<1>{}".format(instance), dependent) 213 def enable(self, units_enabled=[]): member in SystemdUnit [all …]
|
/openbmc/linux/drivers/pci/controller/dwc/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 3 menu "DesignWare-based PCIe controllers" 24 Say Y here to enable support of the Amazon's Annapurna Labs PCIe 27 required only for DT-based platforms. ACPI platforms with the 28 Annapurna Labs PCIe controller don't need to enable this. 36 Say Y here if you want to enable PCI controller support on Amlogic 38 and therefore the driver re-uses the DesignWare core functions to 45 bool "Axis ARTPEC-6 PCIe controller (host mode)" 51 Enables support for the PCIe controller in the ARTPEC-6 SoC to work in 55 bool "Axis ARTPEC-6 PCIe controller (endpoint mode)" [all …]
|
/openbmc/openpower-hw-diags/attn/ |
H A D | Attention_Handler.md | 36 - vital: log an event, request a SBE dump and request a re-ipl of the host. 37 - PHYPTI: log an event and request a memory preserving IPL (MPIPL) of the host. 38 - HBTI: log an event, request a hardware dump and request a re-ipl of the host. 39 - BP: notify the debug agent (e.g. Cronus) 40 - checkstop: log an event, call the analyzer, request a system dump and request 41 a re-ipl of the host. 48 the handling of attentions. Among these are systemd, dbus, phosphor-logging and 53 - systemd: loading and unloading of the attention handler service. 54 - dbus: querying the state of the BMC and host, requesting dumps and requesting 56 - phosphor-logging: debug tracing and logging platform events. [all …]
|
/openbmc/linux/arch/arc/kernel/ |
H A D | intc-compact.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2011-12 Synopsys, Inc. (www.synopsys.com) 18 * -Platform independent, needed for each CPU (not foldable into init_IRQ) 19 * -Called very early (start_kernel -> setup_arch -> setup_processor) 22 * -Optionally, setup the High priority Interrupts as Level 2 IRQs 38 pr_info("Level-2 interrupts bitset %x\n", level_mask); in arc_init_IRQ() 54 * ARC700 core includes a simple on-chip intc supporting 55 * -per IRQ enable/disable 56 * -2 levels of interrupts (high/low) 57 * -all interrupts being level triggered [all …]
|
/openbmc/linux/arch/um/ |
H A D | Kconfig.debug | 1 # SPDX-License-Identifier: GPL-2.0 4 bool "Enable gprof support" 7 This allows profiling of a User-Mode Linux kernel with the gprof 10 See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more 13 If you're involved in UML kernel development and want to use gprof, 14 say Y. If you're unsure, say N. 17 bool "Enable gcov support" 25 See <http://user-mode-linux.sourceforge.net/old/gprof.html> for more 28 If you're involved in UML kernel development and want to use gcov, 29 say Y. If you're unsure, say N.
|
/openbmc/linux/arch/powerpc/platforms/ |
H A D | Kconfig.cputype | 1 # SPDX-License-Identifier: GPL-2.0 7 bool "64-bit kernel" 10 This option selects whether a 32-bit or a 64-bit kernel 282 default "-mtune=power10" if $(cc-option,-mtune=power10) 283 default "-mtune=power9" if $(cc-option,-mtune=power9) 284 default "-mtune=power8" if $(cc-option,-mtune=power8) 366 This option enables kernel support for larger than 32-bit physical 369 If you have more than 3.5GB of RAM or so, you also need to enable 371 is platform-dependent. 382 altivec registers, and turning on the 'altivec enable' bit so user [all …]
|
/openbmc/linux/arch/ia64/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 72 The Itanium Processor Family is Intel's 64-bit successor to 73 the 32-bit X86 line. The IA-64 Linux project has a home 75 <linux-ia64@vger.kernel.org>. 129 Select your IA-64 processor type. The default is Itanium. 130 This choice is safe for all IA-64 systems, but may not perform 147 This lets you select the page size of the kernel. For best IA-64 149 IA-32 compatibility, a page size of 4KB should be selected (the vast 150 majority of IA-32 binaries work perfectly fine with a larger page 154 4KB For best IA-32 compatibility [all …]
|
/openbmc/linux/arch/um/os-Linux/ |
H A D | signal.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2015 Anton Ivanov (aivanov@{brocade.com,kot-begemot.co.uk}) 6 * Copyright (C) 2004 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) 16 #include <as-layout.h> 46 /* enable signals if sig isn't IRQ signal */ in sig_handler_common() 57 * be able to profile all of UML, not just the non-critical sections. If 58 * profiling is not thread-safe, then that is not my problem. We can disable 91 * In TT_MODE_EXTERNAL, need to still call time-travel in sig_handler() 94 * Note we won't get here if signals are hard-blocked in sig_handler() 95 * (which is handled above), in that case the hard- in sig_handler() [all …]
|
/openbmc/linux/include/linux/regulator/ |
H A D | driver.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * driver.h -- SoC Regulator driver support. 62 * struct regulator_ops - regulator operations. 64 * @enable: Configure the regulator as enabled. 75 * return -ENOTRECOVERABLE if regulator can't be read at 78 * regulator; return -ENOTRECOVERABLE if regulator can't 85 * @set_current_limit: Configure a limit for a current-limited regulator. 87 * @get_current_limit: Get the configured limit for a current-limited regulator. 94 * - REGULATOR_SEVERITY_PROT should automatically shut down the regulator(s). 96 * - REGULATOR_SEVERITY_ERR should indicate that over-current situation is [all …]
|
/openbmc/openbmc-tools/openbmctool/ |
H A D | README.md | 12 - `-H`: The hostname or IP for the BMC 13 - `-U`: The username One of the password options: 14 - `-P`: The password, provided in-line 15 - `-A`: Prompt for a password 16 - `-E`: Take the password from envvar `OPENBMCTOOL_PASSWORD` 21 re-enabled with the `local_users` sub-command. 24 further interaction with the BMC, including if using openbmctool to enable local 39 To re-enable all local user accounts: 54 - <https://www.rsyslog.com/storing-and-forwarding-remote-messages/> 55 - <https://www.rsyslog.com/doc/rsyslog%255Fconf%255Ffilter.html> [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A D | richtek,rtmv20-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/regulator/richtek,rtmv20-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - ChiYuan Huang <cy_huang@richtek.com> 14 It is used to drive laser diode. There're two signals for chip controls 15 (Enable/Fail), Enable pin to turn chip on, and Fail pin as fault indication. 16 There're still four pins for camera control, two inputs (strobe and vsync), 27 wakeup-source: true 32 enable-gpios: [all …]
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | omap-headsmp.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2009-2014 Texas Instruments, Inc. 38 * secondary core is held until we're ready for it to initialise. 54 * enable HYP mode first. This is called instead of 58 .arch armv7-a 77 * secondary core is held until we're ready for it to initialise. 112 * bit 0 == Secure Enable 113 * bit 1 == Non-Secure Enable 114 * The Non-Secure banked register has not changed 116 * GIC restoration will cause a problem to CPU0 Non-Secure SW. [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | ipmi_utils.py | 8 import re 37 not supported - defaulting to 0x0e 41 sol_info[Set in progress]: set-complete 43 sol_info[Non-Volatile Bit Rate (kbps)]: IPMI-Over-Serial-Setting 46 sol_info[Volatile Bit Rate (kbps)]: IPMI-Over-Serial-Setting 78 # "retry-count"). 141 Auth Type Enable : Callback : MD5 160 [Auth Type Enable]: 181 # Notice in the example of data above that 'Auth Type Enable' needs some 183 # the 'Auth Type Enable' string so that key_value_outbuf_to_dict can [all …]
|
/openbmc/linux/drivers/net/ethernet/cavium/octeon/ |
H A D | octeon_mgmt.c | 6 * Copyright (C) 2009-2012 Cavium, Inc 10 #include <linux/dma-mapping.h> 27 #include <asm/octeon/cvmx-mixx-defs.h> 28 #include <asm/octeon/cvmx-agl-defs.h> 157 static void octeon_mgmt_set_rx_irq(struct octeon_mgmt *p, int enable) in octeon_mgmt_set_rx_irq() argument 162 spin_lock_irqsave(&p->lock, flags); in octeon_mgmt_set_rx_irq() 163 mix_intena.u64 = cvmx_read_csr(p->mix + MIX_INTENA); in octeon_mgmt_set_rx_irq() 164 mix_intena.s.ithena = enable ? 1 : 0; in octeon_mgmt_set_rx_irq() 165 cvmx_write_csr(p->mix + MIX_INTENA, mix_intena.u64); in octeon_mgmt_set_rx_irq() 166 spin_unlock_irqrestore(&p->lock, flags); in octeon_mgmt_set_rx_irq() [all …]
|
/openbmc/openbmc/poky/scripts/esdk-tools/ |
H A D | runqemu | 5 # Copyright (C) 2006-2011 Linux Foundation 8 # SPDX-License-Identifier: GPL-2.0-only 15 import re 32 or to source oe-init-build-env before running this script.\n\n \ 34 runqemu, i.e. `runqemu /path/to/my-image-name.qemuboot.conf`\n\n %s" % message) 46 formatter = logging.Formatter('%(name)s - %(levelname)s - %(message)s') 62 KERNEL - the kernel image file to use 63 BIOS - the bios image file to use 64 ROOTFS - the rootfs image file or nfsroot directory to use 65 DEVICE_TREE - the device tree blob to use [all …]
|
/openbmc/openbmc/poky/scripts/ |
H A D | runqemu | 5 # Copyright (C) 2006-2011 Linux Foundation 8 # SPDX-License-Identifier: GPL-2.0-only 15 import re 32 or to source oe-init-build-env before running this script.\n\n \ 34 runqemu, i.e. `runqemu /path/to/my-image-name.qemuboot.conf`\n\n %s" % message) 46 formatter = logging.Formatter('%(name)s - %(levelname)s - %(message)s') 62 KERNEL - the kernel image file to use 63 BIOS - the bios image file to use 64 ROOTFS - the rootfs image file or nfsroot directory to use 65 DEVICE_TREE - the device tree blob to use [all …]
|
/openbmc/linux/drivers/remoteproc/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 54 This can be either built-in or a loadable module. 79 Usually you want to say Y here, in order to enable multimedia 80 use-cases to run on your platform (multimedia codecs are 83 It's safe to say N here if you're not interested in multimedia 91 Say Y here to enable watchdog timer for remote processors. 105 Required for Suspend-to-RAM on AM33xx and AM43xx SoCs. Also needed 111 tristate "DA8xx/OMAP-L13x remoteproc support" 115 Say y here to support DA8xx/OMAP-L13x remote processors via the 118 You want to say y here in order to enable AMP [all …]
|
/openbmc/linux/drivers/usb/gadget/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 7 # NOTE: Gadget support ** DOES NOT ** depend on host-side CONFIG_USB !! 9 # - Host systems (like PCs) need CONFIG_USB (with "A" jacks). 10 # - Peripherals (like PDAs) need CONFIG_USB_GADGET (with "B" jacks). 11 # - Some systems have both kinds of controllers. 13 # With help from a special transceiver and a "Mini-AB" jack, systems with 14 # both kinds of controller can also support "USB On-the-Go" (CONFIG_USB_OTG). 25 you can't connect a "to-the-host" connector to a peripheral. 35 Enable this configuration option if you want to run Linux inside 41 If in doubt, say "N" and don't enable these drivers; most people [all …]
|
/openbmc/linux/Documentation/admin-guide/media/ |
H A D | building.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 distribution-specific source file or via the Kernel's main git tree\ [1]_. 12 - you're a braveheart and want to experiment with new stuff; 13 - if you want to report a bug; 14 - if you're developing new patches 23 https://linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers 50 Device Drivers ---> 51 <M> Remote Controller support ---> 53 [ ] Enable CEC error injection support 54 [*] HDMI CEC drivers ---> [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/ |
H A D | bbtests.py | 4 # SPDX-License-Identifier: MIT 8 import re 25 self.assertEqual(bitbake('-e').status, 0, msg = "bitbake couldn't run from \"conf\" dir") 32 …self.assertEqual(bitbake('-e', env=my_env).status, 0, msg = "bitbake couldn't run from builddir's … 39 … self.assertEqual(bitbake('-e', env=my_env).status, 0, msg = "bitbake couldn't run from /tmp/") 44 result = bitbake('selftest-hello-native') 45 …find_build_started = re.search(r"NOTE: Test for bb\.event\.BuildStarted(\n.*)*NOTE: Executing.*Tas… 46 …find_build_completed = re.search(r"Tasks Summary:.*(\n.*)*NOTE: Test for bb\.event\.BuildCompleted… 52 bitbake('selftest-hello-native') 53 bitbake('selftest-hello-native -cclean') [all …]
|
/openbmc/u-boot/arch/powerpc/cpu/mpc83xx/ |
H A D | ecc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2007-2011 Freescale Semiconductor, Inc. 18 struct ccsr_ddr __iomem *ddr = &immap->ddr; in ecc_print_status() 20 ddr83xx_t *ddr = &immap->ddr; in ecc_print_status() 24 (ddr->sdram_cfg & SDRAM_CFG_ECC_EN) ? "ON" : "OFF"); in ecc_print_status() 27 printf("Memory Error Interrupt Enable:\n"); in ecc_print_status() 28 printf(" Multiple-Bit Error Interrupt Enable: %d\n", in ecc_print_status() 29 (ddr->err_int_en & ECC_ERR_INT_EN_MBEE) ? 1 : 0); in ecc_print_status() 30 printf(" Single-Bit Error Interrupt Enable: %d\n", in ecc_print_status() 31 (ddr->err_int_en & ECC_ERR_INT_EN_SBEE) ? 1 : 0); in ecc_print_status() [all …]
|
/openbmc/linux/drivers/pci/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 21 support for PCI-X and the foundations for PCI Express support. 40 bool "Message Signaled Interrupts (MSI and MSI-X)" 43 This allows device drivers to enable MSI (Message Signaled 44 Interrupts). Message Signaled Interrupts enable a device to 59 bool "Enable PCI quirk workarounds" if EXPERT 76 bool "Enable PCI resource re-allocation detection" 80 re-allocation needs to be enabled. You can always use pci=realloc=on 82 re-allocate PCI resources if SR-IOV BARs have not been allocated by 99 Say Y or M here if you want to enable support for devices that [all …]
|
/openbmc/linux/drivers/net/ethernet/marvell/ |
H A D | sky2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * of the original driver such as link fail-over and link management because 19 #include <linux/dma-mapping.h> 53 #define RX_MAX_PENDING (RX_LE_SIZE/6 - 2) 69 #define RING_NEXT(x, s) (((x)+1) & ((s)-1)) 76 static int debug = -1; /* defaults above */ 84 static int disable_msi = -1; 93 { PCI_DEVICE(PCI_VENDOR_ID_SYSKONNECT, 0x9000) }, /* SK-9Sxx */ 94 { PCI_DEVICE(PCI_VENDOR_ID_SYSKONNECT, 0x9E00) }, /* SK-9Exx */ 95 { PCI_DEVICE(PCI_VENDOR_ID_SYSKONNECT, 0x9E01) }, /* SK-9E21M */ [all …]
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | au8522_common.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 Copyright (C) 2005-2008 Auvitek International, Ltd. 35 struct i2c_msg msg = { .addr = state->config.demod_address, in au8522_writereg() 38 ret = i2c_transfer(state->i2c, &msg, 1); in au8522_writereg() 44 return (ret != 1) ? -1 : 0; in au8522_writereg() 55 { .addr = state->config.demod_address, .flags = 0, in au8522_readreg() 57 { .addr = state->config.demod_address, .flags = I2C_M_RD, in au8522_readreg() 60 ret = i2c_transfer(state->i2c, msg, 2); in au8522_readreg() 69 int au8522_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) in au8522_i2c_gate_ctrl() argument 71 struct au8522_state *state = fe->demodulator_priv; in au8522_i2c_gate_ctrl() [all …]
|