Home
last modified time | relevance | path

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

/linux/drivers/usb/typec/tcpm/
H A Dtcpm.c4153 u32 pdo, rdo = port->sink_request; in tcpm_pd_check_request() local
4157 index = rdo_index(rdo); in tcpm_pd_check_request()
4166 max = rdo_max_current(rdo); in tcpm_pd_check_request()
4167 op = rdo_op_current(rdo); in tcpm_pd_check_request()
4172 if (max > pdo_max && !(rdo & RDO_CAP_MISMATCH)) in tcpm_pd_check_request()
4186 max = rdo_max_power(rdo); in tcpm_pd_check_request()
4187 op = rdo_op_power(rdo); in tcpm_pd_check_request()
4192 if (max > pdo_max && !(rdo & RDO_CAP_MISMATCH)) in tcpm_pd_check_request()
4458 static int tcpm_pd_build_request(struct tcpm_port *port, u32 *rdo) in tcpm_pd_build_request() argument
4519 *rdo = RDO_BATT(src_pdo_index + 1, mw, max_mw, flags); in tcpm_pd_build_request()
[all …]
/linux/drivers/usb/typec/ucsi/
H A Ducsi.c1093 con->rdo = UCSI_CONSTAT(con, RDO); in ucsi_register_partner()
1101 con->rdo = 0; in ucsi_register_partner()
1106 con->rdo = 0; in ucsi_register_partner()
1111 con->rdo = 0; in ucsi_register_partner()