Home
last modified time | relevance | path

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

/linux/drivers/usb/typec/tcpm/
H A Dtcpm.c4376 u32 pdo, rdo = port->sink_request; in tcpm_pd_check_request() local
4380 index = rdo_index(rdo); in tcpm_pd_check_request()
4389 max = rdo_max_current(rdo); in tcpm_pd_check_request()
4390 op = rdo_op_current(rdo); in tcpm_pd_check_request()
4395 if (max > pdo_max && !(rdo & RDO_CAP_MISMATCH)) in tcpm_pd_check_request()
4409 max = rdo_max_power(rdo); in tcpm_pd_check_request()
4410 op = rdo_op_power(rdo); in tcpm_pd_check_request()
4415 if (max > pdo_max && !(rdo & RDO_CAP_MISMATCH)) in tcpm_pd_check_request()
4681 static int tcpm_pd_build_request(struct tcpm_port *port, u32 *rdo) in tcpm_pd_build_request() argument
4742 *rdo = RDO_BATT(src_pdo_index + 1, mw, max_mw, flags); in tcpm_pd_build_request()
[all …]