Searched refs:src_pdo_index (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/usb/typec/tcpm/ |
H A D | tcpm.c | 3329 int src_pdo_index = 0; in tcpm_pd_build_request() local 3337 pdo = port->source_caps[src_pdo_index]; in tcpm_pd_build_request() 3384 *rdo = RDO_BATT(src_pdo_index + 1, mw, max_mw, flags); in tcpm_pd_build_request() 3387 src_pdo_index, mv, mw, in tcpm_pd_build_request() 3390 *rdo = RDO_FIXED(src_pdo_index + 1, ma, max_ma, flags); in tcpm_pd_build_request() 3393 src_pdo_index, mv, ma, in tcpm_pd_build_request() 3433 unsigned int src_pdo_index; in tcpm_pd_build_pps_request() local 3435 src_pdo_index = tcpm_pd_select_pps_apdo(port); in tcpm_pd_build_pps_request() 3436 if (!src_pdo_index) in tcpm_pd_build_pps_request() 3479 *rdo = RDO_PROG(src_pdo_index + 1, out_mv, op_ma, flags); in tcpm_pd_build_pps_request() [all …]
|