Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/usb/typec/tcpm/
A 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()
710 *cc1 = chip->cc1; in tcpm_get_cc()
1101 chip->cc1 = cc_status; in fusb302_bc_lvl_handler_work()
1215 if ((chip->cc1 != cc1) || (chip->cc2 != cc2)) { in fusb302_handle_togdone_snk()
1216 chip->cc1 = cc1; in fusb302_handle_togdone_snk()
1339 if (cc1 == TYPEC_CC_RD && in fusb302_handle_togdone_src()
1343 (cc1 == TYPEC_CC_OPEN || cc1 == TYPEC_CC_RA)) { in fusb302_handle_togdone_src()
1359 if ((chip->cc1 != cc1) || (chip->cc2 != cc2)) { in fusb302_handle_togdone_src()
[all …]
A 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()
A Dtcpm.c323 enum typec_cc_status cc1; member
529 ((tcpm_cc_is_source((port)->cc1) && \
532 !tcpm_cc_is_source((port)->cc1)))
586 port->cc1 == TYPEC_CC_OPEN) || in tcpm_port_is_disconnected()
4185 if ((port->cc1 == TYPEC_CC_OPEN && in run_state_machine()
4257 port->cc2 : port->cc1); in run_state_machine()
4931 old_cc1 = port->cc1; in _tcpm_cc_change()
4933 port->cc1 = cc1; in _tcpm_cc_change()
5424 enum typec_cc_status cc1, cc2; in tcpm_pd_event_handler() local
5954 enum typec_cc_status cc1, cc2; in tcpm_init() local
[all …]
A Dtcpci.c218 enum typec_cc_status *cc1, enum typec_cc_status *cc2) in tcpci_get_cc() argument
232 *cc1 = tcpci_to_typec_cc((reg >> TCPC_CC_STATUS_CC1_SHIFT) & in tcpci_get_cc()
250 enum typec_cc_status cc1, cc2; in tcpci_set_polarity() local
257 ret = tcpci_get_cc(tcpc, &cc1, &cc2); in tcpci_set_polarity()
283 if (cc1 == TYPEC_CC_RD) in tcpci_set_polarity()
A 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.3-rc2/arch/alpha/kernel/
A 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()
A 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.3-rc2/Documentation/trace/
A 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.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A 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.3-rc2/drivers/usb/typec/
A 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()
A 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.3-rc2/include/linux/usb/
A Dtcpm.h132 int (*get_cc)(struct tcpc_dev *dev, enum typec_cc_status *cc1,
/linux-6.3-rc2/arch/m68k/ifpsp060/
A Dfplsp.sa1647 dc.l $55554cc1,$3fc55555,$55554a54,$3fe00000

Completed in 54 milliseconds