Lines Matching refs:tcpc_dev

59 	struct tcpc_dev tcpc_dev;  member
245 static int tcpm_init(struct tcpc_dev *dev) in tcpm_init()
248 tcpc_dev); in tcpm_init()
276 static int tcpm_get_vbus(struct tcpc_dev *dev) in tcpm_get_vbus()
279 tcpc_dev); in tcpm_get_vbus()
284 static int tcpm_get_current_limit(struct tcpc_dev *dev)
288 tcpc_dev);
443 static int tcpm_set_cc(struct tcpc_dev *dev, enum typec_cc_status cc) in tcpm_set_cc()
446 tcpc_dev); in tcpm_set_cc()
541 static int tcpm_get_cc(struct tcpc_dev *dev, enum typec_cc_status *cc1, in tcpm_get_cc()
545 tcpc_dev); in tcpm_get_cc()
555 static int tcpm_set_polarity(struct tcpc_dev *dev, in tcpm_set_polarity()
561 static int tcpm_set_vconn(struct tcpc_dev *dev, bool on) in tcpm_set_vconn()
564 tcpc_dev); in tcpm_set_vconn()
588 static int tcpm_set_vbus(struct tcpc_dev *dev, bool on, bool charge) in tcpm_set_vbus()
592 tcpc_dev); in tcpm_set_vbus()
671 static int tcpm_set_pd_rx(struct tcpc_dev *dev, bool on) in tcpm_set_pd_rx()
674 tcpc_dev); in tcpm_set_pd_rx()
714 static int tcpm_set_roles(struct tcpc_dev *dev, bool attached, in tcpm_set_roles()
718 tcpc_dev); in tcpm_set_roles()
742 static int tcpm_start_toggling(struct tcpc_dev *dev, in tcpm_start_toggling()
747 tcpc_dev); in tcpm_start_toggling()
845 static int tcpm_pd_transmit(struct tcpc_dev *dev, enum tcpm_transmit_type type, in tcpm_pd_transmit()
849 tcpc_dev); in tcpm_pd_transmit()
936 static void fusb302_poll_event(struct tcpc_dev *dev) in fusb302_poll_event()
939 tcpc_dev); in fusb302_poll_event()
944 static int fusb302_enter_low_power_mode(struct tcpc_dev *dev, in fusb302_enter_low_power_mode()
948 tcpc_dev); in fusb302_enter_low_power_mode()
965 static void init_tcpc_dev(struct tcpc_dev *fusb302_tcpc_dev) in init_tcpc_dev()
1463 chip->tcpc_dev.connector_node = dev_read_subnode(dev, "connector"); in fusb302_probe()
1464 if (!ofnode_valid(chip->tcpc_dev.connector_node)) { in fusb302_probe()
1469 init_tcpc_dev(&chip->tcpc_dev); in fusb302_probe()
1480 chip->tcpm_port = tcpm_port_init(dev, &chip->tcpc_dev); in fusb302_probe()