Home
last modified time | relevance | path

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

/linux-6.15/drivers/usb/typec/tcpm/
H A 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()
H A Dtcpm.c1154 static int tcpm_set_roles(struct tcpm_port *port, bool attached, in tcpm_set_roles() function
4356 ret = tcpm_set_roles(port, true, TYPEC_SOURCE, tcpm_data_role_for_source(port)); in tcpm_src_attach()
4531 ret = tcpm_set_roles(port, true, TYPEC_SINK, tcpm_data_role_for_sink(port)); in tcpm_snk_attach()
4558 ret = tcpm_set_roles(port, true, TYPEC_SOURCE, in tcpm_acc_attach()
5329 tcpm_set_roles(port, port->self_powered, TYPEC_SOURCE, in run_state_machine()
5361 tcpm_set_roles(port, port->self_powered, TYPEC_SINK, in run_state_machine()
5485 tcpm_set_roles(port, true, port->pwr_role, in run_state_machine()
5488 tcpm_set_roles(port, true, port->pwr_role, in run_state_machine()