Symbol: typec_port
drivers/extcon/extcon-rtk-type-c.c
101
struct typec_port *port;
drivers/extcon/extcon-rtk-type-c.c
699
static int type_c_port_dr_set(struct typec_port *port,
drivers/extcon/extcon-usbc-tusb320.c
234
static int tusb320_port_type_set(struct typec_port *port,
drivers/extcon/extcon-usbc-tusb320.c
281
struct typec_port *port = priv->port;
drivers/extcon/extcon-usbc-tusb320.c
80
struct typec_port *port;
drivers/platform/chrome/cros_ec_typec.c
132
static int cros_typec_dr_swap(struct typec_port *port, enum typec_data_role role)
drivers/platform/chrome/cros_ec_typec.c
137
static int cros_typec_pr_swap(struct typec_port *port, enum typec_role role)
drivers/platform/chrome/cros_ec_typec.c
47
static int cros_typec_enter_usb_mode(struct typec_port *tc_port, enum usb_mode mode)
drivers/platform/chrome/cros_ec_typec.c
61
static int cros_typec_perform_role_swap(struct typec_port *tc_port, int target_role, u8 swap_type)
drivers/platform/chrome/cros_ec_typec.c
829
struct typec_port *port = typec->ports[port_num]->port;
drivers/platform/chrome/cros_ec_typec.c
846
struct typec_port *port = typec->ports[port_num]->port;
drivers/platform/chrome/cros_ec_typec.h
48
struct typec_port *port;
drivers/usb/typec/anx7411.c
247
struct typec_port *port;
drivers/usb/typec/class.c
1106
struct typec_partner *typec_register_partner(struct typec_port *port,
drivers/usb/typec/class.c
1176
struct typec_port *port;
drivers/usb/typec/class.c
1397
struct typec_cable *typec_cable_get(struct typec_port *port)
drivers/usb/typec/class.c
1459
struct typec_cable *typec_register_cable(struct typec_port *port,
drivers/usb/typec/class.c
1522
void typec_port_set_usb_mode(struct typec_port *port, enum usb_mode mode)
drivers/usb/typec/class.c
1531
struct typec_port *port = to_typec_port(dev);
drivers/usb/typec/class.c
1554
struct typec_port *port = to_typec_port(dev);
drivers/usb/typec/class.c
1585
int typec_port_set_usb_power_delivery(struct typec_port *port, struct usb_power_delivery *pd)
drivers/usb/typec/class.c
1610
struct typec_port *port = to_typec_port(dev);
drivers/usb/typec/class.c
1631
struct typec_port *port = to_typec_port(dev);
drivers/usb/typec/class.c
1662
struct typec_port *port = to_typec_port(kobj_to_dev(kobj));
drivers/usb/typec/class.c
1715
struct typec_port *port = to_typec_port(dev);
drivers/usb/typec/class.c
1749
struct typec_port *port = to_typec_port(dev);
drivers/usb/typec/class.c
1765
struct typec_port *port = to_typec_port(dev);
drivers/usb/typec/class.c
1796
struct typec_port *port = to_typec_port(dev);
drivers/usb/typec/class.c
1810
struct typec_port *port = to_typec_port(dev);
drivers/usb/typec/class.c
1848
struct typec_port *port = to_typec_port(dev);
drivers/usb/typec/class.c
1862
struct typec_port *port = to_typec_port(dev);
drivers/usb/typec/class.c
1900
struct typec_port *port = to_typec_port(dev);
drivers/usb/typec/class.c
1921
struct typec_port *port = to_typec_port(dev);
drivers/usb/typec/class.c
1931
struct typec_port *port = to_typec_port(dev);
drivers/usb/typec/class.c
1959
struct typec_port *port = to_typec_port(dev);
drivers/usb/typec/class.c
1970
struct typec_port *port = to_typec_port(dev);
drivers/usb/typec/class.c
1993
struct typec_port *port = to_typec_port(dev);
drivers/usb/typec/class.c
2015
struct typec_port *p = to_typec_port(dev);
drivers/usb/typec/class.c
2026
struct typec_port *port = to_typec_port(dev);
drivers/usb/typec/class.c
2050
struct typec_port *port = to_typec_port(kobj_to_dev(kobj));
drivers/usb/typec/class.c
2111
struct typec_port *port = to_typec_port(dev);
drivers/usb/typec/class.c
2132
static struct typec_partner *typec_get_partner(struct typec_port *port)
drivers/usb/typec/class.c
2146
struct typec_port *port = container_of(con, struct typec_port, con);
drivers/usb/typec/class.c
2171
struct typec_port *port = container_of(con, struct typec_port, con);
drivers/usb/typec/class.c
2195
void typec_set_data_role(struct typec_port *port, enum typec_data_role role)
drivers/usb/typec/class.c
2224
enum typec_data_role typec_get_data_role(struct typec_port *port)
drivers/usb/typec/class.c
2237
void typec_set_pwr_role(struct typec_port *port, enum typec_role role)
drivers/usb/typec/class.c
2256
void typec_set_vconn_role(struct typec_port *port, enum typec_role role)
drivers/usb/typec/class.c
2277
void typec_set_pwr_opmode(struct typec_port *port,
drivers/usb/typec/class.c
2390
int typec_set_orientation(struct typec_port *port,
drivers/usb/typec/class.c
2413
enum typec_orientation typec_get_orientation(struct typec_port *port)
drivers/usb/typec/class.c
2427
int typec_set_mode(struct typec_port *port, int mode)
drivers/usb/typec/class.c
2450
int typec_get_negotiated_svdm_version(struct typec_port *port)
drivers/usb/typec/class.c
2479
int typec_get_cable_svdm_version(struct typec_port *port)
drivers/usb/typec/class.c
248
struct typec_port *port = typec_altmode2port(adev);
drivers/usb/typec/class.c
2513
void *typec_get_drvdata(struct typec_port *port)
drivers/usb/typec/class.c
2573
typec_port_register_altmode(struct typec_port *port,
drivers/usb/typec/class.c
2610
void typec_port_register_altmodes(struct typec_port *port,
drivers/usb/typec/class.c
2695
struct typec_port *typec_register_port(struct device *parent,
drivers/usb/typec/class.c
2698
struct typec_port *port;
drivers/usb/typec/class.c
2828
void typec_unregister_port(struct typec_port *port)
drivers/usb/typec/class.c
329
struct typec_port *typec_altmode2port(struct typec_altmode *alt)
drivers/usb/typec/class.c
477
struct typec_port *port = to_typec_port(alt->dev.parent);
drivers/usb/typec/class.c
537
struct typec_port *port = typec_altmode2port(adev);
drivers/usb/typec/class.c
765
struct typec_port *port = to_typec_port(dev->parent);
drivers/usb/typec/class.c
77
struct typec_port *port = to_typec_port(dev->parent);
drivers/usb/typec/class.c
843
struct typec_port *port = to_typec_port(partner->dev.parent);
drivers/usb/typec/class.h
108
int typec_link_ports(struct typec_port *connector);
drivers/usb/typec/class.h
109
void typec_unlink_ports(struct typec_port *connector);
drivers/usb/typec/class.h
111
static inline int typec_link_ports(struct typec_port *connector) { return 0; }
drivers/usb/typec/class.h
112
static inline void typec_unlink_ports(struct typec_port *connector) { }
drivers/usb/typec/class.h
88
#define to_typec_port(_dev_) container_of(_dev_, struct typec_port, dev)
drivers/usb/typec/hd3ss3220.c
188
static int hd3ss3220_try_role(struct typec_port *port, int role)
drivers/usb/typec/hd3ss3220.c
195
static int hd3ss3220_port_type_set(struct typec_port *port, enum typec_port_type type)
drivers/usb/typec/hd3ss3220.c
56
struct typec_port *port;
drivers/usb/typec/port-mapper.c
104
void typec_unlink_ports(struct typec_port *con)
drivers/usb/typec/port-mapper.c
18
struct typec_port *port = to_typec_port(dev);
drivers/usb/typec/port-mapper.c
25
struct typec_port *port = to_typec_port(dev);
drivers/usb/typec/port-mapper.c
36
struct typec_port *port;
drivers/usb/typec/port-mapper.c
79
int typec_link_ports(struct typec_port *con)
drivers/usb/typec/rt1719.c
393
static int rt1719_dr_set(struct typec_port *port, enum typec_data_role role)
drivers/usb/typec/rt1719.c
88
struct typec_port *port;
drivers/usb/typec/stusb160x.c
155
struct typec_port *port;
drivers/usb/typec/tcpm/tcpm.c
1091
ret = typec_set_orientation(port->typec_port, orientation);
drivers/usb/typec/tcpm/tcpm.c
1101
return typec_set_mode(port->typec_port, state);
drivers/usb/typec/tcpm/tcpm.c
1129
typec_set_vconn_role(port->typec_port, port->vconn_role);
drivers/usb/typec/tcpm/tcpm.c
1235
typec_set_data_role(port->typec_port, data);
drivers/usb/typec/tcpm/tcpm.c
1236
typec_set_pwr_role(port->typec_port, role);
drivers/usb/typec/tcpm/tcpm.c
1251
typec_set_pwr_role(port->typec_port, role);
drivers/usb/typec/tcpm/tcpm.c
1761
port->cable = typec_register_cable(port->typec_port, &port->cable_desc);
drivers/usb/typec/tcpm/tcpm.c
2004
struct typec_port *typec = port->typec_port;
drivers/usb/typec/tcpm/tcpm.c
2166
(typec_get_cable_svdm_version(port->typec_port) >
drivers/usb/typec/tcpm/tcpm.c
2460
port->typec_port);
drivers/usb/typec/tcpm/tcpm.c
2472
port->typec_port);
drivers/usb/typec/tcpm/tcpm.c
2517
svdm_version = typec_get_cable_svdm_version(port->typec_port);
drivers/usb/typec/tcpm/tcpm.c
2522
svdm_version = typec_get_negotiated_svdm_version(port->typec_port);
drivers/usb/typec/tcpm/tcpm.c
2527
svdm_version = typec_get_negotiated_svdm_version(port->typec_port);
drivers/usb/typec/tcpm/tcpm.c
2700
port->typec_port),
drivers/usb/typec/tcpm/tcpm.c
2908
svdm_version = typec_get_negotiated_svdm_version(port->typec_port);
drivers/usb/typec/tcpm/tcpm.c
2924
svdm_version = typec_get_negotiated_svdm_version(port->typec_port);
drivers/usb/typec/tcpm/tcpm.c
2956
svdm_version = typec_get_cable_svdm_version(port->typec_port);
drivers/usb/typec/tcpm/tcpm.c
2972
svdm_version = typec_get_cable_svdm_version(port->typec_port);
drivers/usb/typec/tcpm/tcpm.c
347
struct typec_port *typec_port;
drivers/usb/typec/tcpm/tcpm.c
4403
partner = typec_register_partner(port->typec_port, &port->partner_desc);
drivers/usb/typec/tcpm/tcpm.c
4889
typec_set_pwr_opmode(port->typec_port, opmode);
drivers/usb/typec/tcpm/tcpm.c
4982
typec_set_pwr_opmode(port->typec_port, TYPEC_PWR_MODE_PD);
drivers/usb/typec/tcpm/tcpm.c
5167
typec_set_pwr_opmode(port->typec_port, opmode);
drivers/usb/typec/tcpm/tcpm.c
5336
typec_set_pwr_opmode(port->typec_port,
drivers/usb/typec/tcpm/tcpm.c
6645
static int tcpm_dr_set(struct typec_port *p, enum typec_data_role data)
drivers/usb/typec/tcpm/tcpm.c
6717
static int tcpm_pr_set(struct typec_port *p, enum typec_role role)
drivers/usb/typec/tcpm/tcpm.c
6766
static int tcpm_vconn_set(struct typec_port *p, enum typec_role role)
drivers/usb/typec/tcpm/tcpm.c
6811
static int tcpm_try_role(struct typec_port *p, int role)
drivers/usb/typec/tcpm/tcpm.c
7051
static int tcpm_port_type_set(struct typec_port *p, enum typec_port_type type)
drivers/usb/typec/tcpm/tcpm.c
7090
static struct usb_power_delivery **tcpm_pd_get(struct typec_port *p)
drivers/usb/typec/tcpm/tcpm.c
7097
static int tcpm_pd_set(struct typec_port *p, struct usb_power_delivery *pd)
drivers/usb/typec/tcpm/tcpm.c
7912
port->typec_port = typec_register_port(port->dev, &port->typec_caps);
drivers/usb/typec/tcpm/tcpm.c
7913
if (IS_ERR(port->typec_port)) {
drivers/usb/typec/tcpm/tcpm.c
7914
err = PTR_ERR(port->typec_port);
drivers/usb/typec/tcpm/tcpm.c
7918
typec_port_register_altmodes(port->typec_port,
drivers/usb/typec/tcpm/tcpm.c
7961
typec_unregister_port(port->typec_port);
drivers/usb/typec/tipd/core.c
173
struct typec_port *port;
drivers/usb/typec/tipd/core.c
475
static int tps6598x_dr_set(struct typec_port *port, enum typec_data_role role)
drivers/usb/typec/tipd/core.c
505
static int tps6598x_pr_set(struct typec_port *port, enum typec_role role)
drivers/usb/typec/ucsi/ucsi.c
1504
static int ucsi_dr_swap(struct typec_port *port, enum typec_data_role role)
drivers/usb/typec/ucsi/ucsi.c
1548
static int ucsi_pr_swap(struct typec_port *port, enum typec_role role)
drivers/usb/typec/ucsi/ucsi.h
522
struct typec_port *port;
drivers/usb/typec/wusb3801.c
181
static int wusb3801_try_role(struct typec_port *port, int role)
drivers/usb/typec/wusb3801.c
190
static int wusb3801_port_type_set(struct typec_port *port,
drivers/usb/typec/wusb3801.c
222
struct typec_port *port = wusb3801->port;
drivers/usb/typec/wusb3801.c
90
struct typec_port *port;
include/linux/usb/typec.h
171
*typec_port_register_altmode(struct typec_port *port,
include/linux/usb/typec.h
174
void typec_port_register_altmodes(struct typec_port *port,
include/linux/usb/typec.h
183
struct typec_port *typec_altmode2port(struct typec_altmode *alt);
include/linux/usb/typec.h
19
struct typec_port;
include/linux/usb/typec.h
266
int (*try_role)(struct typec_port *port, int role);
include/linux/usb/typec.h
267
int (*dr_set)(struct typec_port *port, enum typec_data_role role);
include/linux/usb/typec.h
268
int (*pr_set)(struct typec_port *port, enum typec_role role);
include/linux/usb/typec.h
269
int (*vconn_set)(struct typec_port *port, enum typec_role role);
include/linux/usb/typec.h
270
int (*port_type_set)(struct typec_port *port,
include/linux/usb/typec.h
272
struct usb_power_delivery **(*pd_get)(struct typec_port *port);
include/linux/usb/typec.h
273
int (*pd_set)(struct typec_port *port, struct usb_power_delivery *pd);
include/linux/usb/typec.h
274
int (*default_usb_mode_set)(struct typec_port *port, enum usb_mode mode);
include/linux/usb/typec.h
275
int (*enter_usb_mode)(struct typec_port *port, enum usb_mode mode);
include/linux/usb/typec.h
325
struct typec_port *typec_register_port(struct device *parent,
include/linux/usb/typec.h
327
void typec_unregister_port(struct typec_port *port);
include/linux/usb/typec.h
329
struct typec_partner *typec_register_partner(struct typec_port *port,
include/linux/usb/typec.h
333
struct typec_cable *typec_register_cable(struct typec_port *port,
include/linux/usb/typec.h
337
struct typec_cable *typec_cable_get(struct typec_port *port);
include/linux/usb/typec.h
345
void typec_set_data_role(struct typec_port *port, enum typec_data_role role);
include/linux/usb/typec.h
346
enum typec_data_role typec_get_data_role(struct typec_port *port);
include/linux/usb/typec.h
347
void typec_set_pwr_role(struct typec_port *port, enum typec_role role);
include/linux/usb/typec.h
348
void typec_set_vconn_role(struct typec_port *port, enum typec_role role);
include/linux/usb/typec.h
349
void typec_set_pwr_opmode(struct typec_port *port, enum typec_pwr_opmode mode);
include/linux/usb/typec.h
351
int typec_set_orientation(struct typec_port *port,
include/linux/usb/typec.h
353
enum typec_orientation typec_get_orientation(struct typec_port *port);
include/linux/usb/typec.h
354
int typec_set_mode(struct typec_port *port, int mode);
include/linux/usb/typec.h
356
void *typec_get_drvdata(struct typec_port *port);
include/linux/usb/typec.h
369
int typec_get_negotiated_svdm_version(struct typec_port *port);
include/linux/usb/typec.h
371
int typec_get_cable_svdm_version(struct typec_port *port);
include/linux/usb/typec.h
377
int typec_port_set_usb_power_delivery(struct typec_port *port, struct usb_power_delivery *pd);
include/linux/usb/typec.h
382
void typec_port_set_usb_mode(struct typec_port *port, enum usb_mode mode);