Home
last modified time | relevance | path

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

12345678910>>...45

/Linux-v6.1/drivers/gpu/drm/tests/
Ddrm_cmdline_parser_test.c1 // SPDX-License-Identifier: GPL-2.0
16 struct drm_cmdline_mode mode = { }; in drm_test_cmdline_force_e_only() local
20 &no_connector, &mode)); in drm_test_cmdline_force_e_only()
21 KUNIT_EXPECT_FALSE(test, mode.specified); in drm_test_cmdline_force_e_only()
22 KUNIT_EXPECT_FALSE(test, mode.refresh_specified); in drm_test_cmdline_force_e_only()
23 KUNIT_EXPECT_FALSE(test, mode.bpp_specified); in drm_test_cmdline_force_e_only()
25 KUNIT_EXPECT_FALSE(test, mode.rb); in drm_test_cmdline_force_e_only()
26 KUNIT_EXPECT_FALSE(test, mode.cvt); in drm_test_cmdline_force_e_only()
27 KUNIT_EXPECT_FALSE(test, mode.interlace); in drm_test_cmdline_force_e_only()
28 KUNIT_EXPECT_FALSE(test, mode.margins); in drm_test_cmdline_force_e_only()
[all …]
/Linux-v6.1/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-v6.1/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
52 * drm_mode_debug_printmodeline - print a mode to dmesg
53 * @mode: mode to print
55 * Describe @mode using DRM_DEBUG.
57 void drm_mode_debug_printmodeline(const struct drm_display_mode *mode) in drm_mode_debug_printmodeline() argument
59 DRM_DEBUG_KMS("Modeline " DRM_MODE_FMT "\n", DRM_MODE_ARG(mode)); in drm_mode_debug_printmodeline()
64 * drm_mode_create - create a new display mode
71 * Pointer to new mode on success, NULL on error.
[all …]
/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
Dsyscon-reboot-mode.yaml1 # 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-v6.1/drivers/parport/
Dieee1284.c2 * 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-v6.1/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-v6.1/include/drm/
Ddrm_modes.h3 * 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-v6.1/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()
138 efi_graphics_output_protocol_mode_t *mode; in choose_mode_modenum() local
[all …]
/Linux-v6.1/include/linux/
Dphylink.h21 MLO_AN_FIXED, /* Fixed-link mode */
22 MLO_AN_INBAND, /* In-band protocol */
77 static inline bool phylink_autoneg_inband(unsigned int mode) in phylink_autoneg_inband() argument
79 return mode == MLO_AN_INBAND; in phylink_autoneg_inband()
83 * struct phylink_link_state - link state structure
87 * @interface: link &typedef phy_interface_t mode
89 * @duplex: link duplex mode, one of DUPLEX_* constants.
93 * the medium link mode (@speed and @duplex) and the speed/duplex of the phy
94 * interface mode (@interface) are different.
118 * struct phylink_config - PHYLINK configuration structure
[all …]
/Linux-v6.1/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 …]
/Linux-v6.1/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-v6.1/drivers/gpu/drm/gma500/
Doaktrail_lvds.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright © 2006-2009 Intel Corporation
14 #include <asm/intel-mid.h>
25 /* The max/min PWM frequency in BPCR[31:17] - */
27 * 15-bit field of the and then*/
28 /* shifts to the left by one bit to get the actual 16-bit
29 * value that the 15-bits correspond to.*/
52 dev_priv->is_lvds_on = true; in oaktrail_lvds_set_power()
53 if (dev_priv->ops->lvds_bl_power) in oaktrail_lvds_set_power()
54 dev_priv->ops->lvds_bl_power(dev, true); in oaktrail_lvds_set_power()
[all …]
/Linux-v6.1/drivers/hid/
Dhid-saitek.c1 // 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-v6.1/net/ipv4/
Dsysctl_net_ipv4.c1 // SPDX-License-Identifier: GPL-2.0
26 static int tcp_adv_win_scale_min = -31;
52 write_seqlock_bh(&net->ipv4.ip_local_ports.lock); in set_local_port_range()
53 if (same_parity && !net->ipv4.ip_local_ports.warned) { in set_local_port_range()
54 net->ipv4.ip_local_ports.warned = true; in set_local_port_range()
57 net->ipv4.ip_local_ports.range[0] = range[0]; in set_local_port_range()
58 net->ipv4.ip_local_ports.range[1] = range[1]; in set_local_port_range()
59 write_sequnlock_bh(&net->ipv4.ip_local_ports.lock); in set_local_port_range()
67 container_of(table->data, struct net, ipv4.ip_local_ports.range); in ipv4_local_port_range()
73 .mode = table->mode, in ipv4_local_port_range()
[all …]
/Linux-v6.1/drivers/usb/typec/
Dbus.c1 // SPDX-License-Identifier: GPL-2.0
3 * Bus for USB Type-C Alternate Modes
20 if (!alt->mux) in typec_altmode_set_mux()
23 state.alt = &alt->adev; in typec_altmode_set_mux()
24 state.mode = conf; in typec_altmode_set_mux()
27 return typec_mux_set(alt->mux, &state); in typec_altmode_set_mux()
33 bool is_port = is_typec_port(adev->dev.parent); in typec_altmode_set_state()
36 port_altmode = is_port ? to_altmode(adev) : to_altmode(adev)->partner; in typec_altmode_set_state()
41 /* -------------------------------------------------------------------------- */
45 * typec_altmode_notify - Communication between the OS and alternate mode driver
[all …]
/Linux-v6.1/drivers/net/ethernet/ibm/emac/
Dzmii.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Driver for PowerPC 4xx on-chip ethernet controller, ZMII bridge support.
45 static inline int zmii_valid_mode(int mode) in zmii_valid_mode() argument
47 return mode == PHY_INTERFACE_MODE_MII || in zmii_valid_mode()
48 mode == PHY_INTERFACE_MODE_RMII || in zmii_valid_mode()
49 mode == PHY_INTERFACE_MODE_SMII || in zmii_valid_mode()
50 mode == PHY_INTERFACE_MODE_NA; in zmii_valid_mode()
53 static inline const char *zmii_mode_name(int mode) in zmii_mode_name() argument
55 switch (mode) { in zmii_mode_name()
67 static inline u32 zmii_mode_mask(int mode, int input) in zmii_mode_mask() argument
[all …]
/Linux-v6.1/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()
42 struct drm_display_mode *mode, in mdp4_dsi_encoder_mode_set() argument
50 mode = adjusted_mode; in mdp4_dsi_encoder_mode_set()
52 DBG("set mode: " DRM_MODE_FMT, DRM_MODE_ARG(mode)); in mdp4_dsi_encoder_mode_set()
55 if (mode->flags & DRM_MODE_FLAG_NHSYNC) in mdp4_dsi_encoder_mode_set()
57 if (mode->flags & DRM_MODE_FLAG_NVSYNC) in mdp4_dsi_encoder_mode_set()
63 hsync_start_x = (mode->htotal - mode->hsync_start); in mdp4_dsi_encoder_mode_set()
64 hsync_end_x = mode->htotal - (mode->hsync_start - mode->hdisplay) - 1; in mdp4_dsi_encoder_mode_set()
[all …]

12345678910>>...45