Home
last modified time | relevance | path

Searched full:cc2 (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/usb/typec/
H A Drt1719.c155 u16 cc1, cc2, cc_stat; in rt1719_get_pwr_opmode() local
158 cc2 = FIELD_GET(RT1719_CC2_STAT, stat); in rt1719_get_pwr_opmode()
162 cc_stat = cc2; in rt1719_get_pwr_opmode()
173 if ((cc1 == SNK_PWR_1P5A && cc2 == SNK_PWR_DEF) || in rt1719_get_pwr_opmode()
174 (cc1 == SNK_PWR_DEF && cc2 == SNK_PWR_1P5A)) in rt1719_get_pwr_opmode()
176 else if ((cc1 == SNK_PWR_3A && cc2 == SNK_PWR_DEF) || in rt1719_get_pwr_opmode()
177 (cc1 == SNK_PWR_DEF && cc2 == SNK_PWR_3A)) in rt1719_get_pwr_opmode()
H A Danx7411.c882 u8 cc1, cc2; in anx7411_chip_standby() local
891 cc2 = FIELD_PREP(TCPC_ROLE_CTRL_CC2, TCPC_ROLE_CTRL_CC_RD); in anx7411_chip_standby()
893 TCPC_ROLE_CTRL_DRP | cc1 | cc2); in anx7411_chip_standby()
/linux/arch/alpha/kernel/
H A Dtime.c392 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/drivers/usb/typec/mux/
H A Dptn36502.c101 * Flipped Orientation (CC2) in ptn36502_set()
136 * Flipped Orientation (CC2) in ptn36502_set()
158 * Flipped Orientation (CC2) in ptn36502_set()
H A Dnb7vpq904m.c136 * Flipped Orientation (CC2) in nb7vpq904m_set()
187 * Flipped Orientation (CC2) in nb7vpq904m_set()
226 * Flipped Orientation (CC2) in nb7vpq904m_set()
/linux/drivers/usb/typec/tcpm/
H A Dtcpm.c461 enum typec_cc_status cc2; member
723 (tcpm_cc_is_sink((port)->cc1) || tcpm_cc_is_sink((port)->cc2))
731 !tcpm_cc_is_source((port)->cc2)) || \
732 (tcpm_cc_is_source((port)->cc2) && \
736 (tcpm_cc_is_source((port)->cc1) && tcpm_cc_is_source((port)->cc2))
739 (tcpm_cc_is_sink((port)->cc1) && tcpm_cc_is_sink((port)->cc2))
745 (tcpm_cc_is_audio((port)->cc1) && tcpm_cc_is_audio((port)->cc2))
748 ((tcpm_cc_is_audio((port)->cc1) && tcpm_cc_is_open((port)->cc2)) || \
749 (tcpm_cc_is_audio((port)->cc2) && tcpm_cc_is_open((port)->cc1)))
769 ((port)->cc1 == TYPEC_CC_RP_3_0 || (port)->cc2 == TYPEC_CC_RP_3_0))
[all …]
/linux/drivers/extcon/
H A Dextcon-rtk-type-c.c483 dev_dbg(dev, "IN host mode and cc2 device detach (cc_status=0x%x)", in detect_type_c_state()
516 dev_dbg(dev, "In host mode and cc2 device attach (cc_status=0x%x)", in detect_type_c_state()
544 dev_dbg(dev, "IN device mode and cc2 host disconnect (cc_status=0x%x)", in detect_type_c_state()
578 dev_dbg(dev, "IN device mode and cc2 host connect (cc_status=0x%x)", in detect_type_c_state()
651 at_cc1 ? "cc1" : "cc2", type_c->cc_status); in host_device_switch()
656 at_cc1 ? "cc1" : "cc2", type_c->cc_status); in host_device_switch()
675 type_c->at_cc1 ? "cc1" : "cc2", in type_c_detect_irq()
813 type_c->at_cc1 ? "cc1" : "cc2", type_c->cc_status); in type_c_status_show()
/linux/drivers/s390/cio/
H A Dqdio_main.c358 "%4x cc2 BB1:%1d", SCH_NO(q), q->nr); in qdio_siga_output()
653 DBF_ERROR("%4x cc2 BBC:%1d", SCH_NO(q), q->nr); in qdio_kick_outbound_q()
656 DBF_DEV_EVENT(DBF_INFO, q->irq_ptr, "siga-w cc2:%1d", q->nr); in qdio_kick_outbound_q()
667 DBF_ERROR("%4x cc2 BB2:%1d", SCH_NO(q), q->nr); in qdio_kick_outbound_q()
/linux/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi-qp.c1000 * PB1: | CT3 | CT2 | CT1 | CT0 | F13 | CC2 | CC1 | CC0 | in dw_hdmi_qp_bridge_write_audio_infoframe()