Searched refs:pwr_opmode (Results 1 – 8 of 8) sorted by relevance
95 enum typec_pwr_opmode pwr_opmode; member216 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()
160 enum typec_pwr_opmode pwr_opmode; member506 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()
261 enum typec_pwr_opmode pwr_opmode; in rt1719_attach() local268 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()
51 enum typec_pwr_opmode pwr_opmode; member
1447 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()
80 enum typec_pwr_opmode pwr_opmode; member214 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()
659 u8 pwr_opmode = UCSI_CONSTAT_PWR_OPMODE(con->status.flags); in ucsi_register_partner() local679 desc.usb_pd = pwr_opmode == UCSI_CONSTAT_PWR_OPMODE_PD; in ucsi_register_partner()
312 enum typec_pwr_opmode pwr_opmode; member4000 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()