Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/usb/typec/tcpm/
Dtcpm.c1026 static int tcpm_set_roles(struct tcpm_port *port, bool attached, in tcpm_set_roles() function
3575 ret = tcpm_set_roles(port, true, TYPEC_SOURCE, tcpm_data_role_for_source(port)); in tcpm_src_attach()
3723 ret = tcpm_set_roles(port, true, TYPEC_SINK, tcpm_data_role_for_sink(port)); in tcpm_snk_attach()
3749 ret = tcpm_set_roles(port, true, TYPEC_SOURCE, in tcpm_acc_attach()
4404 tcpm_set_roles(port, port->self_powered, TYPEC_SOURCE, in run_state_machine()
4436 tcpm_set_roles(port, port->self_powered, TYPEC_SINK, in run_state_machine()
4535 tcpm_set_roles(port, true, port->pwr_role, in run_state_machine()
4538 tcpm_set_roles(port, true, port->pwr_role, in run_state_machine()
Dfusb302.c881 static int tcpm_set_roles(struct tcpc_dev *dev, bool attached, in tcpm_set_roles() function
1127 fusb302_tcpc_dev->set_roles = tcpm_set_roles; in init_tcpc_dev()