Searched refs:cc2 (Results 1 – 10 of 10) sorted by relevance
/linux-6.3-rc2/drivers/usb/typec/tcpm/ |
A D | fusb302.c | 109 enum typec_cc_status cc2; member 572 chip->cc2 = TYPEC_CC_OPEN; in fusb302_set_toggling() 646 chip->cc2 = TYPEC_CC_OPEN; in tcpm_set_cc() 711 *cc2 = chip->cc2; in tcpm_get_cc() 1109 chip->cc2 = cc_status; in fusb302_bc_lvl_handler_work() 1215 if ((chip->cc1 != cc1) || (chip->cc2 != cc2)) { in fusb302_handle_togdone_snk() 1217 chip->cc2 = cc2; in fusb302_handle_togdone_snk() 1340 (cc2 == TYPEC_CC_OPEN || cc2 == TYPEC_CC_RA)) { in fusb302_handle_togdone_src() 1359 if ((chip->cc1 != cc1) || (chip->cc2 != cc2)) { in fusb302_handle_togdone_src() 1361 chip->cc2 = cc2; in fusb302_handle_togdone_src() [all …]
|
A D | tcpci_rt1711h.c | 183 int ret, cc1, cc2; in rt1711h_init_cc_params() local 195 cc2 = tcpci_to_typec_cc((status >> TCPC_CC_STATUS_CC2_SHIFT) & in rt1711h_init_cc_params() 200 if ((cc1 >= TYPEC_CC_RP_1_5 && cc2 < TYPEC_CC_RP_DEF) || in rt1711h_init_cc_params() 201 (cc2 >= TYPEC_CC_RP_1_5 && cc1 < TYPEC_CC_RP_DEF)) { in rt1711h_init_cc_params()
|
A D | tcpm.c | 324 enum typec_cc_status cc2; member 531 (tcpm_cc_is_source((port)->cc2) && \ 584 port->cc2 == TYPEC_CC_OPEN) || in tcpm_port_is_disconnected() 4188 port->cc2 == TYPEC_CC_OPEN)) in run_state_machine() 4257 port->cc2 : port->cc1); in run_state_machine() 4926 enum typec_cc_status cc2) in _tcpm_cc_change() argument 4932 old_cc2 = port->cc2; in _tcpm_cc_change() 4934 port->cc2 = cc2; in _tcpm_cc_change() 5424 enum typec_cc_status cc1, cc2; in tcpm_pd_event_handler() local 5954 enum typec_cc_status cc1, cc2; in tcpm_init() local [all …]
|
A D | tcpci.c | 218 enum typec_cc_status *cc1, enum typec_cc_status *cc2) in tcpci_get_cc() argument 236 *cc2 = tcpci_to_typec_cc((reg >> TCPC_CC_STATUS_CC2_SHIFT) & in tcpci_get_cc() 250 enum typec_cc_status cc1, cc2; in tcpci_set_polarity() local 257 ret = tcpci_get_cc(tcpc, &cc1, &cc2); in tcpci_set_polarity() 275 if (cc2 == TYPEC_CC_RD) in tcpci_set_polarity()
|
A D | wcove.c | 269 enum typec_cc_status *cc2) in wcove_get_cc() argument 285 *cc2 = wcove_to_typec_cc(cc2_status); in wcove_get_cc()
|
/linux-6.3-rc2/arch/alpha/kernel/ |
A D | time.c | 392 unsigned int cc1, cc2; in time_init() local 412 cc2 = rpcc_after_update_in_progress(); in time_init() 413 est_cycle_freq = validate_cc_value(cc2 - cc1); in time_init() 414 cc1 = cc2; in time_init()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | wq.h | 167 static inline int mlx5_wq_cyc_cc_bigger(u16 cc1, u16 cc2) in mlx5_wq_cyc_cc_bigger() argument 169 int equal = (cc1 == cc2); in mlx5_wq_cyc_cc_bigger() 170 int smaller = 0x8000 & (cc1 - cc2); in mlx5_wq_cyc_cc_bigger()
|
/linux-6.3-rc2/drivers/usb/typec/ |
A D | rt1719.c | 161 u16 cc1, cc2, cc_stat; in rt1719_get_pwr_opmode() local 164 cc2 = FIELD_GET(RT1719_CC2_STAT, stat); in rt1719_get_pwr_opmode() 168 cc_stat = cc2; in rt1719_get_pwr_opmode() 179 if ((cc1 == SNK_PWR_1P5A && cc2 == SNK_PWR_DEF) || in rt1719_get_pwr_opmode() 180 (cc1 == SNK_PWR_DEF && cc2 == SNK_PWR_1P5A)) in rt1719_get_pwr_opmode() 182 else if ((cc1 == SNK_PWR_3A && cc2 == SNK_PWR_DEF) || in rt1719_get_pwr_opmode() 183 (cc1 == SNK_PWR_DEF && cc2 == SNK_PWR_3A)) in rt1719_get_pwr_opmode()
|
A D | anx7411.c | 879 u8 cc1, cc2; in anx7411_chip_standby() local 888 cc2 = TCPC_ROLE_CTRL_CC_RD << TCPC_ROLE_CTRL_CC2_SHIFT; in anx7411_chip_standby() 890 TCPC_ROLE_CTRL_DRP | cc1 | cc2); in anx7411_chip_standby()
|
/linux-6.3-rc2/include/linux/usb/ |
A D | tcpm.h | 133 enum typec_cc_status *cc2);
|
Completed in 29 milliseconds