Searched refs:pwr_opmode (Results 1 – 5 of 5) 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()
255 enum typec_pwr_opmode pwr_opmode; in rt1719_attach() local262 pwr_opmode = rt1719_get_pwr_opmode(data->conn_info, data->conn_stat); in rt1719_attach()265 typec_set_pwr_opmode(data->port, pwr_opmode); in rt1719_attach()271 if (pwr_opmode == TYPEC_PWR_MODE_3_0A) in rt1719_attach()273 else if (pwr_opmode == TYPEC_PWR_MODE_1_5A) in rt1719_attach()
1717 if (port->pwr_opmode != TYPEC_PWR_MODE_PD) { in power_role_store()1822 return sprintf(buf, "%s\n", typec_pwr_opmodes[port->pwr_opmode]); in power_operation_mode_show()2166 if (port->pwr_opmode == opmode) in typec_set_pwr_opmode()2169 port->pwr_opmode = opmode; in typec_set_pwr_opmode()
83 enum typec_pwr_opmode pwr_opmode; member219 if (priv->pwr_opmode == TYPEC_PWR_MODE_USB) in tusb320_set_adv_pwr_mode()221 else if (priv->pwr_opmode == TYPEC_PWR_MODE_1_5A) in tusb320_set_adv_pwr_mode()223 else if (priv->pwr_opmode == TYPEC_PWR_MODE_3_0A) in tusb320_set_adv_pwr_mode()465 priv->pwr_opmode = ret; in tusb320_typec_probe()
1037 u8 pwr_opmode = UCSI_CONSTAT(con, PWR_OPMODE); in ucsi_register_partner() local1057 if (pwr_opmode == UCSI_CONSTAT_PWR_OPMODE_PD) in ucsi_register_partner()1062 desc.usb_pd = pwr_opmode == UCSI_CONSTAT_PWR_OPMODE_PD; in ucsi_register_partner()