D | tcpm.h | 123 struct tcpc_dev { struct 126 int (*init)(struct tcpc_dev *dev); argument 127 int (*get_vbus)(struct tcpc_dev *dev); argument 128 int (*get_current_limit)(struct tcpc_dev *dev); argument 129 int (*set_cc)(struct tcpc_dev *dev, enum typec_cc_status cc); argument 130 int (*apply_rc)(struct tcpc_dev *dev, enum typec_cc_status cc, argument 132 int (*get_cc)(struct tcpc_dev *dev, enum typec_cc_status *cc1, argument 134 int (*set_polarity)(struct tcpc_dev *dev, argument 136 int (*set_vconn)(struct tcpc_dev *dev, bool on); argument 137 int (*set_vbus)(struct tcpc_dev *dev, bool on, bool charge); argument [all …]
|