Searched refs:op_mw (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/include/linux/usb/ |
D | pd.h | 378 #define RDO_BATT(idx, op_mw, max_mw, flags) \ argument 380 RDO_BATT_OP_PWR(op_mw) | RDO_BATT_MAX_PWR(max_mw))
|
/linux-6.12.1/drivers/usb/typec/tcpm/ |
D | tcpm.c | 3944 unsigned int i, src_ma, max_temp_mw = 0, max_op_ma, op_mw; in tcpm_pd_select_pps_apdo() local 3964 op_mw = max_op_ma * port->pps_data.req_out_volt / 1000; in tcpm_pd_select_pps_apdo() 3965 if (op_mw > max_temp_mw) { in tcpm_pd_select_pps_apdo() 3967 max_temp_mw = op_mw; in tcpm_pd_select_pps_apdo() 4098 unsigned int out_mv, op_ma, op_mw, max_mv, max_ma, flags; in tcpm_pd_build_pps_request() local 4112 op_mw = (op_ma * out_mv) / 1000; in tcpm_pd_build_pps_request() 4113 if (op_mw < port->operating_snk_mw) { in tcpm_pd_build_pps_request()
|