/Zephyr-Core-3.4.0/subsys/usb/usb_c/ |
D | usbc_tc_src_states.c | 75 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 …]
|
D | usbc_tc_common.c | 39 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 …]
|
D | usbc_stack.c | 76 .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()
|
D | usbc_tc_snk_states.c | 176 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()
|
D | usbc_prl.c | 312 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 …]
|
D | usbc_stack.h | 101 const struct device *tcpc; member
|
D | usbc_pe_common.c | 183 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/ |
D | CMakeLists.txt | 3 add_subdirectory_ifdef(CONFIG_USBC_TCPC_DRIVER tcpc)
|
D | Kconfig | 6 source "drivers/usb_c/tcpc/Kconfig"
|
/Zephyr-Core-3.4.0/samples/subsys/usb_c/sink/boards/ |
D | stm32g081b_eval.overlay | 28 tcpc = <&ucpd1>;
|
D | b_g474e_dpow1.overlay | 27 tcpc = <&ucpd1>;
|
/Zephyr-Core-3.4.0/drivers/usb_c/tcpc/ |
D | Kconfig | 22 source "drivers/usb_c/tcpc/Kconfig.tcpc_stm32"
|
/Zephyr-Core-3.4.0/doc/hardware/peripherals/ |
D | index.rst | 56 tcpc.rst
|
D | tcpc.rst | 9 `TCPC <tcpc-specification_>`_ (USB Type-C Port Controller)
|
/Zephyr-Core-3.4.0/samples/subsys/usb_c/source/boards/ |
D | stm32g081b_eval.overlay | 68 tcpc = <&ucpd1>;
|