Home
last modified time | relevance | path

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

12345678910>>...46

/linux-6.14.4/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 …]
/linux-6.14.4/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 …]
/linux-6.14.4/Documentation/networking/devlink/
Ddevlink-eswitch-attr.rst1 .. SPDX-License-Identifier: GPL-2.0
4 Devlink E-Switch Attribute
7 Devlink E-Switch supports two modes of operation: legacy and switchdev.
8 Legacy mode operates based on traditional MAC/VLAN steering rules. Switching
12 On the other hand, switchdev mode allows for more advanced offloading
13 capabilities of the E-Switch to hardware. In switchdev mode, more switching
16 or scalable-functions (SFs) of the device. See more information about
20 In addition, the devlink E-Switch also comes with other attributes listed
26 The following is a list of E-Switch attributes.
28 .. list-table:: E-Switch attributes
[all …]
/linux-6.14.4/drivers/gpu/drm/hisilicon/hibmc/dp/
Ddp_hw.c1 // SPDX-License-Identifier: GPL-2.0-or-later
11 static void hibmc_dp_set_tu(struct hibmc_dp_dev *dp, struct drm_display_mode *mode) in hibmc_dp_set_tu() argument
20 lane_num = dp->link.cap.lanes; in hibmc_dp_set_tu()
22 drm_err(dp->dev, "set tu failed, lane num cannot be 0!\n"); in hibmc_dp_set_tu()
27 rate_ks = dp->link.cap.link_rate * HIBMC_DP_LINK_RATE_CAL; in hibmc_dp_set_tu()
28 value = (mode->clock * bpp * 5) / (61 * lane_num * rate_ks); in hibmc_dp_set_tu()
38 drm_dbg_dp(dp->dev, "tu value: %u.%u value: %u\n", in hibmc_dp_set_tu()
47 static void hibmc_dp_set_sst(struct hibmc_dp_dev *dp, struct drm_display_mode *mode) in hibmc_dp_set_sst() argument
55 fclk = dp->link.cap.link_rate * HIBMC_DP_LINK_RATE_CAL; in hibmc_dp_set_sst()
60 htotal_int = mode->htotal * 9947 / 10000; in hibmc_dp_set_sst()
[all …]
/linux-6.14.4/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 …]
/linux-6.14.4/tools/testing/selftests/arm64/gcs/
Dgcs-locking.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Tests for GCS mode locking. These tests rely on both having GCS
7 * test in a fork()ed process which will have it's own mode.
19 #include "gcs-util.h"
41 /* No mode bits are rejected for locking */
56 unsigned long mode; in FIXTURE_VARIANT() local
61 .mode = PR_SHADOW_STACK_ENABLE, in FIXTURE_VARIANT_ADD()
66 .mode = PR_SHADOW_STACK_ENABLE | PR_SHADOW_STACK_WRITE, in FIXTURE_VARIANT_ADD()
71 .mode = PR_SHADOW_STACK_ENABLE | PR_SHADOW_STACK_PUSH, in FIXTURE_VARIANT_ADD()
76 .mode = PR_SHADOW_STACK_ENABLE | PR_SHADOW_STACK_WRITE | in FIXTURE_VARIANT_ADD()
[all …]
/linux-6.14.4/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 …]
/linux-6.14.4/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 …]
/linux-6.14.4/Documentation/admin-guide/
Dsvga.rst4 Video Mode Selection Support 2.13
7 :Copyright: |copy| 1995--1999 Martin Mares, <[email protected]>
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-6.14.4/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 …]
/linux-6.14.4/drivers/net/wireless/ath/ath5k/
Deeprom.c2 * Copyright (c) 2004-2008 Reyk Floeter <[email protected]>
3 * Copyright (c) 2006-2009 Nick Kossifidis <[email protected]>
4 * Copyright (c) 2008-2009 Felix Fietkau <[email protected]>
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-6.14.4/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 …]
/linux-6.14.4/drivers/scsi/aic94xx/
Daic94xx_reg_def.h1 /* 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-6.14.4/drivers/pci/controller/dwc/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
3 menu "DesignWare-based PCIe controllers"
27 required only for DT-based platforms. ACPI platforms with the
38 and therefore the driver re-uses the DesignWare core functions to
45 bool "Axis ARTPEC-6 PCIe controller (host mode)"
51 Enables support for the PCIe controller in the ARTPEC-6 SoC to work in
52 host mode. This uses the DesignWare core.
55 bool "Axis ARTPEC-6 PCIe controller (endpoint mode)"
61 Enables support for the PCIe controller in the ARTPEC-6 SoC to work in
62 endpoint mode. This uses the DesignWare core.
[all …]
/linux-6.14.4/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 …]
/linux-6.14.4/net/ipv4/
Dsysctl_net_ipv4.c1 // SPDX-License-Identifier: GPL-2.0
26 static int tcp_adv_win_scale_min = -31;
58 if (same_parity && !net->ipv4.ip_local_ports.warned) { in set_local_port_range()
59 net->ipv4.ip_local_ports.warned = true; in set_local_port_range()
62 WRITE_ONCE(net->ipv4.ip_local_ports.range, high << 16 | low); in set_local_port_range()
69 struct net *net = table->data; in ipv4_local_port_range()
75 .mode = table->mode, in ipv4_local_port_range()
90 (range[0] < READ_ONCE(net->ipv4.sysctl_ip_prot_sock))) in ipv4_local_port_range()
91 ret = -EINVAL; in ipv4_local_port_range()
103 struct net *net = container_of(table->data, struct net, in ipv4_privileged_ports()
[all …]
/linux-6.14.4/drivers/net/ethernet/realtek/
Dr8169_leds.c1 // SPDX-License-Identifier: GPL-2.0-only
57 struct rtl8169_private *tp = netdev_priv(ldev->ndev); in rtl8168_led_hw_control_is_supported()
58 int shift = ldev->index * 4; in rtl8168_led_hw_control_is_supported()
61 /* Switch LED off to indicate that mode isn't supported */ in rtl8168_led_hw_control_is_supported()
63 return -EOPNOTSUPP; in rtl8168_led_hw_control_is_supported()
73 struct rtl8169_private *tp = netdev_priv(ldev->ndev); in rtl8168_led_hw_control_set()
74 int shift = ldev->index * 4; in rtl8168_led_hw_control_set()
75 u16 mode = 0; in rtl8168_led_hw_control_set() local
78 mode |= RTL8168_LED_CTRL_LINK_10; in rtl8168_led_hw_control_set()
80 mode |= RTL8168_LED_CTRL_LINK_100; in rtl8168_led_hw_control_set()
[all …]
/linux-6.14.4/include/linux/
Dphylink.h24 MLO_AN_FIXED, /* Fixed-link mode */
25 MLO_AN_INBAND, /* In-band protocol */
27 /* PCS "negotiation" mode.
28 * PHYLINK_PCS_NEG_NONE - protocol has no inband capability
29 * PHYLINK_PCS_NEG_OUTBAND - some out of band or fixed link setting
30 * PHYLINK_PCS_NEG_INBAND_DISABLED - inband mode disabled, e.g.
31 * 1000base-X with autoneg off
32 * PHYLINK_PCS_NEG_INBAND_ENABLED - inband mode enabled
34 * PHYLINK_PCS_NEG_INBAND - inband mode selected
35 * PHYLINK_PCS_NEG_ENABLED - negotiation mode enabled
[all …]
/linux-6.14.4/drivers/firmware/efi/libstub/
Dgop.c1 // 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()
137 efi_graphics_output_protocol_mode_t *mode; in choose_mode_modenum() local
[all …]
/linux-6.14.4/drivers/parport/
Dieee1284.c2 * IEEE-1284 implementation for parport.
5 * Carsten Gross <[email protected]-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-6.14.4/Documentation/userspace-api/media/cec/
Dcec-ioc-g-mode.rst1 .. 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-6.14.4/include/linux/usb/
Dtypec_altmode.h1 /* SPDX-License-Identifier: GPL-2.0 */
15 * struct typec_altmode - USB Type-C alternate mode device
17 * @svid: Standard or Vendor ID (SVID) of the alternate mode
18 * @mode: Index of the Mode
20 * @active: Tells has the mode been entered or not
21 * @desc: Optional human readable description of the mode
28 int mode; member
42 dev_set_drvdata(&altmode->dev, data); in typec_altmode_set_drvdata()
47 return dev_get_drvdata(&altmode->dev); in typec_altmode_get_drvdata()
51 * struct typec_altmode_ops - Alternate mode specific operations vector
[all …]
/linux-6.14.4/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_dsi_encoder.c1 // SPDX-License-Identifier: GPL-2.0-only
25 struct msm_drm_private *priv = encoder->dev->dev_private; in get_kms()
26 return to_mdp4_kms(to_mdp_kms(priv->kms)); in get_kms()
30 struct drm_display_mode *mode, in mdp4_dsi_encoder_mode_set() argument
38 mode = adjusted_mode; in mdp4_dsi_encoder_mode_set()
40 DBG("set mode: " DRM_MODE_FMT, DRM_MODE_ARG(mode)); in mdp4_dsi_encoder_mode_set()
43 if (mode->flags & DRM_MODE_FLAG_NHSYNC) in mdp4_dsi_encoder_mode_set()
45 if (mode->flags & DRM_MODE_FLAG_NVSYNC) in mdp4_dsi_encoder_mode_set()
51 hsync_start_x = (mode->htotal - mode->hsync_start); in mdp4_dsi_encoder_mode_set()
52 hsync_end_x = mode->htotal - (mode->hsync_start - mode->hdisplay) - 1; in mdp4_dsi_encoder_mode_set()
[all …]
/linux-6.14.4/Documentation/networking/
Dipvlan.rst1 .. 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 …]

12345678910>>...46