Lines Matching defs:tcpc_dev
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
133 int (*set_current_limit)(struct tcpc_dev *dev, u32 max_ma, u32 mv); argument
134 int (*set_pd_rx)(struct tcpc_dev *dev, bool on); argument
135 int (*set_roles)(struct tcpc_dev *dev, bool attached, argument
137 int (*start_toggling)(struct tcpc_dev *dev, argument
140 int (*try_role)(struct tcpc_dev *dev, int role); argument
141 int (*pd_transmit)(struct tcpc_dev *dev, enum tcpm_transmit_type type, argument
143 int (*set_bist_data)(struct tcpc_dev *dev, bool on); argument
144 int (*enable_frs)(struct tcpc_dev *dev, bool enable); argument
145 void (*frs_sourcing_vbus)(struct tcpc_dev *dev); argument
146 int (*enable_auto_vbus_discharge)(struct tcpc_dev *dev, bool enable); argument
147 int (*set_auto_vbus_discharge_threshold)(struct tcpc_dev *dev, enum typec_pwr_opmode mode, argument
149 bool (*is_vbus_vsafe0v)(struct tcpc_dev *dev); argument
150 void (*set_partner_usb_comm_capable)(struct tcpc_dev *dev, bool enable); argument