Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/usb/typec/tcpm/
Dtcpm.c828 int nr_pdo = port->nr_src_pdo; in tcpm_rp_cc() local
838 for (i = 0; i < nr_pdo; i++) { in tcpm_rp_cc()
1129 unsigned int i, nr_pdo = 0; in tcpm_pd_send_source_caps() local
1135 msg.payload[nr_pdo++] = cpu_to_le32(port->src_pdo[i]); in tcpm_pd_send_source_caps()
1139 msg.payload[nr_pdo++] = cpu_to_le32(pdo); in tcpm_pd_send_source_caps()
1143 if (!nr_pdo) { in tcpm_pd_send_source_caps()
1156 nr_pdo); in tcpm_pd_send_source_caps()
1166 unsigned int i, nr_pdo = 0; in tcpm_pd_send_sink_caps() local
1172 msg.payload[nr_pdo++] = cpu_to_le32(port->snk_pdo[i]); in tcpm_pd_send_sink_caps()
1176 msg.payload[nr_pdo++] = cpu_to_le32(pdo); in tcpm_pd_send_sink_caps()
[all …]