Home
last modified time | relevance | path

Searched refs:pdos (Results 1 – 13 of 13) 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);
147 void (*policy_cb_set_src_cap)(const struct device *dev, const uint32_t *pdos,
179 const uint32_t **pdos,
212 const uint32_t *pdos,
Dusbc_pe_snk_states.c195 uint32_t *pdos = (uint32_t *)prl_rx->emsg.data; in pe_snk_evaluate_capability_entry() local
212 policy_set_src_cap(dev, pdos, num_pdo_objs); in pe_snk_evaluate_capability_entry()
671 uint32_t *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()
678 memcpy(msg->data, (uint8_t *)pdos, msg->len); in pe_snk_give_sink_cap_entry()
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()
659 const uint32_t *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()
910 uint32_t *pdos = (uint32_t *)prl_rx->emsg.data; 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.c78 const uint32_t *pdos; in send_src_caps() local
85 data->policy_cb_get_src_caps(dev, &pdos, &num_pdos); in send_src_caps()
88 memcpy(msg->data, pdos, msg->len); in send_src_caps()
/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);
194 typedef void (*policy_cb_set_src_cap_t)(const struct device *dev, const uint32_t *pdos,
258 typedef int (*policy_cb_get_src_caps_t)(const struct device *dev, const uint32_t **pdos,
306 typedef void (*policy_cb_set_port_partner_snk_cap_t)(const struct device *dev, const uint32_t *pdos,
/Zephyr-Core-3.7.0/samples/subsys/usb_c/sink/src/
Dmain.c175 uint32_t **pdos, in port0_policy_cb_get_snk_cap() argument
180 *pdos = dpm_data->snk_caps; in port0_policy_cb_get_snk_cap()
187 const uint32_t *pdos, in port0_policy_cb_set_src_cap() argument
202 dpm_data->src_caps[i] = *(pdos + i); in port0_policy_cb_set_src_cap()
/Zephyr-Core-3.7.0/samples/subsys/usb_c/sink/boards/
Dstm32g081b_eval.overlay35 sink-pdos = <PDO_FIXED(5000, 100, 0)>;
Db_g474e_dpow1.overlay34 sink-pdos = <PDO_FIXED(5000, 100, 0)>;
Dnumaker_m2l31ki.overlay21 sink-pdos = <PDO_FIXED(5000, 100, 0)>;
/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
140 *pdos = dpm_data->src_caps; in port0_policy_cb_get_src_caps()
/Zephyr-Core-3.7.0/samples/subsys/usb_c/source/boards/
Dstm32g081b_eval.overlay75 source-pdos = <PDO_FIXED(5000, 100, 0) PDO_FIXED(9000, 100, 0) PDO_FIXED(15000, 100, 0)>;
/Zephyr-Core-3.7.0/boards/weact/stm32g431_core/
Dweact_stm32g431_core.dts76 sink-pdos = <PDO_FIXED(5000, 100, PDO_FIXED_USB_COMM)>;