/Linux-v6.1/drivers/gpu/drm/tests/ |
D | drm_cmdline_parser_test.c | 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() 29 KUNIT_EXPECT_EQ(test, mode.force, DRM_FORCE_ON); in drm_test_cmdline_force_e_only() [all …]
|
/Linux-v6.1/sound/soc/codecs/ |
D | wcd-clsh-v2.c | 14 int mode; member 140 int mode) in wcd_clsh_set_buck_mode() argument 143 if (mode == CLS_H_HIFI) in wcd_clsh_set_buck_mode() 154 int mode) in wcd_clsh_v3_set_buck_mode() argument 156 if (mode == CLS_H_HIFI || mode == CLS_H_LOHIFI || in wcd_clsh_v3_set_buck_mode() 157 mode == CLS_AB_HIFI || mode == CLS_AB_LOHIFI) in wcd_clsh_v3_set_buck_mode() 168 int mode) in wcd_clsh_set_flyback_mode() argument 171 if (mode == CLS_H_HIFI) in wcd_clsh_set_flyback_mode() 182 int mode, in wcd_clsh_buck_ctrl() argument 202 int mode, in wcd_clsh_v3_buck_ctrl() argument [all …]
|
/Linux-v6.1/drivers/gpu/drm/ |
D | drm_modes.c | 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. 86 * drm_mode_destroy - remove a mode 88 * @mode: mode to remove 90 * Release @mode's unique ID, then free it @mode structure itself using kfree. [all …]
|
/Linux-v6.1/tools/testing/selftests/bpf/ |
D | test_xdp_redirect_multi.sh | 78 local mode=$1 81 if [ "$mode" = "xdpegress" ]; then 82 mode="xdpdrv" 96 ip -n ${NS[$i]} link set veth0 $mode obj \ 106 local mode=$1 109 ip netns exec ${NS[2]} tcpdump -e -i veth0 -nn -l -e &> ${LOG_DIR}/mac_ns1-2_${mode}.log & 110 ip netns exec ${NS[3]} tcpdump -e -i veth0 -nn -l -e &> ${LOG_DIR}/mac_ns1-3_${mode}.log & 117 grep -q "${veth_mac[2]} > ff:ff:ff:ff:ff:ff" ${LOG_DIR}/mac_ns1-2_${mode}.log && \ 118 test_pass "$mode mac ns1-2" || test_fail "$mode mac ns1-2" 119 grep -q "${veth_mac[3]} > ff:ff:ff:ff:ff:ff" ${LOG_DIR}/mac_ns1-3_${mode}.log && \ [all …]
|
/Linux-v6.1/Documentation/driver-api/usb/ |
D | typec_bus.rst | 2 API for USB Type-C Alternate Mode drivers 11 every alternate mode, so every alternate mode will need a custom driver. 14 modes by using the SVID and the mode number. 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 23 alternate mode device of the port that the partner is attached to, that has 24 matching SVID and mode. Communication between the port driver and alternate mode 27 The port alternate mode devices are used as a proxy between the partner and the 28 alternate mode drivers, so the port drivers are only expected to pass the SVID [all …]
|
/Linux-v6.1/Documentation/admin-guide/ |
D | svga.rst | 4 Video Mode Selection Support 2.13 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). 40 mode list displayed may vary as the kernel version changes, because the 42 better to use absolute mode numbers instead. [all …]
|
/Linux-v6.1/arch/x86/boot/ |
D | video-mode.c | 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. */ 51 /* Test if a mode is defined */ 52 int mode_defined(u16 mode) in mode_defined() argument 61 if (mi->mode == mode) in mode_defined() 69 /* Set mode (without recalc) */ 70 static int raw_set_mode(u16 mode, u16 *real_mode) in raw_set_mode() argument [all …]
|
/Linux-v6.1/drivers/scsi/aic94xx/ |
D | aic94xx_reg_def.h | 22 #define CSEQ_MODE_PAGE_SIZE 0x200 /* CSEQ mode page size */ 23 #define LmSEQ_MODE_PAGE_SIZE 0x200 /* LmSEQ mode page size */ 497 * 16 modes, each mode is 512 bytes. 502 #define CSEQm_CIO_REG(Mode, Reg) \ argument 504 ((u32) (Mode) * CSEQ_MODE_PAGE_SIZE) + (u32) (Reg)) 552 #define CMnSCBPTR(Mode) CSEQm_CIO_REG(Mode, MnSCBPTR) argument 554 #define CMnDDBPTR(Mode) CSEQm_CIO_REG(Mode, MnDDBPTR) argument 556 #define CMnSCRATCHPAGE(Mode) CSEQm_CIO_REG(Mode, MnSCRATCHPAGE) argument 562 /* mode 0-7 */ 564 #define CMnREQMBX(Mode) CSEQm_CIO_REG(Mode, 0x30) argument [all …]
|
/Linux-v6.1/drivers/phy/hisilicon/ |
D | phy-histb-combphy.c | 49 struct histb_combphy_mode mode; member 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 84 if (is_mode_fixed(mode)) in histb_combphy_set_mode() 87 switch (mode->select) { in histb_combphy_set_mode() 101 return regmap_update_bits(syscon, mode->reg, mode->mask, in histb_combphy_set_mode() 102 hw_sel << mode->shift); in histb_combphy_set_mode() 168 struct histb_combphy_mode *mode = &priv->mode; in histb_combphy_xlate() local 175 mode->select = args->args[0]; in histb_combphy_xlate() [all …]
|
/Linux-v6.1/drivers/net/wireless/ath/ath5k/ |
D | eeprom.c | 41 unsigned int mode) in ath5k_eeprom_bin2freq() argument 48 if (mode == AR5K_EEPROM_MODE_11A) { in ath5k_eeprom_bin2freq() 190 unsigned int mode) in ath5k_eeprom_read_ants() argument 198 ee->ee_switch_settling[mode] = (val >> 8) & 0x7f; in ath5k_eeprom_read_ants() 199 ee->ee_atn_tx_rx[mode] = (val >> 2) & 0x3f; in ath5k_eeprom_read_ants() 200 ee->ee_ant_control[mode][i] = (val << 4) & 0x3f; in ath5k_eeprom_read_ants() 203 ee->ee_ant_control[mode][i++] |= (val >> 12) & 0xf; in ath5k_eeprom_read_ants() 204 ee->ee_ant_control[mode][i++] = (val >> 6) & 0x3f; in ath5k_eeprom_read_ants() 205 ee->ee_ant_control[mode][i++] = val & 0x3f; in ath5k_eeprom_read_ants() 208 ee->ee_ant_control[mode][i++] = (val >> 10) & 0x3f; in ath5k_eeprom_read_ants() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/power/reset/ |
D | reboot-mode.yaml | 4 $id: http://devicetree.org/schemas/power/reset/reboot-mode.yaml# 7 title: Generic reboot mode core map 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". 24 - recovery: Android Recovery mode, it is a mode to format the device or update a new image. 25 …- bootloader: Android fastboot mode, it's a mode to re-flash partitions on the Android based devic… 26 - loader: A bootloader mode, it's a mode used to download image on Rockchip platform, 30 mode-normal: [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 …]
|
/Linux-v6.1/include/linux/ |
D | phylink.h | 21 MLO_AN_FIXED, /* Fixed-link mode */ 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() 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. 124 * if MAC link is at %MLO_AN_FIXED mode. 128 * if MAC link is at %MLO_AN_FIXED mode. 149 * @mac_select_pcs: Select a PCS for the interface mode. [all …]
|
D | debugfs.h | 69 struct dentry *debugfs_create_file(const char *name, umode_t mode, 72 struct dentry *debugfs_create_file_unsafe(const char *name, umode_t mode, 76 void debugfs_create_file_size(const char *name, umode_t mode, 109 void debugfs_create_u8(const char *name, umode_t mode, struct dentry *parent, 111 void debugfs_create_u16(const char *name, umode_t mode, struct dentry *parent, 113 void debugfs_create_u32(const char *name, umode_t mode, struct dentry *parent, 115 void debugfs_create_u64(const char *name, umode_t mode, struct dentry *parent, 117 void debugfs_create_ulong(const char *name, umode_t mode, struct dentry *parent, 119 void debugfs_create_x8(const char *name, umode_t mode, struct dentry *parent, 121 void debugfs_create_x16(const char *name, umode_t mode, struct dentry *parent, [all …]
|
/Linux-v6.1/drivers/parport/ |
D | ieee1284.c | 213 /* Terminate a negotiated mode. */ 220 switch (port->ieee1284.mode) { in parport_ieee1284_terminate() 224 /* Terminate from EPP mode. */ in parport_ieee1284_terminate() 295 port->ieee1284.mode = IEEE1284_MODE_COMPAT; in parport_ieee1284_terminate() 298 pr_debug("%s: In compatibility (forward idle) mode\n", port->name); in parport_ieee1284_terminate() 303 * parport_negotiate - negotiate an IEEE 1284 mode 305 * @mode: mode to negotiate to 307 * Use this to negotiate to a particular IEEE 1284 transfer mode. 308 * The @mode parameter should be one of the constants in 312 * negotiation to the mode specified, -1 if the peripheral is not [all …]
|
/Linux-v6.1/net/ipv4/ |
D | sysctl_net_ipv4.c | 73 .mode = table->mode, in ipv4_local_port_range() 109 .mode = table->mode, in ipv4_privileged_ports() 169 .mode = table->mode, in ipv4_ping_group_range() 447 .mode = 0644, 454 .mode = 0644, 461 .mode = 0644, 468 .mode = 0644, 475 .mode = 0644, 482 .mode = 0644, 490 .mode = 0644, [all …]
|
/Linux-v6.1/drivers/interconnect/imx/ |
D | imx8mp.c | 25 .mode = IMX_NOC_MODE_FIXED, 30 .mode = IMX_NOC_MODE_FIXED, 35 .mode = IMX_NOC_MODE_FIXED, 40 .mode = IMX_NOC_MODE_FIXED, 45 .mode = IMX_NOC_MODE_FIXED, 50 .mode = IMX_NOC_MODE_FIXED, 55 .mode = IMX_NOC_MODE_FIXED, 60 .mode = IMX_NOC_MODE_FIXED, 65 .mode = IMX_NOC_MODE_FIXED, 70 .mode = IMX_NOC_MODE_FIXED, [all …]
|
/Linux-v6.1/Documentation/userspace-api/media/cec/ |
D | cec-ioc-g-mode.rst | 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: 84 * .. _`CEC-MODE-NO-INITIATOR`: 90 * .. _`CEC-MODE-INITIATOR`: 97 * .. _`CEC-MODE-EXCL-INITIATOR`: 111 .. _cec-mode-follower_e: [all …]
|
/Linux-v6.1/include/linux/usb/ |
D | typec_altmode.h | 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 27 int mode; member 49 * struct typec_altmode_ops - Alternate mode specific operations vector 50 * @enter: Operations to be executed with Enter Mode Command 51 * @exit: Operations to be executed with Exit Mode Command 54 * @notify: Communication channel for platform and the alternate mode [all …]
|
/Linux-v6.1/include/drm/ |
D | drm_modes.h | 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 58 * @MODE_VIRTUAL_X: mode width too large for specified virtual size 59 * @MODE_VIRTUAL_Y: mode height too large for specified virtual size [all …]
|
/Linux-v6.1/drivers/firmware/efi/libstub/ |
D | gop.c | 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() 138 efi_graphics_output_protocol_mode_t *mode; in choose_mode_modenum() local 145 mode = efi_table_attr(gop, mode); in choose_mode_modenum() 147 cur_mode = efi_table_attr(mode, mode); in choose_mode_modenum() 148 if (cmdline.mode == cur_mode) in choose_mode_modenum() 151 max_mode = efi_table_attr(mode, max_mode); in choose_mode_modenum() 152 if (cmdline.mode >= max_mode) { in choose_mode_modenum() [all …]
|
/Linux-v6.1/drivers/hid/ |
D | hid-saitek.c | 12 * Fixes the mode button which cycles through three constantly pressed 33 int mode; member 50 ssc->mode = -1; in saitek_probe() 99 /* R.A.T.7 uses bits 13, 14, 15 for the mode */ in saitek_raw_event() 100 int mode = -1; in saitek_raw_event() local 102 mode = 0; in saitek_raw_event() 104 mode = 1; in saitek_raw_event() 106 mode = 2; in saitek_raw_event() 108 /* clear mode bits */ in saitek_raw_event() 111 if (mode != ssc->mode) { in saitek_raw_event() [all …]
|
/Linux-v6.1/Documentation/networking/ |
D | ipvlan.rst | 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:: 55 bash# ip link add link eth0 name ipvlan type ipvlan mode l2 vepa 63 operate in the same (selected) mode. The RX mode is almost identical except [all …]
|
/Linux-v6.1/Documentation/ABI/testing/ |
D | sysfs-bus-typec | 5 Shows if the mode is active or not. The attribute can be used 6 for entering/exiting the mode. Entering/exiting modes is 8 does not return until the enter/exit mode operation has 9 finished. The attribute is notified when the mode is 11 Entering/exiting a mode will also generate uevent KOBJ_CHANGE. 19 Shows description of the mode. The description is optional for 22 What: /sys/bus/typec/devices/.../mode 26 The index number of the mode returned by Discover Modes USB 27 Power Delivery command. Depending on the alternate mode, the 28 mode index may be significant. [all …]
|
/Linux-v6.1/drivers/gpu/drm/gma500/ |
D | oaktrail_lvds.c | 68 static void oaktrail_lvds_dpms(struct drm_encoder *encoder, int mode) in oaktrail_lvds_dpms() argument 73 if (mode == DRM_MODE_DPMS_ON) in oaktrail_lvds_dpms() 82 struct drm_display_mode *mode, in oaktrail_lvds_mode_set() argument 123 DRM_ERROR("Couldn't find connector when setting mode"); in oaktrail_lvds_mode_set() 135 if ((mode->vdisplay != adjusted_mode->crtc_vdisplay) || in oaktrail_lvds_mode_set() 136 (mode->hdisplay != adjusted_mode->crtc_hdisplay)) { in oaktrail_lvds_mode_set() 137 if ((adjusted_mode->crtc_hdisplay * mode->vdisplay) == in oaktrail_lvds_mode_set() 138 (mode->hdisplay * adjusted_mode->crtc_vdisplay)) in oaktrail_lvds_mode_set() 141 mode->vdisplay) > (mode->hdisplay * in oaktrail_lvds_mode_set() 213 /* Returns the panel fixed mode from configuration. */ [all …]
|