Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/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.h393 void policy_set_src_cap(const struct device *dev, const uint32_t *pdos, const int num_pdos);
432 void policy_get_snk_cap(const struct device *dev, uint32_t **pdos, int *num_pdos);
Dusbc_pe_common.c617 void policy_set_src_cap(const struct device *dev, const uint32_t *pdos, const int num_pdos) in policy_set_src_cap() argument
622 data->policy_cb_set_src_cap(dev, pdos, num_pdos); in policy_set_src_cap()
643 void policy_get_snk_cap(const struct device *dev, uint32_t **pdos, int *num_pdos) in policy_get_snk_cap() argument
650 data->policy_cb_get_snk_cap(dev, pdos, num_pdos); in policy_get_snk_cap()
660 const int num_pdos) in policy_set_port_partner_snk_cap() argument
665 data->policy_cb_set_port_partner_snk_cap(dev, pdos, num_pdos); in policy_set_port_partner_snk_cap()
911 uint32_t num_pdos = in pe_get_sink_cap_run() local
914 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.c672 uint32_t num_pdos; in pe_snk_give_sink_cap_entry() local
675 policy_get_snk_cap(dev, &pdos, &num_pdos); in pe_snk_give_sink_cap_entry()
677 msg->len = PD_CONVERT_PD_HEADER_COUNT_TO_BYTES(num_pdos); in pe_snk_give_sink_cap_entry()
/Zephyr-Core-3.7.0/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-Core-3.7.0/samples/subsys/usb_c/sink/src/
Dmain.c176 int *num_pdos) in port0_policy_cb_get_snk_cap() argument
181 *num_pdos = dpm_data->snk_cap_cnt; in port0_policy_cb_get_snk_cap()
188 const int num_pdos) in port0_policy_cb_set_src_cap() argument
196 num = num_pdos; in port0_policy_cb_set_src_cap()
/Zephyr-Core-3.7.0/samples/subsys/usb_c/source/src/
Dmain.c136 const uint32_t **pdos, uint32_t *num_pdos) in port0_policy_cb_get_src_caps() argument
141 *num_pdos = dpm_data->src_cap_cnt; in port0_policy_cb_get_src_caps()