/openbmc/linux/drivers/gpu/drm/tests/ |
H A D | drm_cmdline_parser_test.c | 1 // SPDX-License-Identifier: GPL-2.0 16 struct drm_cmdline_mode mode = { }; in drm_test_cmdline_force_e_only() local 20 &no_connector, &mode)); in drm_test_cmdline_force_e_only() 21 KUNIT_EXPECT_FALSE(test, mode.specified); in drm_test_cmdline_force_e_only() 22 KUNIT_EXPECT_FALSE(test, mode.refresh_specified); in drm_test_cmdline_force_e_only() 23 KUNIT_EXPECT_FALSE(test, mode.bpp_specified); in drm_test_cmdline_force_e_only() 25 KUNIT_EXPECT_FALSE(test, mode.rb); in drm_test_cmdline_force_e_only() 26 KUNIT_EXPECT_FALSE(test, mode.cvt); in drm_test_cmdline_force_e_only() 27 KUNIT_EXPECT_FALSE(test, mode.interlace); in drm_test_cmdline_force_e_only() 28 KUNIT_EXPECT_FALSE(test, mode.margins); in drm_test_cmdline_force_e_only() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A D | qcom,rpm-regulator.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/qcom,rpm-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 15 The regulator node houses sub-nodes for each regulator within the device. 16 Each sub-node is identified using the node's name, with valid values listed 28 l29, lvs1, lvs2, lvs3, lvs4, lvs5, lvs6, lvs7, usb-switch, hdmi-switch, 37 - Bjorn Andersson <andersson@kernel.org> 42 - qcom,rpm-pm8058-regulators 43 - qcom,rpm-pm8901-regulators [all …]
|
/openbmc/linux/drivers/platform/x86/ |
H A D | nvidia-wmi-ec-backlight.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/platform_data/x86/nvidia-wmi-ec-backlight.h> 15 static bool force; variable 16 module_param(force, bool, 0444); 17 MODULE_PARM_DESC(force, "Force loading (disable acpi_backlight=xxx checks"); 20 * wmi_brightness_notify() - helper function for calling WMI-wrapped ACPI method 24 * @mode: The operation to perform on the method (e.g. %WMI_BRIGHTNESS_MODE_SET 26 * @val: Pointer to a value passed in by the caller when @mode is 27 * %WMI_BRIGHTNESS_MODE_SET, or a value passed out to caller when @mode 32 …otify(struct wmi_device *w, enum wmi_brightness_method id, enum wmi_brightness_mode mode, u32 *val) in wmi_brightness_notify() argument [all …]
|
H A D | lenovo-ymc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * lenovo-ymc.c - Lenovo Yoga Mode Control driver 13 #include <linux/input/sparse-keymap.h> 15 #include "ideapad-laptop.h" 17 #define LENOVO_YMC_EVENT_GUID "06129D99-6083-4164-81AD-F092F9D773A6" 18 #define LENOVO_YMC_QUERY_GUID "09B0EE6E-C3FD-4243-8DA1-7911FF80BB8C" 25 MODULE_PARM_DESC(ec_trigger, "Enable EC triggering work-around to force emitting tablet mode events… 27 static bool force; variable 28 module_param(force, bool, 0444); 29 MODULE_PARM_DESC(force, "Force loading on boards without a convertible DMI chassis-type"); [all …]
|
/openbmc/linux/drivers/usb/gadget/udc/ |
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). 22 # - integrated/SOC controllers first 23 # - licensed IP used in both SOC and discrete versions 24 # - discrete ones (including all PCI-only controllers) [all …]
|
/openbmc/linux/Documentation/networking/device_drivers/ethernet/dec/ |
H A D | dmfe.rst | 1 .. SPDX-License-Identifier: GPL-2.0 26 dmfe: Davicom DM9xxx net driver, version 1.36.4 (2002-01-17) 32 This way it will autodetect the device mode.This is the suggested way to load the module.Or you can… 33 a mode= setting to module while loading, like:: 35 insmod dmfe mode=0 # Force 10M Half Duplex 36 insmod dmfe mode=1 # Force 100M Half Duplex 37 insmod dmfe mode=4 # Force 10M Full Duplex 38 insmod dmfe mode=5 # Force 100M Full Duplex 56 - Implement pci_driver::suspend() and pci_driver::resume() power management methods. 57 - Check on 64 bit boxes. [all …]
|
/openbmc/linux/include/linux/bcma/ |
H A D | bcma_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 #define BCMA_CLKCTLST_FORCEALP 0x00000001 /* Force ALP request */ 9 #define BCMA_CLKCTLST_FORCEHT 0x00000002 /* Force HT request */ 10 #define BCMA_CLKCTLST_FORCEILP 0x00000004 /* Force ILP request */ 13 #define BCMA_CLKCTLST_HWCROFF 0x00000020 /* Force HW clock request off */ 76 #define BCMA_SOC_PCI_MEM 0x08000000U /* Host Mode sb2pcitranslation0 (64 MB) */ 78 #define BCMA_SOC_PCI_CFG 0x0c000000U /* Host Mode sb2pcitranslation1 (64 MB) */ 83 #define BCMA_SOC_PCI_DMA 0x40000000U /* Client Mode sb2pcitranslation2 (1 GB) */ 84 #define BCMA_SOC_PCI_DMA2 0x80000000U /* Client Mode sb2pcitranslation2 (1 GB) */ 85 #define BCMA_SOC_PCI_DMA_SZ 0x40000000U /* Client Mode sb2pcitranslation2 size in bytes */ [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/proftpd/files/ |
H A D | proftpd-basic.init | 5 # Required-Start: $remote_fs $syslog $local_fs $network 6 # Required-Stop: $remote_fs $syslog $local_fs $network 7 # Should-Start: $named 8 # Should-Stop: $named 9 # Default-Start: 2 3 4 5 10 # Default-Stop: 0 1 6 11 # Short-Description: Starts ProFTPD daemon 27 PIDFILE=`grep -i '^pidfile' $CONFIG_FILE|awk '{ print $2 }'` 34 [ -r /etc/default/proftpd ] && . /etc/default/proftpd 39 test -f $DAEMON || exit 0 [all …]
|
/openbmc/u-boot/drivers/net/phy/ |
H A D | Kconfig | 3 bool "Bit-banged ethernet MII management channel support" 185 bool "Ethernet PHY RTL8211x: force 1000BASE-T master mode" 188 Force master mode for 1000BASE-T on RTl8211x PHYs (except for RTL8211F). 190 links which can occur in slave mode on certain PHYs, e.g. on the 194 will not be able to establish a link between each other if they both force 195 master mode. Multiple devices forcing master mode when connected by a 197 ports into slave mode. 200 connection between two devices which both force master mode, try forcing 221 bool "Fixed-Link PHY" 224 Fixed PHY is used for having a 'fixed-link' to another MAC with a direct [all …]
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_probe_helper.c | 2 * Copyright (c) 2006-2008 Intel Corporation 56 * track of a per-connector hpd interrupt. 70 drm_mode_validate_flag(const struct drm_display_mode *mode, in drm_mode_validate_flag() argument 73 if ((mode->flags & DRM_MODE_FLAG_INTERLACE) && in drm_mode_validate_flag() 77 if ((mode->flags & DRM_MODE_FLAG_DBLSCAN) && in drm_mode_validate_flag() 81 if ((mode->flags & DRM_MODE_FLAG_3D_MASK) && in drm_mode_validate_flag() 89 drm_mode_validate_pipeline(struct drm_display_mode *mode, in drm_mode_validate_pipeline() argument 94 struct drm_device *dev = connector->dev; in drm_mode_validate_pipeline() 99 ret = drm_connector_mode_valid(connector, mode, ctx, status); in drm_mode_validate_pipeline() 108 *status = drm_encoder_mode_valid(encoder, mode); in drm_mode_validate_pipeline() [all …]
|
/openbmc/phosphor-fan-presence/monitor/ |
H A D | power_off_action.hpp | 30 * the D-Bus call to do the power off, so it can be mocked 48 * @param[in] name - The action name. Used for tracing. 49 * @param[in] powerInterface - The object used to invoke the power off. 50 * @param[in] powerOffFunc - A function to call right before the power 76 * The 'force' parameter is mainly for use when something else 80 * @param[in] force - If the cancel should be forced 82 * @return bool - If the cancel was allowed/successful 84 virtual bool cancel(bool force) = 0; 89 * @return const std::string& - The name 162 * @param[in] delay - The amount of time in seconds to wait before [all …]
|
/openbmc/linux/drivers/input/misc/ |
H A D | ideapad_slidebar.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Reverse-engineered from Lenovo SlideNav software (SBarHook.dll). 18 * load with 'force' parameter set 'true'. 20 * LEDs blinking and input mode are managed via sysfs, 45 * All | 0b01001 -> STD_INT 46 * possible | 0b10001 -> ONMOV_INT 47 * states | 0b01000 -> OFF_INT 49 * | 0b0 -> LAST_POLL 51 * | 0b1 -> STD_INT 53 * | 0b0 -> OFF_POLL [all …]
|
/openbmc/linux/drivers/media/dvb-frontends/drx39xyj/ |
H A D | drx_dap_fasi.h | 2 Copyright (c), 2004-2005,2007-2010 Trident Microsystems, Inc. 48 /*-------- compilation control switches --------------------------------------*/ 53 /*-------- Required includes -------------------------------------------------*/ 57 /*-------- Defines, configuring the API --------------------------------------*/ 98 #error At least one of short- or long-addressing format must be allowed. 99 *; /* illegal statement to force compiler error */ 112 * + single master mode means no use of repeated starts 113 * + multi master mode means use of repeated starts 121 * Default is single master, DAP FASI changes multi-master setting silently 131 * Chunk/mode checking [all …]
|
/openbmc/u-boot/cmd/ |
H A D | regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2014-2015 Samsung Electronics 9 #include <dm/uclass-internal.h> 29 int ret = -ENXIO; in do_dev() 47 printf("%s: no regulator platform data!\n", currdev->name); in do_dev() 51 printf("dev: %s @ %s\n", uc_pdata->name, currdev->name); in do_dev() 73 pr_err("Regulator: %s - missing platform data!\n", currdev->name); in curr_dev_and_platdata() 77 if (!allow_type_fixed && (*uc_pdata)->type == REGULATOR_TYPE_FIXED) { in curr_dev_and_platdata() 91 printf("| %-*.*s| %-*.*s| %s\n", in do_list() 93 LIMIT_OFNAME, LIMIT_OFNAME, "regulator-name", in do_list() [all …]
|
/openbmc/linux/drivers/usb/storage/ |
H A D | sierra_ms.c | 1 // SPDX-License-Identifier: GPL-2.0 28 MODULE_PARM_DESC(swi_tru_install, "TRU-Install mode (1=Full Logic (def)," 29 " 2=Force CD-Rom, 3=Force Modem)"); 41 if ((swocInfo->LinuxSKU >= 0x2100 && swocInfo->LinuxSKU <= 0x2FFF) || in containsFullLinuxPackage() 42 (swocInfo->LinuxSKU >= 0x7100 && swocInfo->LinuxSKU <= 0x7FFF)) in containsFullLinuxPackage() 51 dev_dbg(&udev->dev, "SWIMS: %s", "DEVICE MODE SWITCH\n"); in sierra_set_ms_mode() 69 dev_dbg(&udev->dev, "SWIMS: Attempting to get TRU-Install info\n"); in sierra_get_swoc_info() 80 swocInfo->LinuxSKU = le16_to_cpu(swocInfo->LinuxSKU); in sierra_get_swoc_info() 81 swocInfo->LinuxVer = le16_to_cpu(swocInfo->LinuxVer); in sierra_get_swoc_info() 87 dev_dbg(dev, "SWIMS: SWoC Rev: %02d\n", swocInfo->rev); in debug_swoc() [all …]
|
/openbmc/ipmitool/doc/ |
H A D | ipmitool.1 | 3 ipmitool \- utility for controlling IPMI\-enabled devices 6 ipmitool [ <options> ] <command> [ <sub-commands and sub-options> ] 8 <options> := [ <general-options> | <conditional-opts> ] 13 <general-options> := [ -h | -V | -v | -I <interface> | -H <address> | 14 -d <N> | -p <port> | -c | -U <username> | 15 -L <privlvl> | -l <lun> | -m <local_address> | 16 -N <sec> | -R <count> | <password-option> | 17 <oem-option> | <bridge-options> ] 19 <conditional-opts> := [ <lan-options> | <lanplus-options> | 20 <command-options> ] [all …]
|
/openbmc/qemu/include/hw/timer/ |
H A D | imx_gpt.h | 8 * Updated by Jean-Christophe Dubois <jcd@tribudubois.net> 41 * to 0 when it reaches GPT_TIMER_MAX (in freerun mode) or when it 42 * reaches the value of one of the ocrX (in periodic mode). 49 #define GPT_CR_ENMOD (1 << 1) /* GPT Enable Mode */ 50 #define GPT_CR_DBGEN (1 << 2) /* GPT Debug mode enable */ 51 #define GPT_CR_WAITEN (1 << 3) /* GPT Wait Mode Enable */ 52 #define GPT_CR_DOZEN (1 << 4) /* GPT Doze mode enable */ 53 #define GPT_CR_STOPEN (1 << 5) /* GPT Stop Mode Enable */ 59 #define GPT_CR_IM1 (3 << 16) /* Input capture channel 1 mode (2 bits) */ 60 #define GPT_CR_IM2 (3 << 18) /* Input capture channel 2 mode (2 bits) */ [all …]
|
/openbmc/linux/drivers/hid/ |
H A D | hid-lg4ff.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Force feedback support for Logitech Gaming Wheels 6 * Speed Force Wireless (WiiWheel) 20 #include "hid-lg.h" 21 #include "hid-lg4ff.h" 22 #include "hid-ids.h" 45 #define LG4FF_DFEX_TAG "DF-EX" 46 #define LG4FF_DFEX_NAME "Driving Force / Formula EX" 48 #define LG4FF_DFP_NAME "Driving Force Pro" 56 #define LG4FF_DFGT_NAME "Driving Force GT" [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 22 most commonly used to refer to the USB-HID specification, but other 27 removed from the HID bus by the transport-layer drivers, such as 58 to work on raw hid events when they want to, and avoid using transport-specific 64 tristate "User-space I/O driver support for HID subsystem" 67 Say Y here if you want to provide HID I/O Drivers from user-space. 68 This allows to write I/O drivers in user-space and feed the data from 71 user-space device. 73 This driver cannot be used to parse HID-reports in user-space and write 74 special HID-drivers. You should use hidraw for that. [all …]
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | ethtool_extended_state.sh | 2 # SPDX-License-Identifier: GPL-2.0 27 local expected_ext_substate=${1:-""}; shift 30 | cut -d "(" -f2 | cut -d ")" -f1) 31 local ext_substate=$(echo $ext_state | cut -sd "," -f2 \ 32 | sed -e 's/^[[:space:]]*//') 33 ext_state=$(echo $ext_state | cut -d "," -f1) 71 local -a speeds_arr=($(different_speeds_get $swp1 $swp2 0 0)) 79 "Autoneg" "No partner detected during force mode") 83 "Autoneg" "No partner detected during force mode") 86 log_test "Autoneg, No partner detected during force mode" [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_params.c | 58 * Note: As a rule, keep module parameter sysfs permissions read-only 63 * debugfs mode to 0. 68 "1=on, -1=force vga console preference [default])"); 71 "Enable power-saving display C-states. " 72 "(-1=auto [default]; 0=disable; 1=up to DC5; 2=up to DC6; " 77 "(default: -1 (use per-chip default))"); 80 "Specify LVDS channel mode " 81 "(0=probe BIOS [default], 1=single-channel, 2=dual-channel)"); 88 "Override/Ignore selection of SDVO panel mode in the VBT " 89 "(-2=ignore, -1=auto [default], index in VBT BIOS table)"); [all …]
|
/openbmc/linux/tools/net/ynl/ |
H A D | ynl-regen.sh | 2 # SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 4 TOOL=$(dirname $(realpath $0))/ynl-gen-c.py 6 force= 9 while [ ! -z "$1" ]; do 11 -f ) force=yes; shift ;; 12 -p ) search=$2; shift 2 ;; 18 pushd ${search:-$KDIR} >>/dev/null 20 files=$(git grep --files-with-matches '^/\* YNL-GEN \(kernel\|uapi\|user\)') 23 # $YAML YNL-GEN kernel $mode 24 params=( $(git grep -B1 -h '/\* YNL-GEN' $f | sed 's@/\*\(.*\)\*/@\1@') ) [all …]
|
/openbmc/openbmc-test-automation/redfish/systems/ |
H A D | test_boot_devices.robot | 29 &{redfish_ipmi_target_map} Hdd=Force Boot from default Hard-Drive 30 ... Pxe=Force PXE 31 ... Diags=Force Boot from default Hard-Drive, request Safe-Mode 32 ... Cd=Force Boot from CD/DVD 33 ... BiosSetup=Force Boot into BIOS Setup 45 Verify BMC Redfish Boot Source Override with Enabled Mode As Once 46 [Documentation] Verify BMC Redfish Boot Source Override with Enabled Mode As Once. 65 Verify BMC Redfish Boot Source Override with Enabled Mode As Continuous 66 [Documentation] Verify BMC Redfish Boot Source Override with Enabled Mode As Continuous. 85 Verify BMC Redfish Boot Source Override with Enabled Mode As Disabled [all …]
|
/openbmc/linux/tools/perf/ |
H A D | builtin-evlist.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include "util/parse-events.h" 14 #include <subcmd/parse-options.h> 35 .mode = PERF_DATA_MODE_READ, in __cmd_evlist() 36 .force = details->force, in __cmd_evlist() 39 /* only needed for pipe mode */ in __cmd_evlist() 52 evlist__for_each_entry(session->evlist, pos) { in __cmd_evlist() 55 if (pos->core.attr.type == PERF_TYPE_TRACEPOINT) in __cmd_evlist() 59 if (has_tracepoint && !details->trace_fields) in __cmd_evlist() 60 printf("# Tip: use 'perf evlist --trace-fields' to show fields for tracepoint events\n"); in __cmd_evlist() [all …]
|
/openbmc/linux/arch/x86/boot/ |
H A D | Makefile | 20 # callback into middle of per-cpu data enabling code. Thus the callback observed 25 # If you want to preset the SVGA mode, uncomment the next line and 27 # Set it to -DSVGA_MODE=NORMAL_VGA if you just want the EGA/VGA mode. 30 SVGA_MODE := -DSVGA_MODE=NORMAL_VGA 34 subdir- := compressed 36 setup-y += a20.o bioscall.o cmdline.o copy.o cpu.o cpuflags.o cpucheck.o 37 setup-y += early_serial_console.o edd.o header.o main.o memory.o 38 setup-y += pm.o pmjump.o printf.o regs.o string.o tty.o video.o 39 setup-y += video-mode.o version.o 40 setup-$(CONFIG_X86_APM_BOOT) += apm.o [all …]
|