Searched refs:nr_pdo (Results 1 – 1 of 1) sorted by relevance
837 int nr_pdo = port->nr_src_pdo; in tcpm_rp_cc() local847 for (i = 0; i < nr_pdo; i++) { in tcpm_rp_cc()1138 unsigned int i, nr_pdo = 0; in tcpm_pd_send_source_caps() local1144 msg.payload[nr_pdo++] = cpu_to_le32(port->src_pdo[i]); in tcpm_pd_send_source_caps()1148 msg.payload[nr_pdo++] = cpu_to_le32(pdo); in tcpm_pd_send_source_caps()1152 if (!nr_pdo) { in tcpm_pd_send_source_caps()1165 nr_pdo); in tcpm_pd_send_source_caps()1175 unsigned int i, nr_pdo = 0; in tcpm_pd_send_sink_caps() local1181 msg.payload[nr_pdo++] = cpu_to_le32(port->snk_pdo[i]); in tcpm_pd_send_sink_caps()1185 msg.payload[nr_pdo++] = cpu_to_le32(pdo); in tcpm_pd_send_sink_caps()[all …]