Lines Matching full:tcpc
47 * cleared when the message is sent to the TCPC layer.
312 tcpc_set_rx_enable(data->tcpc, false); in prl_run()
363 * @brief Alert Handler called by the TCPC driver
365 static void alert_handler(const struct device *tcpc, void *port_dev, enum tcpc_alert alert) in alert_handler() argument
475 const struct device *tcpc = data->tcpc; in prl_tx_construct_message() local
498 tcpc_transmit_data(tcpc, &prl_tx->emsg); in prl_tx_construct_message()
508 const struct device *tcpc = data->tcpc; in prl_hr_send_msg_to_phy() local
522 tcpc_transmit_data(tcpc, &prl_tx->emsg); in prl_hr_send_msg_to_phy()
542 * Set TCPC alert handler so we are notified when messages in prl_init()
545 tcpc_set_alert_handler_cb(data->tcpc, alert_handler, (void *)dev); in prl_init()
577 const struct device *tcpc = data->tcpc; in prl_tx_phy_layer_reset_entry() local
582 tcpc_set_rx_enable(tcpc, tc_is_in_attached_state(dev)); in prl_tx_phy_layer_reset_entry()
900 const struct device *tcpc = data->tcpc; in prl_tx_snk_pending_run() local
907 tcpc_get_cc(tcpc, &cc1, &cc2); in prl_tx_snk_pending_run()
1009 const struct device *tcpc = data->tcpc; in prl_hr_reset_layer_entry() local
1026 tcpc_set_rx_enable(tcpc, false); in prl_hr_reset_layer_entry()
1171 const struct device *tcpc = data->tcpc; in prl_rx_wait_for_phy_message() local
1180 if (tcpc_get_rx_pending_msg(tcpc, rx_emsg) <= 0) { in prl_rx_wait_for_phy_message()