Searched refs:mode (Results 376 - 400 of 6148) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/gpu/drm/panel/
H A Dpanel-olimex-lcd-olinuxino.c144 struct drm_display_mode *mode; local
151 mode = drm_mode_create(connector->dev);
152 if (!mode) {
153 dev_err(panel->dev, "failed to add mode %ux%u@%u\n",
160 mode->clock = lcd_mode->pixelclock;
161 mode->hdisplay = lcd_mode->hactive;
162 mode->hsync_start = lcd_mode->hactive + lcd_mode->hfp;
163 mode->hsync_end = lcd_mode->hactive + lcd_mode->hfp +
165 mode->htotal = lcd_mode->hactive + lcd_mode->hfp +
167 mode
[all...]
H A Dpanel-tpo-tpg110.c53 * @mode: the DRM display mode for this panel
55 struct drm_display_mode mode; member in struct:tpg110_panel_mode
79 * @panel_mode: the panel mode as detected
104 .mode = {
120 .mode = {
136 .mode = {
152 .mode = {
168 .mode = {
322 dev_err(tpg->dev, "unsupported mode (
375 struct drm_display_mode *mode; local
[all...]
/linux-master/tools/perf/ui/
H A Dui.h32 int stdio__config_color(const struct option *opt, const char *mode, int unset);
/linux-master/include/linux/
H A Dramfs.h8 umode_t mode, dev_t dev);
/linux-master/arch/arm/mach-socfpga/
H A Dsocfpga.c68 static void socfpga_cyclone5_restart(enum reboot_mode mode, const char *cmd) argument
74 if (mode == REBOOT_WARM)
81 static void socfpga_arria10_restart(enum reboot_mode mode, const char *cmd) argument
87 if (mode == REBOOT_WARM)
/linux-master/lib/
H A Dnotifier-error-inject.c21 static struct dentry *debugfs_create_errno(const char *name, umode_t mode, argument
24 return debugfs_create_file(name, mode, parent, value, &fops_errno);
54 umode_t mode = S_IFREG | S_IRUSR | S_IWUSR; local
75 debugfs_create_errno("error", mode, action_dir, &action->error);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Dlag.h57 enum mlx5_lag_mode mode; member in struct:mlx5_lag
86 return ldev->mode != MLX5_LAG_MODE_NONE;
100 enum mlx5_lag_mode mode,
105 char *mlx5_get_str_port_sel_mode(enum mlx5_lag_mode mode, unsigned long flags);
/linux-master/fs/
H A Dinit.c100 int __init init_chmod(const char *filename, umode_t mode) argument
108 error = chmod_common(&path, mode);
141 int __init init_mknod(const char *filename, umode_t mode, unsigned int dev) argument
147 if (S_ISFIFO(mode) || S_ISSOCK(mode))
149 else if (!(S_ISBLK(mode) || S_ISCHR(mode)))
156 mode = mode_strip_umask(d_inode(path.dentry), mode);
157 error = security_path_mknod(&path, dentry, mode, de
222 init_mkdir(const char *pathname, umode_t mode) argument
[all...]
/linux-master/drivers/scsi/
H A Dscsi_sysctl.c19 .mode = 0644,
/linux-master/drivers/staging/media/atomisp/pci/runtime/pipeline/interface/
H A Dia_css_pipeline.h35 int mode; member in struct:ia_css_pipeline_stage
75 unsigned int mode; member in struct:ia_css_pipeline_stage_desc
182 int mode,
221 int mode,
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Dhwif.c44 dev_info(priv->device, "Chain mode enabled\n");
45 priv->mode = STMMAC_CHAIN_MODE;
46 mac->mode = &chain_mode_ops;
48 dev_info(priv->device, "Ring mode enabled\n");
49 priv->mode = STMMAC_RING_MODE;
50 mac->mode = &ring_mode_ops;
115 const void *mode; member in struct:stmmac_hwif_entry
136 .mode = NULL,
154 .mode = NULL,
173 .mode
[all...]
/linux-master/net/xfrm/
H A Dxfrm_sysctl.c20 .mode = 0644,
26 .mode = 0644,
32 .mode = 0644,
38 .mode = 0644,
/linux-master/drivers/gpu/drm/renesas/shmobile/
H A Dshmob_drm_crtc.c115 const struct drm_display_mode *mode = &crtc->mode; local
141 if (mode->flags & DRM_MODE_FLAG_NVSYNC)
143 if (mode->flags & DRM_MODE_FLAG_NHSYNC)
147 value = ((mode->hdisplay / 8) << 16) /* HDCN */
148 | (mode->htotal / 8); /* HTCN */
151 value = (((mode->hsync_end - mode->hsync_start) / 8) << 16) /* HSYNW */
152 | (mode->hsync_start / 8); /* HSYNP */
155 value = ((mode
413 shmob_drm_encoder_mode_fixup(struct drm_encoder *encoder, const struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument
490 struct drm_display_mode *mode; local
[all...]
/linux-master/drivers/gpu/drm/imx/lcdc/
H A Dimx-lcdc.c160 framesize = FIELD_PREP(IMX21LCDC_LSR_XMAX, crtc->mode.hdisplay >> 4) |
161 FIELD_PREP(IMX21LCDC_LSR_YMAX, crtc->mode.vdisplay);
165 lhcr = FIELD_PREP(IMX21LCDC_LHCR_HFPORCH, crtc->mode.hsync_start - crtc->mode.hdisplay - 1) |
166 FIELD_PREP(IMX21LCDC_LHCR_HWIDTH, crtc->mode.hsync_end - crtc->mode.hsync_start - 1) |
167 FIELD_PREP(IMX21LCDC_LHCR_HBPORCH, crtc->mode.htotal - crtc->mode.hsync_end - 3);
171 lvcr = FIELD_PREP(IMX21LCDC_LVCR_VFPORCH, crtc->mode.vsync_start - crtc->mode
197 struct drm_display_mode *mode = &pipe->crtc.mode; local
278 const struct drm_display_mode *mode = &crtc_state->mode; local
[all...]
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_tv.c961 struct drm_display_mode *mode)
968 status = intel_cpu_transcoder_mode_valid(i915, mode);
972 if (mode->clock > max_dotclk)
976 if (abs(tv_mode->refresh - drm_mode_vrefresh(mode) * 1000) >= 1000)
992 intel_tv_mode_to_mode(struct drm_display_mode *mode, argument
996 mode->clock = clock / (tv_mode->oversample >> !tv_mode->progressive);
1009 mode->hdisplay =
1011 mode->hsync_start = mode->hdisplay +
1013 mode
960 intel_tv_mode_valid(struct drm_connector *connector, struct drm_display_mode *mode) argument
1057 intel_tv_scale_mode_horiz(struct drm_display_mode *mode, int hdisplay, int left_margin, int right_margin) argument
1074 intel_tv_scale_mode_vert(struct drm_display_mode *mode, int vdisplay, int top_margin, int bottom_margin) argument
1098 struct drm_display_mode mode = {}; local
1769 intel_tv_is_preferred_mode(const struct drm_display_mode *mode, const struct tv_mode *tv_mode) argument
1782 intel_tv_set_mode_type(struct drm_display_mode *mode, const struct tv_mode *tv_mode) argument
1800 struct drm_display_mode *mode; local
[all...]
/linux-master/drivers/media/i2c/
H A Dov8865.c598 * General formulas for (array-centered) mode calculation:
670 const struct ov8865_mode *mode; member in struct:ov8865_state
1567 const struct ov8865_mode *mode)
1604 const struct ov8865_mode *mode,
1677 const struct ov8865_mode *mode)
1682 config = mode->pll2_binning ? sensor->pll_configs->pll2_config_binning :
1716 const struct ov8865_mode *mode)
1739 const struct ov8865_mode *mode)
1751 if (mode->binning_x)
1754 if (mode
1566 ov8865_mode_pll1_rate(struct ov8865_sensor *sensor, const struct ov8865_mode *mode) argument
1603 ov8865_mode_pll1_configure(struct ov8865_sensor *sensor, const struct ov8865_mode *mode, u32 mbus_code) argument
1676 ov8865_mode_pll2_configure(struct ov8865_sensor *sensor, const struct ov8865_mode *mode) argument
1715 ov8865_mode_sclk_configure(struct ov8865_sensor *sensor, const struct ov8865_mode *mode) argument
1738 ov8865_mode_binning_configure(struct ov8865_sensor *sensor, const struct ov8865_mode *mode) argument
1808 ov8865_mode_black_level_configure(struct ov8865_sensor *sensor, const struct ov8865_mode *mode) argument
1909 ov8865_mode_configure(struct ov8865_sensor *sensor, const struct ov8865_mode *mode, u32 mbus_code) argument
2110 ov8865_mode_mipi_clk_rate(struct ov8865_sensor *sensor, const struct ov8865_mode *mode) argument
2239 ov8865_state_mipi_configure(struct ov8865_sensor *sensor, const struct ov8865_mode *mode, u32 mbus_code) argument
2298 ov8865_state_configure(struct ov8865_sensor *sensor, const struct ov8865_mode *mode, u32 mbus_code) argument
2522 const struct ov8865_mode *mode = &ov8865_modes[0]; local
2661 ov8865_mbus_format_fill(struct v4l2_mbus_framefmt *mbus_format, u32 mbus_code, const struct ov8865_mode *mode) argument
2705 const struct ov8865_mode *mode; local
2774 const struct ov8865_mode *mode; local
2792 const struct ov8865_mode *mode = sensor->state.mode; local
2845 const struct ov8865_mode *mode; local
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
H A Dpadg94.c29 g94_i2c_pad_mode(struct nvkm_i2c_pad *pad, enum nvkm_i2c_pad_mode mode) argument
35 switch (mode) {
57 .mode = g94_i2c_pad_mode,
H A Dpadgm200.c29 gm200_i2c_pad_mode(struct nvkm_i2c_pad *pad, enum nvkm_i2c_pad_mode mode) argument
35 switch (mode) {
57 .mode = gm200_i2c_pad_mode,
/linux-master/drivers/video/fbdev/via/
H A Dvia_aux.c62 const struct fb_videomode *mode = NULL; local
69 mode = pos->get_preferred_mode(pos);
72 return mode;
/linux-master/drivers/media/rc/img-ir/
H A Dimg-ir-rc6.c14 unsigned int addr, cmd, mode, trl1, trl2; local
38 mode = (raw >> 18) & 0x07;
49 /* Only mode 0 supported for now */
50 if (mode)
/linux-master/tools/power/cpupower/debug/i386/
H A Dcentrino-decode.c96 unsigned int cpu, mode = 0; local
103 mode = 1;
106 if (mode)
/linux-master/arch/x86/boot/
H A Dvideo-vga.c38 /* Set basic 80x25 mode */
42 u8 mode; local
46 /* Query current mode */
49 mode = oreg.al;
51 if (mode != 3 && mode != 7)
52 mode = 3;
54 /* Set the mode */
55 ireg.ax = mode; /* AH=0: set mode */
191 vga_set_mode(struct mode_info *mode) argument
[all...]
H A Dvideo.h10 * Header file for the real-mode video probing code
19 * This code uses an extended set of video mode numbers. These include:
65 u16 mode; /* Mode number (vga= style) */ member in struct:mode_info
67 u16 depth; /* Bits per pixel, 0 for text mode */
72 int (*set_mode)(struct mode_info *mode);
78 u16 xmode_n; /* Size of unprobed mode range */
84 int mode_defined(u16 mode); /* video.c */
94 extern int graphic_mode; /* Graphics mode with linear frame buffer */
/linux-master/drivers/gpu/drm/amd/display/include/
H A Dgpio_interface.h37 enum gpio_mode mode);
41 enum gpio_mode mode);
53 /* Get current mode */
57 /* Change mode of the handle */
60 enum gpio_mode mode);
/linux-master/drivers/nfc/s3fwrn5/
H A Ds3fwrn5.h44 enum s3fwrn5_mode mode)
49 info->phy_ops->set_mode(info->phy_id, mode);
85 enum s3fwrn5_mode mode);
43 s3fwrn5_set_mode(struct s3fwrn5_info *info, enum s3fwrn5_mode mode) argument

Completed in 284 milliseconds

<<11121314151617181920>>