/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 …]
|
/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 …]
|
/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" 23 static bool force; variable 24 module_param(force, bool, 0444); 25 MODULE_PARM_DESC(force, "Force loading on boards without a convertible DMI chassis-type"); 61 struct lenovo_ymc_private *priv = dev_get_drvdata(&wdev->dev); in lenovo_ymc_notify() [all …]
|
H A D | meegopad_anx7428.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver to power on the Analogix ANX7428 USB Type-C crosspoint switch 4 * on MeeGoPad top-set boxes. 6 * The MeeGoPad T8 and T9 are Cherry Trail top-set boxes which 7 * use an ANX7428 to provide a Type-C port with USB3.1 Gen 1 and 8 * DisplayPort over Type-C alternate mode support. 12 * to send the right signal to the 4 highspeed pairs of the Type-C 14 * DP alternate mode. 16 * IOW the ANX7428 operates fully autonomous and to the x5-Z8350 SoC 17 * things look like there simply is a USB-3 Type-A connector and a [all …]
|
/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 …]
|
/linux/drivers/gpu/drm/ |
H A D | drm_probe_helper.c | 2 * Copyright (c) 2006-2008 Intel Corporation 57 * track of a per-connector hpd interrupt. 71 drm_mode_validate_flag(const struct drm_display_mode *mode, in drm_mode_validate_flag() argument 74 if ((mode->flags & DRM_MODE_FLAG_INTERLACE) && in drm_mode_validate_flag() 78 if ((mode->flags & DRM_MODE_FLAG_DBLSCAN) && in drm_mode_validate_flag() 82 if ((mode->flags & DRM_MODE_FLAG_3D_MASK) && in drm_mode_validate_flag() 90 drm_mode_validate_pipeline(struct drm_display_mode *mode, in drm_mode_validate_pipeline() argument 95 struct drm_device *dev = connector->dev; in drm_mode_validate_pipeline() 100 ret = drm_connector_mode_valid(connector, mode, ctx, status); in drm_mode_validate_pipeline() 109 *status = drm_encoder_mode_valid(encoder, mode); in drm_mode_validate_pipeline() [all …]
|
H A D | drm_sysfs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * drm_sysfs.c - Modifications to drm_sysfs_class.c to support 9 * Copyright (c) 2003-2004 Greg Kroah-Hartman <greg@kroah.com> 10 * Copyright (c) 2003-2004 IBM Corp. 48 * drm_connector_register() in case of hot-plugged connectors. Unregistration is 66 return dev->type == &drm_sysfs_device_connector; in drm_connector_acpi_bus_match() 73 return to_acpi_device_node(connector->fwnode); in drm_connector_acpi_find_companion() 96 static char *drm_devnode(const struct device *dev, umode_t *mode) in drm_devnode() argument 106 ret = sysfs_create_link(&dev->kobj, &typec_connector->kobj, "typec_connector"); in typec_connector_bind() 110 ret = sysfs_create_link(&typec_connector->kobj, &dev->kobj, "drm_connector"); in typec_connector_bind() [all …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/linux/drivers/hid/ |
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 …]
|
H A D | hid-betopff.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Force feedback support for Betop based devices 8 * 0x11c2:0x2208 "BTP2185 BFM mode Joystick" 9 * - tested with BTP2185 BFM Mode. 11 * 0x11C0:0x5506 "BTP2185 PC mode Joystick" 12 * - tested with BTP2185 PC Mode. 14 * 0x8380:0x1850 "BTP2185 V2 PC mode USB Gamepad" 15 * - tested with BTP2185 PC Mode with another version. 17 * 0x20bc:0x5500 "BTP2185 V2 BFM mode Joystick" 18 * - tested with BTP2171s. [all …]
|
/linux/Documentation/input/joydev/ |
H A D | joystick.rst | 3 .. _joystick-doc: 14 linux-input@vger.kernel.org 16 send "subscribe linux-input" to majordomo@vger.kernel.org to subscribe to it. 25 --------- 29 usually packaged as ``joystick``, ``input-utils``, ``evtest``, and so on. 35 ------------ 48 ln -s input/js0 js0 49 ln -s input/js1 js1 50 ln -s input/js2 js2 51 ln -s input/js3 js3 [all …]
|
/linux/tools/testing/selftests/drivers/net/hw/ |
H A D | ethtool_extended_state.sh | 2 # SPDX-License-Identifier: GPL-2.0 28 local expected_ext_substate=${1:-""}; shift 31 | cut -d "(" -f2 | cut -d ")" -f1) 32 local ext_substate=$(echo $ext_state | cut -sd "," -f2 \ 33 | sed -e 's/^[[:space:]]*//') 34 ext_state=$(echo $ext_state | cut -d "," -f1) 72 local -a speeds_arr=($(different_speeds_get $swp1 $swp2 0 0)) 80 "Autoneg" "No partner detected during force mode") 84 "Autoneg" "No partner detected during force mode") 87 log_test "Autoneg, No partner detected during force mode" [all …]
|
/linux/tools/perf/ |
H A D | builtin-buildid-list.c | 2 * builtin-buildid-list.c 4 * Builtin buildid-list command: list buildids in perf.data, in the running 11 #include "util/build-id.h" 16 #include <subcmd/parse-options.h> 62 return ret < 0 ? ret : -EINVAL; in sysfs__fprintf_build_id() 74 return ret < 0 ? ret : -EINVAL; in filename__fprintf_build_id() 84 static int perf_session__list_build_ids(bool force, bool with_hits) in perf_session__list_build_ids() argument 89 .mode = PERF_DATA_MODE_READ, in perf_session__list_build_ids() 90 .force = force, in perf_session__list_build_ids() 119 perf_header__has_feat(&session->header, HEADER_AUXTRACE)) in perf_session__list_build_ids() [all …]
|
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() 42 /* 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() 62 if (has_tracepoint && !details->trace_fields) in __cmd_evlist() 63 printf("# Tip: use 'perf evlist --trace-fields' to show fields for tracepoint events\n"); in __cmd_evlist() [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_display_params.c | 1 // SPDX-License-Identifier: MIT 22 * Note: As a rule, keep module parameter sysfs permissions read-only 27 * debugfs mode to 0. 38 "Specify LVDS channel mode " 39 "(0=probe BIOS [default], 1=single-channel, 2=dual-channel)"); 46 "Override/Ignore selection of SDVO panel mode in the VBT " 47 "(-2=ignore, -1=auto [default], index in VBT BIOS table)"); 50 "Enable power-saving display C-states. " 51 "(-1=auto [default]; 0=disable; 1=up to DC5; 2=up to DC6; " 65 "(-1=auto [default], 0=power wells always on, 1=power wells disabled when possible)"); [all …]
|
/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 …]
|
/linux/arch/arm/mach-omap2/ |
H A D | sram242x.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * linux/arch/arm/mach-omap2/sram242x.S 9 * Richard Woodruff <r-woodruff2@ti.com> 31 stmfd sp!, {r0 - r12, lr} @ save registers on stack 34 mov r8, r3 @ capture force parameter 39 str r3, [r2] @ go to L1-freq operation 45 /* dll lock mode */ 51 and r10, r10, r9 @ clear bit2 for lock mode. 62 mov r9, #0x0 @ shift back to L0-voltage 67 str r3, [r2] @ go to L0-freq operation [all …]
|
H A D | sram243x.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * linux/arch/arm/mach-omap2/sram243x.S 9 * Richard Woodruff <r-woodruff2@ti.com> 31 stmfd sp!, {r0 - r12, lr} @ save registers on stack 34 mov r8, r3 @ capture force parameter 39 str r3, [r2] @ go to L1-freq operation 45 /* dll lock mode */ 51 and r10, r10, r9 @ clear bit2 for lock mode. 62 mov r9, #0x0 @ shift back to L0-voltage 67 str r3, [r2] @ go to L0-freq operation [all …]
|
/linux/kernel/ |
H A D | reboot.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 * this indicates whether you can reboot with ctrl-alt-del: the default is yes 55 enum sys_off_mode mode; member 83 * emergency_restart - reboot the system 107 * register_reboot_notifier - Register function to be called at reboot time 123 * unregister_reboot_notifier - Unregister previously registered reboot notifier 129 * Returns zero on success, or %-ENOENT on failure. 150 return -ENOMEM; in devm_register_reboot_notifier() 171 * register_restart_handler - Register function to be called to reset 174 * @nb->priority: Handler priority. Handlers should follow the [all …]
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_connectors.c | 2 * Copyright 2007-8 Advanced Micro Devices, Inc. 45 struct drm_device *dev = connector->dev; in amdgpu_connector_hotplug() 52 if (amdgpu_connector->hpd.hpd == AMDGPU_HPD_NONE) in amdgpu_connector_hotplug() 55 amdgpu_display_hpd_set_polarity(adev, amdgpu_connector->hpd.hpd); in amdgpu_connector_hotplug() 58 if (connector->dpms != DRM_MODE_DPMS_ON) in amdgpu_connector_hotplug() 62 if (connector->connector_type == DRM_MODE_CONNECTOR_DisplayPort) { in amdgpu_connector_hotplug() 64 amdgpu_connector->con_priv; in amdgpu_connector_hotplug() 67 if (dig_connector->dp_sink_type != CONNECTOR_OBJECT_ID_DISPLAYPORT) in amdgpu_connector_hotplug() 71 dig_connector->dp_sink_type = amdgpu_atombios_dp_get_sinktype(amdgpu_connector); in amdgpu_connector_hotplug() 73 * passive dp->(dvi|hdmi) adaptor in amdgpu_connector_hotplug() [all …]
|