Lines Matching +full:port +full:- +full:num

4  * SPDX-License-Identifier: Apache-2.0
24 /* usbc.rst port data object start */
26 * @brief A structure that encapsulates Port data.
47 /* usbc.rst port data object end */
51 * - Maximum operating current 100mA
52 * - Operating current is 100mA
53 * - Unchunked Extended Messages Not Supported
54 * - No USB Suspend
55 * - Not USB Communications Capable
56 * - No capability mismatch
57 * - Does not Giveback
58 * - Select object position 1 (5V Power Data Object (PDO))
166 for (int i = 0; i < dpm_data->src_cap_cnt; i++) { in display_source_caps()
167 display_pdo(i, dpm_data->src_caps[i]); in display_source_caps()
179 *pdos = dpm_data->snk_caps; in port0_policy_cb_get_snk_cap()
180 *num_pdos = dpm_data->snk_cap_cnt; in port0_policy_cb_get_snk_cap()
190 int num; in port0_policy_cb_set_src_cap() local
195 num = num_pdos; in port0_policy_cb_set_src_cap()
196 if (num > PDO_MAX_DATA_OBJECTS) { in port0_policy_cb_set_src_cap()
197 num = PDO_MAX_DATA_OBJECTS; in port0_policy_cb_set_src_cap()
200 for (i = 0; i < num; i++) { in port0_policy_cb_set_src_cap()
201 dpm_data->src_caps[i] = *(pdos + i); in port0_policy_cb_set_src_cap()
204 dpm_data->src_cap_cnt = num; in port0_policy_cb_set_src_cap()
233 atomic_set_bit(&dpm_data->ps_ready, 0); in port0_notify()
256 LOG_INF("Port Partner not PD Capable"); in port0_notify()
299 /* Get the device for this port */ in main()
307 /* Register USB-C Callbacks */ in main()
322 /* Set Application port data object. This object is passed to the policy callbacks */ in main()
328 /* Start the USB-C Subsystem */ in main()