Lines Matching +full:2000 +full:mw
168 #define TCPM_POLL_EVENT_TIME_OUT 2000
1525 printf("Requested %u -> %u mV, %u mW for %u / %u mW\n", in tcpm_pd_check_request()
1737 unsigned int mv, ma, mw, flags; in tcpm_pd_build_request() local
1768 mw = min_power(pdo, matching_snk_pdo); in tcpm_pd_build_request()
1769 ma = 1000 * mw / mv; in tcpm_pd_build_request()
1772 mw = ma * mv / 1000; in tcpm_pd_build_request()
1779 max_mw = mw; in tcpm_pd_build_request()
1780 if (mw < port->operating_snk_mw) { in tcpm_pd_build_request()
1796 *rdo = RDO_BATT(src_pdo_index + 1, mw, max_mw, flags); in tcpm_pd_build_request()
1798 printf("Requesting PDO %d: %u mV, %u mW%s\n", in tcpm_pd_build_request()
1799 src_pdo_index, mv, mw, in tcpm_pd_build_request()
3302 u32 mw, frs_current; in tcpm_fw_get_caps() local
3377 if (ofnode_read_u32_array(node, "op-sink-microwatt", &mw, 1)) in tcpm_fw_get_caps()
3379 port->operating_snk_mw = mw / 1000; in tcpm_fw_get_caps()