Lines Matching +full:power +full:- +full:role
4 * SPDX-License-Identifier: Apache-2.0
37 /* Power Supply Ready flag */
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))
106 LOG_INF("\tDual Role Data: %d", in display_pdo()
114 LOG_INF("\tDual Role Power: %d", in display_pdo()
127 LOG_INF("\tMax Power: %d", in display_pdo()
155 LOG_INF("\tPPS Power Limited: %d", aug_pdo.pps_power_limited); in display_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()
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()
276 /* Reject power role swaps */ in port0_policy_check()
279 /* Reject data role swap to DFP */ in port0_policy_check()
282 /* Accept data role swap to UFP */ in port0_policy_check()
285 /* This device is always at the default power level */ in port0_policy_check()
307 /* Register USB-C Callbacks */ in main()
328 /* Start the USB-C Subsystem */ in main()