Lines Matching refs:fusb302_i2c_write
235 static int fusb302_i2c_write(struct fusb302_chip *chip, in fusb302_i2c_write() function
314 ret = fusb302_i2c_write(chip, address, data); in fusb302_i2c_mask_write()
337 ret = fusb302_i2c_write(chip, FUSB_REG_RESET, in fusb302_sw_reset()
365 ret = fusb302_i2c_write(chip, FUSB_REG_MASK, in fusb302_init_interrupt()
369 ret = fusb302_i2c_write(chip, FUSB_REG_MASKA, 0xFF); in fusb302_init_interrupt()
372 ret = fusb302_i2c_write(chip, FUSB_REG_MASKB, 0xFF); in fusb302_init_interrupt()
387 ret = fusb302_i2c_write(chip, FUSB_REG_POWER, power_mode); in fusb302_set_power_mode()
662 ret = fusb302_i2c_write(chip, FUSB_REG_MEASURE, rd_mda); in tcpm_set_cc()
1168 ret = fusb302_i2c_write(chip, FUSB_REG_SWITCHES0, switches0_data); in fusb302_set_cc_polarity_and_pull()
1256 ret = fusb302_i2c_write(chip, FUSB_REG_SWITCHES0, switches0_data); in fusb302_get_src_cc_status()
1264 ret = fusb302_i2c_write(chip, FUSB_REG_MEASURE, rd_mda); in fusb302_get_src_cc_status()
1280 ret = fusb302_i2c_write(chip, FUSB_REG_MEASURE, ra_mda); in fusb302_get_src_cc_status()
1365 ret = fusb302_i2c_write(chip, FUSB_REG_MEASURE, rd_mda); in fusb302_handle_togdone_src()