H A D | tcpm.h | 134 struct tcpc_dev { struct 137 int (*init)(struct tcpc_dev *dev); argument 138 int (*get_vbus)(struct tcpc_dev *dev); argument 139 int (*get_current_limit)(struct tcpc_dev *dev); argument 140 int (*set_cc)(struct tcpc_dev *dev, enum typec_cc_status cc); argument 141 int (*apply_rc)(struct tcpc_dev *dev, enum typec_cc_status cc, argument 143 int (*get_cc)(struct tcpc_dev *dev, enum typec_cc_status *cc1, argument 145 int (*set_polarity)(struct tcpc_dev *dev, argument 147 int (*set_orientation)(struct tcpc_dev *dev, argument 149 int (*set_vconn)(struct tcpc_dev *dev, bool on); argument [all …]
|