Home
last modified time | relevance | path

Searched refs:num_pdos (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/subsys/usb/usb_c/
Dusbc_stack.h141 int (*policy_cb_get_snk_cap)(const struct device *dev, uint32_t **pdos, int *num_pdos);
148 const int num_pdos);
180 uint32_t *num_pdos);
213 const int num_pdos);
Dusbc_pe_common_internal.h395 void policy_set_src_cap(const struct device *dev, const uint32_t *pdos, const int num_pdos);
434 void policy_get_snk_cap(const struct device *dev, uint32_t **pdos, int *num_pdos);
Dusbc_pe_common.c631 void policy_set_src_cap(const struct device *dev, const uint32_t *pdos, const int num_pdos) in policy_set_src_cap() argument
636 data->policy_cb_set_src_cap(dev, pdos, num_pdos); in policy_set_src_cap()
657 void policy_get_snk_cap(const struct device *dev, uint32_t **pdos, int *num_pdos) in policy_get_snk_cap() argument
664 data->policy_cb_get_snk_cap(dev, pdos, num_pdos); in policy_get_snk_cap()
674 const int num_pdos) in policy_set_port_partner_snk_cap() argument
679 data->policy_cb_set_port_partner_snk_cap(dev, pdos, num_pdos); in policy_set_port_partner_snk_cap()
925 uint32_t num_pdos = in pe_get_sink_cap_run() local
928 policy_set_port_partner_snk_cap(dev, pdos, num_pdos); in pe_get_sink_cap_run()
Dusbc_pe_src_states.c79 uint32_t num_pdos = 0; in send_src_caps() local
85 data->policy_cb_get_src_caps(dev, &pdos, &num_pdos); in send_src_caps()
87 msg->len = PD_CONVERT_PD_HEADER_COUNT_TO_BYTES(num_pdos); in send_src_caps()
Dusbc_pe_snk_states.c681 uint32_t num_pdos; in pe_snk_give_sink_cap_entry() local
684 policy_get_snk_cap(dev, &pdos, &num_pdos); in pe_snk_give_sink_cap_entry()
686 msg->len = PD_CONVERT_PD_HEADER_COUNT_TO_BYTES(num_pdos); in pe_snk_give_sink_cap_entry()
/Zephyr-latest/include/zephyr/usb_c/
Dusbc.h185 typedef int (*policy_cb_get_snk_cap_t)(const struct device *dev, uint32_t **pdos, int *num_pdos);
195 const int num_pdos);
259 uint32_t *num_pdos);
307 const int num_pdos);
/Zephyr-latest/samples/subsys/usb_c/sink/src/
Dmain.c175 int *num_pdos) in port0_policy_cb_get_snk_cap() argument
180 *num_pdos = dpm_data->snk_cap_cnt; in port0_policy_cb_get_snk_cap()
187 const int num_pdos) in port0_policy_cb_set_src_cap() argument
195 num = num_pdos; in port0_policy_cb_set_src_cap()
/Zephyr-latest/samples/subsys/usb_c/source/src/
Dmain.c135 const uint32_t **pdos, uint32_t *num_pdos) in port0_policy_cb_get_src_caps() argument
140 *num_pdos = dpm_data->src_cap_cnt; in port0_policy_cb_get_src_caps()