Lines Matching refs:device
109 static void prl_tx_construct_message(const struct device *dev);
110 static void prl_rx_wait_for_phy_message(const struct device *dev);
111 static void prl_hr_set_state(const struct device *dev, const enum usbc_prl_hr_state_t state);
112 static void prl_tx_set_state(const struct device *dev, const enum usbc_prl_tx_state_t state);
113 static void prl_init(const struct device *dev);
114 static enum usbc_prl_hr_state_t prl_hr_get_state(const struct device *dev);
120 void prl_subsys_init(const struct device *dev) in prl_subsys_init()
141 bool prl_is_running(const struct device *dev) in prl_is_running()
152 void prl_execute_hard_reset(const struct device *dev) in prl_execute_hard_reset()
170 void prl_hard_reset_complete(const struct device *dev) in prl_hard_reset_complete()
182 void prl_send_ctrl_msg(const struct device *dev, const enum pd_packet_type type, in prl_send_ctrl_msg()
205 void prl_send_data_msg(const struct device *dev, const enum pd_packet_type type, in prl_send_data_msg()
223 void prl_set_default_pd_revision(const struct device *dev) in prl_set_default_pd_revision()
242 void prl_start(const struct device *dev) in prl_start()
252 void prl_suspend(const struct device *dev) in prl_suspend()
269 void prl_reset(const struct device *dev) in prl_reset()
281 void prl_first_msg_notificaiton(const struct device *dev) in prl_first_msg_notificaiton()
292 void prl_run(const struct device *dev) in prl_run()
341 void prl_set_rev(const struct device *dev, const enum pd_packet_type type, in prl_set_rev()
353 enum pd_rev_type prl_get_rev(const struct device *dev, const enum pd_packet_type type) in prl_get_rev()
365 static void alert_handler(const struct device *tcpc, void *port_dev, enum tcpc_alert alert) in alert_handler()
367 const struct device *dev = (const struct device *)port_dev; in alert_handler()
397 static void prl_tx_set_state(const struct device *dev, const enum usbc_prl_tx_state_t state) in prl_tx_set_state()
409 static void prl_hr_set_state(const struct device *dev, const enum usbc_prl_hr_state_t state) in prl_hr_set_state()
421 static enum usbc_prl_hr_state_t prl_hr_get_state(const struct device *dev) in prl_hr_get_state()
432 static void increment_msgid_counter(const struct device *dev) in increment_msgid_counter()
449 static uint16_t get_sop_star_header(const struct device *dev) in get_sop_star_header()
471 static void prl_tx_construct_message(const struct device *dev) in prl_tx_construct_message()
475 const struct device *tcpc = data->tcpc; in prl_tx_construct_message()
504 static void prl_hr_send_msg_to_phy(const struct device *dev) in prl_hr_send_msg_to_phy()
508 const struct device *tcpc = data->tcpc; in prl_hr_send_msg_to_phy()
528 static void prl_init(const struct device *dev) in prl_init()
575 const struct device *dev = prl_tx->dev; in prl_tx_phy_layer_reset_entry()
577 const struct device *tcpc = data->tcpc; in prl_tx_phy_layer_reset_entry()
607 const struct device *dev = prl_tx->dev; in prl_tx_wait_for_message_request_run()
675 const struct device *dev = prl_tx->dev; in prl_tx_layer_reset_for_transmit_entry()
722 const struct device *dev = prl_tx->dev; in prl_tx_wait_for_phy_response_run()
761 const struct device *dev = prl_tx->dev; in prl_tx_wait_for_phy_response_exit()
776 const struct device *dev = prl_tx->dev; in prl_tx_src_source_tx_entry()
787 const struct device *dev = prl_tx->dev; in prl_tx_src_source_tx_run()
813 const struct device *dev = prl_tx->dev; in prl_tx_snk_start_ams_run()
844 const struct device *dev = prl_tx->dev; in prl_tx_src_pending_run()
898 const struct device *dev = prl_tx->dev; in prl_tx_snk_pending_run()
900 const struct device *tcpc = data->tcpc; in prl_tx_snk_pending_run()
983 const struct device *dev = prl_hr->dev; in prl_hr_wait_for_request_run()
1005 const struct device *dev = prl_hr->dev; in prl_hr_reset_layer_entry()
1009 const struct device *tcpc = data->tcpc; in prl_hr_reset_layer_entry()
1099 const struct device *dev = prl_hr->dev; in prl_hr_wait_for_phy_hard_reset_complete_run()
1140 const struct device *dev = prl_hr->dev; in prl_hr_wait_for_pe_hard_reset_complete_run()
1165 static void prl_rx_wait_for_phy_message(const struct device *dev) in prl_rx_wait_for_phy_message()
1171 const struct device *tcpc = data->tcpc; in prl_rx_wait_for_phy_message()