Searched refs:src_pdo_index (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/usb/typec/tcpm/ |
H A D | tcpm.c | 3995 int src_pdo_index = 0; in tcpm_pd_build_request() local 3999 ret = tcpm_pd_select_pdo(port, &snk_pdo_index, &src_pdo_index); in tcpm_pd_build_request() 4003 pdo = port->source_caps[src_pdo_index]; in tcpm_pd_build_request() 4050 *rdo = RDO_BATT(src_pdo_index + 1, mw, max_mw, flags); in tcpm_pd_build_request() 4053 src_pdo_index, mv, mw, in tcpm_pd_build_request() 4056 *rdo = RDO_FIXED(src_pdo_index + 1, ma, max_ma, flags); in tcpm_pd_build_request() 4059 src_pdo_index, mv, ma, in tcpm_pd_build_request() 4099 unsigned int src_pdo_index; in tcpm_pd_build_pps_request() local 4101 src_pdo_index = tcpm_pd_select_pps_apdo(port); in tcpm_pd_build_pps_request() 4102 if (!src_pdo_index) in tcpm_pd_build_pps_request() [all …]
|