Home
last modified time | relevance | path

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

/linux/drivers/usb/typec/
H A 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()
H A Drt1719.c255 enum typec_pwr_opmode pwr_opmode; in rt1719_attach() local
262 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()
H A Dclass.c1717 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()
/linux/drivers/extcon/
H A Dextcon-usbc-tusb320.c83 enum typec_pwr_opmode pwr_opmode; member
219 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()
/linux/drivers/usb/typec/ucsi/
H A Ducsi.c1037 u8 pwr_opmode = UCSI_CONSTAT(con, PWR_OPMODE); in ucsi_register_partner() local
1057 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()