/linux/drivers/usb/typec/tcpm/ |
H A D | fusb302.c | 108 enum typec_cc_status cc1; member 571 chip->cc1 = TYPEC_CC_OPEN; in fusb302_set_toggling() 645 chip->cc1 = TYPEC_CC_OPEN; in tcpm_set_cc() 703 static int tcpm_get_cc(struct tcpc_dev *dev, enum typec_cc_status *cc1, in tcpm_get_cc() argument 710 *cc1 = chip->cc1; in tcpm_get_cc() 712 fusb302_log(chip, "cc1=%s, cc2=%s", typec_cc_status_name[*cc1], in tcpm_get_cc() 1097 if (chip->cc1 != cc_status) { in fusb302_bc_lvl_handler_work() 1099 typec_cc_status_name[chip->cc1], in fusb302_bc_lvl_handler_work() 1101 chip->cc1 = cc_status; in fusb302_bc_lvl_handler_work() 1187 enum typec_cc_status cc_status_active, cc1, cc2; in fusb302_handle_togdone_snk() local [all …]
|
H A D | tcpci_rt1711h.c | 191 int ret, cc1, cc2; in rt1711h_init_cc_params() local 199 cc1 = tcpci_to_typec_cc(FIELD_GET(TCPC_CC_STATUS_CC1, status), in rt1711h_init_cc_params() 206 if ((cc1 >= TYPEC_CC_RP_1_5 && cc2 < TYPEC_CC_RP_DEF) || in rt1711h_init_cc_params() 207 (cc2 >= TYPEC_CC_RP_1_5 && cc1 < TYPEC_CC_RP_DEF)) { in rt1711h_init_cc_params()
|
H A D | tcpci.c | 227 enum typec_cc_status *cc1, enum typec_cc_status *cc2) in tcpci_get_cc() argument 241 *cc1 = tcpci_to_typec_cc(FIELD_GET(TCPC_CC_STATUS_CC1, reg), in tcpci_get_cc() 257 enum typec_cc_status cc1, cc2; in tcpci_set_polarity() local 264 ret = tcpci_get_cc(tcpc, &cc1, &cc2); in tcpci_set_polarity() 290 if (cc1 == TYPEC_CC_RD) in tcpci_set_polarity()
|
/linux/arch/alpha/kernel/ |
H A D | time.c | 392 unsigned int cc1, cc2; in time_init() local 407 cc1 = rpcc(); in time_init() 411 cc1 = 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()
|
H A D | core_cia.c | 795 unsigned int cc0, cc1; in pyxis_init_arch() local 801 __asm__ __volatile__ ("rpcc %0" : "=r"(cc1)); in pyxis_init_arch() 802 cc1 -= cc0; in pyxis_init_arch() 803 hwrpb->cycle_freq = ((cc1 >> 11) * 100000000UL) / 3; in pyxis_init_arch()
|
/linux/drivers/usb/typec/tcpm/qcom/ |
H A D | qcom_pmic_typec_port.c | 361 enum typec_cc_status *cc1, in qcom_pmic_typec_port_get_cc() argument 383 *cc1 = TYPEC_CC_OPEN; in qcom_pmic_typec_port_get_cc() 398 *cc1 = TYPEC_CC_RA; in qcom_pmic_typec_port_get_cc() 406 *cc1 = TYPEC_CC_RA; in qcom_pmic_typec_port_get_cc() 440 *cc1 = val; in qcom_pmic_typec_port_get_cc() 444 misc, *cc1, cc_to_name(*cc1), *cc2, cc_to_name(*cc2), attached, in qcom_pmic_typec_port_get_cc()
|
/linux/Documentation/trace/ |
H A D | timerlat-tracer.rst | 92 … cc1-87882 [005] d..h... 548.771078: #402268 context irq timer_latency 13585 ns 93 …cc1-87882 [005] dNLh1.. 548.771082: irq_noise: local_timer:236 start 548.771077442 duration 75… 94 … cc1-87882 [005] dNLh2.. 548.771099: irq_noise: qxl:21 start 548.771085017 duration 7139 ns 95 …cc1-87882 [005] d...3.. 548.771102: thread_noise: cc1:87882 start 548.771078243 duration … 103 the cc1 thread noise took 9909 ns of time before the context switch.
|
/linux/drivers/usb/typec/ |
H A D | rt1719.c | 155 u16 cc1, cc2, cc_stat; in rt1719_get_pwr_opmode() local 157 cc1 = FIELD_GET(RT1719_CC1_STAT, stat); in rt1719_get_pwr_opmode() 164 cc_stat = cc1; 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 D | anx7411.c | 882 u8 cc1, cc2; in anx7411_chip_standby() local 890 cc1 = FIELD_PREP(TCPC_ROLE_CTRL_CC1, TCPC_ROLE_CTRL_CC_RD); in anx7411_chip_standby() 893 TCPC_ROLE_CTRL_DRP | cc1 | cc2); in anx7411_chip_standby()
|
/linux/include/linux/usb/ |
H A D | tcpm.h | 143 int (*get_cc)(struct tcpc_dev *dev, enum typec_cc_status *cc1,
|
/linux/arch/m68k/ifpsp060/ |
H A D | fplsp.sa | 1647 dc.l $55554cc1,$3fc55555,$55554a54,$3fe00000
|