Searched refs:tcpm_port (Results 1 – 4 of 4) sorted by relevance
| /rk3399_rockchip-uboot/include/power/power_delivery/ |
| H A D | tcpm.h | 168 struct tcpm_port; 170 struct tcpm_port *tcpm_port_init(struct udevice *dev, struct tcpc_dev *tcpc); 171 void tcpm_poll_event(struct tcpm_port *port); 172 int tcpm_get_voltage(struct tcpm_port *port); 173 int tcpm_get_current(struct tcpm_port *port); 174 int tcpm_get_online(struct tcpm_port *port); 175 void tcpm_uninit_port(struct tcpm_port *port); 177 int tcpm_update_sink_capabilities(struct tcpm_port *port, const u32 *pdo, 181 void tcpm_vbus_change(struct tcpm_port *port); 182 void tcpm_cc_change(struct tcpm_port *port); [all …]
|
| /rk3399_rockchip-uboot/drivers/power/power_delivery/ |
| H A D | tcpm.c | 284 struct tcpm_port { struct 457 struct tcpm_port *port; argument 511 static enum tcpm_state tcpm_default_state(struct tcpm_port *port) in tcpm_default_state() 525 static bool tcpm_port_is_disconnected(struct tcpm_port *port) in tcpm_port_is_disconnected() 535 static void tcpm_set_cc(struct tcpm_port *port, enum typec_cc_status cc) in tcpm_set_cc() 547 static enum typec_cc_status tcpm_rp_cc(struct tcpm_port *port) in tcpm_rp_cc() 575 static int tcpm_pd_transmit(struct tcpm_port *port, in tcpm_pd_transmit() 619 void tcpm_pd_transmit_complete(struct tcpm_port *port, in tcpm_pd_transmit_complete() 629 static int tcpm_set_polarity(struct tcpm_port *port, in tcpm_set_polarity() 645 static int tcpm_set_vconn(struct tcpm_port *port, bool enable) in tcpm_set_vconn() [all …]
|
| H A D | fusb302.c | 58 struct tcpm_port *tcpm_port; member 919 tcpm_cc_change(chip->tcpm_port); in fusb302_bc_lvl_handler() 927 tcpm_cc_change(chip->tcpm_port); in fusb302_bc_lvl_handler() 1067 tcpm_cc_change(chip->tcpm_port); in fusb302_handle_togdone_snk() 1209 tcpm_cc_change(chip->tcpm_port); in fusb302_handle_togdone_src() 1313 tcpm_pd_transmit_complete(chip->tcpm_port, TCPC_TX_SUCCESS); in fusb302_pd_read_message() 1315 tcpm_pd_receive(chip->tcpm_port, msg); in fusb302_pd_read_message() 1363 tcpm_vbus_change(chip->tcpm_port); in fusb302_interrupt_handle() 1394 tcpm_cc_change(chip->tcpm_port); in fusb302_interrupt_handle() 1400 tcpm_pd_transmit_complete(chip->tcpm_port, TCPC_TX_FAILED); in fusb302_interrupt_handle() [all …]
|
| H A D | tcpci.c | 32 struct tcpm_port *port;
|