Home
last modified time | relevance | path

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

/linux-6.15/include/linux/usb/
H A Dtcpm.h134 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
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
152 int (*set_pd_rx)(struct tcpc_dev *dev, bool on); argument
155 int (*start_toggling)(struct tcpc_dev *dev, argument
158 int (*try_role)(struct tcpc_dev *dev, int role); argument
[all …]
/linux-6.15/drivers/usb/typec/tcpm/
H A Dtcpci.c42 struct tcpc_dev tcpc;
57 static inline struct tcpci *tcpc_to_tcpci(struct tcpc_dev *tcpc) in tcpc_to_tcpci()
180 static int tcpci_start_toggling(struct tcpc_dev *tcpc, in tcpci_start_toggling()
227 static int tcpci_get_cc(struct tcpc_dev *tcpc, in tcpci_get_cc()
252 static int tcpci_set_polarity(struct tcpc_dev *tcpc, in tcpci_set_polarity()
312 static int tcpci_set_orientation(struct tcpc_dev *tcpc, in tcpci_set_orientation()
433 static void tcpci_frs_sourcing_vbus(struct tcpc_dev *dev) in tcpci_frs_sourcing_vbus()
441 static void tcpci_check_contaminant(struct tcpc_dev *dev) in tcpci_check_contaminant()
494 static int tcpci_get_vbus(struct tcpc_dev *tcpc) in tcpci_get_vbus()
507 static bool tcpci_is_vbus_vsafe0v(struct tcpc_dev *tcpc) in tcpci_is_vbus_vsafe0v()
[all …]
H A Dfusb302.c78 struct tcpc_dev tcpc_dev; member
396 tcpc_dev); in tcpm_init()
427 tcpc_dev); in tcpm_get_vbus()
440 tcpc_dev); in tcpm_get_current_limit()
601 tcpc_dev); in tcpm_set_cc()
708 tcpc_dev); in tcpm_get_cc()
729 tcpc_dev); in tcpm_set_vconn()
760 tcpc_dev); in tcpm_set_vbus()
840 tcpc_dev); in tcpm_set_pd_rx()
887 tcpc_dev); in tcpm_set_roles()
[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()
330 static int wcove_set_roles(struct tcpc_dev *tcpc, bool attached, in wcove_set_roles()
349 static int wcove_set_pd_rx(struct tcpc_dev *tcpc, bool on) in wcove_set_pd_rx()
357 static int wcove_pd_transmit(struct tcpc_dev *tcpc, in wcove_pd_transmit()
[all …]
H A Dtcpm.c344 struct tcpc_dev *tcpc;
6687 struct tcpc_dev *tcpc = port->tcpc; in tcpm_try_role()
7693 struct tcpm_port *tcpm_register_port(struct device *dev, struct tcpc_dev *tcpc) in tcpm_register_port()
/linux-6.15/drivers/usb/typec/tcpm/qcom/
H A Dqcom_pmic_typec_pdphy_stub.c21 static int qcom_pmic_typec_pdphy_stub_pd_transmit(struct tcpc_dev *tcpc, in qcom_pmic_typec_pdphy_stub_pd_transmit()
37 static int qcom_pmic_typec_pdphy_stub_set_pd_rx(struct tcpc_dev *tcpc, bool on) in qcom_pmic_typec_pdphy_stub_set_pd_rx()
47 static int qcom_pmic_typec_pdphy_stub_set_roles(struct tcpc_dev *tcpc, bool attached, in qcom_pmic_typec_pdphy_stub_set_roles()
H A Dqcom_pmic_typec_port.c324 static int qcom_pmic_typec_port_get_vbus(struct tcpc_dev *tcpc) in qcom_pmic_typec_port_get_vbus()
337 static int qcom_pmic_typec_port_set_vbus(struct tcpc_dev *tcpc, bool on, bool sink) in qcom_pmic_typec_port_set_vbus()
361 static int qcom_pmic_typec_port_get_cc(struct tcpc_dev *tcpc, in qcom_pmic_typec_port_get_cc()
458 static int qcom_pmic_typec_port_set_cc(struct tcpc_dev *tcpc, in qcom_pmic_typec_port_set_cc()
526 static int qcom_pmic_typec_port_set_polarity(struct tcpc_dev *tcpc, in qcom_pmic_typec_port_set_polarity()
533 static int qcom_pmic_typec_port_set_vconn(struct tcpc_dev *tcpc, bool on) in qcom_pmic_typec_port_set_vconn()
572 static int qcom_pmic_typec_port_start_toggling(struct tcpc_dev *tcpc, in qcom_pmic_typec_port_start_toggling()
H A Dqcom_pmic_typec.h12 struct tcpc_dev tcpc;
H A Dqcom_pmic_typec_pdphy.c301 static int qcom_pmic_typec_pdphy_pd_transmit(struct tcpc_dev *tcpc, in qcom_pmic_typec_pdphy_pd_transmit()
408 static int qcom_pmic_typec_pdphy_set_pd_rx(struct tcpc_dev *tcpc, bool on) in qcom_pmic_typec_pdphy_set_pd_rx()
427 static int qcom_pmic_typec_pdphy_set_roles(struct tcpc_dev *tcpc, bool attached, in qcom_pmic_typec_pdphy_set_roles()
H A Dqcom_pmic_typec.c32 static int qcom_pmic_typec_init(struct tcpc_dev *tcpc) in qcom_pmic_typec_init()