Home
last modified time | relevance | path

Searched +full:mode +full:- (Results 1 – 25 of 1102) sorted by relevance

12345678910>>...45

/kernel/linux/linux-5.10/drivers/gpu/drm/selftests/
Dtest-drm_cmdline_parser.c1 // 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-5.10/sound/soc/codecs/
Dwcd-clsh-v2.c1 // 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 …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/power/reset/
Dreboot-mode.txt1 Generic reboot mode core map driver
3 This driver get reboot mode arguments and call the write
8 All mode properties are vendor specific, it is a indication to tell
10 as mode-xxx = <magic> (xxx is mode name, magic should be a none-zero value).
13 - mode-normal: Normal reboot mode, system reboot with command "reboot".
14 - mode-recovery: Android Recovery mode, it is a mode to format the device or update a new image.
15 - mode-bootloader: Android fastboot mode, it's a mode to re-flash partitions on the Android based d…
16 - mode-loader: A bootloader mode, it's a mode used to download image on Rockchip platform,
20 reboot-mode {
21 mode-normal = <BOOT_NORMAL>;
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_modes.c2 * 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 …]
/kernel/linux/linux-4.19/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_dsi_encoder.c34 struct msm_drm_private *priv = encoder->dev->dev_private; in get_kms()
35 return to_mdp4_kms(to_mdp_kms(priv->kms)); in get_kms()
51 struct drm_display_mode *mode, in mdp4_dsi_encoder_mode_set() argument
59 mode = adjusted_mode; in mdp4_dsi_encoder_mode_set()
61 DBG("set mode: %d:\"%s\" %d %d %d %d %d %d %d %d %d %d 0x%x 0x%x", in mdp4_dsi_encoder_mode_set()
62 mode->base.id, mode->name, in mdp4_dsi_encoder_mode_set()
63 mode->vrefresh, mode->clock, in mdp4_dsi_encoder_mode_set()
64 mode->hdisplay, mode->hsync_start, in mdp4_dsi_encoder_mode_set()
65 mode->hsync_end, mode->htotal, in mdp4_dsi_encoder_mode_set()
66 mode->vdisplay, mode->vsync_start, in mdp4_dsi_encoder_mode_set()
[all …]
/kernel/linux/linux-4.19/drivers/gpu/drm/
Ddrm_modes.c2 * Copyright © 1997-2003 by The XFree86 Project, Inc.
4 * Copyright © 2007-2008 Intel Corporation
6 * Copyright 2005-2006 Luc Verhaegen
45 * drm_mode_debug_printmodeline - print a mode to dmesg
46 * @mode: mode to print
48 * Describe @mode using DRM_DEBUG.
50 void drm_mode_debug_printmodeline(const struct drm_display_mode *mode) in drm_mode_debug_printmodeline() argument
52 DRM_DEBUG_KMS("Modeline " DRM_MODE_FMT "\n", DRM_MODE_ARG(mode)); in drm_mode_debug_printmodeline()
57 * drm_mode_create - create a new display mode
64 * Pointer to new mode on success, NULL on error.
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/usb/
Dtypec_bus.rst2 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 …]
/kernel/linux/linux-4.19/Documentation/driver-api/usb/
Dtypec_bus.rst2 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 USB Type-C Connector Class provides a device for every alternate mode a port
17 supports, and separate device for every alternate mode the partner supports.
18 The drivers for the alternate modes are bound to the partner alternate mode
19 devices, and the port alternate mode devices must be handled by the port
[all …]
/kernel/linux/linux-5.10/include/linux/
Dphylink.h21 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 …]
/kernel/linux/linux-4.19/Documentation/
Dsvga.txt4 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
20 enter ``scan`` on the video mode prompt, pick the mode you want to use,
21 remember its mode ID (the four-digit hexadecimal number) and then
24 The video mode to be used is selected by a kernel parameter which can be
30 NORMAL_VGA - Standard 80x25 mode available on all display adapters.
32 EXTENDED_VGA - Standard 8-pixel font mode: 80x43 on EGA, 80x50 on VGA.
34 ASK_VGA - Display a video mode menu upon startup (see below).
36 0..35 - Menu item number (when you have used the menu to view the list of
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/
Dsvga.rst4 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 …]
/kernel/linux/linux-5.10/drivers/ide/
Dide-xfer-mode.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/
Dmdfld_tmd_vid.c37 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 …]
/kernel/linux/linux-4.19/drivers/gpu/drm/gma500/
Dmdfld_tmd_vid.c35 struct drm_display_mode *mode; in tmd_vid_get_config_mode() local
36 struct drm_psb_private *dev_priv = dev->dev_private; in tmd_vid_get_config_mode()
37 struct oaktrail_timing_info *ti = &dev_priv->gct_data.DTD; in tmd_vid_get_config_mode()
40 mode = kzalloc(sizeof(*mode), GFP_KERNEL); in tmd_vid_get_config_mode()
41 if (!mode) in tmd_vid_get_config_mode()
45 mode->hdisplay = (ti->hactive_hi << 8) | ti->hactive_lo; in tmd_vid_get_config_mode()
46 mode->vdisplay = (ti->vactive_hi << 8) | ti->vactive_lo; in tmd_vid_get_config_mode()
47 mode->hsync_start = mode->hdisplay + \ in tmd_vid_get_config_mode()
48 ((ti->hsync_offset_hi << 8) | \ in tmd_vid_get_config_mode()
49 ti->hsync_offset_lo); in tmd_vid_get_config_mode()
[all …]
/kernel/linux/linux-4.19/drivers/ide/
Dide-xfer-mode.c20 * ide_xfer_verbose - return IDE mode names
21 * @mode: transfer mode
23 * Returns a constant string giving the name of the mode
27 const char *ide_xfer_verbose(u8 mode) in ide_xfer_verbose() argument
30 u8 i = mode & 0xf; in ide_xfer_verbose()
32 if (mode >= XFER_UDMA_0 && mode <= XFER_UDMA_7) in ide_xfer_verbose()
34 else if (mode >= XFER_MW_DMA_0 && mode <= XFER_MW_DMA_4) in ide_xfer_verbose()
36 else if (mode >= XFER_SW_DMA_0 && mode <= XFER_SW_DMA_2) in ide_xfer_verbose()
38 else if (mode >= XFER_PIO_0 && mode <= XFER_PIO_6) in ide_xfer_verbose()
40 else if (mode == XFER_PIO_SLOW) in ide_xfer_verbose()
[all …]
/kernel/linux/linux-5.10/arch/x86/boot/
Dvideo-mode.c1 // 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 …]
/kernel/linux/linux-4.19/arch/x86/boot/
Dvideo-mode.c1 /* -*- linux-c -*- ------------------------------------------------------- *
4 * Copyright 2007-2008 rPath, Inc. - All Rights Reserved
9 * ----------------------------------------------------------------------- */
12 * arch/i386/boot/video-mode.c
14 * Set the video mode. This is separated out into a different
29 int do_restore; /* Screen contents changed during mode flip */
30 int graphic_mode; /* Graphic mode with linear frame buffer */
32 /* Probe the video drivers and have them generate their mode lists. */
44 if (card->unsafe == unsafe) { in probe_cards()
45 if (card->probe) in probe_cards()
[all …]
/kernel/linux/linux-4.19/include/linux/
Dphylink.h23 MLO_AN_FIXED, /* Fixed-link mode */
24 MLO_AN_INBAND, /* In-band protocol */
27 static inline bool phylink_autoneg_inband(unsigned int mode) in phylink_autoneg_inband() argument
29 return mode == MLO_AN_INBAND; in phylink_autoneg_inband()
33 * struct phylink_link_state - link state structure
37 * @interface: link &typedef phy_interface_t mode
39 * @duplex: link duplex mode, one of DUPLEX_* constants.
58 * struct phylink_mac_ops - MAC operations structure.
61 * @mac_config: configure the MAC for the selected mode and state.
73 void (*mac_config)(struct net_device *ndev, unsigned int mode,
[all …]
/kernel/linux/linux-5.10/drivers/phy/hisilicon/
Dphy-histb-combphy.c1 // 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 …]
/kernel/linux/linux-4.19/drivers/phy/hisilicon/
Dphy-histb-combphy.c4 * Copyright (C) 2016-2017 HiSilicon Co., Ltd. http://www.hisilicon.com
23 #include <dt-bindings/phy/phy.h>
52 struct histb_combphy_mode mode; member
58 void __iomem *reg = priv->mmio + COMBPHY_CFG_REG; in nano_register_write()
76 static int is_mode_fixed(struct histb_combphy_mode *mode) in is_mode_fixed() argument
78 return (mode->fixed != PHY_NONE) ? true : false; in is_mode_fixed()
83 struct histb_combphy_mode *mode = &priv->mode; in histb_combphy_set_mode() local
84 struct regmap *syscon = priv->syscon; in histb_combphy_set_mode()
87 if (is_mode_fixed(mode)) in histb_combphy_set_mode()
90 switch (mode->select) { in histb_combphy_set_mode()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/reset/
Dreboot-mode.yaml1 # 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 …]
/kernel/linux/linux-4.19/Documentation/networking/
Dipvlan.txt9 exception of using L3 for mux-ing /demux-ing among slaves. This property makes
25 ip link add link <master> name <slave> type ipvlan [ mode MODE ] [ FLAGS ]
27 MODE: l3 (default) | l3s | l2
32 L3 bridge mode
34 (b) This command will create IPvlan link in L2 bridge mode.
35 bash# ip link add link eth0 name ipvl0 type ipvlan mode l2 bridge
36 (c) This command will create an IPvlan device in L2 private mode.
37 bash# ip link add link eth0 name ipvlan type ipvlan mode l2 private
38 (d) This command will create an IPvlan device in L2 vepa mode.
39 bash# ip link add link eth0 name ipvlan type ipvlan mode l2 vepa
[all …]
/kernel/linux/linux-4.19/drivers/net/wireless/ath/ath5k/
Deeprom.c2 * 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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath5k/
Deeprom.c2 * 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 …]
/kernel/linux/linux-4.19/drivers/gpu/drm/tinydrm/core/
Dtinydrm-pipe.c18 struct drm_display_mode mode; member
30 struct drm_display_mode *mode; in tinydrm_connector_get_modes() local
32 mode = drm_mode_duplicate(connector->dev, &tconn->mode); in tinydrm_connector_get_modes()
33 if (!mode) { in tinydrm_connector_get_modes()
34 DRM_ERROR("Failed to duplicate mode\n"); in tinydrm_connector_get_modes()
38 if (mode->name[0] == '\0') in tinydrm_connector_get_modes()
39 drm_mode_set_name(mode); in tinydrm_connector_get_modes()
41 mode->type |= DRM_MODE_TYPE_PREFERRED; in tinydrm_connector_get_modes()
42 drm_mode_probed_add(connector, mode); in tinydrm_connector_get_modes()
44 if (mode->width_mm) { in tinydrm_connector_get_modes()
[all …]

12345678910>>...45