Home
last modified time | relevance | path

Searched refs:cc2 (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/drivers/usb/typec/fusb302/
Dfusb302.c116 enum typec_cc_status cc2; member
657 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() argument
788 *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 …]
/Linux-v4.19/arch/alpha/kernel/
Dtime.c392 unsigned int cc1, cc2; in time_init() local
414 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()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Dwq.h162 static inline int mlx5_wq_cyc_cc_bigger(u16 cc1, u16 cc2) in mlx5_wq_cyc_cc_bigger() argument
164 int equal = (cc1 == cc2); in mlx5_wq_cyc_cc_bigger()
165 int smaller = 0x8000 & (cc1 - cc2); in mlx5_wq_cyc_cc_bigger()
/Linux-v4.19/drivers/usb/typec/
Dtcpm.c216 enum typec_cc_status cc2; member
340 ((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 …]
Dtcpci.c164 enum typec_cc_status *cc1, enum typec_cc_status *cc2) in tcpci_get_cc() argument
177 *cc2 = tcpci_to_typec_cc((reg >> TCPC_CC_STATUS_CC2_SHIFT) & in tcpci_get_cc()
Dtypec_wcove.c269 enum typec_cc_status *cc2) in wcove_get_cc() argument
285 *cc2 = wcove_to_typec_cc(cc2_status); in wcove_get_cc()
/Linux-v4.19/include/linux/usb/
Dtcpm.h140 enum typec_cc_status *cc2);