Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/scripts/generate_usb_vif/
Dgenerate_vif.py86 def get_pdo_type(pdo_value): argument
87 return pdo_value >> 30
96 def parse_and_add_sink_pdo_to_xml(xml_ele, pdo_value, pdo_info): argument
99 pdo_type = get_pdo_type(pdo_value)
103 current = pdo_value & 0x3ff
105 voltage = (pdo_value >> 10) & 0x3ff
109 if pdo_value & (1 << 28):
112 vif_element_constants.FR_SWAP_REQD_TYPE_C_CURRENT_AS_INITIAL_SOURCE] = pdo_value & (
122 max_voltage = (pdo_value >> 20) & 0x3ff
124 min_voltage = (pdo_value >> 10) & 0x3ff
[all …]
/Zephyr-Core-3.7.0/samples/subsys/usb_c/sink/src/
Dmain.c89 const uint32_t pdo_value) in display_pdo() argument
94 pdo.raw_value = pdo_value; in display_pdo()
122 batt_pdo.raw_value = pdo_value; in display_pdo()
135 var_pdo.raw_value = pdo_value; in display_pdo()
148 aug_pdo.raw_value = pdo_value; in display_pdo()