Home
last modified time | relevance | path

Searched refs:tcpc_dev (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/usb/typec/tcpm/
H A Dfusb302.c79 struct tcpc_dev tcpc_dev; member
395 static int tcpm_init(struct tcpc_dev *dev) in tcpm_init()
398 tcpc_dev); in tcpm_init()
426 static int tcpm_get_vbus(struct tcpc_dev *dev) in tcpm_get_vbus()
429 tcpc_dev); in tcpm_get_vbus()
439 static int tcpm_get_current_limit(struct tcpc_dev *dev) in tcpm_get_current_limit()
442 tcpc_dev); in tcpm_get_current_limit()
600 static int tcpm_set_cc(struct tcpc_dev *dev, enum typec_cc_status cc) in tcpm_set_cc()
603 tcpc_dev); in tcpm_set_cc()
706 static int tcpm_get_cc(struct tcpc_dev *dev, enum typec_cc_status *cc1, in tcpm_get_cc()
[all …]
H A Dwcove.c154 struct tcpc_dev tcpc;
200 static int wcove_init(struct tcpc_dev *tcpc) in wcove_init()
217 static int wcove_get_vbus(struct tcpc_dev *tcpc) in wcove_get_vbus()
232 static int wcove_set_vbus(struct tcpc_dev *tcpc, bool on, bool sink) in wcove_set_vbus()
239 static int wcove_set_vconn(struct tcpc_dev *tcpc, bool on) in wcove_set_vconn()
268 static int wcove_get_cc(struct tcpc_dev *tcpc, enum typec_cc_status *cc1, in wcove_get_cc()
290 static int wcove_set_cc(struct tcpc_dev *tcpc, enum typec_cc_status cc) in wcove_set_cc()
318 static int wcove_set_polarity(struct tcpc_dev *tcpc, enum typec_cc_polarity pol) in wcove_set_polarity()
325 static int wcove_set_current_limit(struct tcpc_dev *tcpc, u32 max_ma, u32 mv) in wcove_set_current_limit()
330 static int wcove_set_roles(struct tcpc_dev *tcpc, bool attached, in wcove_set_roles()
[all …]
H A Dtcpm.c439 struct tcpc_dev *tcpc;
7249 struct tcpc_dev *tcpc = port->tcpc; in tcpm_try_role()
8499 struct tcpm_port *tcpm_register_port(struct device *dev, struct tcpc_dev *tcpc) in tcpm_register_port()
/linux/drivers/usb/typec/tcpm/qcom/
H A Dqcom_pmic_typec.h12 struct tcpc_dev tcpc;