Lines Matching refs:sda_hold_time
227 writel((dev->sda_hold_time << 1) | MSCC_ICPU_CFG_TWI_DELAY_ENABLE, in mscc_twi_set_sda_hold_time()
317 dev->sda_hold_time = ss_ht; in i2c_dw_acpi_configure()
320 dev->sda_hold_time = fp_ht; in i2c_dw_acpi_configure()
323 dev->sda_hold_time = hs_ht; in i2c_dw_acpi_configure()
327 dev->sda_hold_time = fs_ht; in i2c_dw_acpi_configure()
489 if (!dev->sda_hold_time) { in i2c_dw_set_sda_hold()
492 &dev->sda_hold_time); in i2c_dw_set_sda_hold()
504 if (!(dev->sda_hold_time & DW_IC_SDA_HOLD_RX_MASK)) in i2c_dw_set_sda_hold()
505 dev->sda_hold_time |= 1 << DW_IC_SDA_HOLD_RX_SHIFT; in i2c_dw_set_sda_hold()
508 dev->sda_hold_time & ~(u32)DW_IC_SDA_HOLD_RX_MASK, in i2c_dw_set_sda_hold()
509 dev->sda_hold_time >> DW_IC_SDA_HOLD_RX_SHIFT); in i2c_dw_set_sda_hold()
512 } else if (dev->sda_hold_time) { in i2c_dw_set_sda_hold()
515 dev->sda_hold_time = 0; in i2c_dw_set_sda_hold()