Searched refs:op_mw (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/include/linux/usb/ |
D | pd.h | 377 #define RDO_BATT(idx, op_mw, max_mw, flags) \ argument 379 RDO_BATT_OP_PWR(op_mw) | RDO_BATT_MAX_PWR(max_mw))
|
/linux-6.6.21/drivers/usb/typec/tcpm/ |
D | tcpm.c | 3269 unsigned int i, src_ma, max_temp_mw = 0, max_op_ma, op_mw; in tcpm_pd_select_pps_apdo() local 3289 op_mw = max_op_ma * port->pps_data.req_out_volt / 1000; in tcpm_pd_select_pps_apdo() 3290 if (op_mw > max_temp_mw) { in tcpm_pd_select_pps_apdo() 3292 max_temp_mw = op_mw; in tcpm_pd_select_pps_apdo() 3423 unsigned int out_mv, op_ma, op_mw, max_mv, max_ma, flags; in tcpm_pd_build_pps_request() local 3437 op_mw = (op_ma * out_mv) / 1000; in tcpm_pd_build_pps_request() 3438 if (op_mw < port->operating_snk_mw) { in tcpm_pd_build_pps_request()
|