Home
last modified time | relevance | path

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

/linux-5.19.10/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.h47 enum typec_pwr_opmode pwr_opmode; member
Dclass.c1314 if (port->pwr_opmode != TYPEC_PWR_MODE_PD) { in power_role_store()
1419 return sprintf(buf, "%s\n", typec_pwr_opmodes[port->pwr_opmode]); in power_operation_mode_show()
1706 if (port->pwr_opmode == opmode) in typec_set_pwr_opmode()
1709 port->pwr_opmode = opmode; in typec_set_pwr_opmode()
/linux-5.19.10/drivers/usb/typec/ucsi/
Ducsi.c671 u8 pwr_opmode = UCSI_CONSTAT_PWR_OPMODE(con->status.flags); in ucsi_register_partner() local
691 desc.usb_pd = pwr_opmode == UCSI_CONSTAT_PWR_OPMODE_PD; in ucsi_register_partner()
/linux-5.19.10/drivers/usb/typec/tcpm/
Dtcpm.c312 enum typec_pwr_opmode pwr_opmode; member
3933 port->pwr_opmode = TYPEC_PWR_MODE_USB; in run_state_machine()
4020 port->pwr_opmode = TYPEC_PWR_MODE_PD; in run_state_machine()
4169 port->pwr_opmode = TYPEC_PWR_MODE_USB; in run_state_machine()
4308 port->pwr_opmode = TYPEC_PWR_MODE_PD; in run_state_machine()
5421 port->pwr_opmode != TYPEC_PWR_MODE_PD || in tcpm_enable_frs_work()