/drivers/gpu/drm/exynos/ |
H A D | exynos_mixer.h | 18 int mixer_check_mode(struct drm_display_mode *mode);
|
/drivers/gpu/drm/gma500/ |
H A D | mdfld_tpo_vid.c | 32 struct drm_display_mode *mode; local 37 mode = kzalloc(sizeof(*mode), GFP_KERNEL); 38 if (!mode) 42 mode->hdisplay = (ti->hactive_hi << 8) | ti->hactive_lo; 43 mode->vdisplay = (ti->vactive_hi << 8) | ti->vactive_lo; 44 mode->hsync_start = mode->hdisplay + 47 mode->hsync_end = mode [all...] |
H A D | mdfld_tmd_vid.c | 35 struct drm_display_mode *mode; local 40 mode = kzalloc(sizeof(*mode), GFP_KERNEL); 41 if (!mode) 45 mode->hdisplay = (ti->hactive_hi << 8) | ti->hactive_lo; 46 mode->vdisplay = (ti->vactive_hi << 8) | ti->vactive_lo; 47 mode->hsync_start = mode->hdisplay + \ 50 mode->hsync_end = mode [all...] |
H A D | oaktrail_lvds.c | 78 static void oaktrail_lvds_dpms(struct drm_encoder *encoder, int mode) argument 83 if (mode == DRM_MODE_DPMS_ON) 92 struct drm_display_mode *mode, 131 DRM_ERROR("Couldn't find connector when setting mode"); 143 if ((mode->vdisplay != adjusted_mode->crtc_vdisplay) || 144 (mode->hdisplay != adjusted_mode->crtc_hdisplay)) { 145 if ((adjusted_mode->crtc_hdisplay * mode->vdisplay) == 146 (mode->hdisplay * adjusted_mode->crtc_vdisplay)) 149 mode->vdisplay) > (mode 91 oaktrail_lvds_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument 226 struct drm_display_mode *mode = NULL; local [all...] |
H A D | mdfld_dsi_dpi.h | 58 extern int mdfld_dsi_dpi_timing_calculation(struct drm_display_mode *mode, 66 extern void mdfld_dsi_dpi_dpms(struct drm_encoder *encoder, int mode); 68 const struct drm_display_mode *mode, 73 struct drm_display_mode *mode,
|
/drivers/gpu/drm/omapdrm/ |
H A D | omap_connector.c | 45 void copy_timings_omap_to_drm(struct drm_display_mode *mode, argument 48 mode->clock = timings->pixelclock / 1000; 50 mode->hdisplay = timings->x_res; 51 mode->hsync_start = mode->hdisplay + timings->hfp; 52 mode->hsync_end = mode->hsync_start + timings->hsw; 53 mode->htotal = mode->hsync_end + timings->hbp; 55 mode 76 copy_timings_drm_to_omap(struct omap_video_timings *timings, struct drm_display_mode *mode) argument 183 struct drm_display_mode *mode = drm_mode_create(dev); local 200 omap_connector_mode_valid(struct drm_connector *connector, struct drm_display_mode *mode) argument [all...] |
/drivers/gpu/drm/msm/mdp/mdp5/ |
H A D | mdp5_encoder.c | 112 static void mdp5_encoder_dpms(struct drm_encoder *encoder, int mode) argument 117 bool enabled = (mode == DRM_MODE_DPMS_ON); 119 DBG("mode=%d", mode); 136 const struct drm_display_mode *mode, 143 struct drm_display_mode *mode, 154 mode = adjusted_mode; 156 DBG("set mode: %d:\"%s\" %d %d %d %d %d %d %d %d %d %d 0x%x 0x%x", 157 mode->base.id, mode 135 mdp5_encoder_mode_fixup(struct drm_encoder *encoder, const struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument 142 mdp5_encoder_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument [all...] |
/drivers/gpu/drm/sti/ |
H A D | sti_vtg.h | 19 const struct drm_display_mode *mode); 25 u32 sti_vtg_get_line_number(struct drm_display_mode mode, int y); 26 u32 sti_vtg_get_pixel_number(struct drm_display_mode mode, int x);
|
H A D | sti_vtg.c | 116 int type, const struct drm_display_mode *mode) 121 vtg_set_mode(vtg->slave, VTG_TYPE_SLAVE_BY_EXT0, mode); 123 writel(mode->htotal, vtg->regs + VTG_CLKLN); 124 writel(mode->vtotal * 2, vtg->regs + VTG_HLFLN); 126 tmp = (mode->vtotal - mode->vsync_start + 1) << 16; 127 tmp |= mode->htotal - mode->hsync_start; 131 tmp = (mode->vdisplay + mode 115 vtg_set_mode(struct sti_vtg *vtg, int type, const struct drm_display_mode *mode) argument 181 sti_vtg_set_config(struct sti_vtg *vtg, const struct drm_display_mode *mode) argument 209 sti_vtg_get_line_number(struct drm_display_mode mode, int y) argument 230 sti_vtg_get_pixel_number(struct drm_display_mode mode, int x) argument [all...] |
/drivers/gpu/drm/shmobile/ |
H A D | shmob_drm_backlight.h | 19 void shmob_drm_backlight_dpms(struct shmob_drm_connector *scon, int mode);
|
/drivers/hid/ |
H A D | hid-saitek.c | 11 * Fixes the mode button which cycles through three constantly pressed 37 int mode; member in struct:saitek_sc 54 ssc->mode = -1; 103 /* R.A.T.7 uses bits 13, 14, 15 for the mode */ 104 int mode = -1; local 106 mode = 0; 108 mode = 1; 110 mode = 2; 112 /* clear mode bits */ 115 if (mode ! 126 int mode = -1; local [all...] |
/drivers/gpu/drm/msm/mdp/mdp4/ |
H A D | mdp4_dtv_encoder.c | 97 static void mdp4_dtv_encoder_dpms(struct drm_encoder *encoder, int mode) argument 102 bool enabled = (mode == DRM_MODE_DPMS_ON); 104 DBG("mode=%d", mode); 153 const struct drm_display_mode *mode, 160 struct drm_display_mode *mode, 169 mode = adjusted_mode; 171 DBG("set mode: %d:\"%s\" %d %d %d %d %d %d %d %d %d %d 0x%x 0x%x", 172 mode->base.id, mode 152 mdp4_dtv_encoder_mode_fixup(struct drm_encoder *encoder, const struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument 159 mdp4_dtv_encoder_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument [all...] |
/drivers/gpu/drm/nouveau/ |
H A D | nouveau_agp.c | 8 MODULE_PARM_DESC(agpmode, "AGP mode (0 to disable AGP)"); 17 int mode; member in struct:nouveau_agpmode_quirk 33 unsigned long mode = info->mode; local 40 mode &= ~PCI_AGP_COMMAND_FW; 50 agpmode = quirk->mode; 51 NV_INFO(drm, "Forcing agp mode to %dX. Use agpmode to override.\n", 59 * AGP mode set in the command line. 62 bool agpv3 = mode & 0x8; 65 mode 119 struct drm_agp_mode mode; local 153 struct drm_agp_mode mode; local [all...] |
/drivers/video/fbdev/ |
H A D | macmodes.c | 26 * MacOS video mode definitions 133 * Mapping between MacOS video mode numbers and video mode definitions 142 const struct fb_videomode *mode; member in struct:mode_map 178 * Mapping between monitor sense values and MacOS video mode numbers 210 * @vmode: MacOS video mode 211 * @cmode: MacOS color mode 212 * @var: frame buffer video mode structure 215 * mode structure. 223 const struct fb_videomode *mode local 322 const struct fb_videomode *mode = map->mode; local [all...] |
/drivers/net/ethernet/ibm/emac/ |
H A D | zmii.c | 50 static inline int zmii_valid_mode(int mode) argument 52 return mode == PHY_MODE_MII || 53 mode == PHY_MODE_RMII || 54 mode == PHY_MODE_SMII || 55 mode == PHY_MODE_NA; 58 static inline const char *zmii_mode_name(int mode) argument 60 switch (mode) { 72 static inline u32 zmii_mode_mask(int mode, int input) argument 74 switch (mode) { 86 int zmii_attach(struct platform_device *ofdev, int input, int *mode) argument [all...] |
/drivers/gpu/drm/armada/ |
H A D | armada_fb.c | 38 struct drm_mode_fb_cmd2 *mode, struct armada_gem_object *obj) 44 switch (mode->pixel_format) { 84 drm_helper_mode_fill_fb_struct(&dfb->fb, mode); 104 struct drm_file *dfile, struct drm_mode_fb_cmd2 *mode) 111 mode->width, mode->height, mode->pixel_format, 112 mode->flags, mode->pitches[0], mode 37 armada_framebuffer_create(struct drm_device *dev, struct drm_mode_fb_cmd2 *mode, struct armada_gem_object *obj) argument 103 armada_fb_create(struct drm_device *dev, struct drm_file *dfile, struct drm_mode_fb_cmd2 *mode) argument [all...] |
/drivers/net/wireless/ath/ath5k/ |
H A D | eeprom.c | 41 unsigned int mode) 48 if (mode == AR5K_EEPROM_MODE_11A) { 190 unsigned int mode) 198 ee->ee_switch_settling[mode] = (val >> 8) & 0x7f; 199 ee->ee_atn_tx_rx[mode] = (val >> 2) & 0x3f; 200 ee->ee_ant_control[mode][i] = (val << 4) & 0x3f; 203 ee->ee_ant_control[mode][i++] |= (val >> 12) & 0xf; 204 ee->ee_ant_control[mode][i++] = (val >> 6) & 0x3f; 205 ee->ee_ant_control[mode][i++] = val & 0x3f; 208 ee->ee_ant_control[mode][ 40 ath5k_eeprom_bin2freq(struct ath5k_eeprom_info *ee, u16 bin, unsigned int mode) argument 189 ath5k_eeprom_read_ants(struct ath5k_hw *ah, u32 *offset, unsigned int mode) argument 249 ath5k_eeprom_read_modes(struct ath5k_hw *ah, u32 *offset, unsigned int mode) argument 471 unsigned int mode; local 510 ath5k_eeprom_read_freq_list(struct ath5k_hw *ah, int *offset, int max, struct ath5k_chan_pcal_info *pc, unsigned int mode) argument 601 ath5k_eeprom_init_11bg_2413(struct ath5k_hw *ah, unsigned int mode, int offset) argument 667 ath5k_eeprom_free_pcal_info(struct ath5k_hw *ah, int mode) argument 714 ath5k_eeprom_convert_pcal_info_5111(struct ath5k_hw *ah, int mode, struct ath5k_chan_pcal_info *chinfo) argument 793 ath5k_eeprom_read_pcal_info_5111(struct ath5k_hw *ah, int mode) argument 902 ath5k_eeprom_convert_pcal_info_5112(struct ath5k_hw *ah, int mode, struct ath5k_chan_pcal_info *chinfo) argument 1016 ath5k_eeprom_read_pcal_info_5112(struct ath5k_hw *ah, int mode) argument 1151 ath5k_pdgains_size_2413(struct ath5k_eeprom_info *ee, unsigned int mode) argument 1165 ath5k_cal_data_offset_2413(struct ath5k_eeprom_info *ee, int mode) argument 1194 ath5k_eeprom_convert_pcal_info_2413(struct ath5k_hw *ah, int mode, struct ath5k_chan_pcal_info *chinfo) argument 1279 ath5k_eeprom_read_pcal_info_2413(struct ath5k_hw *ah, int mode) argument 1470 ath5k_eeprom_read_target_rate_pwr_info(struct ath5k_hw *ah, unsigned int mode) argument 1569 int mode; local 1775 u8 mode; local [all...] |
/drivers/ide/ |
H A D | ide-xfer-mode.c | 20 * ide_xfer_verbose - return IDE mode names 21 * @mode: transfer mode 23 * Returns a constant string giving the name of the mode 27 const char *ide_xfer_verbose(u8 mode) argument 30 u8 i = mode & 0xf; 32 if (mode >= XFER_UDMA_0 && mode <= XFER_UDMA_7) 34 else if (mode >= XFER_MW_DMA_0 && mode < 122 ide_set_pio_mode(ide_drive_t *drive, const u8 mode) argument 156 ide_set_dma_mode(ide_drive_t *drive, const u8 mode) argument 225 u8 mode = ide_find_dma_mode(drive, speed); local [all...] |
/drivers/scsi/ |
H A D | scsi_sysctl.c | 19 .mode = 0644, 26 .mode = 0555, 33 .mode = 0555,
|
/drivers/gpu/drm/radeon/ |
H A D | radeon_agp.c | 128 struct drm_agp_mode mode; local 157 mode.mode = info.mode; 159 * Just use the whatever mode the host sets up. 162 agp_status = (RREG32(RADEON_AGP_STATUS) | RADEON_AGPv3_MODE) & mode.mode; 164 agp_status = mode.mode; 201 DRM_INFO("AGP mode requeste [all...] |
/drivers/media/usb/pwc/ |
H A D | pwc-kiara.h | 39 unsigned char mode[12]; /* precomputed mode settings for cam */ member in struct:Kiara_table_entry
|
H A D | pwc-timon.h | 29 It lists the bandwidth requirements for said mode by its alternate interface 30 number. An alternate of 0 means that the mode is unavailable. 37 When an uncompressed mode is not available, the next available compressed mode 54 unsigned char mode[13]; /* precomputed mode settings for cam */ member in struct:Timon_table_entry
|
/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | btcoex.h | 27 enum brcmf_btcoex_mode mode, u16 duration);
|
/drivers/net/wireless/ti/wl1251/ |
H A D | ps.h | 29 int wl1251_ps_set_mode(struct wl1251 *wl, enum wl1251_station_mode mode);
|
/drivers/gpu/drm/rcar-du/ |
H A D | rcar_du_lvdsenc.h | 33 struct drm_crtc *crtc, int mode); 40 struct drm_crtc *crtc, int mode) 39 rcar_du_lvdsenc_dpms(struct rcar_du_lvdsenc *lvds, struct drm_crtc *crtc, int mode) argument
|