Symbol: tcpm_port
drivers/usb/typec/tcpm/fusb302.c
1111
tcpm_cc_change(chip->tcpm_port);
drivers/usb/typec/tcpm/fusb302.c
1119
tcpm_cc_change(chip->tcpm_port);
drivers/usb/typec/tcpm/fusb302.c
1227
tcpm_cc_change(chip->tcpm_port);
drivers/usb/typec/tcpm/fusb302.c
1371
tcpm_cc_change(chip->tcpm_port);
drivers/usb/typec/tcpm/fusb302.c
1477
tcpm_pd_transmit_complete(chip->tcpm_port, TCPC_TX_SUCCESS);
drivers/usb/typec/tcpm/fusb302.c
1479
tcpm_pd_receive(chip->tcpm_port, msg, TCPC_TX_SOP);
drivers/usb/typec/tcpm/fusb302.c
1546
tcpm_vbus_change(chip->tcpm_port);
drivers/usb/typec/tcpm/fusb302.c
1579
tcpm_cc_change(chip->tcpm_port);
drivers/usb/typec/tcpm/fusb302.c
1585
tcpm_pd_transmit_complete(chip->tcpm_port, TCPC_TX_FAILED);
drivers/usb/typec/tcpm/fusb302.c
1590
tcpm_pd_transmit_complete(chip->tcpm_port, TCPC_TX_FAILED);
drivers/usb/typec/tcpm/fusb302.c
1600
tcpm_pd_transmit_complete(chip->tcpm_port, TCPC_TX_SUCCESS);
drivers/usb/typec/tcpm/fusb302.c
1620
tcpm_pd_hard_reset(chip->tcpm_port);
drivers/usb/typec/tcpm/fusb302.c
1759
chip->tcpm_port = tcpm_register_port(&client->dev, &chip->tcpc_dev);
drivers/usb/typec/tcpm/fusb302.c
1760
if (IS_ERR(chip->tcpm_port)) {
drivers/usb/typec/tcpm/fusb302.c
1761
ret = dev_err_probe(dev, PTR_ERR(chip->tcpm_port),
drivers/usb/typec/tcpm/fusb302.c
1783
tcpm_unregister_port(chip->tcpm_port);
drivers/usb/typec/tcpm/fusb302.c
1801
tcpm_unregister_port(chip->tcpm_port);
drivers/usb/typec/tcpm/fusb302.c
78
struct tcpm_port *tcpm_port;
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c
101
ret = tcpm->port_start(tcpm, tcpm->tcpm_port);
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c
105
ret = tcpm->pdphy_start(tcpm, tcpm->tcpm_port);
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c
120
tcpm_unregister_port(tcpm->tcpm_port);
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c
133
tcpm_unregister_port(tcpm->tcpm_port);
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c
95
tcpm->tcpm_port = tcpm_register_port(tcpm->dev, &tcpm->tcpc);
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c
96
if (IS_ERR(tcpm->tcpm_port)) {
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.c
97
ret = PTR_ERR(tcpm->tcpm_port);
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.h
11
struct tcpm_port *tcpm_port;
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.h
17
struct tcpm_port *tcpm_port);
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec.h
21
struct tcpm_port *tcpm_port);
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_pdphy.c
152
tcpm_pd_hard_reset(pmic_typec_pdphy->tcpm_port);
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_pdphy.c
370
tcpm_pd_receive(pmic_typec_pdphy->tcpm_port, &msg, TCPC_TX_SOP);
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_pdphy.c
388
tcpm_pd_transmit_complete(pmic_typec_pdphy->tcpm_port,
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_pdphy.c
395
tcpm_pd_transmit_complete(pmic_typec_pdphy->tcpm_port,
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_pdphy.c
399
tcpm_pd_transmit_complete(pmic_typec_pdphy->tcpm_port,
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_pdphy.c
511
struct tcpm_port *tcpm_port)
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_pdphy.c
521
pmic_typec_pdphy->tcpm_port = tcpm_port;
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_pdphy.c
93
struct tcpm_port *tcpm_port;
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_pdphy_stub.c
30
tcpm_pd_transmit_complete(tcpm->tcpm_port,
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_pdphy_stub.c
60
struct tcpm_port *tcpm_port)
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_port.c
169
struct tcpm_port *tcpm_port;
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_port.c
268
tcpm_vbus_change(pmic_typec_port->tcpm_port);
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_port.c
271
tcpm_cc_change(pmic_typec_port->tcpm_port);
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_port.c
352
tcpm_vbus_change(tcpm->tcpm_port);
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_port.c
639
struct tcpm_port *tcpm_port)
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_port.c
680
pmic_typec_port->tcpm_port = tcpm_port;
drivers/usb/typec/tcpm/tcpci.c
37
struct tcpm_port *port;
drivers/usb/typec/tcpm/tcpci.c
54
struct tcpm_port *tcpci_get_tcpm_port(struct tcpci *tcpci)
drivers/usb/typec/tcpm/tcpci_maxim.h
60
struct tcpm_port *port;
drivers/usb/typec/tcpm/tcpm.c
1005
static void tcpm_log(const struct tcpm_port *port, const char *fmt, ...) { }
drivers/usb/typec/tcpm/tcpm.c
1007
static void tcpm_log_force(struct tcpm_port *port, const char *fmt, ...) { }
drivers/usb/typec/tcpm/tcpm.c
1008
static void tcpm_log_source_caps(struct tcpm_port *port) { }
drivers/usb/typec/tcpm/tcpm.c
1009
static void tcpm_debugfs_init(const struct tcpm_port *port) { }
drivers/usb/typec/tcpm/tcpm.c
1010
static void tcpm_debugfs_exit(const struct tcpm_port *port) { }
drivers/usb/typec/tcpm/tcpm.c
1014
static void tcpm_set_cc(struct tcpm_port *port, enum typec_cc_status cc)
drivers/usb/typec/tcpm/tcpm.c
1021
static int tcpm_enable_auto_vbus_discharge(struct tcpm_port *port, bool enable)
drivers/usb/typec/tcpm/tcpm.c
1036
static void tcpm_apply_rc(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
1054
static enum typec_cc_status tcpm_rp_cc(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
1085
static void tcpm_ams_finish(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
1102
static int tcpm_pd_transmit(struct tcpm_port *port,
drivers/usb/typec/tcpm/tcpm.c
1176
void tcpm_pd_transmit_complete(struct tcpm_port *port,
drivers/usb/typec/tcpm/tcpm.c
1185
static int tcpm_mux_set(struct tcpm_port *port, int state,
drivers/usb/typec/tcpm/tcpm.c
1207
static int tcpm_set_polarity(struct tcpm_port *port,
drivers/usb/typec/tcpm/tcpm.c
1223
static int tcpm_set_vconn(struct tcpm_port *port, bool enable)
drivers/usb/typec/tcpm/tcpm.c
1238
static u32 tcpm_get_current_limit(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
1263
static int tcpm_set_current_limit(struct tcpm_port *port, u32 max_ma, u32 mv)
drivers/usb/typec/tcpm/tcpm.c
1279
static int tcpm_set_attached_state(struct tcpm_port *port, bool attached)
drivers/usb/typec/tcpm/tcpm.c
1285
static int tcpm_set_roles(struct tcpm_port *port, bool attached, int state,
drivers/usb/typec/tcpm/tcpm.c
1344
static int tcpm_set_pwr_role(struct tcpm_port *port, enum typec_role role)
drivers/usb/typec/tcpm/tcpm.c
1364
static u32 tcpm_forge_legacy_pdo(struct tcpm_port *port, u32 pdo, enum typec_role role)
drivers/usb/typec/tcpm/tcpm.c
1381
static int tcpm_pd_send_revision(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
1399
static int tcpm_pd_send_source_caps(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
1436
static int tcpm_pd_send_sink_caps(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
1473
static int tcpm_pd_send_sink_cap_ext(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
1531
static void mod_tcpm_delayed_work(struct tcpm_port *port, unsigned int delay_ms)
drivers/usb/typec/tcpm/tcpm.c
1541
static void mod_vdm_delayed_work(struct tcpm_port *port, unsigned int delay_ms)
drivers/usb/typec/tcpm/tcpm.c
1552
static void mod_enable_frs_delayed_work(struct tcpm_port *port, unsigned int delay_ms)
drivers/usb/typec/tcpm/tcpm.c
1562
static void mod_send_discover_delayed_work(struct tcpm_port *port, unsigned int delay_ms)
drivers/usb/typec/tcpm/tcpm.c
1572
static void tcpm_set_state(struct tcpm_port *port, enum tcpm_state state,
drivers/usb/typec/tcpm/tcpm.c
1601
static void tcpm_set_state_cond(struct tcpm_port *port, enum tcpm_state state,
drivers/usb/typec/tcpm/tcpm.c
1615
static void tcpm_queue_message(struct tcpm_port *port,
drivers/usb/typec/tcpm/tcpm.c
1622
static bool tcpm_vdm_ams(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
1644
static bool tcpm_ams_interruptible(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
1674
static int tcpm_ams_start(struct tcpm_port *port, enum tcpm_ams ams)
drivers/usb/typec/tcpm/tcpm.c
1768
static void tcpm_queue_vdm(struct tcpm_port *port, const u32 header,
drivers/usb/typec/tcpm/tcpm.c
1805
struct tcpm_port *port = event->port;
drivers/usb/typec/tcpm/tcpm.c
1821
static int tcpm_queue_vdm_unlocked(struct tcpm_port *port, const u32 header,
drivers/usb/typec/tcpm/tcpm.c
1853
static void svdm_consume_identity(struct tcpm_port *port, const u32 *p, int cnt)
drivers/usb/typec/tcpm/tcpm.c
1875
static void svdm_consume_identity_sop_prime(struct tcpm_port *port, const u32 *p, int cnt)
drivers/usb/typec/tcpm/tcpm.c
1935
static bool svdm_consume_svids(struct tcpm_port *port, const u32 *p, int cnt,
drivers/usb/typec/tcpm/tcpm.c
1985
static void svdm_consume_modes(struct tcpm_port *port, const u32 *p, int cnt,
drivers/usb/typec/tcpm/tcpm.c
2028
static void tcpm_register_partner_altmodes(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
2049
static void tcpm_register_plug_altmodes(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
2077
static bool tcpm_can_communicate_sop_prime(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
2124
static bool tcpm_attempt_vconn_swap_discovery(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
2149
static bool tcpm_cable_vdm_supported(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
2157
static int tcpm_handle_discover_mode(struct tcpm_port *port, u32 *response,
drivers/usb/typec/tcpm/tcpm.c
2206
static int tcpm_pd_svdm(struct tcpm_port *port, struct typec_altmode *adev,
drivers/usb/typec/tcpm/tcpm.c
2545
static void tcpm_pd_handle_msg(struct tcpm_port *port,
drivers/usb/typec/tcpm/tcpm.c
2549
static void tcpm_handle_vdm_request(struct tcpm_port *port,
drivers/usb/typec/tcpm/tcpm.c
2689
static void tcpm_send_vdm(struct tcpm_port *port, u32 vid, int cmd,
drivers/usb/typec/tcpm/tcpm.c
2753
static void vdm_run_state_machine(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
2944
struct tcpm_port *port = container_of(work, struct tcpm_port, vdm_state_machine);
drivers/usb/typec/tcpm/tcpm.c
2997
static enum pdo_err tcpm_caps_err(struct tcpm_port *port, const u32 *pdo,
drivers/usb/typec/tcpm/tcpm.c
3073
static int tcpm_validate_caps(struct tcpm_port *port, const u32 *pdo,
drivers/usb/typec/tcpm/tcpm.c
3088
struct tcpm_port *port = typec_altmode_get_drvdata(altmode);
drivers/usb/typec/tcpm/tcpm.c
3104
struct tcpm_port *port = typec_altmode_get_drvdata(altmode);
drivers/usb/typec/tcpm/tcpm.c
3121
struct tcpm_port *port = typec_altmode_get_drvdata(altmode);
drivers/usb/typec/tcpm/tcpm.c
3136
struct tcpm_port *port = typec_altmode_get_drvdata(altmode);
drivers/usb/typec/tcpm/tcpm.c
3152
struct tcpm_port *port = typec_altmode_get_drvdata(altmode);
drivers/usb/typec/tcpm/tcpm.c
3169
struct tcpm_port *port = typec_altmode_get_drvdata(altmode);
drivers/usb/typec/tcpm/tcpm.c
3183
static inline enum tcpm_state ready_state(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
3191
static int tcpm_pd_send_control(struct tcpm_port *port,
drivers/usb/typec/tcpm/tcpm.c
3195
static void tcpm_handle_alert(struct tcpm_port *port, const __le32 *payload,
drivers/usb/typec/tcpm/tcpm.c
3225
static int tcpm_set_auto_vbus_discharge_threshold(struct tcpm_port *port,
drivers/usb/typec/tcpm/tcpm.c
3245
static void tcpm_pd_handle_state(struct tcpm_port *port,
drivers/usb/typec/tcpm/tcpm.c
3278
static void tcpm_pd_handle_msg(struct tcpm_port *port,
drivers/usb/typec/tcpm/tcpm.c
3310
static int tcpm_register_source_caps(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
3338
static int tcpm_register_sink_caps(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
3361
static void tcpm_pd_data_request(struct tcpm_port *port,
drivers/usb/typec/tcpm/tcpm.c
3553
static void tcpm_aug_supply_req_complete(struct tcpm_port *port, int result)
drivers/usb/typec/tcpm/tcpm.c
3562
static void tcpm_pd_ctrl_request(struct tcpm_port *port,
drivers/usb/typec/tcpm/tcpm.c
3889
static void tcpm_pd_ext_msg_request(struct tcpm_port *port,
drivers/usb/typec/tcpm/tcpm.c
3954
struct tcpm_port *port = event->port;
drivers/usb/typec/tcpm/tcpm.c
4021
void tcpm_pd_receive(struct tcpm_port *port, const struct pd_message *msg,
drivers/usb/typec/tcpm/tcpm.c
4038
static int tcpm_pd_send_control(struct tcpm_port *port,
drivers/usb/typec/tcpm/tcpm.c
4080
static bool tcpm_send_queued_message(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
4156
static int tcpm_pd_check_request(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
4216
static int tcpm_pd_select_pdo(struct tcpm_port *port, int *sink_pdo,
drivers/usb/typec/tcpm/tcpm.c
4334
static unsigned int tcpm_pd_select_pps_apdo(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
4381
static int tcpm_pd_select_spr_avs_apdo(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
4463
static int tcpm_pd_build_request(struct tcpm_port *port, u32 *rdo)
drivers/usb/typec/tcpm/tcpm.c
4543
static int tcpm_pd_send_request(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
4570
static int tcpm_pd_build_pps_request(struct tcpm_port *port, u32 *rdo)
drivers/usb/typec/tcpm/tcpm.c
4630
static int tcpm_pd_build_spr_avs_request(struct tcpm_port *port, u32 *rdo)
drivers/usb/typec/tcpm/tcpm.c
4683
static int tcpm_pd_send_aug_supply_request(struct tcpm_port *port,
drivers/usb/typec/tcpm/tcpm.c
4715
static int tcpm_set_vbus(struct tcpm_port *port, bool enable)
drivers/usb/typec/tcpm/tcpm.c
4732
static int tcpm_set_charge(struct tcpm_port *port, bool charge)
drivers/usb/typec/tcpm/tcpm.c
4751
static bool tcpm_start_toggling(struct tcpm_port *port, enum typec_cc_status cc)
drivers/usb/typec/tcpm/tcpm.c
4763
static int tcpm_init_vbus(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
4773
static int tcpm_init_vconn(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
4782
static void tcpm_typec_connect(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
4808
static int tcpm_src_attach(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
4872
static void tcpm_typec_disconnect(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
4893
static void tcpm_unregister_altmodes(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
4912
static void tcpm_set_partner_usb_comm_capable(struct tcpm_port *port, bool capable)
drivers/usb/typec/tcpm/tcpm.c
4920
static void tcpm_partner_source_caps_reset(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
4928
static void tcpm_reset_port(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
4972
static void tcpm_detach(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
4988
static void tcpm_src_detach(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
4993
static int tcpm_snk_attach(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
5023
static void tcpm_snk_detach(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
5028
static int tcpm_acc_attach(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
5061
static void tcpm_acc_detach(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
5066
static inline enum tcpm_state hard_reset_state(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
5080
static inline enum tcpm_state unattached_state(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
5094
static void tcpm_swap_complete(struct tcpm_port *port, int result)
drivers/usb/typec/tcpm/tcpm.c
5131
static void tcpm_set_initial_svdm_version(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
5157
static void tcpm_set_initial_negotiated_rev(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
5176
static void run_state_machine(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
6347
struct tcpm_port *port = container_of(work, struct tcpm_port, state_machine);
drivers/usb/typec/tcpm/tcpm.c
6382
static void _tcpm_cc_change(struct tcpm_port *port, enum typec_cc_status cc1,
drivers/usb/typec/tcpm/tcpm.c
6599
static void _tcpm_pd_vbus_on(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
6689
static void _tcpm_pd_vbus_off(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
6793
static void _tcpm_pd_vbus_vsafe0v(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
6842
static void _tcpm_pd_hard_reset(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
6874
struct tcpm_port *port = container_of(work, struct tcpm_port,
drivers/usb/typec/tcpm/tcpm.c
6955
void tcpm_cc_change(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
6964
void tcpm_vbus_change(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
697
struct tcpm_port *port;
drivers/usb/typec/tcpm/tcpm.c
6973
void tcpm_pd_hard_reset(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
6982
void tcpm_sink_frs(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
6991
void tcpm_sourcing_vbus(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
7000
void tcpm_port_clean(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
7009
bool tcpm_port_is_toggling(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
7015
void tcpm_port_error_recovery(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
7026
struct tcpm_port *port = container_of(work, struct tcpm_port, enable_frs);
drivers/usb/typec/tcpm/tcpm.c
704
struct tcpm_port *port;
drivers/usb/typec/tcpm/tcpm.c
7059
struct tcpm_port *port = container_of(work, struct tcpm_port, send_discover_work);
drivers/usb/typec/tcpm/tcpm.c
7087
struct tcpm_port *port = typec_get_drvdata(p);
drivers/usb/typec/tcpm/tcpm.c
7159
struct tcpm_port *port = typec_get_drvdata(p);
drivers/usb/typec/tcpm/tcpm.c
7208
struct tcpm_port *port = typec_get_drvdata(p);
drivers/usb/typec/tcpm/tcpm.c
7253
struct tcpm_port *port = typec_get_drvdata(p);
drivers/usb/typec/tcpm/tcpm.c
7269
static int tcpm_aug_set_op_curr(struct tcpm_port *port, u16 req_op_curr_ma)
drivers/usb/typec/tcpm/tcpm.c
7335
static int tcpm_aug_set_out_volt(struct tcpm_port *port, u16 req_out_volt_mv)
drivers/usb/typec/tcpm/tcpm.c
7398
static int tcpm_pps_activate(struct tcpm_port *port, bool activate)
drivers/usb/typec/tcpm/tcpm.c
7456
static int tcpm_spr_avs_activate(struct tcpm_port *port, bool activate)
drivers/usb/typec/tcpm/tcpm.c
7520
static void tcpm_init(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
7569
struct tcpm_port *port = typec_get_drvdata(p);
drivers/usb/typec/tcpm/tcpm.c
7594
static struct pd_data *tcpm_find_pd_data(struct tcpm_port *port, struct usb_power_delivery *pd)
drivers/usb/typec/tcpm/tcpm.c
7608
struct tcpm_port *port = typec_get_drvdata(p);
drivers/usb/typec/tcpm/tcpm.c
7615
struct tcpm_port *port = typec_get_drvdata(p);
drivers/usb/typec/tcpm/tcpm.c
7716
void tcpm_tcpc_reset(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
7725
static void tcpm_port_unregister_pd(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
774
static enum tcpm_state tcpm_default_state(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
7741
static int tcpm_port_register_pd(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
7792
static void tcpm_fw_get_timings(struct tcpm_port *port, struct fwnode_handle *fwnode)
drivers/usb/typec/tcpm/tcpm.c
7820
static void tcpm_fw_get_pd_ident(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
7840
static void tcpm_parse_snk_pdos(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
788
static bool tcpm_port_is_disconnected(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
7896
static void tcpm_fw_get_sink_caps_ext(struct tcpm_port *port,
drivers/usb/typec/tcpm/tcpm.c
7943
static int tcpm_fw_get_caps(struct tcpm_port *port, struct fwnode_handle *fwnode)
drivers/usb/typec/tcpm/tcpm.c
804
static bool tcpm_log_full(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
811
static void _tcpm_log(struct tcpm_port *port, const char *fmt, va_list args)
drivers/usb/typec/tcpm/tcpm.c
8127
static int tcpm_fw_get_snk_vdos(struct tcpm_port *port, struct fwnode_handle *fwnode)
drivers/usb/typec/tcpm/tcpm.c
8166
static void tcpm_fw_get_pd_revision(struct tcpm_port *port, struct fwnode_handle *fwnode)
drivers/usb/typec/tcpm/tcpm.c
8207
static int tcpm_psy_get_online(struct tcpm_port *port,
drivers/usb/typec/tcpm/tcpm.c
8224
static int tcpm_psy_get_voltage_min(struct tcpm_port *port,
drivers/usb/typec/tcpm/tcpm.c
8237
static int tcpm_psy_get_voltage_max(struct tcpm_port *port,
drivers/usb/typec/tcpm/tcpm.c
8250
static int tcpm_psy_get_voltage_now(struct tcpm_port *port,
drivers/usb/typec/tcpm/tcpm.c
8258
static int tcpm_psy_get_current_max(struct tcpm_port *port,
drivers/usb/typec/tcpm/tcpm.c
8271
static int tcpm_psy_get_current_now(struct tcpm_port *port,
drivers/usb/typec/tcpm/tcpm.c
8279
static int tcpm_psy_get_input_power_limit(struct tcpm_port *port,
drivers/usb/typec/tcpm/tcpm.c
8304
struct tcpm_port *port = power_supply_get_drvdata(psy);
drivers/usb/typec/tcpm/tcpm.c
8340
static int tcpm_disable_pps_avs(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
8352
static int tcpm_psy_set_online(struct tcpm_port *port,
drivers/usb/typec/tcpm/tcpm.c
8388
struct tcpm_port *port = power_supply_get_drvdata(psy);
drivers/usb/typec/tcpm/tcpm.c
8431
static int devm_tcpm_psy_register(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
8470
struct tcpm_port *port = container_of(timer, struct tcpm_port, state_machine_timer);
drivers/usb/typec/tcpm/tcpm.c
8479
struct tcpm_port *port = container_of(timer, struct tcpm_port, vdm_state_machine_timer);
drivers/usb/typec/tcpm/tcpm.c
8488
struct tcpm_port *port = container_of(timer, struct tcpm_port, enable_frs_timer);
drivers/usb/typec/tcpm/tcpm.c
8497
struct tcpm_port *port = container_of(timer, struct tcpm_port, send_discover_timer);
drivers/usb/typec/tcpm/tcpm.c
8504
struct tcpm_port *tcpm_register_port(struct device *dev, struct tcpc_dev *tcpc)
drivers/usb/typec/tcpm/tcpm.c
8506
struct tcpm_port *port;
drivers/usb/typec/tcpm/tcpm.c
859
static void tcpm_log(struct tcpm_port *port, const char *fmt, ...)
drivers/usb/typec/tcpm/tcpm.c
8629
void tcpm_unregister_port(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
875
static void tcpm_log_force(struct tcpm_port *port, const char *fmt, ...)
drivers/usb/typec/tcpm/tcpm.c
884
static void tcpm_log_source_caps(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
960
struct tcpm_port *port = s->private;
drivers/usb/typec/tcpm/tcpm.c
977
static void tcpm_debugfs_init(struct tcpm_port *port)
drivers/usb/typec/tcpm/tcpm.c
988
static void tcpm_debugfs_exit(struct tcpm_port *port)
drivers/usb/typec/tcpm/wcove.c
155
struct tcpm_port *tcpm;
include/linux/usb/tcpci.h
236
struct tcpm_port;
include/linux/usb/tcpci.h
237
struct tcpm_port *tcpci_get_tcpm_port(struct tcpci *tcpci);
include/linux/usb/tcpm.h
175
struct tcpm_port;
include/linux/usb/tcpm.h
177
struct tcpm_port *tcpm_register_port(struct device *dev, struct tcpc_dev *tcpc);
include/linux/usb/tcpm.h
178
void tcpm_unregister_port(struct tcpm_port *port);
include/linux/usb/tcpm.h
180
void tcpm_vbus_change(struct tcpm_port *port);
include/linux/usb/tcpm.h
181
void tcpm_cc_change(struct tcpm_port *port);
include/linux/usb/tcpm.h
182
void tcpm_sink_frs(struct tcpm_port *port);
include/linux/usb/tcpm.h
183
void tcpm_sourcing_vbus(struct tcpm_port *port);
include/linux/usb/tcpm.h
184
void tcpm_pd_receive(struct tcpm_port *port,
include/linux/usb/tcpm.h
187
void tcpm_pd_transmit_complete(struct tcpm_port *port,
include/linux/usb/tcpm.h
189
void tcpm_pd_hard_reset(struct tcpm_port *port);
include/linux/usb/tcpm.h
190
void tcpm_tcpc_reset(struct tcpm_port *port);
include/linux/usb/tcpm.h
191
void tcpm_port_clean(struct tcpm_port *port);
include/linux/usb/tcpm.h
192
bool tcpm_port_is_toggling(struct tcpm_port *port);
include/linux/usb/tcpm.h
193
void tcpm_port_error_recovery(struct tcpm_port *port);