Home
last modified time | relevance | path

Searched refs:typec_set_pwr_role (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/include/linux/usb/
H A Dtypec.h307 void typec_set_pwr_role(struct typec_port *port, enum typec_role role);
/openbmc/linux/drivers/usb/typec/tipd/
H A Dcore.c250 typec_set_pwr_role(tps->port, TPS_STATUS_TO_TYPEC_PORTROLE(status)); in tps6598x_connect()
277 typec_set_pwr_role(tps->port, TPS_STATUS_TO_TYPEC_PORTROLE(status)); in tps6598x_disconnect()
401 typec_set_pwr_role(tps->port, role); in tps6598x_pr_set()
/openbmc/linux/drivers/usb/typec/
H A Dstusb160x.c370 typec_set_pwr_role(chip->port, STUSB160X_CC_POWER_ROLE(status)); in stusb160x_attach()
391 typec_set_pwr_role(chip->port, STUSB160X_CC_POWER_ROLE(status)); in stusb160x_detach()
H A Dwusb3801.c286 typec_set_pwr_role(port, pwr_role); in wusb3801_hw_update()
H A Dclass.c1825 void typec_set_pwr_role(struct typec_port *port, enum typec_role role) in typec_set_pwr_role() function
1834 EXPORT_SYMBOL_GPL(typec_set_pwr_role);
H A Danx7411.c519 typec_set_pwr_role(ctx->typec.port, ctx->typec.power_role); in anx7411_power_role_detect()
/openbmc/linux/drivers/usb/typec/ucsi/
H A Ducsi.c909 typec_set_pwr_role(con->port, role); in ucsi_handle_connector_change()
917 typec_set_pwr_role(con->port, role); in ucsi_handle_connector_change()
1343 typec_set_pwr_role(con->port, in ucsi_register_port()
/openbmc/linux/drivers/extcon/
H A Dextcon-usbc-tusb320.c357 typec_set_pwr_role(port, pwr_role); in tusb320_typec_irq_handler()
/openbmc/linux/drivers/platform/chrome/
H A Dcros_ec_typec.c661 typec_set_pwr_role(port, resp->role ? TYPEC_SOURCE : TYPEC_SINK); in cros_typec_set_port_params_v0()
682 typec_set_pwr_role(port, resp->role & PD_CTRL_RESP_ROLE_POWER ? in cros_typec_set_port_params_v1()
/openbmc/linux/Documentation/driver-api/usb/
H A Dtypec.rst140 :functions: typec_set_data_role typec_set_pwr_role typec_set_vconn_role typec_set_pwr_opmode
/openbmc/linux/drivers/usb/typec/tcpm/
H A Dtcpm.c1092 typec_set_pwr_role(port->typec_port, role); in tcpm_set_roles()
1107 typec_set_pwr_role(port->typec_port, role); in tcpm_set_pwr_role()