Searched refs:mode (Results 1 - 25 of 1717) sorted by relevance

1234567891011>>

/drivers/gpu/drm/gma500/
H A Dmdfld_tpo_vid.c32 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 Dmdfld_tmd_vid.c35 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 Dmdfld_dsi_dpi.h58 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 struct drm_display_mode *mode,
73 struct drm_display_mode *mode,
H A Doaktrail_lvds.c78 static void oaktrail_lvds_dpms(struct drm_encoder *encoder, int mode) argument
84 if (mode == DRM_MODE_DPMS_ON)
93 struct drm_display_mode *mode,
132 DRM_ERROR("Couldn't find connector when setting mode");
144 if ((mode->vdisplay != adjusted_mode->crtc_vdisplay) ||
145 (mode->hdisplay != adjusted_mode->crtc_hdisplay)) {
146 if ((adjusted_mode->crtc_hdisplay * mode->vdisplay) ==
147 (mode->hdisplay * adjusted_mode->crtc_vdisplay))
150 mode->vdisplay) > (mode
92 oaktrail_lvds_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode, struct drm_display_mode *adjusted_mode) argument
253 struct drm_display_mode *mode = NULL; local
[all...]
/drivers/staging/omapdrm/
H A Domap_connector.c36 static inline void copy_timings_omap_to_drm(struct drm_display_mode *mode, argument
39 mode->clock = timings->pixel_clock;
41 mode->hdisplay = timings->x_res;
42 mode->hsync_start = mode->hdisplay + timings->hfp;
43 mode->hsync_end = mode->hsync_start + timings->hsw;
44 mode->htotal = mode->hsync_end + timings->hbp;
46 mode
60 copy_timings_drm_to_omap(struct omap_video_timings *timings, struct drm_display_mode *mode) argument
76 omap_connector_dpms(struct drm_connector *connector, int mode) argument
189 struct drm_display_mode *mode = drm_mode_create(dev); local
206 omap_connector_mode_valid(struct drm_connector *connector, struct drm_display_mode *mode) argument
287 omap_connector_mode_set(struct drm_connector *connector, struct drm_display_mode *mode) argument
[all...]
/drivers/iommu/
H A Dintr_remapping.h17 #define IR_X2APIC_MODE(mode) (mode ? (1 << 11) : 0)
/drivers/staging/sbe-2t3e3/
H A Dexar7300.c28 void exar7300_set_loopback(struct channel *sc, u32 mode) argument
32 switch (mode) {
44 val |= mode;
49 switch (mode) {
100 void exar7300_transmit_all_ones_onoff(struct channel *sc, u32 mode) argument
102 if (sc->p.transmit_all_ones == mode)
105 switch (mode) {
118 sc->p.transmit_all_ones = mode;
121 void exar7300_receive_equalization_onoff(struct channel *sc, u32 mode) argument
123 if (sc->p.receive_equalization == mode)
142 exar7300_line_build_out_onoff(struct channel *sc, u32 mode) argument
166 exar7300_unipolar_onoff(struct channel *sc, u32 mode) argument
[all...]
/drivers/gpu/drm/exynos/
H A Dexynos_drm_connector.c47 convert_to_display_mode(struct drm_display_mode *mode, argument
53 mode->clock = timing->pixclock / 1000;
54 mode->vrefresh = timing->refresh;
56 mode->hdisplay = timing->xres;
57 mode->hsync_start = mode->hdisplay + timing->right_margin;
58 mode->hsync_end = mode->hsync_start + timing->hsync_len;
59 mode->htotal = mode
77 convert_to_video_timing(struct fb_videomode *timing, struct drm_display_mode *mode) argument
154 struct drm_display_mode *mode = drm_mode_create(connector->dev); local
178 exynos_drm_connector_mode_valid(struct drm_connector *connector, struct drm_display_mode *mode) argument
[all...]
/drivers/staging/tidspbridge/include/dspbridge/
H A Dchnlpriv.h47 /* Macros for checking mode: */
48 #define CHNL_IS_INPUT(mode) (mode & CHNL_MODEFROMDSP)
49 #define CHNL_IS_OUTPUT(mode) (!CHNL_IS_INPUT(mode))
61 s8 mode; /* Channel mode. */ member in struct:chnl_info
/drivers/video/
H A Dmacmodes.c26 * 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 Dzmii.c49 static inline int zmii_valid_mode(int mode) argument
51 return mode == PHY_MODE_MII ||
52 mode == PHY_MODE_RMII ||
53 mode == PHY_MODE_SMII ||
54 mode == PHY_MODE_NA;
57 static inline const char *zmii_mode_name(int mode) argument
59 switch (mode) {
71 static inline u32 zmii_mode_mask(int mode, int input) argument
73 switch (mode) {
85 int __devinit zmii_attach(struct platform_device *ofdev, int input, int *mode) argument
[all...]
/drivers/net/wireless/ath/ath5k/
H A Deeprom.c39 unsigned int mode)
46 if (mode == AR5K_EEPROM_MODE_11A) {
188 unsigned int mode)
196 ee->ee_switch_settling[mode] = (val >> 8) & 0x7f;
197 ee->ee_atn_tx_rx[mode] = (val >> 2) & 0x3f;
198 ee->ee_ant_control[mode][i] = (val << 4) & 0x3f;
201 ee->ee_ant_control[mode][i++] |= (val >> 12) & 0xf;
202 ee->ee_ant_control[mode][i++] = (val >> 6) & 0x3f;
203 ee->ee_ant_control[mode][i++] = val & 0x3f;
206 ee->ee_ant_control[mode][
38 ath5k_eeprom_bin2freq(struct ath5k_eeprom_info *ee, u16 bin, unsigned int mode) argument
187 ath5k_eeprom_read_ants(struct ath5k_hw *ah, u32 *offset, unsigned int mode) argument
247 ath5k_eeprom_read_modes(struct ath5k_hw *ah, u32 *offset, unsigned int mode) argument
469 unsigned int mode; local
508 ath5k_eeprom_read_freq_list(struct ath5k_hw *ah, int *offset, int max, struct ath5k_chan_pcal_info *pc, unsigned int mode) argument
599 ath5k_eeprom_init_11bg_2413(struct ath5k_hw *ah, unsigned int mode, int offset) argument
665 ath5k_eeprom_free_pcal_info(struct ath5k_hw *ah, int mode) argument
712 ath5k_eeprom_convert_pcal_info_5111(struct ath5k_hw *ah, int mode, struct ath5k_chan_pcal_info *chinfo) argument
791 ath5k_eeprom_read_pcal_info_5111(struct ath5k_hw *ah, int mode) argument
900 ath5k_eeprom_convert_pcal_info_5112(struct ath5k_hw *ah, int mode, struct ath5k_chan_pcal_info *chinfo) argument
1014 ath5k_eeprom_read_pcal_info_5112(struct ath5k_hw *ah, int mode) argument
1149 ath5k_pdgains_size_2413(struct ath5k_eeprom_info *ee, unsigned int mode) argument
1163 ath5k_cal_data_offset_2413(struct ath5k_eeprom_info *ee, int mode) argument
1192 ath5k_eeprom_convert_pcal_info_2413(struct ath5k_hw *ah, int mode, struct ath5k_chan_pcal_info *chinfo) argument
1277 ath5k_eeprom_read_pcal_info_2413(struct ath5k_hw *ah, int mode) argument
1468 ath5k_eeprom_read_target_rate_pwr_info(struct ath5k_hw *ah, unsigned int mode) argument
1567 int mode; local
1773 u8 mode; local
[all...]
/drivers/scsi/
H A Dscsi_sysctl.c19 .mode = 0644,
26 .mode = 0555,
33 .mode = 0555,
/drivers/ide/
H A Dide-xfer-mode.c20 * 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/gpu/drm/radeon/
H A Dradeon_agp.c129 struct drm_agp_mode mode; local
158 mode.mode = info.mode;
160 * Just use the whatever mode the host sets up.
163 agp_status = (RREG32(RADEON_AGP_STATUS) | RADEON_AGPv3_MODE) & mode.mode;
165 agp_status = mode.mode;
202 DRM_INFO("AGP mode requeste
[all...]
/drivers/gpu/drm/i915/
H A Ddvo.h64 * If the mode is DPMSModeOff, the output must be disabled,
67 void (*dpms)(struct intel_dvo_device *dvo, int mode);
70 * Callback for testing a video mode for a given output.
72 * This function should only check for cases where a mode can't
76 * \return MODE_OK if the mode is valid, or another MODE_* otherwise.
79 struct drm_display_mode *mode);
82 * Callback to adjust the mode to be set in the CRTC.
89 struct drm_display_mode *mode,
93 * Callback for preparing mode changes on an output
98 * Callback for committing mode change
[all...]
/drivers/media/video/pwc/
H A Dpwc-kiara.h39 unsigned char mode[12]; /* precomputed mode settings for cam */ member in struct:Kiara_table_entry
H A Dpwc-timon.h29 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/wl1251/
H A Dps.h29 int wl1251_ps_set_mode(struct wl1251 *wl, enum wl1251_station_mode mode);
/drivers/staging/iio/dac/
H A Dad5504.h27 #define AD5504_DAC_PWRDWN_MODE(mode) ((mode) << 6)
45 * @pwr_down_mode current power down mode
/drivers/gpu/drm/
H A Ddrm_modes.c41 * drm_mode_debug_printmodeline - debug print a mode
43 * @mode: mode to print
48 * Describe @mode using DRM_DEBUG.
50 void drm_mode_debug_printmodeline(struct drm_display_mode *mode) argument
54 mode->base.id, mode->name, mode->vrefresh, mode->clock,
55 mode
517 drm_mode_set_name(struct drm_display_mode *mode) argument
562 drm_mode_width(struct drm_display_mode *mode) argument
583 drm_mode_height(struct drm_display_mode *mode) argument
597 drm_mode_hsync(const struct drm_display_mode *mode) argument
631 drm_mode_vrefresh(const struct drm_display_mode *mode) argument
747 drm_mode_duplicate(struct drm_device *dev, const struct drm_display_mode *mode) argument
821 struct drm_display_mode *mode; local
856 struct drm_display_mode *mode; local
889 struct drm_display_mode *mode, *t; local
967 struct drm_display_mode *mode; local
1008 drm_mode_parse_command_line_for_connector(const char *mode_option, struct drm_connector *connector, struct drm_cmdline_mode *mode) argument
1162 struct drm_display_mode *mode; local
[all...]
/drivers/leds/
H A Dleds-netxbig.c139 enum netxbig_led_mode mode; member in struct:netxbig_led_data
144 static int netxbig_led_get_timer_mode(enum netxbig_led_mode *mode, argument
155 *mode = timer[i].mode;
168 enum netxbig_led_mode mode; local
172 /* Look for a LED mode with the requested timer frequency. */
173 ret = netxbig_led_get_timer_mode(&mode, *delay_on, *delay_off,
178 mode_val = led_dat->mode_val[mode];
185 led_dat->mode = mode;
197 enum netxbig_led_mode mode; local
242 enum netxbig_led_mode mode; local
[all...]
/drivers/parport/
H A Dieee1284.c226 /* Terminate a negotiated mode. */
233 switch (port->ieee1284.mode) {
237 /* Terminate from EPP mode. */
311 port->ieee1284.mode = IEEE1284_MODE_COMPAT;
314 DPRINTK (KERN_DEBUG "%s: In compatibility (forward idle) mode\n",
320 * parport_negotiate - negotiate an IEEE 1284 mode
322 * @mode: mode to negotiate to
324 * Use this to negotiate to a particular IEEE 1284 transfer mode.
325 * The @mode paramete
334 parport_negotiate(struct parport *port, int mode) argument
[all...]
/drivers/char/
H A Dppdev.c24 * SETPHASE set the IEEE 1284 phase of a particular mode. Not to be
40 * GETMODE gets the current IEEE1284 mode
115 int mode; local
132 mode = pport->ieee1284.mode & ~(IEEE1284_DEVICEID | IEEE1284_ADDR);
142 if (mode == IEEE1284_MODE_EPP) {
143 /* various specials for EPP mode */
153 if (pport->ieee1284.mode & IEEE1284_ADDR) {
197 int mode; local
211 mode
318 init_phase(int mode) argument
394 int mode; local
410 int mode; local
501 int mode; local
[all...]
/drivers/edac/
H A Damd64_edac_dbg.c35 .mode = (S_IRUGO)
43 .mode = (S_IRUGO)
51 .mode = (S_IRUGO)
59 .mode = (S_IRUGO)
67 .mode = (S_IRUGO)

Completed in 615 milliseconds

1234567891011>>