Lines Matching refs:device

199 	const struct device *dev;
269 void pe_first_msg_sent(const struct device *dev);
277 void pe_set_state(const struct device *dev, const enum usbc_pe_state state);
285 enum usbc_pe_state pe_get_state(const struct device *dev);
293 enum usbc_pe_state pe_get_last_state(const struct device *dev);
301 void pe_send_soft_reset(const struct device *dev, const enum pd_packet_type type);
310 void pe_send_data_msg(const struct device *dev,
321 void pe_send_ctrl_msg(const struct device *dev,
331 void pe_send_request_msg(const struct device *dev, const uint32_t rdo);
338 void extended_message_not_supported(const struct device *dev);
348 bool received_control_message(const struct device *dev, const union pd_header header,
359 bool received_data_message(const struct device *dev, const union pd_header header,
369 bool policy_check(const struct device *dev, const enum usbc_policy_check_t pc);
377 void policy_notify(const struct device *dev, const enum usbc_policy_notify_t notify);
386 bool policy_wait_notify(const struct device *dev, const enum usbc_policy_wait_t notify);
395 void policy_set_src_cap(const struct device *dev, const uint32_t *pdos, const int num_pdos);
400 enum usbc_snk_req_reply_t policy_check_sink_request(const struct device *dev,
409 bool policy_present_contract_is_valid(const struct device *dev, const uint32_t present_contract);
417 uint32_t policy_get_request_data_object(const struct device *dev);
425 bool policy_is_snk_at_default(const struct device *dev);
434 void policy_get_snk_cap(const struct device *dev, uint32_t **pdos, int *num_pdos);
439 bool policy_is_ps_ready(const struct device *dev);
448 bool policy_change_src_caps(const struct device *dev);
453 void pe_dpm_end_ams(const struct device *dev);
461 bool common_dpm_requests(const struct device *dev);
468 void pe_subsys_init(const struct device *dev);
476 void pe_start(const struct device *dev);
484 void pe_suspend(const struct device *dev);
493 void pe_run(const struct device *dev,
504 bool pe_is_running(const struct device *dev);
511 void pe_message_sent(const struct device *dev);
520 void pe_report_error(const struct device *dev,
530 void pe_report_discard(const struct device *dev);
538 void pe_message_received(const struct device *dev);
545 void pe_got_hard_reset(const struct device *dev);
552 void pe_got_soft_reset(const struct device *dev);
559 void pe_hard_reset_sent(const struct device *dev);
568 bool pe_is_explicit_contract(const struct device *dev);
576 void pe_invalidate_explicit_contract(const struct device *dev);
587 bool pe_dpm_initiated_ams(const struct device *dev);
596 enum tc_data_role pe_get_data_role(const struct device *dev);
604 void pe_set_data_role(const struct device *dev, enum tc_data_role dr);
613 enum tc_power_role pe_get_power_role(const struct device *dev);
622 enum tc_cable_plug pe_get_cable_plug(const struct device *dev);