Lines Matching refs:switches0_data
605 u8 rd_mda, switches0_data = 0x00; in tcpm_set_cc() local
613 switches0_data |= FUSB_REG_SWITCHES0_CC1_PD_EN | in tcpm_set_cc()
619 switches0_data |= (chip->cc_polarity == TYPEC_POLARITY_CC1) ? in tcpm_set_cc()
639 switches0_mask, switches0_data); in tcpm_set_cc()
730 u8 switches0_data = 0x00; in tcpm_set_vconn() local
740 switches0_data = (chip->cc_polarity == TYPEC_POLARITY_CC1) ? in tcpm_set_vconn()
745 switches0_mask, switches0_data); in tcpm_set_vconn()
1144 u8 switches0_data = 0x00; in fusb302_set_cc_polarity_and_pull() local
1150 switches0_data |= FUSB_REG_SWITCHES0_CC1_PD_EN | in fusb302_set_cc_polarity_and_pull()
1154 switches0_data |= FUSB_REG_SWITCHES0_MEAS_CC1; in fusb302_set_cc_polarity_and_pull()
1156 switches0_data |= FUSB_REG_SWITCHES0_VCONN_CC2; in fusb302_set_cc_polarity_and_pull()
1158 switches0_data |= FUSB_REG_SWITCHES0_CC1_PU_EN; in fusb302_set_cc_polarity_and_pull()
1161 switches0_data |= FUSB_REG_SWITCHES0_MEAS_CC2; in fusb302_set_cc_polarity_and_pull()
1163 switches0_data |= FUSB_REG_SWITCHES0_VCONN_CC1; in fusb302_set_cc_polarity_and_pull()
1165 switches0_data |= FUSB_REG_SWITCHES0_CC2_PU_EN; in fusb302_set_cc_polarity_and_pull()
1168 ret = fusb302_i2c_write(chip, FUSB_REG_SWITCHES0, switches0_data); in fusb302_set_cc_polarity_and_pull()
1249 u8 switches0_data, status0; in fusb302_get_src_cc_status() local
1253 switches0_data = (cc_polarity == TYPEC_POLARITY_CC1) ? in fusb302_get_src_cc_status()
1256 ret = fusb302_i2c_write(chip, FUSB_REG_SWITCHES0, switches0_data); in fusb302_get_src_cc_status()