Searched refs:cur_mode (Results 1 – 10 of 10) sorted by relevance
/drivers/i2c/busses/ |
D | i2c-bfin-twi.c | 46 if (iface->cur_mode == TWI_I2C_MODE_COMBINED) in bfin_twi_handle_interrupt() 52 else if (iface->cur_mode == TWI_I2C_MODE_REPEAT && in bfin_twi_handle_interrupt() 77 if (iface->cur_mode == TWI_I2C_MODE_COMBINED) { in bfin_twi_handle_interrupt() 81 iface->cur_mode = TWI_I2C_MODE_STANDARDSUB; in bfin_twi_handle_interrupt() 100 } else if (iface->cur_mode == TWI_I2C_MODE_REPEAT && in bfin_twi_handle_interrupt() 152 if (iface->cur_mode == TWI_I2C_MODE_STANDARD && in bfin_twi_handle_interrupt() 163 (iface->cur_mode == TWI_I2C_MODE_REPEAT || in bfin_twi_handle_interrupt() 164 iface->cur_mode == TWI_I2C_MODE_COMBINED)) { in bfin_twi_handle_interrupt() 168 } else if (iface->cur_mode == TWI_I2C_MODE_COMBINED) { in bfin_twi_handle_interrupt() 189 } else if (iface->cur_mode == TWI_I2C_MODE_REPEAT && in bfin_twi_handle_interrupt() [all …]
|
/drivers/video/fbdev/ |
D | cg14.c | 281 int cur_mode, mode, ret = 0; in cg14_ioctl() local 314 cur_mode = sbus_readb(®s->mcr); in cg14_ioctl() 315 cur_mode &= ~CG14_MCR_PIXMODE_MASK; in cg14_ioctl() 318 cur_mode |= (CG14_MCR_PIXMODE_32 << in cg14_ioctl() 323 cur_mode |= (CG14_MCR_PIXMODE_16 << in cg14_ioctl() 335 sbus_writeb(cur_mode, ®s->mcr); in cg14_ioctl()
|
D | carminefb.c | 75 u32 cur_mode; member 417 if (par->cur_mode != par->new_mode) { in carmine_set_par() 419 par->cur_mode = par->new_mode; in carmine_set_par() 571 par->cur_mode = par->new_mode = ~0; in alloc_carmine_fb()
|
/drivers/media/pci/saa7146/ |
D | mxb.c | 166 int cur_mode; /* current audio mode (mono, stereo, ...) */ member 187 .audmode = mxb->cur_mode, in mxb_update_audmode() 396 mxb->cur_mode = V4L2_TUNER_MODE_STEREO; in mxb_init_done() 559 t->audmode = mxb->cur_mode; in vidioc_g_tuner() 574 mxb->cur_mode = t->audmode; in vidioc_s_tuner()
|
/drivers/input/touchscreen/ |
D | cyttsp4_core.c | 1050 enum cyttsp4_mode cur_mode; in cyttsp4_irq() local 1082 cur_mode = CY_MODE_BOOTLOADER; in cyttsp4_irq() 1092 __func__, cd->mode, cur_mode); in cyttsp4_irq() 1107 cd->mode = cur_mode; in cyttsp4_irq() 1114 cur_mode = CY_MODE_OPERATIONAL; in cyttsp4_irq() 1118 cur_mode = CY_MODE_CAT; in cyttsp4_irq() 1122 cur_mode = CY_MODE_SYSINFO; in cyttsp4_irq() 1126 cur_mode = CY_MODE_UNKNOWN; in cyttsp4_irq() 1151 __func__, cd->mode, cur_mode); in cyttsp4_irq() 1152 cd->mode = cur_mode; in cyttsp4_irq() [all …]
|
/drivers/thermal/ |
D | db8500_thermal.c | 297 enum thermal_device_mode cur_mode; in db8500_thermal_work() local 303 cur_mode = pzone->mode; in db8500_thermal_work() 306 if (cur_mode == THERMAL_DEVICE_DISABLED) in db8500_thermal_work()
|
/drivers/spi/ |
D | spi-s3c64xx.c | 193 unsigned cur_mode, cur_bpw; member 430 && !(sdd->cur_mode & SPI_CPHA)) in enable_datapath() 595 if (sdd->cur_mode & SPI_CPOL) in s3c64xx_spi_config() 598 if (sdd->cur_mode & SPI_CPHA) in s3c64xx_spi_config() 657 || sdd->cur_mode != spi->mode in s3c64xx_spi_prepare_message() 661 sdd->cur_mode = spi->mode; in s3c64xx_spi_prepare_message()
|
/drivers/gpu/drm/ |
D | drm_edid.c | 1479 struct drm_display_mode *t, *cur_mode, *preferred_mode; in edid_fixup_preferred() local 1494 list_for_each_entry_safe(cur_mode, t, &connector->probed_modes, head) { in edid_fixup_preferred() 1495 cur_mode->type &= ~DRM_MODE_TYPE_PREFERRED; in edid_fixup_preferred() 1497 if (cur_mode == preferred_mode) in edid_fixup_preferred() 1501 if (MODE_SIZE(cur_mode) > MODE_SIZE(preferred_mode)) in edid_fixup_preferred() 1502 preferred_mode = cur_mode; in edid_fixup_preferred() 1504 cur_vrefresh = cur_mode->vrefresh ? in edid_fixup_preferred() 1505 cur_mode->vrefresh : drm_mode_vrefresh(cur_mode); in edid_fixup_preferred() 1509 if ((MODE_SIZE(cur_mode) == MODE_SIZE(preferred_mode)) && in edid_fixup_preferred() 1512 preferred_mode = cur_mode; in edid_fixup_preferred()
|
/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-mdio.c | 378 enum xgbe_mode cur_mode; in xgbe_set_mode() local 380 xgbe_cur_mode(pdata, &cur_mode); in xgbe_set_mode() 381 if (mode != cur_mode) in xgbe_set_mode()
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_link.c | 1426 u32 new_mode, cur_mode; in bnx2x_set_mdio_clk() local 1431 cur_mode = REG_RD(bp, emac_base + EMAC_REG_EMAC_MDIO_MODE); in bnx2x_set_mdio_clk() 1438 if (((cur_mode & EMAC_MDIO_MODE_CLOCK_CNT) == clc_cnt) && in bnx2x_set_mdio_clk() 1439 (cur_mode & (EMAC_MDIO_MODE_CLAUSE_45))) in bnx2x_set_mdio_clk() 1442 new_mode = cur_mode & in bnx2x_set_mdio_clk() 1448 cur_mode, new_mode); in bnx2x_set_mdio_clk()
|