Lines Matching defs:tcpc_dev

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
150 int (*set_vbus)(struct tcpc_dev *dev, bool on, bool charge); argument
151 int (*set_current_limit)(struct tcpc_dev *dev, u32 max_ma, u32 mv); argument
152 int (*set_pd_rx)(struct tcpc_dev *dev, bool on); argument
153 int (*set_roles)(struct tcpc_dev *dev, bool attached, argument
155 int (*start_toggling)(struct tcpc_dev *dev, argument
158 int (*try_role)(struct tcpc_dev *dev, int role); argument
159 int (*pd_transmit)(struct tcpc_dev *dev, enum tcpm_transmit_type type, argument
161 int (*set_bist_data)(struct tcpc_dev *dev, bool on); argument
162 int (*enable_frs)(struct tcpc_dev *dev, bool enable); argument
163 void (*frs_sourcing_vbus)(struct tcpc_dev *dev); argument
164 int (*enable_auto_vbus_discharge)(struct tcpc_dev *dev, bool enable); argument
165 int (*set_auto_vbus_discharge_threshold)(struct tcpc_dev *dev, enum typec_pwr_opmode mode, argument
167 bool (*is_vbus_vsafe0v)(struct tcpc_dev *dev); argument
168 void (*set_partner_usb_comm_capable)(struct tcpc_dev *dev, bool enable); argument
169 void (*check_contaminant)(struct tcpc_dev *dev); argument
170 bool (*cable_comm_capable)(struct tcpc_dev *dev); argument
171 bool (*attempt_vconn_swap_discovery)(struct tcpc_dev *dev); argument