Home
last modified time | relevance | path

Searched refs:cc1 (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/drivers/usb/typec/tcpm/
Dfusb302.c108 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 …]
Dtcpci_rt1711h.c183 int ret, cc1, cc2; in rt1711h_init_cc_params() local
191 cc1 = tcpci_to_typec_cc((status >> TCPC_CC_STATUS_CC1_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()
Dtcpm.c321 enum typec_cc_status cc1; member
512 ((tcpm_cc_is_sink((port)->cc1) && !tcpm_cc_is_sink((port)->cc2)) || \
513 (tcpm_cc_is_sink((port)->cc2) && !tcpm_cc_is_sink((port)->cc1)))
520 ((tcpm_cc_is_source((port)->cc1) && \
523 !tcpm_cc_is_source((port)->cc1)))
526 (tcpm_cc_is_source((port)->cc1) && tcpm_cc_is_source((port)->cc2))
529 (tcpm_cc_is_audio((port)->cc1) && tcpm_cc_is_audio((port)->cc2))
532 ((tcpm_cc_is_audio((port)->cc1) && tcpm_cc_is_open((port)->cc2)) || \
533 (tcpm_cc_is_audio((port)->cc2) && tcpm_cc_is_open((port)->cc1)))
553 ((port)->cc1 == TYPEC_CC_RP_3_0 || (port)->cc2 == TYPEC_CC_RP_3_0))
[all …]
Dtcpci.c217 enum typec_cc_status *cc1, enum typec_cc_status *cc2) in tcpci_get_cc() argument
231 *cc1 = tcpci_to_typec_cc((reg >> TCPC_CC_STATUS_CC1_SHIFT) & in tcpci_get_cc()
249 enum typec_cc_status cc1, cc2; in tcpci_set_polarity() local
256 ret = tcpci_get_cc(tcpc, &cc1, &cc2); in tcpci_set_polarity()
282 if (cc1 == TYPEC_CC_RD) in tcpci_set_polarity()
Dwcove.c268 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-6.1.9/arch/alpha/kernel/
Dtime.c392 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()
Dcore_cia.c795 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-6.1.9/Documentation/trace/
Dtimerlat-tracer.rst92cc1-87882 [005] d..h... 548.771078: #402268 context irq timer_latency 13585 ns
93cc1-87882 [005] dNLh1.. 548.771082: irq_noise: local_timer:236 start 548.771077442 duration 75…
94cc1-87882 [005] dNLh2.. 548.771099: irq_noise: qxl:21 start 548.771085017 duration 7139 ns
95cc1-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-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dwq.h167 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.1.9/drivers/usb/typec/
Drt1719.c161 u16 cc1, cc2, cc_stat; in rt1719_get_pwr_opmode() local
163 cc1 = FIELD_GET(RT1719_CC1_STAT, stat); in rt1719_get_pwr_opmode()
170 cc_stat = cc1; 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()
Danx7411.c879 u8 cc1, cc2; in anx7411_chip_standby() local
887 cc1 = TCPC_ROLE_CTRL_CC_RD << TCPC_ROLE_CTRL_CC1_SHIFT; in anx7411_chip_standby()
890 TCPC_ROLE_CTRL_DRP | cc1 | cc2); in anx7411_chip_standby()
/linux-6.1.9/include/linux/usb/
Dtcpm.h127 int (*get_cc)(struct tcpc_dev *dev, enum typec_cc_status *cc1,
/linux-6.1.9/arch/m68k/ifpsp060/
Dfplsp.sa1647 dc.l $55554cc1,$3fc55555,$55554a54,$3fe00000