Lines Matching refs:device

185 typedef int (*policy_cb_get_snk_cap_t)(const struct device *dev, uint32_t **pdos, int *num_pdos);
194 typedef void (*policy_cb_set_src_cap_t)(const struct device *dev, const uint32_t *pdos,
204 typedef bool (*policy_cb_check_t)(const struct device *dev,
215 typedef bool (*policy_cb_wait_notify_t)(const struct device *dev,
225 typedef void (*policy_cb_notify_t)(const struct device *dev,
234 typedef uint32_t (*policy_cb_get_rdo_t)(const struct device *dev);
243 typedef bool (*policy_cb_is_snk_at_default_t)(const struct device *dev);
258 typedef int (*policy_cb_get_src_caps_t)(const struct device *dev, const uint32_t **pdos,
268 typedef enum usbc_snk_req_reply_t (*policy_cb_check_sink_request_t)(const struct device *dev,
277 typedef bool (*policy_cb_is_ps_ready_t)(const struct device *dev);
286 typedef bool (*policy_cb_present_contract_is_valid_t)(const struct device *dev,
296 typedef bool (*policy_cb_change_src_caps_t)(const struct device *dev);
306 typedef void (*policy_cb_set_port_partner_snk_cap_t)(const struct device *dev, const uint32_t *pdos,
316 typedef int (*policy_cb_get_src_rp_t)(const struct device *dev, enum tc_rp_value *rp);
324 typedef int (*policy_cb_src_en_t)(const struct device *dev, bool en);
334 int usbc_start(const struct device *dev);
343 int usbc_suspend(const struct device *dev);
353 int usbc_request(const struct device *dev, const enum usbc_policy_request_t req);
362 void usbc_bypass_next_sleep(const struct device *dev);
370 void usbc_set_dpm_data(const struct device *dev, void *dpm_data);
380 void *usbc_get_dpm_data(const struct device *dev);
388 void usbc_set_vconn_control_cb(const struct device *dev, const tcpc_vconn_control_cb_t cb);
396 void usbc_set_vconn_discharge_cb(const struct device *dev, const tcpc_vconn_discharge_cb_t cb);
404 void usbc_set_policy_cb_check(const struct device *dev, const policy_cb_check_t cb);
413 void usbc_set_policy_cb_notify(const struct device *dev, const policy_cb_notify_t cb);
422 void usbc_set_policy_cb_wait_notify(const struct device *dev, const policy_cb_wait_notify_t cb);
430 void usbc_set_policy_cb_get_snk_cap(const struct device *dev, const policy_cb_get_snk_cap_t cb);
439 void usbc_set_policy_cb_set_src_cap(const struct device *dev, const policy_cb_set_src_cap_t cb);
447 void usbc_set_policy_cb_get_rdo(const struct device *dev, const policy_cb_get_rdo_t cb);
456 void usbc_set_policy_cb_is_snk_at_default(const struct device *dev,
466 void usbc_set_policy_cb_get_src_rp(const struct device *dev, const policy_cb_get_src_rp_t cb);
474 void usbc_set_policy_cb_src_en(const struct device *dev, const policy_cb_src_en_t cb);
483 void usbc_set_policy_cb_get_src_caps(const struct device *dev, const policy_cb_get_src_caps_t cb);
491 void usbc_set_policy_cb_check_sink_request(const struct device *dev,
500 void usbc_set_policy_cb_is_ps_ready(const struct device *dev,
509 void usbc_set_policy_cb_present_contract_is_valid(const struct device *dev,
519 void usbc_set_policy_cb_change_src_caps(const struct device *dev,
528 void usbc_set_policy_cb_set_port_partner_snk_cap(const struct device *dev,