Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/usb/typec/tcpm/
H A Dtcpm.c293 u32 req_op_curr; member
2697 port->pps_data.req_op_curr = port->current_limit; in tcpm_pd_ctrl_request()
2761 port->req_current_limit = port->pps_data.req_op_curr; in tcpm_pd_ctrl_request()
3324 port->pps_data.req_op_curr = min(port->pps_data.req_max_curr, in tcpm_pd_select_pps_apdo()
3325 port->pps_data.req_op_curr); in tcpm_pd_select_pps_apdo()
3461 op_ma = port->pps_data.req_op_curr; in tcpm_pd_build_pps_request()
3508 port->pps_data.req_op_curr = op_ma; in tcpm_pd_build_pps_request()
5798 static int tcpm_pps_set_op_curr(struct tcpm_port *port, u16 req_op_curr) in tcpm_pps_set_op_curr() argument
5816 if (req_op_curr > port->pps_data.max_curr) { in tcpm_pps_set_op_curr()
5821 target_mw = (req_op_curr * port->supply_voltage) / 1000; in tcpm_pps_set_op_curr()
[all …]
/OK3568_Linux_fs/u-boot/drivers/power/power_delivery/
H A Dtcpm.c266 u32 req_op_curr; member
1230 port->pps_data.req_op_curr = port->current_limit; in tcpm_pd_ctrl_request()
1252 port->req_current_limit = port->pps_data.req_op_curr; in tcpm_pd_ctrl_request()
1728 port->pps_data.req_op_curr = min(port->pps_data.req_max_curr, in tcpm_pd_select_pps_apdo()
1729 port->pps_data.req_op_curr); in tcpm_pd_select_pps_apdo()
1859 op_ma = port->pps_data.req_op_curr; in tcpm_pd_build_pps_request()
1906 port->pps_data.req_op_curr = op_ma; in tcpm_pd_build_pps_request()