Symbol: tcpc_dev
drivers/usb/typec/tcpm/fusb302.c
1030
static int tcpm_pd_transmit(struct tcpc_dev *dev, enum tcpm_transmit_type type,
drivers/usb/typec/tcpm/fusb302.c
1034
tcpc_dev);
drivers/usb/typec/tcpm/fusb302.c
1127
static void init_tcpc_dev(struct tcpc_dev *fusb302_tcpc_dev)
drivers/usb/typec/tcpm/fusb302.c
1735
init_tcpc_dev(&chip->tcpc_dev);
drivers/usb/typec/tcpm/fusb302.c
1746
chip->tcpc_dev.fwnode = fusb302_fwnode_get(dev);
drivers/usb/typec/tcpm/fusb302.c
1747
if (IS_ERR(chip->tcpc_dev.fwnode)) {
drivers/usb/typec/tcpm/fusb302.c
1748
ret = PTR_ERR(chip->tcpc_dev.fwnode);
drivers/usb/typec/tcpm/fusb302.c
1752
bridge_dev = devm_drm_dp_hpd_bridge_alloc(chip->dev, to_of_node(chip->tcpc_dev.fwnode));
drivers/usb/typec/tcpm/fusb302.c
1759
chip->tcpm_port = tcpm_register_port(&client->dev, &chip->tcpc_dev);
drivers/usb/typec/tcpm/fusb302.c
1785
fwnode_handle_put(chip->tcpc_dev.fwnode);
drivers/usb/typec/tcpm/fusb302.c
1802
fwnode_handle_put(chip->tcpc_dev.fwnode);
drivers/usb/typec/tcpm/fusb302.c
395
static int tcpm_init(struct tcpc_dev *dev)
drivers/usb/typec/tcpm/fusb302.c
398
tcpc_dev);
drivers/usb/typec/tcpm/fusb302.c
426
static int tcpm_get_vbus(struct tcpc_dev *dev)
drivers/usb/typec/tcpm/fusb302.c
429
tcpc_dev);
drivers/usb/typec/tcpm/fusb302.c
439
static int tcpm_get_current_limit(struct tcpc_dev *dev)
drivers/usb/typec/tcpm/fusb302.c
442
tcpc_dev);
drivers/usb/typec/tcpm/fusb302.c
600
static int tcpm_set_cc(struct tcpc_dev *dev, enum typec_cc_status cc)
drivers/usb/typec/tcpm/fusb302.c
603
tcpc_dev);
drivers/usb/typec/tcpm/fusb302.c
706
static int tcpm_get_cc(struct tcpc_dev *dev, enum typec_cc_status *cc1,
drivers/usb/typec/tcpm/fusb302.c
710
tcpc_dev);
drivers/usb/typec/tcpm/fusb302.c
722
static int tcpm_set_polarity(struct tcpc_dev *dev,
drivers/usb/typec/tcpm/fusb302.c
728
static int tcpm_set_vconn(struct tcpc_dev *dev, bool on)
drivers/usb/typec/tcpm/fusb302.c
731
tcpc_dev);
drivers/usb/typec/tcpm/fusb302.c
759
static int tcpm_set_vbus(struct tcpc_dev *dev, bool on, bool charge)
drivers/usb/typec/tcpm/fusb302.c
762
tcpc_dev);
drivers/usb/typec/tcpm/fusb302.c
79
struct tcpc_dev tcpc_dev;
drivers/usb/typec/tcpm/fusb302.c
839
static int tcpm_set_pd_rx(struct tcpc_dev *dev, bool on)
drivers/usb/typec/tcpm/fusb302.c
842
tcpc_dev);
drivers/usb/typec/tcpm/fusb302.c
892
static int tcpm_set_roles(struct tcpc_dev *dev, bool attached,
drivers/usb/typec/tcpm/fusb302.c
896
tcpc_dev);
drivers/usb/typec/tcpm/fusb302.c
923
static int tcpm_start_toggling(struct tcpc_dev *dev,
drivers/usb/typec/tcpm/fusb302.c
928
tcpc_dev);
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c
26
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
300
static int qcom_pmic_typec_pdphy_pd_transmit(struct tcpc_dev *tcpc,
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_pdphy.c
407
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
426
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
20
static int qcom_pmic_typec_pdphy_stub_pd_transmit(struct tcpc_dev *tcpc,
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_pdphy_stub.c
36
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
46
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
157
static int tcpci_apply_rc(struct tcpc_dev *tcpc, enum typec_cc_status cc,
drivers/usb/typec/tcpm/tcpci.c
180
static int tcpci_start_toggling(struct tcpc_dev *tcpc,
drivers/usb/typec/tcpm/tcpci.c
227
static int tcpci_get_cc(struct tcpc_dev *tcpc,
drivers/usb/typec/tcpm/tcpci.c
252
static int tcpci_set_polarity(struct tcpc_dev *tcpc,
drivers/usb/typec/tcpm/tcpci.c
312
static int tcpci_set_orientation(struct tcpc_dev *tcpc,
drivers/usb/typec/tcpm/tcpci.c
338
static void tcpci_set_partner_usb_comm_capable(struct tcpc_dev *tcpc, bool capable)
drivers/usb/typec/tcpm/tcpci.c
346
static int tcpci_set_vconn(struct tcpc_dev *tcpc, bool enable)
drivers/usb/typec/tcpm/tcpci.c
363
static int tcpci_enable_auto_vbus_discharge(struct tcpc_dev *dev, bool enable)
drivers/usb/typec/tcpm/tcpci.c
373
static int tcpci_set_auto_vbus_discharge_threshold(struct tcpc_dev *dev, enum typec_pwr_opmode mode,
drivers/usb/typec/tcpm/tcpci.c
421
static int tcpci_enable_frs(struct tcpc_dev *dev, bool enable)
drivers/usb/typec/tcpm/tcpci.c
437
static void tcpci_frs_sourcing_vbus(struct tcpc_dev *dev)
drivers/usb/typec/tcpm/tcpci.c
44
struct tcpc_dev tcpc;
drivers/usb/typec/tcpm/tcpci.c
445
static void tcpci_check_contaminant(struct tcpc_dev *dev)
drivers/usb/typec/tcpm/tcpci.c
453
static int tcpci_set_bist_data(struct tcpc_dev *tcpc, bool enable)
drivers/usb/typec/tcpm/tcpci.c
461
static int tcpci_set_roles(struct tcpc_dev *tcpc, bool attached,
drivers/usb/typec/tcpm/tcpci.c
480
static int tcpci_set_pd_rx(struct tcpc_dev *tcpc, bool enable)
drivers/usb/typec/tcpm/tcpci.c
498
static int tcpci_get_vbus(struct tcpc_dev *tcpc)
drivers/usb/typec/tcpm/tcpci.c
511
static bool tcpci_is_vbus_vsafe0v(struct tcpc_dev *tcpc)
drivers/usb/typec/tcpm/tcpci.c
524
static int tcpci_set_vbus(struct tcpc_dev *tcpc, bool source, bool sink)
drivers/usb/typec/tcpm/tcpci.c
569
static int tcpci_pd_transmit(struct tcpc_dev *tcpc, enum tcpm_transmit_type type,
drivers/usb/typec/tcpm/tcpci.c
60
static inline struct tcpci *tcpc_to_tcpci(struct tcpc_dev *tcpc)
drivers/usb/typec/tcpm/tcpci.c
631
static bool tcpci_cable_comm_capable(struct tcpc_dev *tcpc)
drivers/usb/typec/tcpm/tcpci.c
638
static bool tcpci_attempt_vconn_swap_discovery(struct tcpc_dev *tcpc)
drivers/usb/typec/tcpm/tcpci.c
648
static int tcpci_init(struct tcpc_dev *tcpc)
drivers/usb/typec/tcpm/tcpci.c
87
static int tcpci_set_cc(struct tcpc_dev *tcpc, enum typec_cc_status cc)
drivers/usb/typec/tcpm/tcpm.c
439
struct tcpc_dev *tcpc;
drivers/usb/typec/tcpm/tcpm.c
7254
struct tcpc_dev *tcpc = port->tcpc;
drivers/usb/typec/tcpm/tcpm.c
8504
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);