D | tcpm.h | 118 struct tcpc_dev { struct 121 int (*init)(struct tcpc_dev *dev); argument 122 int (*get_vbus)(struct tcpc_dev *dev); argument 123 int (*get_current_limit)(struct tcpc_dev *dev); argument 124 int (*set_cc)(struct tcpc_dev *dev, enum typec_cc_status cc); argument 125 int (*apply_rc)(struct tcpc_dev *dev, enum typec_cc_status cc, argument 127 int (*get_cc)(struct tcpc_dev *dev, enum typec_cc_status *cc1, argument 129 int (*set_polarity)(struct tcpc_dev *dev, argument 131 int (*set_vconn)(struct tcpc_dev *dev, bool on); argument 132 int (*set_vbus)(struct tcpc_dev *dev, bool on, bool charge); argument [all …]
|