Home
last modified time | relevance | path

Searched refs:tcpm_set_roles (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/usb/typec/tcpm/
Dtcpm.c1044 static int tcpm_set_roles(struct tcpm_port *port, bool attached, in tcpm_set_roles() function
3604 ret = tcpm_set_roles(port, true, TYPEC_SOURCE, tcpm_data_role_for_source(port)); in tcpm_src_attach()
3763 ret = tcpm_set_roles(port, true, TYPEC_SINK, tcpm_data_role_for_sink(port)); in tcpm_snk_attach()
3789 ret = tcpm_set_roles(port, true, TYPEC_SOURCE, in tcpm_acc_attach()
4486 tcpm_set_roles(port, port->self_powered, TYPEC_SOURCE, in run_state_machine()
4518 tcpm_set_roles(port, port->self_powered, TYPEC_SINK, in run_state_machine()
4624 tcpm_set_roles(port, true, port->pwr_role, in run_state_machine()
4627 tcpm_set_roles(port, true, port->pwr_role, in run_state_machine()
Dfusb302.c883 static int tcpm_set_roles(struct tcpc_dev *dev, bool attached, in tcpm_set_roles() function
1129 fusb302_tcpc_dev->set_roles = tcpm_set_roles; in init_tcpc_dev()