tcpc_dev 78 drivers/usb/typec/tcpm/fusb302.c struct tcpc_dev tcpc_dev; tcpc_dev 392 drivers/usb/typec/tcpm/fusb302.c static int tcpm_init(struct tcpc_dev *dev) tcpc_dev 395 drivers/usb/typec/tcpm/fusb302.c tcpc_dev); tcpc_dev 423 drivers/usb/typec/tcpm/fusb302.c static int tcpm_get_vbus(struct tcpc_dev *dev) tcpc_dev 426 drivers/usb/typec/tcpm/fusb302.c tcpc_dev); tcpc_dev 436 drivers/usb/typec/tcpm/fusb302.c static int tcpm_get_current_limit(struct tcpc_dev *dev) tcpc_dev 439 drivers/usb/typec/tcpm/fusb302.c tcpc_dev); tcpc_dev 597 drivers/usb/typec/tcpm/fusb302.c static int tcpm_set_cc(struct tcpc_dev *dev, enum typec_cc_status cc) tcpc_dev 600 drivers/usb/typec/tcpm/fusb302.c tcpc_dev); tcpc_dev 701 drivers/usb/typec/tcpm/fusb302.c static int tcpm_get_cc(struct tcpc_dev *dev, enum typec_cc_status *cc1, tcpc_dev 705 drivers/usb/typec/tcpm/fusb302.c tcpc_dev); tcpc_dev 717 drivers/usb/typec/tcpm/fusb302.c static int tcpm_set_polarity(struct tcpc_dev *dev, tcpc_dev 723 drivers/usb/typec/tcpm/fusb302.c static int tcpm_set_vconn(struct tcpc_dev *dev, bool on) tcpc_dev 726 drivers/usb/typec/tcpm/fusb302.c tcpc_dev); tcpc_dev 754 drivers/usb/typec/tcpm/fusb302.c static int tcpm_set_vbus(struct tcpc_dev *dev, bool on, bool charge) tcpc_dev 757 drivers/usb/typec/tcpm/fusb302.c tcpc_dev); tcpc_dev 835 drivers/usb/typec/tcpm/fusb302.c static int tcpm_set_pd_rx(struct tcpc_dev *dev, bool on) tcpc_dev 838 drivers/usb/typec/tcpm/fusb302.c tcpc_dev); tcpc_dev 881 drivers/usb/typec/tcpm/fusb302.c static int tcpm_set_roles(struct tcpc_dev *dev, bool attached, tcpc_dev 885 drivers/usb/typec/tcpm/fusb302.c tcpc_dev); tcpc_dev 912 drivers/usb/typec/tcpm/fusb302.c static int tcpm_start_toggling(struct tcpc_dev *dev, tcpc_dev 917 drivers/usb/typec/tcpm/fusb302.c tcpc_dev); tcpc_dev 1019 drivers/usb/typec/tcpm/fusb302.c static int tcpm_pd_transmit(struct tcpc_dev *dev, enum tcpm_transmit_type type, tcpc_dev 1023 drivers/usb/typec/tcpm/fusb302.c tcpc_dev); tcpc_dev 1109 drivers/usb/typec/tcpm/fusb302.c static void init_tcpc_dev(struct tcpc_dev *fusb302_tcpc_dev) tcpc_dev 1730 drivers/usb/typec/tcpm/fusb302.c init_tcpc_dev(&chip->tcpc_dev); tcpc_dev 1741 drivers/usb/typec/tcpm/fusb302.c chip->tcpc_dev.fwnode = fusb302_fwnode_get(dev); tcpc_dev 1742 drivers/usb/typec/tcpm/fusb302.c if (IS_ERR(chip->tcpc_dev.fwnode)) { tcpc_dev 1743 drivers/usb/typec/tcpm/fusb302.c ret = PTR_ERR(chip->tcpc_dev.fwnode); tcpc_dev 1747 drivers/usb/typec/tcpm/fusb302.c chip->tcpm_port = tcpm_register_port(&client->dev, &chip->tcpc_dev); tcpc_dev 1749 drivers/usb/typec/tcpm/fusb302.c fwnode_handle_put(chip->tcpc_dev.fwnode); tcpc_dev 1770 drivers/usb/typec/tcpm/fusb302.c fwnode_handle_put(chip->tcpc_dev.fwnode); tcpc_dev 1787 drivers/usb/typec/tcpm/fusb302.c fwnode_handle_put(chip->tcpc_dev.fwnode); tcpc_dev 32 drivers/usb/typec/tcpm/tcpci.c struct tcpc_dev tcpc; tcpc_dev 41 drivers/usb/typec/tcpm/tcpci.c static inline struct tcpci *tcpc_to_tcpci(struct tcpc_dev *tcpc) tcpc_dev 56 drivers/usb/typec/tcpm/tcpci.c static int tcpci_set_cc(struct tcpc_dev *tcpc, enum typec_cc_status cc) tcpc_dev 103 drivers/usb/typec/tcpm/tcpci.c static int tcpci_start_toggling(struct tcpc_dev *tcpc, tcpc_dev 167 drivers/usb/typec/tcpm/tcpci.c static int tcpci_get_cc(struct tcpc_dev *tcpc, tcpc_dev 188 drivers/usb/typec/tcpm/tcpci.c static int tcpci_set_polarity(struct tcpc_dev *tcpc, tcpc_dev 213 drivers/usb/typec/tcpm/tcpci.c static int tcpci_set_vconn(struct tcpc_dev *tcpc, bool enable) tcpc_dev 230 drivers/usb/typec/tcpm/tcpci.c static int tcpci_set_roles(struct tcpc_dev *tcpc, bool attached, tcpc_dev 249 drivers/usb/typec/tcpm/tcpci.c static int tcpci_set_pd_rx(struct tcpc_dev *tcpc, bool enable) tcpc_dev 264 drivers/usb/typec/tcpm/tcpci.c static int tcpci_get_vbus(struct tcpc_dev *tcpc) tcpc_dev 277 drivers/usb/typec/tcpm/tcpci.c static int tcpci_set_vbus(struct tcpc_dev *tcpc, bool source, bool sink) tcpc_dev 315 drivers/usb/typec/tcpm/tcpci.c static int tcpci_pd_transmit(struct tcpc_dev *tcpc, tcpc_dev 349 drivers/usb/typec/tcpm/tcpci.c static int tcpci_init(struct tcpc_dev *tcpc) tcpc_dev 203 drivers/usb/typec/tcpm/tcpm.c struct tcpc_dev *tcpc; tcpc_dev 4154 drivers/usb/typec/tcpm/tcpm.c struct tcpc_dev *tcpc = port->tcpc; tcpc_dev 4752 drivers/usb/typec/tcpm/tcpm.c struct tcpm_port *tcpm_register_port(struct device *dev, struct tcpc_dev *tcpc) tcpc_dev 154 drivers/usb/typec/tcpm/wcove.c struct tcpc_dev tcpc; tcpc_dev 200 drivers/usb/typec/tcpm/wcove.c static int wcove_init(struct tcpc_dev *tcpc) tcpc_dev 217 drivers/usb/typec/tcpm/wcove.c static int wcove_get_vbus(struct tcpc_dev *tcpc) tcpc_dev 232 drivers/usb/typec/tcpm/wcove.c static int wcove_set_vbus(struct tcpc_dev *tcpc, bool on, bool sink) tcpc_dev 239 drivers/usb/typec/tcpm/wcove.c static int wcove_set_vconn(struct tcpc_dev *tcpc, bool on) tcpc_dev 268 drivers/usb/typec/tcpm/wcove.c static int wcove_get_cc(struct tcpc_dev *tcpc, enum typec_cc_status *cc1, tcpc_dev 290 drivers/usb/typec/tcpm/wcove.c static int wcove_set_cc(struct tcpc_dev *tcpc, enum typec_cc_status cc) tcpc_dev 318 drivers/usb/typec/tcpm/wcove.c static int wcove_set_polarity(struct tcpc_dev *tcpc, enum typec_cc_polarity pol) tcpc_dev 325 drivers/usb/typec/tcpm/wcove.c static int wcove_set_current_limit(struct tcpc_dev *tcpc, u32 max_ma, u32 mv) tcpc_dev 330 drivers/usb/typec/tcpm/wcove.c static int wcove_set_roles(struct tcpc_dev *tcpc, bool attached, tcpc_dev 349 drivers/usb/typec/tcpm/wcove.c static int wcove_set_pd_rx(struct tcpc_dev *tcpc, bool on) tcpc_dev 357 drivers/usb/typec/tcpm/wcove.c static int wcove_pd_transmit(struct tcpc_dev *tcpc, tcpc_dev 419 drivers/usb/typec/tcpm/wcove.c static int wcove_start_toggling(struct tcpc_dev *tcpc, tcpc_dev 127 include/linux/usb/tcpm.h int (*init)(struct tcpc_dev *dev); tcpc_dev 128 include/linux/usb/tcpm.h int (*get_vbus)(struct tcpc_dev *dev); tcpc_dev 129 include/linux/usb/tcpm.h int (*get_current_limit)(struct tcpc_dev *dev); tcpc_dev 130 include/linux/usb/tcpm.h int (*set_cc)(struct tcpc_dev *dev, enum typec_cc_status cc); tcpc_dev 131 include/linux/usb/tcpm.h int (*get_cc)(struct tcpc_dev *dev, enum typec_cc_status *cc1, tcpc_dev 133 include/linux/usb/tcpm.h int (*set_polarity)(struct tcpc_dev *dev, tcpc_dev 135 include/linux/usb/tcpm.h int (*set_vconn)(struct tcpc_dev *dev, bool on); tcpc_dev 136 include/linux/usb/tcpm.h int (*set_vbus)(struct tcpc_dev *dev, bool on, bool charge); tcpc_dev 137 include/linux/usb/tcpm.h int (*set_current_limit)(struct tcpc_dev *dev, u32 max_ma, u32 mv); tcpc_dev 138 include/linux/usb/tcpm.h int (*set_pd_rx)(struct tcpc_dev *dev, bool on); tcpc_dev 139 include/linux/usb/tcpm.h int (*set_roles)(struct tcpc_dev *dev, bool attached, tcpc_dev 141 include/linux/usb/tcpm.h int (*start_toggling)(struct tcpc_dev *dev, tcpc_dev 144 include/linux/usb/tcpm.h int (*try_role)(struct tcpc_dev *dev, int role); tcpc_dev 145 include/linux/usb/tcpm.h int (*pd_transmit)(struct tcpc_dev *dev, enum tcpm_transmit_type type, tcpc_dev 151 include/linux/usb/tcpm.h struct tcpm_port *tcpm_register_port(struct device *dev, struct tcpc_dev *tcpc);