|
int(* | init )(const struct device *dev) |
|
int(* | get_cc )(const struct device *dev, enum tc_cc_voltage_state *cc1, enum tc_cc_voltage_state *cc2) |
|
int(* | select_rp_value )(const struct device *dev, enum tc_rp_value rp) |
|
int(* | get_rp_value )(const struct device *dev, enum tc_rp_value *rp) |
|
int(* | set_cc )(const struct device *dev, enum tc_cc_pull pull) |
|
void(* | set_vconn_discharge_cb )(const struct device *dev, tcpc_vconn_discharge_cb_t cb) |
|
void(* | set_vconn_cb )(const struct device *dev, tcpc_vconn_control_cb_t vconn_cb) |
|
int(* | vconn_discharge )(const struct device *dev, bool enable) |
|
int(* | set_vconn )(const struct device *dev, bool enable) |
|
int(* | set_roles )(const struct device *dev, enum tc_power_role power_role, enum tc_data_role data_role) |
|
int(* | get_rx_pending_msg )(const struct device *dev, struct pd_msg *msg) |
|
int(* | set_rx_enable )(const struct device *dev, bool enable) |
|
int(* | set_cc_polarity )(const struct device *dev, enum tc_cc_polarity polarity) |
|
int(* | transmit_data )(const struct device *dev, struct pd_msg *msg) |
|
int(* | dump_std_reg )(const struct device *dev) |
|
void(* | alert_handler_cb )(const struct device *dev, void *data, enum tcpc_alert alert) |
|
int(* | get_status_register )(const struct device *dev, enum tcpc_status_reg reg, uint32_t *status) |
|
int(* | clear_status_register )(const struct device *dev, enum tcpc_status_reg reg, uint32_t mask) |
|
int(* | mask_status_register )(const struct device *dev, enum tcpc_status_reg reg, uint32_t mask) |
|
int(* | set_debug_accessory )(const struct device *dev, bool enable) |
|
int(* | set_debug_detach )(const struct device *dev) |
|
int(* | set_drp_toggle )(const struct device *dev, bool enable) |
|
int(* | get_snk_ctrl )(const struct device *dev) |
|
int(* | set_snk_ctrl )(const struct device *dev, bool enable) |
|
int(* | get_src_ctrl )(const struct device *dev) |
|
int(* | set_src_ctrl )(const struct device *dev, bool enable) |
|
int(* | get_chip_info )(const struct device *dev, struct tcpc_chip_info *chip_info) |
|
int(* | set_low_power_mode )(const struct device *dev, bool enable) |
|
int(* | sop_prime_enable )(const struct device *dev, bool enable) |
|
int(* | set_bist_test_mode )(const struct device *dev, bool enable) |
|
int(* | set_alert_handler_cb )(const struct device *dev, tcpc_alert_handler_cb_t handler, void *data) |
|