Searched refs:typec_port (Results 1 – 17 of 17) sorted by relevance
/linux-6.12.1/include/linux/usb/ |
D | typec.h | 19 struct typec_port; 154 *typec_port_register_altmode(struct typec_port *port, 157 void typec_port_register_altmodes(struct typec_port *port, 166 struct typec_port *typec_altmode2port(struct typec_altmode *alt); 245 int (*try_role)(struct typec_port *port, int role); 246 int (*dr_set)(struct typec_port *port, enum typec_data_role role); 247 int (*pr_set)(struct typec_port *port, enum typec_role role); 248 int (*vconn_set)(struct typec_port *port, enum typec_role role); 249 int (*port_type_set)(struct typec_port *port, 251 struct usb_power_delivery **(*pd_get)(struct typec_port *port); [all …]
|
/linux-6.12.1/drivers/usb/typec/ |
D | class.h | 45 struct typec_port { struct 81 #define to_typec_port(_dev_) container_of(_dev_, struct typec_port, dev) argument 101 int typec_link_ports(struct typec_port *connector); 102 void typec_unlink_ports(struct typec_port *connector); 104 static inline int typec_link_ports(struct typec_port *connector) { return 0; } in typec_link_ports() 105 static inline void typec_unlink_ports(struct typec_port *connector) { } in typec_unlink_ports()
|
D | port-mapper.c | 17 struct typec_port *port = to_typec_port(dev); in typec_aggregate_bind() 24 struct typec_port *port = to_typec_port(dev); in typec_aggregate_unbind() 35 struct typec_port *port; 60 int typec_link_ports(struct typec_port *con) in typec_link_ports() 85 void typec_unlink_ports(struct typec_port *con) in typec_unlink_ports()
|
D | class.c | 76 struct typec_port *port = to_typec_port(dev->parent); in get_pd_product_type() 240 struct typec_port *port = typec_altmode2port(adev); in typec_altmode_set_partner() 321 struct typec_port *typec_altmode2port(struct typec_altmode *alt) in typec_altmode2port() 902 struct typec_partner *typec_register_partner(struct typec_port *port, in typec_register_partner() 959 struct typec_port *port; in typec_unregister_partner() 1179 struct typec_cable *typec_cable_get(struct typec_port *port) in typec_cable_get() 1240 struct typec_cable *typec_register_cable(struct typec_port *port, in typec_register_cable() 1305 int typec_port_set_usb_power_delivery(struct typec_port *port, struct usb_power_delivery *pd) in typec_port_set_usb_power_delivery() 1330 struct typec_port *port = to_typec_port(dev); in select_usb_power_delivery_store() 1351 struct typec_port *port = to_typec_port(dev); in select_usb_power_delivery_show() [all …]
|
D | wusb3801.c | 90 struct typec_port *port; 181 static int wusb3801_try_role(struct typec_port *port, int role) in wusb3801_try_role() 190 static int wusb3801_port_type_set(struct typec_port *port, in wusb3801_port_type_set() 222 struct typec_port *port = wusb3801->port; in wusb3801_hw_update()
|
D | hd3ss3220.c | 40 struct typec_port *port; 79 static int hd3ss3220_dr_set(struct typec_port *port, enum typec_data_role role) in hd3ss3220_dr_set()
|
D | rt1719.c | 88 struct typec_port *port; 393 static int rt1719_dr_set(struct typec_port *port, enum typec_data_role role) in rt1719_dr_set()
|
D | stusb160x.c | 155 struct typec_port *port;
|
D | anx7411.c | 247 struct typec_port *port;
|
/linux-6.12.1/drivers/usb/typec/tcpm/ |
D | tcpm.c | 320 struct typec_port *typec_port; member 1035 ret = typec_set_orientation(port->typec_port, orientation); in tcpm_mux_set() 1045 return typec_set_mode(port->typec_port, state); in tcpm_mux_set() 1073 typec_set_vconn_role(port->typec_port, port->vconn_role); in tcpm_set_vconn() 1179 typec_set_data_role(port->typec_port, data); in tcpm_set_roles() 1180 typec_set_pwr_role(port->typec_port, role); in tcpm_set_roles() 1195 typec_set_pwr_role(port->typec_port, role); in tcpm_set_pwr_role() 1637 port->cable = typec_register_cable(port->typec_port, &port->cable_desc); in svdm_consume_identity_sop_prime() 1880 struct typec_port *typec = port->typec_port; in tcpm_pd_svdm() 2042 (typec_get_cable_svdm_version(port->typec_port) > in tcpm_pd_svdm() [all …]
|
/linux-6.12.1/drivers/platform/chrome/ |
D | cros_ec_typec.h | 46 struct typec_port *port;
|
D | cros_ec_typec.c | 698 struct typec_port *port = typec->ports[port_num]->port; in cros_typec_set_port_params_v0() 715 struct typec_port *port = typec->ports[port_num]->port; in cros_typec_set_port_params_v1()
|
/linux-6.12.1/drivers/extcon/ |
D | extcon-usbc-tusb320.c | 80 struct typec_port *port; 234 static int tusb320_port_type_set(struct typec_port *port, in tusb320_port_type_set() 281 struct typec_port *port = priv->port; in tusb320_typec_irq_handler()
|
D | extcon-rtk-type-c.c | 101 struct typec_port *port; 699 static int type_c_port_dr_set(struct typec_port *port, in type_c_port_dr_set()
|
/linux-6.12.1/drivers/usb/typec/tipd/ |
D | core.c | 130 struct typec_port *port; 402 static int tps6598x_dr_set(struct typec_port *port, enum typec_data_role role) in tps6598x_dr_set() 432 static int tps6598x_pr_set(struct typec_port *port, enum typec_role role) in tps6598x_pr_set()
|
/linux-6.12.1/drivers/usb/typec/ucsi/ |
D | ucsi.h | 425 struct typec_port *port;
|
D | ucsi.c | 1416 static int ucsi_dr_swap(struct typec_port *port, enum typec_data_role role) in ucsi_dr_swap() 1460 static int ucsi_pr_swap(struct typec_port *port, enum typec_role role) in ucsi_pr_swap()
|