Searched refs:cur_mode (Results 1 - 6 of 6) sorted by relevance

/drivers/i2c/busses/
H A Di2c-bfin-twi.c43 int cur_mode; member in struct:bfin_twi_iface
100 else if (iface->cur_mode == TWI_I2C_MODE_COMBINED)
106 else if (iface->cur_mode == TWI_I2C_MODE_REPEAT &&
120 if (iface->cur_mode == TWI_I2C_MODE_COMBINED) {
124 iface->cur_mode = TWI_I2C_MODE_STANDARDSUB;
136 } else if (iface->cur_mode == TWI_I2C_MODE_REPEAT &&
187 if (iface->cur_mode == TWI_I2C_MODE_STANDARD &&
197 (iface->cur_mode == TWI_I2C_MODE_REPEAT ||
198 iface->cur_mode == TWI_I2C_MODE_COMBINED)) {
202 } else if (iface->cur_mode
[all...]
/drivers/video/
H A Dcg14.c281 int cur_mode, mode, ret = 0; local
314 cur_mode = sbus_readb(&regs->mcr);
315 cur_mode &= ~CG14_MCR_PIXMODE_MASK;
318 cur_mode |= (CG14_MCR_PIXMODE_32 <<
323 cur_mode |= (CG14_MCR_PIXMODE_16 <<
335 sbus_writeb(cur_mode, &regs->mcr);
H A Dcarminefb.c75 u32 cur_mode; member in struct:carmine_fb
417 if (par->cur_mode != par->new_mode) {
419 par->cur_mode = par->new_mode;
570 par->cur_mode = par->new_mode = ~0;
/drivers/gpu/drm/
H A Ddrm_edid.c454 struct drm_display_mode *t, *cur_mode, *preferred_mode; local
468 list_for_each_entry_safe(cur_mode, t, &connector->probed_modes, head) {
469 cur_mode->type &= ~DRM_MODE_TYPE_PREFERRED;
471 if (cur_mode == preferred_mode)
475 if (MODE_SIZE(cur_mode) > MODE_SIZE(preferred_mode))
476 preferred_mode = cur_mode;
479 if ((MODE_SIZE(cur_mode) == MODE_SIZE(preferred_mode)) &&
480 MODE_REFRESH_DIFF(cur_mode, target_refresh) <
482 preferred_mode = cur_mode;
/drivers/spi/
H A Dspi-s3c64xx.c156 * @cur_mode: Stores the active configuration of the controller.
173 unsigned cur_mode, cur_bpw; member in struct:s3c64xx_spi_driver_data
360 && !(sdd->cur_mode & SPI_CPHA))
504 if (sdd->cur_mode & SPI_CPOL)
507 if (sdd->cur_mode & SPI_CPHA)
648 || sdd->cur_mode != spi->mode
652 sdd->cur_mode = spi->mode;
/drivers/media/video/
H A Dmxb.c136 int cur_mode; /* current audio mode (mono, stereo, ...) */ member in struct:mxb
325 mxb->cur_mode = V4L2_TUNER_MODE_STEREO;
547 t->audmode = mxb->cur_mode;
562 mxb->cur_mode = t->audmode;

Completed in 116 milliseconds