Searched refs:tcpm_set_roles (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/usb/typec/tcpm/ |
| H A D | fusb302.c | 891 static int tcpm_set_roles(struct tcpc_dev *dev, bool attached, in tcpm_set_roles() function 1137 fusb302_tcpc_dev->set_roles = tcpm_set_roles; in init_tcpc_dev()
|
| H A D | tcpm.c | 1182 static int tcpm_set_roles(struct tcpm_port *port, bool attached, int state, in tcpm_set_roles() function 4446 ret = tcpm_set_roles(port, true, TYPEC_STATE_USB, TYPEC_SOURCE, in tcpm_src_attach() 4606 ret = tcpm_set_roles(port, true, TYPEC_STATE_USB, in tcpm_snk_attach() 4647 ret = tcpm_set_roles(port, true, state, role, data); in tcpm_acc_attach() 5450 tcpm_set_roles(port, port->self_powered, TYPEC_STATE_USB, TYPEC_SOURCE, in run_state_machine() 5482 tcpm_set_roles(port, port->self_powered, TYPEC_STATE_USB, TYPEC_SINK, in run_state_machine() 5606 tcpm_set_roles(port, true, TYPEC_STATE_USB, port->pwr_role, in run_state_machine() 5609 tcpm_set_roles(port, true, TYPEC_STATE_USB, port->pwr_role, in run_state_machine()
|