typec_port         58 drivers/usb/typec/class.c #define to_typec_port(_dev_) container_of(_dev_, struct typec_port, dev)
typec_port        166 drivers/usb/typec/class.c 	struct typec_port *port = typec_altmode2port(adev);
typec_port        308 drivers/usb/typec/class.c struct typec_port *typec_altmode2port(struct typec_altmode *alt)
typec_port        645 drivers/usb/typec/class.c struct typec_partner *typec_register_partner(struct typec_port *port,
typec_port        863 drivers/usb/typec/class.c struct typec_cable *typec_register_cable(struct typec_port *port,
typec_port        949 drivers/usb/typec/class.c 	struct typec_port *port = to_typec_port(dev);
typec_port        983 drivers/usb/typec/class.c 	struct typec_port *port = to_typec_port(dev);
typec_port        999 drivers/usb/typec/class.c 	struct typec_port *port = to_typec_port(dev);
typec_port       1030 drivers/usb/typec/class.c 	struct typec_port *port = to_typec_port(dev);
typec_port       1044 drivers/usb/typec/class.c 	struct typec_port *port = to_typec_port(dev);
typec_port       1087 drivers/usb/typec/class.c 	struct typec_port *port = to_typec_port(dev);
typec_port       1101 drivers/usb/typec/class.c 	struct typec_port *port = to_typec_port(dev);
typec_port       1138 drivers/usb/typec/class.c 	struct typec_port *port = to_typec_port(dev);
typec_port       1159 drivers/usb/typec/class.c 	struct typec_port *port = to_typec_port(dev);
typec_port       1169 drivers/usb/typec/class.c 	struct typec_port *port = to_typec_port(dev);
typec_port       1197 drivers/usb/typec/class.c 	struct typec_port *port = to_typec_port(dev);
typec_port       1208 drivers/usb/typec/class.c 	struct typec_port *port = to_typec_port(dev);
typec_port       1231 drivers/usb/typec/class.c 	struct typec_port *port = to_typec_port(dev);
typec_port       1242 drivers/usb/typec/class.c 	struct typec_port *p = to_typec_port(dev);
typec_port       1275 drivers/usb/typec/class.c 	struct typec_port *port = to_typec_port(dev);
typec_port       1301 drivers/usb/typec/class.c void typec_set_data_role(struct typec_port *port, enum typec_data_role role)
typec_port       1319 drivers/usb/typec/class.c void typec_set_pwr_role(struct typec_port *port, enum typec_role role)
typec_port       1338 drivers/usb/typec/class.c void typec_set_vconn_role(struct typec_port *port, enum typec_role role)
typec_port       1364 drivers/usb/typec/class.c void typec_set_pwr_opmode(struct typec_port *port,
typec_port       1444 drivers/usb/typec/class.c int typec_set_orientation(struct typec_port *port,
typec_port       1467 drivers/usb/typec/class.c enum typec_orientation typec_get_orientation(struct typec_port *port)
typec_port       1481 drivers/usb/typec/class.c int typec_set_mode(struct typec_port *port, int mode)
typec_port       1500 drivers/usb/typec/class.c typec_port_register_altmode(struct typec_port *port,
typec_port       1529 drivers/usb/typec/class.c struct typec_port *typec_register_port(struct device *parent,
typec_port       1532 drivers/usb/typec/class.c 	struct typec_port *port;
typec_port       1624 drivers/usb/typec/class.c void typec_unregister_port(struct typec_port *port)
typec_port        201 drivers/usb/typec/tcpm/tcpm.c 	struct typec_port *typec_port;
typec_port        665 drivers/usb/typec/tcpm/tcpm.c 	ret = typec_set_orientation(port->typec_port, orientation);
typec_port        675 drivers/usb/typec/tcpm/tcpm.c 	return typec_set_mode(port->typec_port, state);
typec_port        703 drivers/usb/typec/tcpm/tcpm.c 		typec_set_vconn_role(port->typec_port, port->vconn_role);
typec_port        815 drivers/usb/typec/tcpm/tcpm.c 	typec_set_data_role(port->typec_port, data);
typec_port        816 drivers/usb/typec/tcpm/tcpm.c 	typec_set_pwr_role(port->typec_port, role);
typec_port        831 drivers/usb/typec/tcpm/tcpm.c 	typec_set_pwr_role(port->typec_port, role);
typec_port       2610 drivers/usb/typec/tcpm/tcpm.c 		port->partner = typec_register_partner(port->typec_port,
typec_port       2955 drivers/usb/typec/tcpm/tcpm.c 		typec_set_pwr_opmode(port->typec_port, opmode);
typec_port       3031 drivers/usb/typec/tcpm/tcpm.c 		typec_set_pwr_opmode(port->typec_port, TYPEC_PWR_MODE_PD);
typec_port       3155 drivers/usb/typec/tcpm/tcpm.c 		typec_set_pwr_opmode(port->typec_port, opmode);
typec_port       3256 drivers/usb/typec/tcpm/tcpm.c 			typec_set_pwr_opmode(port->typec_port,
typec_port       4820 drivers/usb/typec/tcpm/tcpm.c 	port->typec_port = typec_register_port(port->dev, &port->typec_caps);
typec_port       4821 drivers/usb/typec/tcpm/tcpm.c 	if (IS_ERR(port->typec_port)) {
typec_port       4822 drivers/usb/typec/tcpm/tcpm.c 		err = PTR_ERR(port->typec_port);
typec_port       4833 drivers/usb/typec/tcpm/tcpm.c 			alt = typec_port_register_altmode(port->typec_port,
typec_port       4872 drivers/usb/typec/tcpm/tcpm.c 	typec_unregister_port(port->typec_port);
typec_port         94 drivers/usb/typec/tps6598x.c 	struct typec_port *port;
typec_port        417 drivers/usb/typec/ucsi/ucsi.h 	struct typec_port *port;
typec_port         16 include/linux/usb/typec.h struct typec_port;
typec_port        117 include/linux/usb/typec.h *typec_port_register_altmode(struct typec_port *port,
typec_port        121 include/linux/usb/typec.h struct typec_port *typec_altmode2port(struct typec_altmode *alt);
typec_port        218 include/linux/usb/typec.h struct typec_port *typec_register_port(struct device *parent,
typec_port        220 include/linux/usb/typec.h void typec_unregister_port(struct typec_port *port);
typec_port        222 include/linux/usb/typec.h struct typec_partner *typec_register_partner(struct typec_port *port,
typec_port        226 include/linux/usb/typec.h struct typec_cable *typec_register_cable(struct typec_port *port,
typec_port        234 include/linux/usb/typec.h void typec_set_data_role(struct typec_port *port, enum typec_data_role role);
typec_port        235 include/linux/usb/typec.h void typec_set_pwr_role(struct typec_port *port, enum typec_role role);
typec_port        236 include/linux/usb/typec.h void typec_set_vconn_role(struct typec_port *port, enum typec_role role);
typec_port        237 include/linux/usb/typec.h void typec_set_pwr_opmode(struct typec_port *port, enum typec_pwr_opmode mode);
typec_port        239 include/linux/usb/typec.h int typec_set_orientation(struct typec_port *port,
typec_port        241 include/linux/usb/typec.h enum typec_orientation typec_get_orientation(struct typec_port *port);
typec_port        242 include/linux/usb/typec.h int typec_set_mode(struct typec_port *port, int mode);