| /linux/drivers/usb/typec/tcpm/ |
| H A D | fusb302.c | 110 enum typec_cc_status cc1; member 573 chip->cc1 = TYPEC_CC_OPEN; in fusb302_set_toggling() 647 chip->cc1 = TYPEC_CC_OPEN; in tcpm_set_cc() 705 static int tcpm_get_cc(struct tcpc_dev *dev, enum typec_cc_status *cc1, in tcpm_get_cc() argument 712 *cc1 = chip->cc1; in tcpm_get_cc() 714 fusb302_log(chip, "cc1=%s, cc2=%s", typec_cc_status_name[*cc1], in tcpm_get_cc() 1105 if (chip->cc1 != cc_status) { in fusb302_bc_lvl_handler_work() 1106 fusb302_log(chip, "cc1 in fusb302_bc_lvl_handler_work() 1195 enum typec_cc_status cc_status_active, cc1, cc2; fusb302_handle_togdone_snk() local 1319 enum typec_cc_status cc1, cc2; fusb302_handle_togdone_src() 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 | 229 enum typec_cc_status *cc1, enum typec_cc_status *cc2) in tcpci_get_cc() argument 243 *cc1 = tcpci_to_typec_cc(FIELD_GET(TCPC_CC_STATUS_CC1, reg), in tcpci_get_cc() 259 enum typec_cc_status cc1, cc2; in tcpci_set_polarity() local 266 ret = tcpci_get_cc(tcpc, &cc1, &cc2); in tcpci_set_polarity() 292 if (cc1 == TYPEC_CC_RD) in tcpci_set_polarity() 295 else if (cc1 >= TYPEC_CC_RP_DEF) in tcpci_set_polarity()
|
| H A D | tcpm.c | 370 enum typec_cc_status cc1; member 625 (tcpm_cc_is_sink((port)->cc1) || tcpm_cc_is_sink((port)->cc2)) 632 ((tcpm_cc_is_source((port)->cc1) && \ 635 !tcpm_cc_is_source((port)->cc1))) 638 ((tcpm_cc_is_source((port)->cc1) && tcpm_cc_is_source((port)->cc2)) || \ 639 (tcpm_cc_is_sink((port)->cc1) && tcpm_cc_is_sink((port)->cc2))) 642 (tcpm_cc_is_audio((port)->cc1) && tcpm_cc_is_audio((port)->cc2)) 645 ((tcpm_cc_is_audio((port)->cc1) && tcpm_cc_is_open((port)->cc2)) || \ 646 (tcpm_cc_is_audio((port)->cc2) && tcpm_cc_is_open((port)->cc1))) 666 ((port)->cc1 == TYPEC_CC_RP_3_0 || (port)->cc2 == TYPEC_CC_RP_3_0)) [all …]
|
| H A D | wcove.c | 268 static int wcove_get_cc(struct tcpc_dev *tcpc, enum typec_cc_status *cc1, in wcove_get_cc() argument 284 *cc1 = wcove_to_typec_cc(cc1_status); in wcove_get_cc()
|
| /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 | 792 unsigned int cc0, cc1; in pyxis_init_arch() local 798 __asm__ __volatile__ ("rpcc %0" : "=r"(cc1)); in pyxis_init_arch() 799 cc1 -= cc0; in pyxis_init_arch() 800 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 | 362 enum typec_cc_status *cc1, in qcom_pmic_typec_port_get_cc() argument 384 *cc1 = TYPEC_CC_OPEN; in qcom_pmic_typec_port_get_cc() 399 *cc1 = TYPEC_CC_RA; in qcom_pmic_typec_port_get_cc() 407 *cc1 = TYPEC_CC_RA; in qcom_pmic_typec_port_get_cc() 441 *cc1 = val; in qcom_pmic_typec_port_get_cc() 445 misc, *cc1, cc_to_name(*cc1), *cc2, cc_to_name(*cc2), attached, in qcom_pmic_typec_port_get_cc()
|
| /linux/tools/perf/Documentation/ |
| H A D | cpu-and-latency-overheads.txt | 31 93.88% 25.79% cc1 43 25.79% 93.88% cc1 75 4.46% 0.18% cc1
|
| H A D | perf-amd-ibs.txt | 185 76.07% 5.8% 35.7% 0.0% 34.6% 23.3% 52.8% cc1
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H 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/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
|