Searched refs:cc2 (Results 1 – 7 of 7) sorted by relevance
116 enum typec_cc_status cc2; member657 chip->cc2 = TYPEC_CC_OPEN; in fusb302_set_toggling()728 chip->cc2 = TYPEC_CC_OPEN; in tcpm_set_cc()781 enum typec_cc_status *cc2) in tcpm_get_cc() argument788 *cc2 = chip->cc2; in tcpm_get_cc()790 typec_cc_status_name[*cc2]); in tcpm_get_cc()1161 if (chip->cc2 != cc_status) { in fusb302_bc_lvl_handler_work()1163 typec_cc_status_name[chip->cc2], in fusb302_bc_lvl_handler_work()1165 chip->cc2 = cc_status; in fusb302_bc_lvl_handler_work()1266 enum typec_cc_status cc_status_active, cc1, cc2; in fusb302_handle_togdone_snk() local[all …]
392 unsigned int cc1, cc2; in time_init() local414 cc2 = rpcc_after_update_in_progress(); in time_init()415 est_cycle_freq = validate_cc_value(cc2 - cc1); in time_init()416 cc1 = cc2; in time_init()
162 static inline int mlx5_wq_cyc_cc_bigger(u16 cc1, u16 cc2) in mlx5_wq_cyc_cc_bigger() argument164 int equal = (cc1 == cc2); in mlx5_wq_cyc_cc_bigger()165 int smaller = 0x8000 & (cc1 - cc2); in mlx5_wq_cyc_cc_bigger()
216 enum typec_cc_status cc2; member340 ((tcpm_cc_is_sink((port)->cc1) && !tcpm_cc_is_sink((port)->cc2)) || \341 (tcpm_cc_is_sink((port)->cc2) && !tcpm_cc_is_sink((port)->cc1)))349 !tcpm_cc_is_source((port)->cc2)) || \350 (tcpm_cc_is_source((port)->cc2) && \354 (tcpm_cc_is_source((port)->cc1) && tcpm_cc_is_source((port)->cc2))357 (tcpm_cc_is_audio((port)->cc1) && tcpm_cc_is_audio((port)->cc2))360 ((tcpm_cc_is_audio((port)->cc1) && tcpm_cc_is_open((port)->cc2)) || \361 (tcpm_cc_is_audio((port)->cc2) && tcpm_cc_is_open((port)->cc1)))396 port->cc2 == TYPEC_CC_OPEN) || in tcpm_port_is_disconnected()[all …]
164 enum typec_cc_status *cc1, enum typec_cc_status *cc2) in tcpci_get_cc() argument177 *cc2 = tcpci_to_typec_cc((reg >> TCPC_CC_STATUS_CC2_SHIFT) & in tcpci_get_cc()
269 enum typec_cc_status *cc2) in wcove_get_cc() argument285 *cc2 = wcove_to_typec_cc(cc2_status); in wcove_get_cc()
140 enum typec_cc_status *cc2);