| /kernel/linux/linux-5.10/drivers/gpu/drm/selftests/ |
| D | test-drm_cmdline_parser.c | 1 // SPDX-License-Identifier: GPL-2.0 16 #include "test-drm_modeset_common.h" 22 struct drm_cmdline_mode mode = { }; in drm_cmdline_test_force_e_only() local 26 &mode)); in drm_cmdline_test_force_e_only() 27 FAIL_ON(mode.specified); in drm_cmdline_test_force_e_only() 28 FAIL_ON(mode.refresh_specified); in drm_cmdline_test_force_e_only() 29 FAIL_ON(mode.bpp_specified); in drm_cmdline_test_force_e_only() 31 FAIL_ON(mode.rb); in drm_cmdline_test_force_e_only() 32 FAIL_ON(mode.cvt); in drm_cmdline_test_force_e_only() 33 FAIL_ON(mode.interlace); in drm_cmdline_test_force_e_only() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/tests/ |
| D | drm_cmdline_parser_test.c | 1 // SPDX-License-Identifier: GPL-2.0 17 struct drm_cmdline_mode mode = { }; in drm_test_cmdline_force_e_only() local 21 &no_connector, &mode)); in drm_test_cmdline_force_e_only() 22 KUNIT_EXPECT_FALSE(test, mode.specified); in drm_test_cmdline_force_e_only() 23 KUNIT_EXPECT_FALSE(test, mode.refresh_specified); in drm_test_cmdline_force_e_only() 24 KUNIT_EXPECT_FALSE(test, mode.bpp_specified); in drm_test_cmdline_force_e_only() 26 KUNIT_EXPECT_FALSE(test, mode.rb); in drm_test_cmdline_force_e_only() 27 KUNIT_EXPECT_FALSE(test, mode.cvt); in drm_test_cmdline_force_e_only() 28 KUNIT_EXPECT_FALSE(test, mode.interlace); in drm_test_cmdline_force_e_only() 29 KUNIT_EXPECT_FALSE(test, mode.margins); in drm_test_cmdline_force_e_only() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| D | qcom-rpm.txt | 8 - compatible: 12 "qcom,rpm-apq8064" 13 "qcom,rpm-msm8660" 14 "qcom,rpm-msm8960" 15 "qcom,rpm-ipq8064" 16 "qcom,rpm-mdm9615" 18 - reg: 20 Value type: <prop-encoded-array> 23 - interrupts: 25 Value type: <prop-encoded-array> [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/regulator/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/platform/x86/ |
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/usb/gadget/udc/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/usb/gadget/udc/ |
| 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 …]
|
| /kernel/linux/linux-6.6/Documentation/networking/device_drivers/ethernet/dec/ |
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/networking/device_drivers/ethernet/dec/ |
| 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 …]
|
| /kernel/linux/linux-6.6/include/linux/bcma/ |
| 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 …]
|
| /kernel/linux/linux-5.10/include/linux/bcma/ |
| 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 …]
|
| /kernel/linux/linux-5.10/tools/perf/ |
| D | builtin-buildid-list.c | 2 * builtin-buildid-list.c 4 * Builtin buildid-list command: list buildids in perf.data, in the running 12 #include "util/build-id.h" 16 #include <subcmd/parse-options.h> 30 return ret < 0 ? ret : -EINVAL; in sysfs__fprintf_build_id() 42 return ret < 0 ? ret : -EINVAL; in filename__fprintf_build_id() 49 return with_hits && !dso->hit; in dso__skip_buildid() 52 static int perf_session__list_build_ids(bool force, bool with_hits) in perf_session__list_build_ids() argument 57 .mode = PERF_DATA_MODE_READ, in perf_session__list_build_ids() 58 .force = force, in perf_session__list_build_ids() [all …]
|
| /kernel/linux/linux-6.6/drivers/input/misc/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/input/misc/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/media/dvb-frontends/drx39xyj/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/media/dvb-frontends/drx39xyj/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/usb/storage/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/usb/storage/ |
| 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 …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/ |
| D | ethtool_extended_state.sh | 2 # SPDX-License-Identifier: GPL-2.0 25 local expected_ext_substate=${1:-""}; shift 28 | cut -d "(" -f2 | cut -d ")" -f1) 29 local ext_substate=$(echo $ext_state | cut -sd "," -f2 \ 30 | sed -e 's/^[[:space:]]*//') 31 ext_state=$(echo $ext_state | cut -d "," -f1) 61 local -a speeds_arr=($(different_speeds_get $swp1 $swp2 0 0)) 70 "No partner detected during force mode" 73 "No partner detected during force mode" 75 log_test "Autoneg, No partner detected during force mode" [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/msm/dp/ |
| D | dp_drm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved. 21 * dp_connector_detect - callback to determine if connector is connected 23 * @force: Force detect setting from drm framework 27 bool force) in dp_connector_detect() argument 31 dp = to_dp_connector(conn)->dp_display; in dp_connector_detect() 34 (dp->is_connected) ? "true" : "false"); in dp_connector_detect() 36 return (dp->is_connected) ? connector_status_connected : in dp_connector_detect() 41 * dp_connector_get_modes - callback to add drm modes via drm_mode_probed_add() 55 dp = to_dp_connector(connector)->dp_display; in dp_connector_get_modes() [all …]
|
| /kernel/linux/linux-6.6/drivers/hid/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/hid/ |
| 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 …]
|