Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/typec/tcpm/
H A Dtcpm.c293 u32 req_out_volt; member
2735 port->pps_data.req_out_volt = port->supply_voltage; in tcpm_pd_ctrl_request()
2806 port->req_supply_voltage = port->pps_data.req_out_volt; in tcpm_pd_ctrl_request()
3292 if (port->pps_data.req_out_volt > pdo_pps_apdo_max_voltage(pdo) || in tcpm_pd_select_pps_apdo()
3293 port->pps_data.req_out_volt < pdo_pps_apdo_min_voltage(pdo)) in tcpm_pd_select_pps_apdo()
3298 op_mw = max_op_ma * port->pps_data.req_out_volt / 1000; in tcpm_pd_select_pps_apdo()
3441 out_mv = port->pps_data.req_out_volt; in tcpm_pd_build_pps_request()
3485 port->pps_data.req_out_volt = out_mv; in tcpm_pd_build_pps_request()
5882 static int tcpm_pps_set_out_volt(struct tcpm_port *port, u16 req_out_volt) in tcpm_pps_set_out_volt() argument
5900 target_mw = (port->current_limit * req_out_volt) / 1000; in tcpm_pps_set_out_volt()
[all …]