Searched refs:typec_port (Results 1 – 16 of 16) sorted by relevance
| /drivers/usb/typec/ |
| A D | class.c | 1082 struct typec_port *port; in typec_unregister_partner() 1437 struct typec_port *port = to_typec_port(dev); in usb_capability_show() 1460 struct typec_port *port = to_typec_port(dev); in usb_capability_store() 1516 struct typec_port *port = to_typec_port(dev); in select_usb_power_delivery_store() 1537 struct typec_port *port = to_typec_port(dev); in select_usb_power_delivery_show() 1621 struct typec_port *port = to_typec_port(dev); in preferred_role_store() 1655 struct typec_port *port = to_typec_port(dev); in preferred_role_show() 1921 struct typec_port *p = to_typec_port(dev); in usb_power_delivery_revision_show() 2052 struct typec_port *port = container_of(con, struct typec_port, con); in typec_partner_attach() 2077 struct typec_port *port = container_of(con, struct typec_port, con); in typec_partner_deattach() [all …]
|
| A D | class.h | 47 struct typec_port { struct 85 #define to_typec_port(_dev_) container_of(_dev_, struct typec_port, dev) argument 105 int typec_link_ports(struct typec_port *connector); 106 void typec_unlink_ports(struct typec_port *connector); 108 static inline int typec_link_ports(struct typec_port *connector) { return 0; } in typec_link_ports() 109 static inline void typec_unlink_ports(struct typec_port *connector) { } in typec_unlink_ports()
|
| A D | port-mapper.c | 18 struct typec_port *port = to_typec_port(dev); in typec_aggregate_bind() 25 struct typec_port *port = to_typec_port(dev); in typec_aggregate_unbind() 36 struct typec_port *port; 79 int typec_link_ports(struct typec_port *con) in typec_link_ports() 104 void typec_unlink_ports(struct typec_port *con) in typec_unlink_ports()
|
| A 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()
|
| A D | hd3ss3220.c | 53 struct typec_port *port; 180 static int hd3ss3220_try_role(struct typec_port *port, int role) in hd3ss3220_try_role() 187 static int hd3ss3220_port_type_set(struct typec_port *port, enum typec_port_type type) in hd3ss3220_port_type_set()
|
| A 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()
|
| A D | stusb160x.c | 155 struct typec_port *port;
|
| A D | anx7411.c | 247 struct typec_port *port;
|
| /drivers/usb/typec/tcpm/ |
| A D | tcpm.c | 347 struct typec_port *typec_port; member 1223 typec_set_pwr_role(port->typec_port, role); in tcpm_set_roles() 1238 typec_set_pwr_role(port->typec_port, role); in tcpm_set_pwr_role() 1991 struct typec_port *typec = port->typec_port; in tcpm_pd_svdm() 2443 port->typec_port); in tcpm_handle_vdm_request() 2455 port->typec_port); in tcpm_handle_vdm_request() 2683 port->typec_port), in vdm_run_state_machine() 5319 typec_set_pwr_opmode(port->typec_port, in run_state_machine() 7896 if (IS_ERR(port->typec_port)) { in tcpm_register_port() 7897 err = PTR_ERR(port->typec_port); in tcpm_register_port() [all …]
|
| /drivers/extcon/ |
| A 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()
|
| A 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()
|
| /drivers/platform/chrome/ |
| A D | cros_ec_typec.h | 48 struct typec_port *port;
|
| A D | cros_ec_typec.c | 47 static int cros_typec_enter_usb_mode(struct typec_port *tc_port, enum usb_mode mode) in cros_typec_enter_usb_mode() 61 static int cros_typec_perform_role_swap(struct typec_port *tc_port, int target_role, u8 swap_type) in cros_typec_perform_role_swap() 132 static int cros_typec_dr_swap(struct typec_port *port, enum typec_data_role role) in cros_typec_dr_swap() 137 static int cros_typec_pr_swap(struct typec_port *port, enum typec_role role) in cros_typec_pr_swap() 828 struct typec_port *port = typec->ports[port_num]->port; in cros_typec_set_port_params_v0() 845 struct typec_port *port = typec->ports[port_num]->port; in cros_typec_set_port_params_v1()
|
| /drivers/usb/typec/tipd/ |
| A 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()
|
| /drivers/usb/typec/ucsi/ |
| A D | ucsi.h | 501 struct typec_port *port;
|
| A D | ucsi.c | 1437 static int ucsi_dr_swap(struct typec_port *port, enum typec_data_role role) in ucsi_dr_swap() 1481 static int ucsi_pr_swap(struct typec_port *port, enum typec_role role) in ucsi_pr_swap()
|
Completed in 756 milliseconds