Searched refs:rdo (Results 1 – 5 of 5) sorted by relevance
66 union pd_rdo rdo; in build_rdo() local69 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()
59 static void dump_sink_request_rdo(const uint32_t rdo) in dump_sink_request_rdo() argument63 request.raw_value = rdo; in dump_sink_request_rdo()65 LOG_INF("REQUEST RDO: %08x", rdo); in dump_sink_request_rdo()
225 uint32_t rdo; in pe_snk_select_capability_entry() local230 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()
329 void pe_send_request_msg(const struct device *dev, const uint32_t rdo);
495 void pe_send_request_msg(const struct device *dev, const uint32_t rdo) in pe_send_request_msg() argument502 msg->len = sizeof(rdo); in pe_send_request_msg()503 sys_put_le32(rdo, rdo_bytes); in pe_send_request_msg()