/Linux-v5.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 …]
|
/Linux-v5.10/drivers/gpu/drm/ |
D | drm_modes.c | 2 * Copyright © 1997-2003 by The XFree86 Project, Inc. 4 * Copyright © 2007-2008 Intel Corporation 6 * Copyright 2005-2006 Luc Verhaegen 49 * drm_mode_debug_printmodeline - print a mode to dmesg 50 * @mode: mode to print 52 * Describe @mode using DRM_DEBUG. 54 void drm_mode_debug_printmodeline(const struct drm_display_mode *mode) in drm_mode_debug_printmodeline() argument 56 DRM_DEBUG_KMS("Modeline " DRM_MODE_FMT "\n", DRM_MODE_ARG(mode)); in drm_mode_debug_printmodeline() 61 * drm_mode_create - create a new display mode 68 * Pointer to new mode on success, NULL on error. [all …]
|
/Linux-v5.10/sound/soc/codecs/ |
D | wcd-clsh-v2.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. 3 // Copyright (c) 2017-2018, Linaro Limited 10 #include "wcd-clsh-v2.h" 14 int mode; member 22 /* Class-H registers for codecs from and above WCD9335 */ 109 struct snd_soc_component *comp = ctrl->comp; in wcd_enable_clsh_block() 111 if ((enable && ++ctrl->clsh_users == 1) || in wcd_enable_clsh_block() 112 (!enable && --ctrl->clsh_users == 0)) in wcd_enable_clsh_block() 116 if (ctrl->clsh_users < 0) in wcd_enable_clsh_block() [all …]
|
/Linux-v5.10/Documentation/driver-api/usb/ |
D | typec_bus.rst | 2 API for USB Type-C Alternate Mode drivers 6 ------------ 9 Messages (VDM) as defined in USB Type-C and USB Power Delivery Specifications. 11 every alternate mode, so every alternate mode will need a custom driver. 13 USB Type-C bus allows binding a driver to the discovered partner alternate 14 modes by using the SVID and the mode number. 16 :ref:`USB Type-C Connector Class <typec>` provides a device for every alternate 17 mode a port supports, and separate device for every alternate mode the partner 19 mode devices, and the port alternate mode devices must be handled by the port 22 When a new partner alternate mode device is registered, it is linked to the [all …]
|
/Linux-v5.10/arch/x86/boot/ |
D | video-mode.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* -*- linux-c -*- ------------------------------------------------------- * 5 * Copyright 2007-2008 rPath, Inc. - All Rights Reserved 7 * ----------------------------------------------------------------------- */ 10 * arch/i386/boot/video-mode.c 12 * Set the video mode. This is separated out into a different 27 int do_restore; /* Screen contents changed during mode flip */ 28 int graphic_mode; /* Graphic mode with linear frame buffer */ 30 /* Probe the video drivers and have them generate their mode lists. */ 42 if (card->unsafe == unsafe) { in probe_cards() [all …]
|
/Linux-v5.10/Documentation/admin-guide/ |
D | svga.rst | 4 Video Mode Selection Support 2.13 7 :Copyright: |copy| 1995--1999 Martin Mares, <mj@ucw.cz> 12 This small document describes the "Video Mode Selection" feature which 21 enter ``scan`` on the video mode prompt, pick the mode you want to use, 22 remember its mode ID (the four-digit hexadecimal number) and then 25 The video mode to be used is selected by a kernel parameter which can be 31 NORMAL_VGA - Standard 80x25 mode available on all display adapters. 33 EXTENDED_VGA - Standard 8-pixel font mode: 80x43 on EGA, 80x50 on VGA. 35 ASK_VGA - Display a video mode menu upon startup (see below). 37 0..35 - Menu item number (when you have used the menu to view the list of [all …]
|
/Linux-v5.10/drivers/ide/ |
D | ide-xfer-mode.c | 1 // SPDX-License-Identifier: GPL-2.0-only 21 * ide_xfer_verbose - return IDE mode names 22 * @mode: transfer mode 24 * Returns a constant string giving the name of the mode 28 const char *ide_xfer_verbose(u8 mode) in ide_xfer_verbose() argument 31 u8 i = mode & 0xf; in ide_xfer_verbose() 33 if (mode >= XFER_UDMA_0 && mode <= XFER_UDMA_7) in ide_xfer_verbose() 35 else if (mode >= XFER_MW_DMA_0 && mode <= XFER_MW_DMA_4) in ide_xfer_verbose() 37 else if (mode >= XFER_SW_DMA_0 && mode <= XFER_SW_DMA_2) in ide_xfer_verbose() 39 else if (mode >= XFER_PIO_0 && mode <= XFER_PIO_6) in ide_xfer_verbose() [all …]
|
/Linux-v5.10/drivers/gpu/drm/gma500/ |
D | mdfld_tmd_vid.c | 37 struct drm_display_mode *mode; in tmd_vid_get_config_mode() local 38 struct drm_psb_private *dev_priv = dev->dev_private; in tmd_vid_get_config_mode() 39 struct oaktrail_timing_info *ti = &dev_priv->gct_data.DTD; in tmd_vid_get_config_mode() 42 mode = kzalloc(sizeof(*mode), GFP_KERNEL); in tmd_vid_get_config_mode() 43 if (!mode) in tmd_vid_get_config_mode() 47 mode->hdisplay = (ti->hactive_hi << 8) | ti->hactive_lo; in tmd_vid_get_config_mode() 48 mode->vdisplay = (ti->vactive_hi << 8) | ti->vactive_lo; in tmd_vid_get_config_mode() 49 mode->hsync_start = mode->hdisplay + \ in tmd_vid_get_config_mode() 50 ((ti->hsync_offset_hi << 8) | \ in tmd_vid_get_config_mode() 51 ti->hsync_offset_lo); in tmd_vid_get_config_mode() [all …]
|
D | oaktrail_lvds.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright © 2006-2009 Intel Corporation 14 #include <asm/intel-mid.h> 24 /* The max/min PWM frequency in BPCR[31:17] - */ 26 * 15-bit field of the and then*/ 27 /* shifts to the left by one bit to get the actual 16-bit 28 * value that the 15-bits correspond to.*/ 40 struct drm_psb_private *dev_priv = dev->dev_private; in oaktrail_lvds_set_power() 51 dev_priv->is_lvds_on = true; in oaktrail_lvds_set_power() 52 if (dev_priv->ops->lvds_bl_power) in oaktrail_lvds_set_power() [all …]
|
/Linux-v5.10/include/linux/ |
D | phylink.h | 21 MLO_AN_FIXED, /* Fixed-link mode */ 22 MLO_AN_INBAND, /* In-band protocol */ 25 static inline bool phylink_autoneg_inband(unsigned int mode) in phylink_autoneg_inband() argument 27 return mode == MLO_AN_INBAND; in phylink_autoneg_inband() 31 * struct phylink_link_state - link state structure 35 * @interface: link &typedef phy_interface_t mode 37 * @duplex: link duplex mode, one of DUPLEX_* constants. 61 * struct phylink_config - PHYLINK configuration structure 66 * if MAC link is at %MLO_AN_FIXED mode. 68 * if MAC link is at %MLO_AN_FIXED mode. [all …]
|
/Linux-v5.10/drivers/phy/hisilicon/ |
D | phy-histb-combphy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2016-2017 HiSilicon Co., Ltd. http://www.hisilicon.com 20 #include <dt-bindings/phy/phy.h> 49 struct histb_combphy_mode mode; member 55 void __iomem *reg = priv->mmio + COMBPHY_CFG_REG; in nano_register_write() 73 static int is_mode_fixed(struct histb_combphy_mode *mode) in is_mode_fixed() argument 75 return (mode->fixed != PHY_NONE) ? true : false; in is_mode_fixed() 80 struct histb_combphy_mode *mode = &priv->mode; in histb_combphy_set_mode() local 81 struct regmap *syscon = priv->syscon; in histb_combphy_set_mode() 84 if (is_mode_fixed(mode)) in histb_combphy_set_mode() [all …]
|
/Linux-v5.10/drivers/net/wireless/ath/ath5k/ |
D | eeprom.c | 2 * Copyright (c) 2004-2008 Reyk Floeter <reyk@openbsd.org> 3 * Copyright (c) 2006-2009 Nick Kossifidis <mickflemm@gmail.com> 4 * Copyright (c) 2008-2009 Felix Fietkau <nbd@openwrt.org> 41 unsigned int mode) in ath5k_eeprom_bin2freq() argument 48 if (mode == AR5K_EEPROM_MODE_11A) { in ath5k_eeprom_bin2freq() 49 if (ee->ee_version > AR5K_EEPROM_VERSION_3_2) in ath5k_eeprom_bin2freq() 52 val = bin > 62 ? (10 * 62) + (5 * (bin - 62)) + 5100 : in ath5k_eeprom_bin2freq() 55 if (ee->ee_version > AR5K_EEPROM_VERSION_3_2) in ath5k_eeprom_bin2freq() 75 struct ath5k_eeprom_info *ee = &ah->ah_capabilities.cap_eeprom; in ath5k_eeprom_init_header() 89 if (ah->ah_ee_version < AR5K_EEPROM_VERSION_3_0) in ath5k_eeprom_init_header() [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/power/reset/ |
D | reboot-mode.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/reset/reboot-mode.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Generic reboot mode core map 10 - Andy Yan <andy.yan@rock-chips.com> 13 This driver get reboot mode arguments and call the write 18 All mode properties are vendor specific, it is a indication to tell 20 as mode-xxx = <magic> (xxx is mode name, magic should be a non-zero value). 23 - normal: Normal reboot mode, system reboot with command "reboot". [all …]
|
D | nvmem-reboot-mode.txt | 1 NVMEM reboot mode driver 3 This driver gets reboot mode magic value from reboot-mode driver 4 and stores it in a NVMEM cell named "reboot-mode". Then the bootloader 9 - compatible: should be "nvmem-reboot-mode". 10 - nvmem-cells: A phandle to the reboot mode provided by a nvmem device. 11 - nvmem-cell-names: Should be "reboot-mode". 13 The rest of the properties should follow the generic reboot-mode description 14 found in reboot-mode.txt 17 reboot-mode { 18 compatible = "nvmem-reboot-mode"; [all …]
|
D | syscon-reboot-mode.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/power/reset/syscon-reboot-mode.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Generic SYSCON reboot mode driver 10 - Sebastian Reichel <sre@kernel.org> 13 This driver gets reboot mode magic value from reboot-mode driver 17 parental dt-node plus the offset. So the SYSCON reboot-mode node 18 should be represented as a sub-node of a "syscon", "simple-mfd" node. 22 const: syscon-reboot-mode [all …]
|
/Linux-v5.10/include/drm/ |
D | drm_modes.h | 3 * Copyright © 2007-2008 Dave Airlie 4 * Copyright © 2007-2008 Intel Corporation 46 * enum drm_mode_status - hardware support status of a mode 47 * @MODE_OK: Mode OK 50 * @MODE_H_ILLEGAL: mode has illegal horizontal timings 51 * @MODE_V_ILLEGAL: mode has illegal vertical timings 53 * @MODE_NOMODE: no mode with a matching name 54 * @MODE_NO_INTERLACE: interlaced mode not supported 55 * @MODE_NO_DBLESCAN: doublescan mode not supported 56 * @MODE_NO_VSCAN: multiscan mode not supported [all …]
|
/Linux-v5.10/drivers/parport/ |
D | ieee1284.c | 2 * IEEE-1284 implementation for parport. 5 * Carsten Gross <carsten@sol.wohnheim.uni-ulm.de> 10 * read/write requests to low-level drivers. 38 up (&port->physport->ieee1284.irq); in parport_ieee1284_wakeup() 49 * parport_wait_event - wait for an event on a parallel port 68 if (!port->physport->cad->timeout) in parport_wait_event() 73 timer_setup(&port->timer, timeout_waiting_on_port, 0); in parport_wait_event() 74 mod_timer(&port->timer, jiffies + timeout); in parport_wait_event() 75 ret = down_interruptible (&port->physport->ieee1284.irq); in parport_wait_event() 76 if (!del_timer_sync(&port->timer) && !ret) in parport_wait_event() [all …]
|
/Linux-v5.10/Documentation/userspace-api/media/cec/ |
D | cec-ioc-g-mode.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 12 CEC_G_MODE, CEC_S_MODE - Get or set exclusive use of the CEC adapter 32 Pointer to CEC mode. 40 filehandle to initiator and/or follower mode which can be exclusive 41 depending on the chosen mode. The initiator is the filehandle that is 61 by the follower. The follower can enable the passthrough mode. In that 65 the passthrough mode. See :ref:`cec-core-processing` for details. 77 .. _cec-mode-initiator_e: 79 .. flat-table:: Initiator Modes 80 :header-rows: 0 [all …]
|
/Linux-v5.10/drivers/hid/ |
D | hid-saitek.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Fixes the HID report descriptor by removing a non-existent axis and 7 * clearing the constant bit on the input reports for buttons and d-pad. 8 * (This module is based on "hid-ortek".) 12 * Fixes the mode button which cycles through three constantly pressed 25 #include "hid-ids.h" 33 int mode; member 39 unsigned long quirks = id->driver_data; in saitek_probe() 43 ssc = devm_kzalloc(&hdev->dev, sizeof(*ssc), GFP_KERNEL); in saitek_probe() 46 return -ENOMEM; in saitek_probe() [all …]
|
/Linux-v5.10/drivers/firmware/efi/libstub/ |
D | gop.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* ----------------------------------------------------------------------- 6 * ----------------------------------------------------------------------- */ 29 u32 mode; member 42 if (!strstarts(option, "mode=")) in parse_modenum() 44 option += strlen("mode="); in parse_modenum() 49 cmdline.mode = m; in parse_modenum() 58 int pf = -1; in parse_res() 66 if (*option == '-') { in parse_res() 138 efi_graphics_output_protocol_mode_t *mode; in choose_mode_modenum() local [all …]
|
/Linux-v5.10/Documentation/networking/ |
D | ipvlan.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 exception of using L3 for mux-ing /demux-ing among slaves. This property makes 34 ip link add link <master> name <slave> type ipvlan [ mode MODE ] [ FLAGS ] 36 MODE: l3 (default) | l3s | l2 42 L3 bridge mode:: 45 (b) This command will create IPvlan link in L2 bridge mode:: 47 bash# ip link add link eth0 name ipvl0 type ipvlan mode l2 bridge 49 (c) This command will create an IPvlan device in L2 private mode:: 51 bash# ip link add link eth0 name ipvlan type ipvlan mode l2 private 53 (d) This command will create an IPvlan device in L2 vepa mode:: [all …]
|
/Linux-v5.10/drivers/scsi/aic94xx/ |
D | aic94xx_reg_def.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 22 #define CSEQ_MODE_PAGE_SIZE 0x200 /* CSEQ mode page size */ 23 #define LmSEQ_MODE_PAGE_SIZE 0x200 /* LmSEQ mode page size */ 32 * CHIM Registers, Address Range : (0x00-0xFF) 172 /* 0x38 - 0x3C are reserved */ 197 /* 0x58h - 0xFCh are reserved */ 200 * DCH_SAS Registers, Address Range : (0x800-0xFFF) 291 /* 0x83Ch - 0xFFCh are reserved */ 294 * ARP2 External Processor Registers, Address Range : (0x00-0x1F) 349 /* 0x14h - 0x1Ch are reserved */ [all …]
|
/Linux-v5.10/drivers/gpu/drm/msm/disp/mdp4/ |
D | mdp4_dsi_encoder.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 struct msm_drm_private *priv = encoder->dev->dev_private; in get_kms() 24 return to_mdp4_kms(to_mdp_kms(priv->kms)); in get_kms() 40 struct drm_display_mode *mode, in mdp4_dsi_encoder_mode_set() argument 48 mode = adjusted_mode; in mdp4_dsi_encoder_mode_set() 50 DBG("set mode: " DRM_MODE_FMT, DRM_MODE_ARG(mode)); in mdp4_dsi_encoder_mode_set() 53 if (mode->flags & DRM_MODE_FLAG_NHSYNC) in mdp4_dsi_encoder_mode_set() 55 if (mode->flags & DRM_MODE_FLAG_NVSYNC) in mdp4_dsi_encoder_mode_set() 61 hsync_start_x = (mode->htotal - mode->hsync_start); in mdp4_dsi_encoder_mode_set() 62 hsync_end_x = mode->htotal - (mode->hsync_start - mode->hdisplay) - 1; in mdp4_dsi_encoder_mode_set() [all …]
|
/Linux-v5.10/arch/s390/include/asm/ |
D | scsw.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 17 * struct cmd_scsw - command-mode subchannel status word 24 * @isic: initial-status interruption control 25 * @alcc: address-limit checking control 26 * @ssi: suppress-suspended interruption 63 * struct tm_scsw - transport-mode subchannel status word 68 * @x: IRB-format control 69 * @q: interrogate-complete 79 * @schxs: subchannel-extended status 105 * struct eadm_scsw - subchannel status word for eadm subchannels [all …]
|
/Linux-v5.10/drivers/usb/typec/ |
D | bus.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Bus for USB Type-C Alternate Modes 18 if (!alt->mux) in typec_altmode_set_mux() 21 state.alt = &alt->adev; in typec_altmode_set_mux() 22 state.mode = conf; in typec_altmode_set_mux() 25 return alt->mux->set(alt->mux, &state); in typec_altmode_set_mux() 31 bool is_port = is_typec_port(adev->dev.parent); in typec_altmode_set_state() 34 port_altmode = is_port ? to_altmode(adev) : to_altmode(adev)->partner; in typec_altmode_set_state() 39 /* -------------------------------------------------------------------------- */ 43 * typec_altmode_notify - Communication between the OS and alternate mode driver [all …]
|