Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/usb/typec/tcpm/
Dtcpm.c1035 static int tcpm_set_roles(struct tcpm_port *port, bool attached, in tcpm_set_roles() function
3635 ret = tcpm_set_roles(port, true, TYPEC_SOURCE, tcpm_data_role_for_source(port)); in tcpm_src_attach()
3791 ret = tcpm_set_roles(port, true, TYPEC_SINK, tcpm_data_role_for_sink(port)); in tcpm_snk_attach()
3817 ret = tcpm_set_roles(port, true, TYPEC_SOURCE, in tcpm_acc_attach()
4468 tcpm_set_roles(port, port->self_powered, TYPEC_SOURCE, in run_state_machine()
4500 tcpm_set_roles(port, port->self_powered, TYPEC_SINK, in run_state_machine()
4599 tcpm_set_roles(port, true, port->pwr_role, in run_state_machine()
4602 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()