Symbol: tcpc_dev
drivers/usb/typec/tcpm/fusb302.c
1029
static int tcpm_pd_transmit(struct tcpc_dev *dev, enum tcpm_transmit_type type,
drivers/usb/typec/tcpm/fusb302.c
1033
tcpc_dev);
drivers/usb/typec/tcpm/fusb302.c
1126
static void init_tcpc_dev(struct tcpc_dev *fusb302_tcpc_dev)
drivers/usb/typec/tcpm/fusb302.c
1733
init_tcpc_dev(&chip->tcpc_dev);
drivers/usb/typec/tcpm/fusb302.c
1744
chip->tcpc_dev.fwnode = fusb302_fwnode_get(dev);
drivers/usb/typec/tcpm/fusb302.c
1745
if (IS_ERR(chip->tcpc_dev.fwnode)) {
drivers/usb/typec/tcpm/fusb302.c
1746
ret = PTR_ERR(chip->tcpc_dev.fwnode);
drivers/usb/typec/tcpm/fusb302.c
1750
chip->tcpm_port = tcpm_register_port(&client->dev, &chip->tcpc_dev);
drivers/usb/typec/tcpm/fusb302.c
1752
fwnode_handle_put(chip->tcpc_dev.fwnode);
drivers/usb/typec/tcpm/fusb302.c
1771
fwnode_handle_put(chip->tcpc_dev.fwnode);
drivers/usb/typec/tcpm/fusb302.c
1788
fwnode_handle_put(chip->tcpc_dev.fwnode);
drivers/usb/typec/tcpm/fusb302.c
394
static int tcpm_init(struct tcpc_dev *dev)
drivers/usb/typec/tcpm/fusb302.c
397
tcpc_dev);
drivers/usb/typec/tcpm/fusb302.c
425
static int tcpm_get_vbus(struct tcpc_dev *dev)
drivers/usb/typec/tcpm/fusb302.c
428
tcpc_dev);
drivers/usb/typec/tcpm/fusb302.c
438
static int tcpm_get_current_limit(struct tcpc_dev *dev)
drivers/usb/typec/tcpm/fusb302.c
441
tcpc_dev);
drivers/usb/typec/tcpm/fusb302.c
599
static int tcpm_set_cc(struct tcpc_dev *dev, enum typec_cc_status cc)
drivers/usb/typec/tcpm/fusb302.c
602
tcpc_dev);
drivers/usb/typec/tcpm/fusb302.c
705
static int tcpm_get_cc(struct tcpc_dev *dev, enum typec_cc_status *cc1,
drivers/usb/typec/tcpm/fusb302.c
709
tcpc_dev);
drivers/usb/typec/tcpm/fusb302.c
721
static int tcpm_set_polarity(struct tcpc_dev *dev,
drivers/usb/typec/tcpm/fusb302.c
727
static int tcpm_set_vconn(struct tcpc_dev *dev, bool on)
drivers/usb/typec/tcpm/fusb302.c
730
tcpc_dev);
drivers/usb/typec/tcpm/fusb302.c
758
static int tcpm_set_vbus(struct tcpc_dev *dev, bool on, bool charge)
drivers/usb/typec/tcpm/fusb302.c
761
tcpc_dev);
drivers/usb/typec/tcpm/fusb302.c
78
struct tcpc_dev tcpc_dev;
drivers/usb/typec/tcpm/fusb302.c
838
static int tcpm_set_pd_rx(struct tcpc_dev *dev, bool on)
drivers/usb/typec/tcpm/fusb302.c
841
tcpc_dev);
drivers/usb/typec/tcpm/fusb302.c
891
static int tcpm_set_roles(struct tcpc_dev *dev, bool attached,
drivers/usb/typec/tcpm/fusb302.c
895
tcpc_dev);
drivers/usb/typec/tcpm/fusb302.c
922
static int tcpm_start_toggling(struct tcpc_dev *dev,
drivers/usb/typec/tcpm/fusb302.c
927
tcpc_dev);
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c
32
static int qcom_pmic_typec_init(struct tcpc_dev *tcpc)
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.h
12
struct tcpc_dev tcpc;
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_pdphy.c
301
static int qcom_pmic_typec_pdphy_pd_transmit(struct tcpc_dev *tcpc,
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_pdphy.c
408
static int qcom_pmic_typec_pdphy_set_pd_rx(struct tcpc_dev *tcpc, bool on)
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_pdphy.c
427
static int qcom_pmic_typec_pdphy_set_roles(struct tcpc_dev *tcpc, bool attached,
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_pdphy_stub.c
21
static int qcom_pmic_typec_pdphy_stub_pd_transmit(struct tcpc_dev *tcpc,
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_pdphy_stub.c
37
static int qcom_pmic_typec_pdphy_stub_set_pd_rx(struct tcpc_dev *tcpc, bool on)
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_pdphy_stub.c
47
static int qcom_pmic_typec_pdphy_stub_set_roles(struct tcpc_dev *tcpc, bool attached,
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_port.c
324
static int qcom_pmic_typec_port_get_vbus(struct tcpc_dev *tcpc)
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_port.c
337
static int qcom_pmic_typec_port_set_vbus(struct tcpc_dev *tcpc, bool on, bool sink)
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_port.c
361
static int qcom_pmic_typec_port_get_cc(struct tcpc_dev *tcpc,
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_port.c
458
static int qcom_pmic_typec_port_set_cc(struct tcpc_dev *tcpc,
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_port.c
526
static int qcom_pmic_typec_port_set_polarity(struct tcpc_dev *tcpc,
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_port.c
533
static int qcom_pmic_typec_port_set_vconn(struct tcpc_dev *tcpc, bool on)
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_port.c
572
static int qcom_pmic_typec_port_start_toggling(struct tcpc_dev *tcpc,
drivers/usb/typec/tcpm/tcpci.c
158
static int tcpci_apply_rc(struct tcpc_dev *tcpc, enum typec_cc_status cc,
drivers/usb/typec/tcpm/tcpci.c
181
static int tcpci_start_toggling(struct tcpc_dev *tcpc,
drivers/usb/typec/tcpm/tcpci.c
228
static int tcpci_get_cc(struct tcpc_dev *tcpc,
drivers/usb/typec/tcpm/tcpci.c
253
static int tcpci_set_polarity(struct tcpc_dev *tcpc,
drivers/usb/typec/tcpm/tcpci.c
313
static int tcpci_set_orientation(struct tcpc_dev *tcpc,
drivers/usb/typec/tcpm/tcpci.c
335
static void tcpci_set_partner_usb_comm_capable(struct tcpc_dev *tcpc, bool capable)
drivers/usb/typec/tcpm/tcpci.c
343
static int tcpci_set_vconn(struct tcpc_dev *tcpc, bool enable)
drivers/usb/typec/tcpm/tcpci.c
360
static int tcpci_enable_auto_vbus_discharge(struct tcpc_dev *dev, bool enable)
drivers/usb/typec/tcpm/tcpci.c
370
static int tcpci_set_auto_vbus_discharge_threshold(struct tcpc_dev *dev, enum typec_pwr_opmode mode,
drivers/usb/typec/tcpm/tcpci.c
418
static int tcpci_enable_frs(struct tcpc_dev *dev, bool enable)
drivers/usb/typec/tcpm/tcpci.c
43
struct tcpc_dev tcpc;
drivers/usb/typec/tcpm/tcpci.c
434
static void tcpci_frs_sourcing_vbus(struct tcpc_dev *dev)
drivers/usb/typec/tcpm/tcpci.c
442
static void tcpci_check_contaminant(struct tcpc_dev *dev)
drivers/usb/typec/tcpm/tcpci.c
450
static int tcpci_set_bist_data(struct tcpc_dev *tcpc, bool enable)
drivers/usb/typec/tcpm/tcpci.c
458
static int tcpci_set_roles(struct tcpc_dev *tcpc, bool attached,
drivers/usb/typec/tcpm/tcpci.c
477
static int tcpci_set_pd_rx(struct tcpc_dev *tcpc, bool enable)
drivers/usb/typec/tcpm/tcpci.c
495
static int tcpci_get_vbus(struct tcpc_dev *tcpc)
drivers/usb/typec/tcpm/tcpci.c
508
static bool tcpci_is_vbus_vsafe0v(struct tcpc_dev *tcpc)
drivers/usb/typec/tcpm/tcpci.c
521
static int tcpci_set_vbus(struct tcpc_dev *tcpc, bool source, bool sink)
drivers/usb/typec/tcpm/tcpci.c
566
static int tcpci_pd_transmit(struct tcpc_dev *tcpc, enum tcpm_transmit_type type,
drivers/usb/typec/tcpm/tcpci.c
58
static inline struct tcpci *tcpc_to_tcpci(struct tcpc_dev *tcpc)
drivers/usb/typec/tcpm/tcpci.c
628
static bool tcpci_cable_comm_capable(struct tcpc_dev *tcpc)
drivers/usb/typec/tcpm/tcpci.c
635
static bool tcpci_attempt_vconn_swap_discovery(struct tcpc_dev *tcpc)
drivers/usb/typec/tcpm/tcpci.c
645
static int tcpci_init(struct tcpc_dev *tcpc)
drivers/usb/typec/tcpm/tcpci.c
85
static int tcpci_set_cc(struct tcpc_dev *tcpc, enum typec_cc_status cc)
drivers/usb/typec/tcpm/tcpm.c
349
struct tcpc_dev *tcpc;
drivers/usb/typec/tcpm/tcpm.c
6814
struct tcpc_dev *tcpc = port->tcpc;
drivers/usb/typec/tcpm/tcpm.c
7818
struct tcpm_port *tcpm_register_port(struct device *dev, struct tcpc_dev *tcpc)
drivers/usb/typec/tcpm/wcove.c
154
struct tcpc_dev tcpc;
drivers/usb/typec/tcpm/wcove.c
200
static int wcove_init(struct tcpc_dev *tcpc)
drivers/usb/typec/tcpm/wcove.c
217
static int wcove_get_vbus(struct tcpc_dev *tcpc)
drivers/usb/typec/tcpm/wcove.c
232
static int wcove_set_vbus(struct tcpc_dev *tcpc, bool on, bool sink)
drivers/usb/typec/tcpm/wcove.c
239
static int wcove_set_vconn(struct tcpc_dev *tcpc, bool on)
drivers/usb/typec/tcpm/wcove.c
268
static int wcove_get_cc(struct tcpc_dev *tcpc, enum typec_cc_status *cc1,
drivers/usb/typec/tcpm/wcove.c
290
static int wcove_set_cc(struct tcpc_dev *tcpc, enum typec_cc_status cc)
drivers/usb/typec/tcpm/wcove.c
318
static int wcove_set_polarity(struct tcpc_dev *tcpc, enum typec_cc_polarity pol)
drivers/usb/typec/tcpm/wcove.c
325
static int wcove_set_current_limit(struct tcpc_dev *tcpc, u32 max_ma, u32 mv)
drivers/usb/typec/tcpm/wcove.c
330
static int wcove_set_roles(struct tcpc_dev *tcpc, bool attached,
drivers/usb/typec/tcpm/wcove.c
349
static int wcove_set_pd_rx(struct tcpc_dev *tcpc, bool on)
drivers/usb/typec/tcpm/wcove.c
357
static int wcove_pd_transmit(struct tcpc_dev *tcpc,
drivers/usb/typec/tcpm/wcove.c
420
static int wcove_start_toggling(struct tcpc_dev *tcpc,
include/linux/usb/tcpm.h
137
int (*init)(struct tcpc_dev *dev);
include/linux/usb/tcpm.h
138
int (*get_vbus)(struct tcpc_dev *dev);
include/linux/usb/tcpm.h
139
int (*get_current_limit)(struct tcpc_dev *dev);
include/linux/usb/tcpm.h
140
int (*set_cc)(struct tcpc_dev *dev, enum typec_cc_status cc);
include/linux/usb/tcpm.h
141
int (*apply_rc)(struct tcpc_dev *dev, enum typec_cc_status cc,
include/linux/usb/tcpm.h
143
int (*get_cc)(struct tcpc_dev *dev, enum typec_cc_status *cc1,
include/linux/usb/tcpm.h
145
int (*set_polarity)(struct tcpc_dev *dev,
include/linux/usb/tcpm.h
147
int (*set_orientation)(struct tcpc_dev *dev,
include/linux/usb/tcpm.h
149
int (*set_vconn)(struct tcpc_dev *dev, bool on);
include/linux/usb/tcpm.h
150
int (*set_vbus)(struct tcpc_dev *dev, bool on, bool charge);
include/linux/usb/tcpm.h
151
int (*set_current_limit)(struct tcpc_dev *dev, u32 max_ma, u32 mv);
include/linux/usb/tcpm.h
152
int (*set_pd_rx)(struct tcpc_dev *dev, bool on);
include/linux/usb/tcpm.h
153
int (*set_roles)(struct tcpc_dev *dev, bool attached,
include/linux/usb/tcpm.h
155
int (*start_toggling)(struct tcpc_dev *dev,
include/linux/usb/tcpm.h
158
int (*try_role)(struct tcpc_dev *dev, int role);
include/linux/usb/tcpm.h
159
int (*pd_transmit)(struct tcpc_dev *dev, enum tcpm_transmit_type type,
include/linux/usb/tcpm.h
161
int (*set_bist_data)(struct tcpc_dev *dev, bool on);
include/linux/usb/tcpm.h
162
int (*enable_frs)(struct tcpc_dev *dev, bool enable);
include/linux/usb/tcpm.h
163
void (*frs_sourcing_vbus)(struct tcpc_dev *dev);
include/linux/usb/tcpm.h
164
int (*enable_auto_vbus_discharge)(struct tcpc_dev *dev, bool enable);
include/linux/usb/tcpm.h
165
int (*set_auto_vbus_discharge_threshold)(struct tcpc_dev *dev, enum typec_pwr_opmode mode,
include/linux/usb/tcpm.h
168
bool (*is_vbus_vsafe0v)(struct tcpc_dev *dev);
include/linux/usb/tcpm.h
169
void (*set_partner_usb_comm_capable)(struct tcpc_dev *dev, bool enable);
include/linux/usb/tcpm.h
170
void (*check_contaminant)(struct tcpc_dev *dev);
include/linux/usb/tcpm.h
171
bool (*cable_comm_capable)(struct tcpc_dev *dev);
include/linux/usb/tcpm.h
172
bool (*attempt_vconn_swap_discovery)(struct tcpc_dev *dev);
include/linux/usb/tcpm.h
177
struct tcpm_port *tcpm_register_port(struct device *dev, struct tcpc_dev *tcpc);