Home
last modified time | relevance | path

Searched refs:tcpc (Results 1 – 15 of 15) sorted by relevance

/Zephyr-Core-3.4.0/subsys/usb/usb_c/
Dusbc_tc_src_states.c75 const struct device *tcpc = data->tcpc; in tc_unattached_wait_src_entry() local
80 tcpc_vconn_discharge(tcpc, true); in tc_unattached_wait_src_entry()
102 const struct device *tcpc = data->tcpc; in tc_unattached_wait_src_exit() local
105 tcpc_vconn_discharge(tcpc, false); in tc_unattached_wait_src_exit()
224 const struct device *tcpc = data->tcpc; in tc_attached_src_entry() local
229 tcpc_set_roles(tcpc, TC_ROLE_SOURCE, TC_ROLE_DFP); in tc_attached_src_entry()
232 tcpc_set_cc_polarity(tcpc, tc->cc_polarity); in tc_attached_src_entry()
238 if (tcpc_set_vconn(tcpc, true) == 0) { in tc_attached_src_entry()
289 const struct device *tcpc = data->tcpc; in tc_attached_src_exit() local
301 tcpc_set_vconn(tcpc, false); in tc_attached_src_exit()
[all …]
Dusbc_tc_common.c39 const struct device *tcpc = data->tcpc; in tc_run() local
69 tcpc_get_cc(tcpc, &tc->cc1, &tc->cc2); in tc_run()
107 const struct device *tcpc = data->tcpc; in tc_init() local
121 tcpc_init(tcpc); in tc_init()
128 tcpc_set_vconn(tcpc, false); in tc_init()
181 const struct device *tcpc = data->tcpc; in tc_select_src_collision_rp() local
184 tcpc_select_rp_value(tcpc, rp); in tc_select_src_collision_rp()
187 tcpc_set_cc(tcpc, TC_CC_RP); in tc_select_src_collision_rp()
198 const struct device *tcpc = data->tcpc; in tc_cc_open_entry() local
203 tcpc_set_vconn(tcpc, false); in tc_cc_open_entry()
[all …]
Dusbc_stack.c76 .tcpc = DEVICE_DT_GET(DT_INST_PROP(inst, tcpc)), \
306 const struct device *tcpc = data->tcpc; in usbc_set_vconn_control_cb() local
308 tcpc_set_vconn_cb(tcpc, cb); in usbc_set_vconn_control_cb()
319 const struct device *tcpc = data->tcpc; in usbc_set_vconn_discharge() local
321 tcpc_set_vconn_discharge_cb(tcpc, cb); in usbc_set_vconn_discharge()
364 const struct device *tcpc = data->tcpc; in usbc_subsys_init() local
367 if (!device_is_ready(tcpc)) { in usbc_subsys_init()
Dusbc_tc_snk_states.c176 const struct device *tcpc = data->tcpc; in tc_attached_snk_entry() local
181 tcpc_set_cc_polarity(tcpc, tc->cc_polarity); in tc_attached_snk_entry()
229 const struct device *tcpc = data->tcpc; in tc_cc_rd_entry() local
231 tcpc_set_cc(tcpc, TC_CC_RD); in tc_cc_rd_entry()
Dusbc_prl.c312 tcpc_set_rx_enable(data->tcpc, false); in prl_run()
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()
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
[all …]
Dusbc_stack.h101 const struct device *tcpc; member
Dusbc_pe_common.c183 tcpc_set_roles(data->tcpc, pe->power_role, pe->data_role); in pe_set_data_role()
830 tcpc_set_roles(data->tcpc, pe->power_role, pe->data_role); in pe_drs_send_swap_run()
/Zephyr-Core-3.4.0/drivers/usb_c/
DCMakeLists.txt3 add_subdirectory_ifdef(CONFIG_USBC_TCPC_DRIVER tcpc)
DKconfig6 source "drivers/usb_c/tcpc/Kconfig"
/Zephyr-Core-3.4.0/samples/subsys/usb_c/sink/boards/
Dstm32g081b_eval.overlay28 tcpc = <&ucpd1>;
Db_g474e_dpow1.overlay27 tcpc = <&ucpd1>;
/Zephyr-Core-3.4.0/drivers/usb_c/tcpc/
DKconfig22 source "drivers/usb_c/tcpc/Kconfig.tcpc_stm32"
/Zephyr-Core-3.4.0/doc/hardware/peripherals/
Dindex.rst56 tcpc.rst
Dtcpc.rst9 `TCPC <tcpc-specification_>`_ (USB Type-C Port Controller)
/Zephyr-Core-3.4.0/samples/subsys/usb_c/source/boards/
Dstm32g081b_eval.overlay68 tcpc = <&ucpd1>;