Home
last modified time | relevance | path

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

/linux/include/linux/usb/
H A Dtcpm.h59 * struct tcpc_dev - Port configuration and callback functions
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 *de argument
149 set_vconntcpc_dev global() argument
150 set_vbustcpc_dev global() argument
151 set_current_limittcpc_dev global() argument
152 set_pd_rxtcpc_dev global() argument
153 set_rolestcpc_dev global() argument
155 start_togglingtcpc_dev global() argument
158 try_roletcpc_dev global() argument
159 pd_transmittcpc_dev global() argument
161 set_bist_datatcpc_dev global() argument
162 enable_frstcpc_dev global() argument
163 frs_sourcing_vbustcpc_dev global() argument
164 enable_auto_vbus_dischargetcpc_dev global() argument
165 set_auto_vbus_discharge_thresholdtcpc_dev global() argument
168 is_vbus_vsafe0vtcpc_dev global() argument
169 set_partner_usb_comm_capabletcpc_dev global() argument
170 check_contaminanttcpc_dev global() argument
171 cable_comm_capabletcpc_dev global() argument
172 attempt_vconn_swap_discoverytcpc_dev global() argument
[all...]
/linux/drivers/usb/typec/tcpm/
H A Dtcpci.c43 struct tcpc_dev tcpc;
58 static inline struct tcpci *tcpc_to_tcpci(struct tcpc_dev *tcpc) in tcpc_to_tcpci()
85 static int tcpci_set_cc(struct tcpc_dev *tcpc, enum typec_cc_status cc) in tcpci_set_cc()
158 static int tcpci_apply_rc(struct tcpc_dev *tcpc, enum typec_cc_status cc, in tcpci_apply_rc()
181 static int tcpci_start_toggling(struct tcpc_dev *tcpc, in tcpci_start_toggling()
228 static int tcpci_get_cc(struct tcpc_dev *tcpc, in tcpci_get_cc()
253 static int tcpci_set_polarity(struct tcpc_dev *tcpc, in tcpci_set_polarity()
313 static int tcpci_set_orientation(struct tcpc_dev *tcpc, in tcpci_set_orientation()
335 static void tcpci_set_partner_usb_comm_capable(struct tcpc_dev *tcpc, bool capable) in tcpci_set_partner_usb_comm_capable()
343 static int tcpci_set_vconn(struct tcpc_dev *tcp
[all...]
H A Dfusb302.c78 struct tcpc_dev tcpc_dev; member
394 static int tcpm_init(struct tcpc_dev *dev) in tcpm_init()
397 tcpc_dev); in tcpm_init()
425 static int tcpm_get_vbus(struct tcpc_dev *dev) in tcpm_get_vbus()
428 tcpc_dev); in tcpm_get_vbus()
438 static int tcpm_get_current_limit(struct tcpc_dev *dev) in tcpm_get_current_limit()
441 tcpc_dev); in tcpm_get_current_limit()
599 static int tcpm_set_cc(struct tcpc_dev *dev, enum typec_cc_status cc) in tcpm_set_cc()
602 tcpc_dev); in tcpm_set_cc()
[all...]
H A Dtcpm.c349 struct tcpc_dev *tcpc;
6797 struct tcpc_dev *tcpc = port->tcpc; in tcpm_try_role()
7801 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_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.c32 static int qcom_pmic_typec_init(struct tcpc_dev *tcpc) in qcom_pmic_typec_init()