Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/samples/subsys/usb_c/sink/src/
Dmain.c66 union pd_rdo rdo; in build_rdo() local
69 rdo.fixed.min_or_max_operating_current = PD_CONVERT_MA_TO_FIXED_PDO_CURRENT(100); in build_rdo()
71 rdo.fixed.operating_current = PD_CONVERT_MA_TO_FIXED_PDO_CURRENT(100); in build_rdo()
73 rdo.fixed.unchunked_ext_msg_supported = 0; in build_rdo()
75 rdo.fixed.no_usb_suspend = 1; in build_rdo()
77 rdo.fixed.usb_comm_capable = 0; in build_rdo()
79 rdo.fixed.cap_mismatch = 0; in build_rdo()
81 rdo.fixed.giveback = 0; in build_rdo()
83 rdo.fixed.object_pos = 1; in build_rdo()
85 return rdo.raw_value; in build_rdo()
/Zephyr-Core-3.7.0/samples/subsys/usb_c/source/src/
Dmain.c59 static void dump_sink_request_rdo(const uint32_t rdo) in dump_sink_request_rdo() argument
63 request.raw_value = rdo; in dump_sink_request_rdo()
65 LOG_INF("REQUEST RDO: %08x", rdo); in dump_sink_request_rdo()
/Zephyr-Core-3.7.0/subsys/usb/usb_c/
Dusbc_pe_snk_states.c225 uint32_t rdo; in pe_snk_select_capability_entry() local
230 rdo = policy_get_request_data_object(dev); in pe_snk_select_capability_entry()
233 pe_send_request_msg(dev, rdo); in pe_snk_select_capability_entry()
Dusbc_pe_common_internal.h329 void pe_send_request_msg(const struct device *dev, const uint32_t rdo);
Dusbc_pe_common.c495 void pe_send_request_msg(const struct device *dev, const uint32_t rdo) in pe_send_request_msg() argument
502 msg->len = sizeof(rdo); in pe_send_request_msg()
503 sys_put_le32(rdo, rdo_bytes); in pe_send_request_msg()