Searched refs:mode (Results 126 - 150 of 6117) sorted by relevance

1234567891011>>

/linux-master/drivers/gpu/drm/gma500/
H A Doaktrail_lvds.c69 static void oaktrail_lvds_dpms(struct drm_encoder *encoder, int mode) argument
74 if (mode == DRM_MODE_DPMS_ON)
83 struct drm_display_mode *mode,
124 DRM_ERROR("Couldn't find connector when setting mode");
136 if ((mode->vdisplay != adjusted_mode->crtc_vdisplay) ||
137 (mode->hdisplay != adjusted_mode->crtc_hdisplay)) {
138 if ((adjusted_mode->crtc_hdisplay * mode->vdisplay) ==
139 (mode->hdisplay * adjusted_mode->crtc_vdisplay))
142 mode->vdisplay) > (mode
82 oaktrail_lvds_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument
219 struct drm_display_mode *mode = NULL; local
[all...]
/linux-master/drivers/gpu/drm/tve200/
H A Dtve200_display.c75 const struct drm_display_mode *mode = &cstate->mode; local
82 if (!(mode->hdisplay == 352 && mode->vdisplay == 240) && /* SIF(525) */
83 !(mode->hdisplay == 352 && mode->vdisplay == 288) && /* CIF(625) */
84 !(mode->hdisplay == 640 && mode->vdisplay == 480) && /* VGA */
85 !(mode->hdisplay == 720 && mode
129 const struct drm_display_mode *mode = &cstate->mode; local
[all...]
/linux-master/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_cmd_encoder.c21 struct drm_display_mode *mode)
35 total_lines = mode->vtotal * drm_mode_vrefresh(mode);
38 __func__, mode->vtotal, drm_mode_vrefresh(mode));
63 REG_MDP5_PP_SYNC_CONFIG_HEIGHT(pp_id), (2 * mode->vtotal));
66 REG_MDP5_PP_VSYNC_INIT_VAL(pp_id), mode->vdisplay);
67 mdp5_write(mdp5_kms, REG_MDP5_PP_RD_PTR_IRQ(pp_id), mode->vdisplay + 1);
68 mdp5_write(mdp5_kms, REG_MDP5_PP_START_POS(pp_id), mode->vdisplay);
114 struct drm_display_mode *mode,
20 pingpong_tearcheck_setup(struct drm_encoder *encoder, struct drm_display_mode *mode) argument
113 mdp5_cmd_encoder_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument
[all...]
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_display_debugfs_params.c121 #define RO(mode) (((mode) & 0222) == 0)
124 intel_display_debugfs_create_int(const char *name, umode_t mode, argument
127 return debugfs_create_file_unsafe(name, mode, parent, value,
128 RO(mode) ? &intel_display_param_int_fops_ro :
133 intel_display_debugfs_create_uint(const char *name, umode_t mode, argument
136 return debugfs_create_file_unsafe(name, mode, parent, value,
137 RO(mode) ? &intel_display_param_uint_fops_ro :
141 #define _intel_display_param_create_file(parent, name, mode, valp) \
143 if (mode) \
[all...]
/linux-master/ipc/
H A Dmq_sysctl.c28 .mode = 0644,
35 .mode = 0644,
44 .mode = 0644,
53 .mode = 0644,
62 .mode = 0644,
96 int mode = table->mode; local
103 mode >>= 6;
106 mode >>= 3;
108 mode
[all...]
/linux-master/net/rds/
H A Dib_sysctl.c69 .mode = 0644,
78 .mode = 0644,
87 .mode = 0644,
96 .mode = 0644,
103 .mode = 0644,
/linux-master/drivers/media/usb/dvb-usb-v2/
H A Dmxl111sf-phy.c56 int mxl1x1sf_set_device_mode(struct mxl111sf_state *state, int mode) argument
60 mxl_debug("(%s)", MXL_SOC_MODE == mode ?
63 /* set device mode */
65 MXL_SOC_MODE == mode ? 0x01 : 0x00);
70 0x7d, 0x40, MXL_SOC_MODE == mode ?
78 state->device_mode = mode;
114 u8 mode, tmp; local
124 mxl111sf_read_reg(state, V6_MPEG_IN_CLK_INV_REG, &mode);
127 mode &= ~V6_INVERTED_CLK_PHASE;
129 mode |
[all...]
/linux-master/arch/um/drivers/
H A Dtty.c43 int fd, err, mode = 0; local
46 mode = O_RDWR;
48 mode = O_RDONLY;
50 mode = O_WRONLY;
52 fd = open(data->dev, mode);
/linux-master/drivers/gpu/drm/bridge/adv7511/
H A Dadv7533.c30 struct drm_display_mode *mode = &adv->curr_mode; local
34 hsw = mode->hsync_end - mode->hsync_start;
35 hfp = mode->hsync_start - mode->hdisplay;
36 hbp = mode->htotal - mode->hsync_end;
37 vsw = mode->vsync_end - mode->vsync_start;
38 vfp = mode
103 adv7533_mode_valid(struct adv7511 *adv, const struct drm_display_mode *mode) argument
[all...]
/linux-master/include/linux/
H A Dphylink.h22 MLO_AN_FIXED, /* Fixed-link mode */
25 /* PCS "negotiation" mode.
28 * PHYLINK_PCS_NEG_INBAND_DISABLED - inband mode disabled, e.g.
30 * PHYLINK_PCS_NEG_INBAND_ENABLED - inband mode enabled
32 * PHYLINK_PCS_NEG_INBAND - inband mode selected
33 * PHYLINK_PCS_NEG_ENABLED - negotiation mode enabled
96 static inline bool phylink_autoneg_inband(unsigned int mode) argument
98 return mode == MLO_AN_INBAND;
106 * @interface: link &typedef phy_interface_t mode
108 * @duplex: link duplex mode, on
[all...]
/linux-master/tools/perf/util/
H A Dparse-regs-options.c15 uint64_t *mode = (uint64_t *)opt->value; local
27 if (*mode)
67 *mode |= r->mask;
78 if (*mode == 0)
79 *mode = mask;
/linux-master/arch/x86/include/asm/xen/
H A Dhypervisor.h72 /* Lazy mode for batching updates / context switch */
82 static inline void enter_lazy(enum xen_lazy_mode mode) argument
86 if (mode == old_mode) {
93 this_cpu_write(xen_lazy_mode, mode);
96 static inline void leave_lazy(enum xen_lazy_mode mode) argument
98 BUG_ON(this_cpu_read(xen_lazy_mode) != mode);
/linux-master/drivers/gpu/drm/msm/hdmi/
H A Dhdmi_bridge.c74 const struct drm_display_mode *mode = &crtc->state->adjusted_mode; local
81 hdmi->connector, mode);
179 const struct drm_display_mode *mode,
187 mode = adjusted_mode;
189 hdmi->pixclock = mode->clock * 1000;
191 hstart = mode->htotal - mode->hsync_start;
192 hend = mode->htotal - mode->hsync_start + mode
178 msm_hdmi_bridge_mode_set(struct drm_bridge *bridge, const struct drm_display_mode *mode, const struct drm_display_mode *adjusted_mode) argument
268 msm_hdmi_bridge_mode_valid(struct drm_bridge *bridge, const struct drm_display_info *info, const struct drm_display_mode *mode) argument
[all...]
/linux-master/drivers/leds/trigger/
H A Dledtrig-netdev.c43 * Note: If the user selects a mode that is not supported by hw, default
48 * mode isn't supported by hw. This could be switching off the LED or any
49 * hw blink mode. If software control fallback isn't possible, we return
50 * -EOPNOTSUPP to the user, but still store the selected mode. This is needed
51 * in case an intermediate unsupported mode is necessary to switch from one
52 * supported mode to another.
68 unsigned long mode; member in struct:led_netdev_data
84 /* Already validated, hw control is possible with the requested mode */
86 led_cdev->hw_control_set(led_cdev, trigger_data->mode);
102 if (test_bit(TRIGGER_NETDEV_LINK, &trigger_data->mode))
354 unsigned long state, mode = trigger_data->mode; local
493 u32 mode; local
670 unsigned long mode = 0; local
[all...]
/linux-master/drivers/video/fbdev/core/
H A Dmodedb.c2 * linux/drivers/video/modedb.c -- Standard video mode database management
33 * Standard video mode definitions (taken from XFree86)
535 * fb_try_mode - test a video mode
538 * @mode: frame buffer video mode structure
541 * Tries a video mode to test it's validity for device @info.
548 const struct fb_videomode *mode, unsigned int bpp)
552 DPRINTK("Trying mode %s %dx%d-%d@%d\n",
553 mode->name ? mode
547 fb_try_mode(struct fb_var_screeninfo *var, struct fb_info *info, const struct fb_videomode *mode, unsigned int bpp) argument
855 fb_var_to_videomode(struct fb_videomode *mode, const struct fb_var_screeninfo *var) argument
902 fb_videomode_to_var(struct fb_var_screeninfo *var, const struct fb_videomode *mode) argument
967 struct fb_videomode *mode, *best = NULL; local
998 fb_find_nearest_mode(const struct fb_videomode *mode, struct list_head *head) argument
1039 struct fb_videomode *m, mode; local
1058 fb_add_videomode(const struct fb_videomode *mode, struct list_head *head) argument
1091 fb_delete_videomode(const struct fb_videomode *mode, struct list_head *head) argument
[all...]
/linux-master/lib/zlib_inflate/
H A Dinflate.c42 state->mode = HEAD;
172 if (state->mode == STORED && state->bits == 0) {
173 state->mode = TYPE;
358 if (state->mode == TYPE) state->mode = TYPEDO; /* skip check */
364 switch (state->mode) {
367 state->mode = TYPEDO;
374 state->mode = BAD;
379 state->mode = BAD;
386 state->mode
[all...]
/linux-master/drivers/gpu/drm/logicvc/
H A Dlogicvc_crtc.c30 const struct drm_display_mode *mode)
32 if (mode->flags & DRM_MODE_FLAG_INTERLACE)
71 struct drm_display_mode *mode = &new_state->adjusted_mode; local
81 hact = mode->hdisplay;
82 hfp = mode->hsync_start - mode->hdisplay;
83 hsl = mode->hsync_end - mode->hsync_start;
84 hbp = mode->htotal - mode
29 logicvc_crtc_mode_valid(struct drm_crtc *drm_crtc, const struct drm_display_mode *mode) argument
[all...]
/linux-master/drivers/net/ethernet/intel/igc/
H A Digc_leds.c74 static void igc_led_set(struct igc_adapter *adapter, int led, u32 mode, argument
85 /* Set mode */
88 ledctl |= mode << shift;
122 u32 mode; local
125 mode = IGC_LEDCTL_MODE_ON;
127 mode = IGC_LEDCTL_MODE_OFF;
129 netdev_dbg(adapter->netdev, "Set brightness for LED %d to mode %u!\n",
130 ldev->index, mode);
132 igc_led_set(adapter, ldev->index, mode, false);
144 * mode i
167 u32 mode = IGC_LEDCTL_MODE_OFF; local
199 u32 mode; local
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/gpio/
H A Dhw_gpio.c62 enum gpio_mode mode)
68 ptr->opened = (dal_hw_gpio_config_mode(pin, mode) == GPIO_RESULT_OK);
81 switch (ptr->mode) {
105 switch (ptr->mode) {
123 enum gpio_mode mode)
127 return dal_hw_gpio_config_mode(pin, mode);
137 ptr->mode = GPIO_MODE_UNKNOWN;
143 enum gpio_mode mode)
145 gpio->base.mode = mode;
60 dal_hw_gpio_open( struct hw_gpio_pin *ptr, enum gpio_mode mode) argument
121 dal_hw_gpio_change_mode( struct hw_gpio_pin *ptr, enum gpio_mode mode) argument
141 dal_hw_gpio_config_mode( struct hw_gpio *gpio, enum gpio_mode mode) argument
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Dipp.h52 enum ipp_prescale_mode mode; member in struct:ipp_prescale_params
89 enum expansion_mode mode,
105 enum ipp_degamma_mode mode);
/linux-master/include/soc/fsl/qe/
H A Ducc.h29 * Sets UCC to slow or fast mode.
32 * speed - (In) slow or fast mode for UCC.
39 enum comm_dir mode);
41 enum comm_dir mode);
43 enum comm_dir mode);
/linux-master/drivers/gpu/drm/i915/gt/
H A Dgen2_engine_cs.h14 int gen2_emit_flush(struct i915_request *rq, u32 mode);
15 int gen4_emit_flush_rcs(struct i915_request *rq, u32 mode);
16 int gen4_emit_flush_vcs(struct i915_request *rq, u32 mode);
/linux-master/drivers/gpu/drm/amd/display/dc/dsc/
H A Drc_calc.c29 * calc_rc_params - reads the user's cmdline mode
43 enum colour_mode mode; local
50 mode = pps->convert_rgb ? CM_RGB : (pps->simple_422 ? CM_444 :
59 _do_calc_rc_params(rc, mode, bpc, drm_bpp, is_navite_422_or_420,
/linux-master/arch/arm/kernel/
H A Disa.c24 .mode = 0444,
30 .mode = 0444,
36 .mode = 0444,
/linux-master/include/trace/events/
H A Dmigrate.h53 enum migrate_mode mode, int reason),
56 thp_split, large_folio_split, mode, reason),
65 __field( enum migrate_mode, mode)
76 __entry->mode = mode;
80 TP_printk("nr_succeeded=%lu nr_failed=%lu nr_thp_succeeded=%lu nr_thp_failed=%lu nr_thp_split=%lu nr_split=%lu mode=%s reason=%s",
87 __print_symbolic(__entry->mode, MIGRATE_MODE),
93 TP_PROTO(enum migrate_mode mode, int reason),
95 TP_ARGS(mode, reason),
98 __field(enum migrate_mode, mode)
[all...]

Completed in 221 milliseconds

1234567891011>>