Home
last modified time | relevance | path

Searched refs:pwr_opmode (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.1/drivers/usb/typec/
Dwusb3801.c95 enum typec_pwr_opmode pwr_opmode; member
216 wusb3801_map_pwr_opmode(wusb3801->pwr_opmode) | in wusb3801_hw_init()
293 : wusb3801->pwr_opmode); in wusb3801_hw_update()
362 wusb3801->pwr_opmode = ret; in wusb3801_probe()
Dstusb160x.c160 enum typec_pwr_opmode pwr_opmode; member
506 chip->pwr_opmode)); in stusb160x_chip_init()
573 chip->pwr_opmode = ret; in stusb160x_get_fw_caps()
623 chip->pwr_opmode = stusb160x_get_pwr_opmode(chip); in stusb160x_get_caps()
748 typec_set_pwr_opmode(chip->port, chip->pwr_opmode); in stusb160x_probe()
Drt1719.c261 enum typec_pwr_opmode pwr_opmode; in rt1719_attach() local
268 pwr_opmode = rt1719_get_pwr_opmode(data->conn_info, data->conn_stat); in rt1719_attach()
271 typec_set_pwr_opmode(data->port, pwr_opmode); in rt1719_attach()
277 if (pwr_opmode == TYPEC_PWR_MODE_3_0A) in rt1719_attach()
279 else if (pwr_opmode == TYPEC_PWR_MODE_1_5A) in rt1719_attach()
Dclass.h51 enum typec_pwr_opmode pwr_opmode; member
Dclass.c1447 if (port->pwr_opmode != TYPEC_PWR_MODE_PD) { in power_role_store()
1552 return sprintf(buf, "%s\n", typec_pwr_opmodes[port->pwr_opmode]); in power_operation_mode_show()
1841 if (port->pwr_opmode == opmode) in typec_set_pwr_opmode()
1844 port->pwr_opmode = opmode; in typec_set_pwr_opmode()
/Linux-v6.1/drivers/extcon/
Dextcon-usbc-tusb320.c80 enum typec_pwr_opmode pwr_opmode; member
214 if (priv->pwr_opmode == TYPEC_PWR_MODE_USB) in tusb320_set_adv_pwr_mode()
216 else if (priv->pwr_opmode == TYPEC_PWR_MODE_1_5A) in tusb320_set_adv_pwr_mode()
218 else if (priv->pwr_opmode == TYPEC_PWR_MODE_3_0A) in tusb320_set_adv_pwr_mode()
402 priv->pwr_opmode = ret; in tusb320_typec_probe()
/Linux-v6.1/drivers/usb/typec/ucsi/
Ducsi.c659 u8 pwr_opmode = UCSI_CONSTAT_PWR_OPMODE(con->status.flags); in ucsi_register_partner() local
679 desc.usb_pd = pwr_opmode == UCSI_CONSTAT_PWR_OPMODE_PD; in ucsi_register_partner()
/Linux-v6.1/drivers/usb/typec/tcpm/
Dtcpm.c312 enum typec_pwr_opmode pwr_opmode; member
4000 port->pwr_opmode = TYPEC_PWR_MODE_USB; in run_state_machine()
4087 port->pwr_opmode = TYPEC_PWR_MODE_PD; in run_state_machine()
4236 port->pwr_opmode = TYPEC_PWR_MODE_USB; in run_state_machine()
4375 port->pwr_opmode = TYPEC_PWR_MODE_PD; in run_state_machine()
5488 port->pwr_opmode != TYPEC_PWR_MODE_PD || in tcpm_enable_frs_work()