Home
last modified time | relevance | path

Searched full:mode (Results 1 – 25 of 7309) sorted by relevance

12345678910>>...293

/Linux-v5.4/drivers/gpu/drm/selftests/
Dtest-drm_cmdline_parser.c22 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()
34 FAIL_ON(mode.margins); in drm_cmdline_test_force_e_only()
35 FAIL_ON(mode.force != DRM_FORCE_ON); in drm_cmdline_test_force_e_only()
[all …]
/Linux-v5.4/sound/soc/codecs/
Dwcd-clsh-v2.c14 int mode; member
127 int mode) in wcd_clsh_set_buck_mode() argument
130 if (mode == CLS_H_HIFI) in wcd_clsh_set_buck_mode()
141 int mode) in wcd_clsh_set_flyback_mode() argument
144 if (mode == CLS_H_HIFI) in wcd_clsh_set_flyback_mode()
155 int mode, in wcd_clsh_buck_ctrl() argument
174 int mode, in wcd_clsh_flyback_ctrl() argument
195 static void wcd_clsh_set_gain_path(struct wcd_clsh_ctrl *ctrl, int mode) in wcd_clsh_set_gain_path() argument
200 switch (mode) { in wcd_clsh_set_gain_path()
223 int mode) in wcd_clsh_set_hph_mode() argument
[all …]
/Linux-v5.4/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 …]
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 …]
/Linux-v5.4/drivers/gpu/drm/
Ddrm_modes.c49 * 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.
83 * drm_mode_destroy - remove a mode
85 * @mode: mode to remove
87 * Release @mode's unique ID, then free it @mode structure itself using kfree.
[all …]
/Linux-v5.4/Documentation/driver-api/usb/
Dtypec_bus.rst2 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-v5.4/Documentation/admin-guide/
Dsvga.rst4 Video Mode Selection Support 2.13
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).
39 mode list displayed may vary as the kernel version changes, because the
41 better to use absolute mode numbers instead.
[all …]
/Linux-v5.4/drivers/ide/
Dide-xfer-mode.c21 * 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()
41 else if (mode == XFER_PIO_SLOW) in ide_xfer_verbose()
[all …]
/Linux-v5.4/drivers/gpu/drm/gma500/
Dmdfld_tmd_vid.c37 struct drm_display_mode *mode; in tmd_vid_get_config_mode() local
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()
52 mode->hsync_end = mode->hsync_start + \ in tmd_vid_get_config_mode()
55 mode->htotal = mode->hdisplay + ((ti->hblank_hi << 8) | \ in tmd_vid_get_config_mode()
57 mode->vsync_start = \ in tmd_vid_get_config_mode()
58 mode->vdisplay + ((ti->vsync_offset_hi << 8) | \ in tmd_vid_get_config_mode()
[all …]
Doaktrail_lvds.c66 static void oaktrail_lvds_dpms(struct drm_encoder *encoder, int mode) in oaktrail_lvds_dpms() argument
71 if (mode == DRM_MODE_DPMS_ON) in oaktrail_lvds_dpms()
80 struct drm_display_mode *mode, in oaktrail_lvds_mode_set() argument
119 DRM_ERROR("Couldn't find connector when setting mode"); in oaktrail_lvds_mode_set()
131 if ((mode->vdisplay != adjusted_mode->crtc_vdisplay) || in oaktrail_lvds_mode_set()
132 (mode->hdisplay != adjusted_mode->crtc_hdisplay)) { in oaktrail_lvds_mode_set()
133 if ((adjusted_mode->crtc_hdisplay * mode->vdisplay) == in oaktrail_lvds_mode_set()
134 (mode->hdisplay * adjusted_mode->crtc_vdisplay)) in oaktrail_lvds_mode_set()
137 mode->vdisplay) > (mode->hdisplay * in oaktrail_lvds_mode_set()
209 /* Returns the panel fixed mode from configuration. */
[all …]
/Linux-v5.4/arch/x86/boot/
Dvideo-mode.c10 * 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-v5.4/drivers/scsi/aic94xx/
Daic94xx_reg_def.h22 #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-v5.4/drivers/phy/hisilicon/
Dphy-histb-combphy.c49 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-v5.4/drivers/net/wireless/ath/ath5k/
Deeprom.c41 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-v5.4/Documentation/networking/
Dipvlan.txt25 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
45 operate in the same (selected) mode. The RX mode is almost identical except
[all …]
/Linux-v5.4/include/linux/
Dphylink.h23 MLO_AN_FIXED, /* Fixed-link mode */
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()
37 * @interface: link &typedef phy_interface_t mode
39 * @duplex: link duplex mode, one of DUPLEX_* constants.
76 * @mac_config: configure the MAC for the selected mode and state.
89 void (*mac_config)(struct phylink_config *config, unsigned int mode,
92 void (*mac_link_down)(struct phylink_config *config, unsigned int mode,
94 void (*mac_link_up)(struct phylink_config *config, unsigned int mode,
111 * because the MAC is unable to BaseX mode. This is more about
[all …]
/Linux-v5.4/drivers/parport/
Dieee1284.c219 /* Terminate a negotiated mode. */
226 switch (port->ieee1284.mode) { in parport_ieee1284_terminate()
230 /* Terminate from EPP mode. */ in parport_ieee1284_terminate()
304 port->ieee1284.mode = IEEE1284_MODE_COMPAT; in parport_ieee1284_terminate()
307 DPRINTK (KERN_DEBUG "%s: In compatibility (forward idle) mode\n", in parport_ieee1284_terminate()
313 * parport_negotiate - negotiate an IEEE 1284 mode
315 * @mode: mode to negotiate to
317 * Use this to negotiate to a particular IEEE 1284 transfer mode.
318 * The @mode parameter should be one of the constants in
322 * negotiation to the mode specified, -1 if the peripheral is not
[all …]
/Linux-v5.4/drivers/hid/
Dhid-saitek.c12 * 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-v5.4/Documentation/media/uapi/cec/
Dcec-ioc-g-mode.rst36 Pointer to CEC mode.
44 filehandle to initiator and/or follower mode which can be exclusive
45 depending on the chosen mode. The initiator is the filehandle that is
65 by the follower. The follower can enable the passthrough mode. In that
69 the passthrough mode. See :ref:`cec-core-processing` for details.
81 .. _cec-mode-initiator_e:
88 * .. _`CEC-MODE-NO-INITIATOR`:
94 * .. _`CEC-MODE-INITIATOR`:
101 * .. _`CEC-MODE-EXCL-INITIATOR`:
116 .. _cec-mode-follower_e:
[all …]
/Linux-v5.4/net/ipv4/
Dsysctl_net_ipv4.c84 .mode = table->mode, in ipv4_local_port_range()
120 .mode = table->mode, in ipv4_privileged_ports()
181 .mode = table->mode, in ipv4_ping_group_range()
485 .mode = 0644,
492 .mode = 0644,
499 .mode = 0644,
506 .mode = 0644,
513 .mode = 0644,
520 .mode = 0644,
528 .mode = 0644,
[all …]
/Linux-v5.4/include/drm/
Ddrm_modes.h46 * 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 horizontal 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-v5.4/Documentation/ABI/testing/
Dsysfs-bus-typec5 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-v5.4/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_dsi_encoder.c40 struct drm_display_mode *mode, in mdp4_dsi_encoder_mode_set() argument
48 mode = adjusted_mode; in mdp4_dsi_encoder_mode_set()
50 DBG("set mode: " DRM_MODE_FMT, DRM_MODE_ARG(mode)); in mdp4_dsi_encoder_mode_set()
53 if (mode->flags & DRM_MODE_FLAG_NHSYNC) in mdp4_dsi_encoder_mode_set()
55 if (mode->flags & DRM_MODE_FLAG_NVSYNC) in mdp4_dsi_encoder_mode_set()
61 hsync_start_x = (mode->htotal - mode->hsync_start); in mdp4_dsi_encoder_mode_set()
62 hsync_end_x = mode->htotal - (mode->hsync_start - mode->hdisplay) - 1; in mdp4_dsi_encoder_mode_set()
64 vsync_period = mode->vtotal * mode->htotal; in mdp4_dsi_encoder_mode_set()
65 vsync_len = (mode->vsync_end - mode->vsync_start) * mode->htotal; in mdp4_dsi_encoder_mode_set()
66 display_v_start = (mode->vtotal - mode->vsync_start) * mode->htotal + dsi_hsync_skew; in mdp4_dsi_encoder_mode_set()
[all …]
/Linux-v5.4/arch/s390/include/asm/
Dscsw.h17 * struct cmd_scsw - command-mode subchannel status word
63 * struct tm_scsw - transport-mode subchannel status word
136 * @cmd: command-mode SCSW
137 * @tm: transport-mode SCSW
219 * scsw_is_tm - check for transport mode scsw
222 * Return non-zero if the specified scsw is a transport mode scsw, zero
235 * whether it is a transport mode or command mode scsw.
250 * whether it is a transport mode or command mode scsw.
265 * whether it is a transport mode or command mode scsw.
280 * whether it is a transport mode or command mode scsw.
[all …]
/Linux-v5.4/drivers/net/ethernet/ibm/emac/
Dzmii.c45 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
69 switch (mode) { in zmii_mode_mask()
81 int zmii_attach(struct platform_device *ofdev, int input, int *mode) in zmii_attach() argument
[all …]

12345678910>>...293