Home
last modified time | relevance | path

Searched refs:typec_set_pwr_opmode (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/extcon/
H A Dextcon-usbc-tusb320.c365 typec_set_pwr_opmode(port, TYPEC_PWR_MODE_USB); in tusb320_typec_irq_handler()
367 typec_set_pwr_opmode(port, TYPEC_PWR_MODE_1_5A); in tusb320_typec_irq_handler()
369 typec_set_pwr_opmode(port, TYPEC_PWR_MODE_3_0A); in tusb320_typec_irq_handler()
371 typec_set_pwr_opmode(port, TYPEC_PWR_MODE_USB); in tusb320_typec_irq_handler()
/linux/drivers/usb/typec/
H A Dstusb160x.c371 typec_set_pwr_opmode(chip->port, stusb160x_get_pwr_opmode(chip)); in stusb160x_attach()
392 typec_set_pwr_opmode(chip->port, TYPEC_PWR_MODE_USB); in stusb160x_detach()
747 typec_set_pwr_opmode(chip->port, chip->pwr_opmode); in stusb160x_probe()
H A Drt1719.c265 typec_set_pwr_opmode(data->port, pwr_opmode); in rt1719_attach()
291 typec_set_pwr_opmode(data->port, TYPEC_PWR_MODE_USB); in rt1719_detach()
367 typec_set_pwr_opmode(data->port, TYPEC_PWR_MODE_PD); in rt1719_update_pwr_opmode()
H A Dwusb3801.c290 typec_set_pwr_opmode(wusb3801->port, in wusb3801_hw_update()
H A Danx7411.c367 typec_set_pwr_opmode(ctx->typec.port, mode - 1); in anx7411_detect_power_mode()
371 typec_set_pwr_opmode(ctx->typec.port, TYPEC_PWR_MODE_PD); in anx7411_detect_power_mode()
H A Dclass.c2277 void typec_set_pwr_opmode(struct typec_port *port, in typec_set_pwr_opmode() function
2304 EXPORT_SYMBOL_GPL(typec_set_pwr_opmode);
/linux/include/linux/usb/
H A Dtypec.h349 void typec_set_pwr_opmode(struct typec_port *port, enum typec_pwr_opmode mode);
/linux/drivers/usb/typec/ucsi/
H A Ducsi.c1059 typec_set_pwr_opmode(con->port, TYPEC_PWR_MODE_PD); in ucsi_pwr_opmode_change()
1067 typec_set_pwr_opmode(con->port, TYPEC_PWR_MODE_1_5A); in ucsi_pwr_opmode_change()
1072 typec_set_pwr_opmode(con->port, TYPEC_PWR_MODE_3_0A); in ucsi_pwr_opmode_change()
1077 typec_set_pwr_opmode(con->port, TYPEC_PWR_MODE_USB); in ucsi_pwr_opmode_change()
/linux/drivers/usb/typec/tipd/
H A Dcore.c364 typec_set_pwr_opmode(tps->port, mode); in tps6598x_connect()
391 typec_set_pwr_opmode(tps->port, TYPEC_PWR_MODE_USB); in tps6598x_disconnect()
800 typec_set_pwr_opmode(tps->port, pwr_opmode); in cd321x_update_work()
/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
/linux/drivers/platform/chrome/
H A Dcros_ec_typec.c1192 typec_set_pwr_opmode(typec->ports[port_num]->port, TYPEC_PWR_MODE_PD); in cros_typec_handle_status()
/linux/drivers/usb/typec/tcpm/
H A Dtcpm.c4889 typec_set_pwr_opmode(port->typec_port, opmode); in run_state_machine()
4982 typec_set_pwr_opmode(port->typec_port, TYPEC_PWR_MODE_PD); in run_state_machine()
5167 typec_set_pwr_opmode(port->typec_port, opmode); in run_state_machine()
5336 typec_set_pwr_opmode(port->typec_port, in run_state_machine()