/Zephyr-latest/dts/bindings/usb-c/ |
D | usb-c-connector.yaml | 33 sink-pdos = <PDO_FIXED(5000, 2000, PDO_FIXED_USB_COMM) 114 source-pdos: 117 An array of source Power Data Objects (PDOs). 118 Use the following macros to define the PDOs, defined in 126 sink-pdos: 129 An array of sink Power Data Objects (PDOs). 130 Use the following macros to define the PDOs, defined in
|
/Zephyr-latest/include/zephyr/usb_c/ |
D | usbc.h | 181 * @param pdos pointer where pdos are stored 182 * @param num_pdos pointer where number of pdos is stored 185 typedef int (*policy_cb_get_snk_cap_t)(const struct device *dev, uint32_t **pdos, int *num_pdos); 191 * @param pdos pointer to the partner's source pdos 192 * @param num_pdos number of source pdos 194 typedef void (*policy_cb_set_src_cap_t)(const struct device *dev, const uint32_t *pdos, 254 * @param pdos pointer to source capability pdos 255 * @param num_pdos pointer to number of source capability pdos 258 typedef int (*policy_cb_get_src_caps_t)(const struct device *dev, const uint32_t **pdos, 303 * @param pdos pointer to sink cap pdos [all …]
|
/Zephyr-latest/scripts/generate_usb_vif/constants/ |
D | dt_constants.py | 8 SINK_PDOS = "sink-pdos"
|
/Zephyr-latest/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_common_internal.h | 392 * @param pdos pointer to pdos to send 393 * @param num_pdos number of pdos to send 395 void policy_set_src_cap(const struct device *dev, const uint32_t *pdos, const int num_pdos); 431 * @param pdos pointer to pdo sink caps 434 void policy_get_snk_cap(const struct device *dev, uint32_t **pdos, int *num_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() 680 uint32_t *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() 687 memcpy(msg->data, (uint8_t *)pdos, msg->len); in pe_snk_give_sink_cap_entry()
|
D | usbc_pe_common.c | 631 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() 673 const uint32_t *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() 924 uint32_t *pdos = (uint32_t *)prl_rx->emsg.data; in pe_get_sink_cap_run() local 928 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-latest/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-latest/samples/subsys/usb_c/sink/src/ |
D | main.c | 174 uint32_t **pdos, in port0_policy_cb_get_snk_cap() argument 179 *pdos = dpm_data->snk_caps; in port0_policy_cb_get_snk_cap() 186 const uint32_t *pdos, in port0_policy_cb_set_src_cap() argument 201 dpm_data->src_caps[i] = *(pdos + i); in port0_policy_cb_set_src_cap()
|
/Zephyr-latest/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-latest/samples/subsys/usb_c/sink/ |
D | README.rst | 16 Power Delivery Objects (PDOs) provided by the charger.
|
/Zephyr-latest/samples/subsys/usb_c/source/src/ |
D | main.c | 135 const uint32_t **pdos, uint32_t *num_pdos) in port0_policy_cb_get_src_caps() argument 139 *pdos = dpm_data->src_caps; in port0_policy_cb_get_src_caps()
|
/Zephyr-latest/boards/weact/stm32g431_core/ |
D | weact_stm32g431_core.dts | 76 sink-pdos = <PDO_FIXED(5000, 100, PDO_FIXED_USB_COMM)>;
|
/Zephyr-latest/samples/modules/canopennode/objdict/ |
D | objdict.xml | 67 …<description>bit 0-31: window length after SYNC when PDOS must be transmitted in µs, (0 = not use…
|