Home
last modified time | relevance | path

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

12345678910>>...50

/kernel/linux/linux-6.6/drivers/gpu/drm/tests/
Ddrm_cmdline_parser_test.c1 // 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 …]
Ddrm_modes_test.c1 // SPDX-License-Identifier: GPL-2.0
26 priv->dev = drm_kunit_helper_alloc_device(test); in drm_test_modes_init()
27 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, priv->dev); in drm_test_modes_init()
29 priv->drm = __drm_kunit_helper_alloc_drm_device(test, priv->dev, in drm_test_modes_init()
30 sizeof(*priv->drm), 0, in drm_test_modes_init()
32 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, priv->drm); in drm_test_modes_init()
34 test->priv = priv; in drm_test_modes_init()
41 struct drm_test_modes_priv *priv = test->priv; in drm_test_modes_analog_tv_ntsc_480i()
42 struct drm_display_mode *mode; in drm_test_modes_analog_tv_ntsc_480i() local
45 mode = drm_analog_tv_mode(priv->drm, in drm_test_modes_analog_tv_ntsc_480i()
[all …]
/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-6.6/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 */
122 struct snd_soc_component *comp = ctrl->comp; in wcd_enable_clsh_block()
124 if ((enable && ++ctrl->clsh_users == 1) || in wcd_enable_clsh_block()
125 (!enable && --ctrl->clsh_users == 0)) in wcd_enable_clsh_block()
129 if (ctrl->clsh_users < 0) in wcd_enable_clsh_block()
[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-6.6/tools/testing/selftests/bpf/
Dtest_xdp_redirect_multi.sh2 # SPDX-License-Identifier: GPL-2.0
5 # - - - - - - - - - - - - - - - - - - -
7 # - -| - - - - - - | - - - - - - | - -
8 # --------- --------- ---------
10 # --------- --------- ---------
19 # ns1 -> gw: ns1, ns2, ns3, should receive the arp request
22 # ns1 -> gw: ns1 should not receive, ns2, ns3 should receive redirects.
24 # ping test: ns1 -> ns2 (block), echo requests will be redirect back
34 LOG_DIR=$(mktemp -d)
35 declare -a NS
[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-6.6/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
53 * drm_mode_debug_printmodeline - print a mode to dmesg
54 * @mode: mode to print
56 * Describe @mode using DRM_DEBUG.
58 void drm_mode_debug_printmodeline(const struct drm_display_mode *mode) in drm_mode_debug_printmodeline() argument
60 DRM_DEBUG_KMS("Modeline " DRM_MODE_FMT "\n", DRM_MODE_ARG(mode)); in drm_mode_debug_printmodeline()
65 * drm_mode_create - create a new display mode
72 * 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-6.6/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-6.6/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-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-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-6.6/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-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-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-6.6/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
21 #include <dt-bindings/phy/phy.h>
50 struct histb_combphy_mode mode; member
56 void __iomem *reg = priv->mmio + COMBPHY_CFG_REG; in nano_register_write()
74 static int is_mode_fixed(struct histb_combphy_mode *mode) in is_mode_fixed() argument
76 return (mode->fixed != PHY_NONE) ? true : false; in is_mode_fixed()
81 struct histb_combphy_mode *mode = &priv->mode; in histb_combphy_set_mode() local
82 struct regmap *syscon = priv->syscon; in histb_combphy_set_mode()
85 if (is_mode_fixed(mode)) in histb_combphy_set_mode()
[all …]
/kernel/linux/linux-6.6/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-6.6/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-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 …]
Dnvmem-reboot-mode.txt1 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 …]
/kernel/linux/linux-6.6/include/linux/
Dphylink.h22 MLO_AN_FIXED, /* Fixed-link mode */
23 MLO_AN_INBAND, /* In-band protocol */
25 /* PCS "negotiation" mode.
26 * PHYLINK_PCS_NEG_NONE - protocol has no inband capability
27 * PHYLINK_PCS_NEG_OUTBAND - some out of band or fixed link setting
28 * PHYLINK_PCS_NEG_INBAND_DISABLED - inband mode disabled, e.g.
29 * 1000base-X with autoneg off
30 * PHYLINK_PCS_NEG_INBAND_ENABLED - inband mode enabled
32 * PHYLINK_PCS_NEG_INBAND - inband mode selected
33 * PHYLINK_PCS_NEG_ENABLED - negotiation mode enabled
[all …]

12345678910>>...50