/Zephyr-Core-3.7.0/subsys/usb/usb_c/ |
D | usbc_stack.h | 141 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,
|
D | usbc_pe_snk_states.c | 195 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()
|
D | usbc_pe_common_internal.h | 393 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);
|
D | usbc_pe_common.c | 617 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()
|
D | usbc_pe_src_states.c | 78 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/ |
D | usbc.h | 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, 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/ |
D | main.c | 175 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/ |
D | stm32g081b_eval.overlay | 35 sink-pdos = <PDO_FIXED(5000, 100, 0)>;
|
D | b_g474e_dpow1.overlay | 34 sink-pdos = <PDO_FIXED(5000, 100, 0)>;
|
D | numaker_m2l31ki.overlay | 21 sink-pdos = <PDO_FIXED(5000, 100, 0)>;
|
/Zephyr-Core-3.7.0/samples/subsys/usb_c/source/src/ |
D | main.c | 136 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/ |
D | stm32g081b_eval.overlay | 75 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/ |
D | weact_stm32g431_core.dts | 76 sink-pdos = <PDO_FIXED(5000, 100, PDO_FIXED_USB_COMM)>;
|