Searched refs:src_pdo_index (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/drivers/usb/typec/tcpm/ |
D | tcpm.c | 3332 int src_pdo_index = 0; in tcpm_pd_build_request() local 3336 ret = tcpm_pd_select_pdo(port, &snk_pdo_index, &src_pdo_index); in tcpm_pd_build_request() 3340 pdo = port->source_caps[src_pdo_index]; in tcpm_pd_build_request() 3387 *rdo = RDO_BATT(src_pdo_index + 1, mw, max_mw, flags); in tcpm_pd_build_request() 3390 src_pdo_index, mv, mw, in tcpm_pd_build_request() 3393 *rdo = RDO_FIXED(src_pdo_index + 1, ma, max_ma, flags); in tcpm_pd_build_request() 3396 src_pdo_index, mv, ma, in tcpm_pd_build_request() 3437 unsigned int src_pdo_index; in tcpm_pd_build_pps_request() local 3440 src_pdo_index = tcpm_pd_select_pps_apdo(port); in tcpm_pd_build_pps_request() 3441 if (!src_pdo_index) in tcpm_pd_build_pps_request() [all …]
|