| /linux/scripts/ |
| H A D | git-resolve.sh | 2 # SPDX-License-Identifier: GPL-2.0 6 echo "Usage: $(basename "$0") [--selftest] [--force] <commit-id> [commit-subject]" 7 …echo "Resolves a short git commit ID to its full SHA-1 hash, particularly useful for fixing refere… 10 echo " --selftest Run self-tests" 11 echo " --force Try to find commit by subject if ID lookup fails" 12 echo " commit-id Short git commit ID to resolve" 13 echo " commit-subject Optional commit subject to help resolve between multiple matches" 24 escaped_subject=$(echo "$escaped_subject" | sed 's/[:-]/\\&/g') 31 local force=0 32 if [ "$1" = "--force" ]; then [all …]
|
| /linux/drivers/gpu/drm/tests/ |
| H A 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 …]
|
| /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 9 #include <linux/platform_data/x86/nvidia-wmi-ec-backlight.h> 14 static bool force; variable 15 module_param(force, bool, 0444); 16 MODULE_PARM_DESC(force, "Force loading (disable acpi_backlight=xxx checks"); 19 * wmi_brightness_notify() - helper function for calling WMI-wrapped ACPI method 23 * @mode: The operation to perform on the method (e.g. %WMI_BRIGHTNESS_MODE_SET 25 * @val: Pointer to a value passed in by the caller when @mode is 26 * %WMI_BRIGHTNESS_MODE_SET, or a value passed out to caller when @mode 31 …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 | 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/kernel/time/ |
| H A D | tick-oneshot.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright(C) 2005-2006, Linutronix GmbH, Thomas Gleixner <tglx@kernel.org> 7 * Copyright(C) 2005-2007, Red Hat, Inc., Ingo Molnar 8 * Copyright(C) 2006-2007, Timesys Corp., Thomas Gleixner 18 #include "tick-internal.h" 21 * tick_program_event - program the CPU local timer device for the next event 23 * @force: flag to force reprograming even if the event time hasn't changed 27 int tick_program_event(ktime_t expires, int force) in tick_program_event() argument 36 dev->next_event = KTIME_MAX; in tick_program_event() 42 * We need the clock event again, configure it in ONESHOT mode in tick_program_event() [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/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/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-spac [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/platform/x86/lenovo/ |
| H A D | ymc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * lenovo-ymc.c - Lenovo Yoga Mode Control driver 15 #include <linux/input/sparse-keymap.h> 17 #include "ideapad-laptop.h" 19 #define LENOVO_YMC_EVENT_GUID "06129D99-6083-4164-81AD-F092F9D773A6" 20 #define LENOVO_YMC_QUERY_GUID "09B0EE6E-C3FD-4243-8DA1-7911FF80BB8C" 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"); 35 * yb9-kbdock driver. Suppress lenovo-ymc on this machine to [all …]
|
| /linux/arch/x86/boot/ |
| H A D | Makefile | 12 # If you want to preset the SVGA mode, uncomment the next line and 14 # Set it to -DSVGA_MODE=NORMAL_VGA if you just want the EGA/VGA mode. 17 SVGA_MODE := -DSVGA_MODE=NORMAL_VGA 21 subdir- := compressed 23 setup-y += a20.o bioscall.o cmdline.o copy.o cpu.o cpuflags.o cpucheck.o 24 setup-y += early_serial_console.o edd.o header.o main.o memory.o 25 setup-y += pm.o pmjump.o printf.o regs.o string.o tty.o video.o 26 setup-y += video-mode.o version.o 27 setup-$(CONFIG_X86_APM_BOOT) += apm.o 29 # The link order of the video-*.o modules can matter. In particular, [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/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/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> 65 return ret < 0 ? ret : -EINVAL; in sysfs__fprintf_build_id() 77 return ret < 0 ? ret : -EINVAL; in filename__fprintf_build_id() 87 static int perf_session__list_build_ids(bool force, bool with_hits) in perf_session__list_build_ids() argument 92 .mode = PERF_DATA_MODE_READ, in perf_session__list_build_ids() 93 .force in perf_session__list_build_ids() 149 bool force = false; cmd_buildid_list() local [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> 36 .mode = PERF_DATA_MODE_READ, in __cmd_evlist() 37 .force = details->force, in __cmd_evlist() 43 /* only needed for pipe mode */ in __cmd_evlist() 53 evlist__for_each_entry(session->evlist, pos) { in __cmd_evlist() 56 if (pos->core.attr.type == PERF_TYPE_TRACEPOINT) in __cmd_evlist() 63 if (has_tracepoint && !details->trace_fields) in __cmd_evlist() 64 printf("# Tip: use 'perf evlist --trace-fields' to show fields for tracepoint events\n"); in __cmd_evlist() [all …]
|
| /linux/tools/net/ynl/ |
| H A D | ynl-regen.sh | 2 # SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 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 --no-line-number -B1 -h '/\* YNL-GEN' $f | sed 's@/\*\(.*\)\*/@\1@') ) 25 args=$(sed -n 's@/\* YNL-ARG \(.*\) \*/@\1@p' $f) [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 …]
|
| H A D | clockdomain.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 6 * Copyright (C) 2008-2011 Nokia Corporation 33 * hardware-supervised idle mode, the PRCM may transition the 38 * force-sleep mode, then the HW_AUTO mode will be used to put the 40 * the force-wakeup mode, then it will be used whenever a clock or 42 * HW_AUTO mode. 58 * struct clkdm_autodep - clkdm deps to add when entering/exiting hwsup mode 59 * @clkdm: clockdomain to add wkdep+sleepdep on - set name member only 62 * clockdomain should stay active in hwsup mode; and conversely, 64 * hwsup mode. [all …]
|
| /linux/Documentation/devicetree/bindings/ |
| H A D | common-properties.txt | 5 ---------- 13 - big-endian: Boolean; force big endian register accesses 15 know the peripheral always needs to be accessed in big endian (BE) mode. 16 - little-endian: Boolean; force little endian register accesses 18 peripheral always needs to be accessed in little endian (LE) mode. 19 - native-endian: Boolean; always use register accesses matched to the 20 endianness of the kernel binary (e.g. LE vmlinux -> readl/writel, 21 BE vmlinux -> ioread32be/iowrite32be). In this case no byte swaps 22 will ever be performed. Use this if the hardware "self-adjusts" 27 In such cases, little-endian is the preferred default, but it is not [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 …]
|
| /linux/drivers/gpu/drm/ |
| 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. 51 * drm_connector_register() in case of hot-plugged connectors. Unregistration is 69 return dev->type == &drm_sysfs_device_connector; in drm_connector_acpi_bus_match() 76 return to_acpi_device_node(connector->fwnode); in drm_connector_acpi_find_companion() 99 static char *drm_devnode(const struct device *dev, umode_t *mode) in drm_devnode() argument 109 ret = sysfs_create_link(&dev->kobj, &typec_connector->kobj, "typec_connector"); in typec_connector_bind() 113 ret = sysfs_create_link(&typec_connector->kobj, &dev->kobj, "drm_connector"); in typec_connector_bind() [all …]
|
| /linux/Documentation/hwmon/ |
| H A D | thmc50.rst | 10 Addresses scanned: I2C 0x2c - 0x2e 18 Addresses scanned: I2C 0x2c - 0x2e 31 - Frodo Looijaard <frodol@dds.nl> 32 - Philip Edelbrock <phil@netroedge.com> 35 ----------------- 38 List of adapter,address pairs to force chips into ADM1022 mode with 42 ----------- 45 external diode-type temperature sensor (compatible w/ the diode sensor inside 48 register and Hysteresis register. Each value can be set and read to half-degree 52 degrees Celsius, and are guaranteed within a range of -55 to +125 degrees. [all …]
|