| /linux/drivers/gpu/drm/tests/ |
| H A D | drm_cmdline_parser_test.c | 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() 30 KUNIT_EXPECT_EQ(test, mode.force, DRM_FORCE_ON); in drm_test_cmdline_force_e_only() [all …]
|
| H A D | drm_modes_test.c | 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() 49 KUNIT_ASSERT_NOT_NULL(test, mode); in drm_test_modes_analog_tv_ntsc_480i() 51 ret = drm_kunit_add_mode_destroy_action(test, mode); in drm_test_modes_analog_tv_ntsc_480i() 54 KUNIT_EXPECT_EQ(test, drm_mode_vrefresh(mode), 60); in drm_test_modes_analog_tv_ntsc_480i() 55 KUNIT_EXPECT_EQ(test, mode->hdisplay, 720); in drm_test_modes_analog_tv_ntsc_480i() 58 KUNIT_EXPECT_EQ(test, mode->hsync_start, 736); in drm_test_modes_analog_tv_ntsc_480i() 67 KUNIT_EXPECT_EQ(test, mode->htotal, 858); in drm_test_modes_analog_tv_ntsc_480i() 69 KUNIT_EXPECT_EQ(test, mode->vdisplay, 480); in drm_test_modes_analog_tv_ntsc_480i() 70 KUNIT_EXPECT_EQ(test, mode->vtotal, 525); in drm_test_modes_analog_tv_ntsc_480i() [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | wcd-clsh-v2.c | 14 int mode; member 134 int mode) in wcd_clsh_set_buck_mode() argument 137 if (mode == CLS_H_HIFI) in wcd_clsh_set_buck_mode() 148 int mode) in wcd_clsh_v3_set_buck_mode() argument 150 if (mode == CLS_H_HIFI || mode == CLS_H_LOHIFI || in wcd_clsh_v3_set_buck_mode() 151 mode == CLS_AB_HIFI || mode == CLS_AB_LOHIFI) in wcd_clsh_v3_set_buck_mode() 162 int mode) in wcd_clsh_set_flyback_mode() argument 165 if (mode in wcd_clsh_set_flyback_mode() 176 wcd_clsh_buck_ctrl(struct wcd_clsh_ctrl * ctrl,int mode,bool enable) wcd_clsh_buck_ctrl() argument 196 wcd_clsh_v3_buck_ctrl(struct snd_soc_component * component,struct wcd_clsh_ctrl * ctrl,int mode,bool enable) wcd_clsh_v3_buck_ctrl() argument 225 wcd_clsh_flyback_ctrl(struct wcd_clsh_ctrl * ctrl,int mode,bool enable) wcd_clsh_flyback_ctrl() argument 246 wcd_clsh_set_gain_path(struct wcd_clsh_ctrl * ctrl,int mode) wcd_clsh_set_gain_path() argument 273 wcd_clsh_v2_set_hph_mode(struct snd_soc_component * comp,int mode) wcd_clsh_v2_set_hph_mode() argument 318 wcd_clsh_v3_set_hph_mode(struct snd_soc_component * component,int mode) wcd_clsh_v3_set_hph_mode() argument 348 wcd_clsh_set_hph_mode(struct wcd_clsh_ctrl * ctrl,int mode) wcd_clsh_set_hph_mode() argument 361 wcd_clsh_set_flyback_current(struct snd_soc_component * comp,int mode) wcd_clsh_set_flyback_current() argument 373 wcd_clsh_set_buck_regulator_mode(struct snd_soc_component * comp,int mode) wcd_clsh_set_buck_regulator_mode() argument 386 wcd_clsh_v3_set_buck_regulator_mode(struct snd_soc_component * component,int mode) wcd_clsh_v3_set_buck_regulator_mode() argument 393 wcd_clsh_v3_set_flyback_mode(struct snd_soc_component * component,int mode) wcd_clsh_v3_set_flyback_mode() argument 414 wcd_clsh_v3_force_iq_ctl(struct snd_soc_component * component,int mode,bool enable) wcd_clsh_v3_force_iq_ctl() argument 454 wcd_clsh_v3_flyback_ctrl(struct snd_soc_component * component,struct wcd_clsh_ctrl * ctrl,int mode,bool enable) wcd_clsh_v3_flyback_ctrl() argument 480 wcd_clsh_v3_set_flyback_current(struct snd_soc_component * component,int mode) wcd_clsh_v3_set_flyback_current() argument 491 wcd_clsh_v3_state_aux(struct wcd_clsh_ctrl * ctrl,int req_state,bool is_enable,int mode) wcd_clsh_v3_state_aux() argument 510 wcd_clsh_state_lo(struct wcd_clsh_ctrl * ctrl,int req_state,bool is_enable,int mode) wcd_clsh_state_lo() argument 537 wcd_clsh_v3_state_hph_r(struct wcd_clsh_ctrl * ctrl,int req_state,bool is_enable,int mode) wcd_clsh_v3_state_hph_r() argument 569 wcd_clsh_state_hph_r(struct wcd_clsh_ctrl * ctrl,int req_state,bool is_enable,int mode) wcd_clsh_state_hph_r() argument 627 wcd_clsh_v3_state_hph_l(struct wcd_clsh_ctrl * ctrl,int req_state,bool is_enable,int mode) wcd_clsh_v3_state_hph_l() argument 659 wcd_clsh_state_hph_l(struct wcd_clsh_ctrl * ctrl,int req_state,bool is_enable,int mode) wcd_clsh_state_hph_l() argument 717 wcd_clsh_v3_state_ear(struct wcd_clsh_ctrl * ctrl,int req_state,bool is_enable,int mode) wcd_clsh_v3_state_ear() argument 743 wcd_clsh_state_ear(struct wcd_clsh_ctrl * ctrl,int req_state,bool is_enable,int mode) wcd_clsh_state_ear() argument 778 _wcd_clsh_ctrl_set_state(struct wcd_clsh_ctrl * ctrl,int req_state,bool is_enable,int mode) _wcd_clsh_ctrl_set_state() argument 847 wcd_clsh_ctrl_set_state(struct wcd_clsh_ctrl * ctrl,enum wcd_clsh_event clsh_event,int nstate,enum wcd_clsh_mode mode) wcd_clsh_ctrl_set_state() argument [all...] |
| /linux/tools/testing/selftests/arm64/gcs/ |
| H A D | gcs-locking.c | 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. 21 /* No mode bits are rejected for locking */ 36 unsigned long mode; 41 .mode = PR_SHADOW_STACK_ENABLE, 46 .mode = PR_SHADOW_STACK_ENABLE | PR_SHADOW_STACK_WRITE, in TEST() 51 .mode = PR_SHADOW_STACK_ENABLE | PR_SHADOW_STACK_PUSH, in FIXTURE() 56 .mode = PR_SHADOW_STACK_ENABLE | PR_SHADOW_STACK_WRITE | in FIXTURE_VARIANT() local 62 .mode = PR_SHADOW_STACK_WRITE, in FIXTURE_VARIANT_ADD() 67 .mode in FIXTURE_VARIANT_ADD() 118 unsigned long mode; TEST_F() local 141 unsigned long mode; TEST_F() local 161 unsigned long mode; TEST_F() local 196 unsigned long mode; main() local [all...] |
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_xdp_redirect_multi.sh | |
| /linux/include/linux/usb/ |
| H A D | typec_altmode.h | 23 * struct typec_altmode - USB Type-C alternate mode device 25 * @svid: Standard or Vendor ID (SVID) of the alternate mode 26 * @mode: Index of the Mode 28 * @active: Tells has the mode been entered or not 29 * @priority: Priority used by the automatic alternate mode selection process 30 * @mode_selection: Whether entry to this alternate mode is managed by the 31 * automatic alternate mode selection process or by the specific driver 32 * @desc: Optional human readable description of the mode 39 int mode; member [all...] |
| /linux/Documentation/driver-api/usb/ |
| H A 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/Documentation/admin-guide/ |
| H A 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/drivers/scsi/aic94xx/ |
| H A 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/drivers/net/wireless/ath/ath5k/ |
| H A 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/drivers/leds/trigger/ |
| H A D | ledtrig-netdev.c | 46 * Note: If the user selects a mode that is not supported by hw, default 51 * mode isn't supported by hw. This could be switching off the LED or any 52 * hw blink mode. If software control fallback isn't possible, we return 53 * -EOPNOTSUPP to the user, but still store the selected mode. This is needed 54 * in case an intermediate unsupported mode is necessary to switch from one 55 * supported mode to another. 71 unsigned long mode; member 87 /* Already validated, hw control is possible with the requested mode */ in set_baseline_state() 89 led_cdev->hw_control_set(led_cdev, trigger_data->mode); in set_baseline_state() 105 if (test_bit(TRIGGER_NETDEV_LINK, &trigger_data->mode)) in set_baseline_state() 385 unsigned long state, mode = trigger_data->mode; netdev_led_attr_store() local 540 u32 mode; netdev_trig_link_speed_visible() local 739 unsigned long mode = 0; netdev_trig_activate() local [all...] |
| /linux/arch/x86/boot/ |
| H A 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/drivers/phy/hisilicon/ |
| H A D | phy-histb-combphy.c | 50 struct histb_combphy_mode mode; member 74 static int is_mode_fixed(struct histb_combphy_mode *mode) in is_mode_fixed() argument 76 return mode->fixed != PHY_NONE; in is_mode_fixed() 81 struct histb_combphy_mode *mode = &priv->mode; in histb_combphy_set_mode() local 85 if (is_mode_fixed(mode)) in histb_combphy_set_mode() 88 switch (mode->select) { in histb_combphy_set_mode() 102 return regmap_update_bits(syscon, mode->reg, mode->mask, in histb_combphy_set_mode() 103 hw_sel << mode in histb_combphy_set_mode() 169 struct histb_combphy_mode *mode = &priv->mode; histb_combphy_xlate() local 198 struct histb_combphy_mode *mode; histb_combphy_probe() local [all...] |
| /linux/drivers/parport/ |
| H A 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/drivers/net/ethernet/realtek/ |
| H A D | r8169_leds.c | 62 /* Switch LED off to indicate that mode isn't supported */ in rtl8168_led_hw_control_is_supported() 76 u16 mode = 0; in rtl8168_led_hw_control_set() local 79 mode |= RTL8168_LED_CTRL_LINK_10; in rtl8168_led_hw_control_set() 81 mode |= RTL8168_LED_CTRL_LINK_100; in rtl8168_led_hw_control_set() 83 mode |= RTL8168_LED_CTRL_LINK_1000; in rtl8168_led_hw_control_set() 85 mode |= RTL8168_LED_CTRL_ACT; in rtl8168_led_hw_control_set() 87 return rtl8168_led_mod_ctrl(tp, 0x000f << shift, mode << shift); in rtl8168_led_hw_control_set() 96 int mode; in rtl8168_led_hw_control_get() local 98 mode = rtl8168_get_led_mode(tp); in rtl8168_led_hw_control_get() 99 if (mode < 0) in rtl8168_led_hw_control_get() [all …]
|
| /linux/net/ipv4/ |
| H A D | sysctl_net_ipv4.c | 82 .mode = table->mode, in ipv4_local_port_range() 118 .mode = table->mode, in ipv4_privileged_ports() 180 .mode = table->mode, in ipv4_ping_group_range() 538 .mode = 0644, 545 .mode = 0644, 552 .mode = 0644, 559 .mode [all...] |
| /linux/Documentation/devicetree/bindings/power/reset/ |
| H A 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 …]
|
| /linux/Documentation/userspace-api/media/cec/ |
| H A 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/include/linux/ |
| H A D | phylink.h | 24 MLO_AN_FIXED, /* Fixed-link mode */ 27 /* PCS "negotiation" mode. 30 * PHYLINK_PCS_NEG_INBAND_DISABLED - inband mode disabled, e.g. 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 99 static inline bool phylink_autoneg_inband(unsigned int mode) in phylink_autoneg_inband() argument 101 return mode == MLO_AN_INBAND; in phylink_autoneg_inband() 109 * @interface: link &typedef phy_interface_t mode 111 * @duplex: link duplex mode, on 774 __phylink_do_bit(op,bm,mode) global() argument 777 phylink_set(bm,mode) global() argument 778 phylink_clear(bm,mode) global() argument 779 phylink_test(bm,mode) global() argument [all...] |
| /linux/drivers/firmware/efi/libstub/ |
| H A D | gop.c | 32 u32 mode; 45 if (!strstarts(option, "mode=")) in parse_modenum() 47 option += strlen("mode="); in parse_modenum() 52 cmdline.mode = m; in parse_modenum() 140 efi_graphics_output_protocol_mode_t *mode; in choose_mode_modenum() 146 mode = efi_table_attr(gop, mode); in choose_mode_modenum() 148 cur_mode = efi_table_attr(mode, mode); in choose_mode_modenum() 149 if (cmdline.mode in choose_mode_modenum() 30 u32 mode; global() member 138 efi_graphics_output_protocol_mode_t *mode; choose_mode_modenum() local 175 efi_graphics_output_protocol_mode_t *mode = efi_table_attr(gop, mode); choose_mode() local 205 match_res(const efi_graphics_output_mode_info_t * info,u32 mode,void * ctx) match_res() argument 221 efi_graphics_output_protocol_mode_t *mode = efi_table_attr(gop, mode); choose_mode_res() local 231 u32 mode; global() member 236 match_auto(const efi_graphics_output_mode_info_t * info,u32 mode,void * ctx) match_auto() argument 262 match_list(const efi_graphics_output_mode_info_t * info,u32 mode,void * ctx) match_list() argument 305 efi_graphics_output_protocol_mode_t *mode = efi_table_attr(gop, mode); choose_mode_list() local 329 efi_graphics_output_protocol_mode_t *mode; set_mode() local 373 const efi_graphics_output_protocol_mode_t *mode = efi_table_attr(gop, mode); setup_screen_info() local 438 efi_graphics_output_protocol_mode_t *mode; find_handle_with_primary_gop() local [all...] |
| /linux/drivers/hid/ |
| H A 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 ! in saitek_raw_event() 122 int mode = -1; saitek_raw_event() local [all...] |
| /linux/Documentation/networking/ |
| H A 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/drivers/net/ethernet/ibm/emac/ |
| H A D | zmii.c | 46 static inline int zmii_valid_mode(int mode) in zmii_valid_mode() argument 48 return mode == PHY_INTERFACE_MODE_MII || in zmii_valid_mode() 49 mode == PHY_INTERFACE_MODE_RMII || in zmii_valid_mode() 50 mode == PHY_INTERFACE_MODE_SMII || in zmii_valid_mode() 51 mode == PHY_INTERFACE_MODE_NA; in zmii_valid_mode() 54 static inline const char *zmii_mode_name(int mode) in zmii_mode_name() argument 56 switch (mode) { in zmii_mode_name() 68 static inline u32 zmii_mode_mask(int mode, int input) in zmii_mode_mask() argument 70 switch (mode) { in zmii_mode_mask() 83 phy_interface_t *mode) in zmii_attach() argument [all...] |
| /linux/drivers/gpu/drm/msm/disp/mdp4/ |
| H A D | mdp4_dsi_encoder.c | 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() 54 vsync_period = mode->vtotal * mode->htotal; in mdp4_dsi_encoder_mode_set() 55 vsync_len = (mode->vsync_end - mode->vsync_start) * mode->htotal; in mdp4_dsi_encoder_mode_set() 56 display_v_start = (mode->vtotal - mode->vsync_start) * mode->htotal + dsi_hsync_skew; in mdp4_dsi_encoder_mode_set() [all …]
|
| /linux/drivers/gpu/drm/msm/disp/mdp5/ |
| H A D | mdp5_encoder.c | 20 struct drm_display_mode *mode, in mdp5_vid_encoder_mode_set() argument 34 mode = adjusted_mode; in mdp5_vid_encoder_mode_set() 36 DBG("set mode: " DRM_MODE_FMT, DRM_MODE_ARG(mode)); in mdp5_vid_encoder_mode_set() 42 if (mode->flags & DRM_MODE_FLAG_NHSYNC) in mdp5_vid_encoder_mode_set() 44 if (mode->flags & DRM_MODE_FLAG_NVSYNC) in mdp5_vid_encoder_mode_set() 73 hsync_start_x = (mode->htotal - mode->hsync_start); in mdp5_vid_encoder_mode_set() 74 hsync_end_x = mode->htotal - (mode->hsync_start - mode->hdisplay) - 1; in mdp5_vid_encoder_mode_set() 76 vsync_period = mode->vtotal * mode->htotal; in mdp5_vid_encoder_mode_set() 77 vsync_len = (mode->vsync_end - mode->vsync_start) * mode->htotal; in mdp5_vid_encoder_mode_set() 78 display_v_start = (mode->vtotal - mode->vsync_start) * mode->htotal + dtv_hsync_skew; in mdp5_vid_encoder_mode_set() [all …]
|