Home
last modified time | relevance | path

Searched full:pdos (Results 1 – 17 of 17) sorted by relevance

/Zephyr-latest/dts/bindings/usb-c/
Dusb-c-connector.yaml33 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/
Dusbc.h181 * @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/
Ddt_constants.py8 SINK_PDOS = "sink-pdos"
/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);
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_common_internal.h392 * @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);
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()
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()
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()
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()
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-latest/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-latest/samples/subsys/usb_c/sink/src/
Dmain.c174 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/
Dstm32g081b_eval.overlay75 source-pdos = <PDO_FIXED(5000, 100, 0) PDO_FIXED(9000, 100, 0) PDO_FIXED(15000, 100, 0)>;
/Zephyr-latest/samples/subsys/usb_c/sink/
DREADME.rst16 Power Delivery Objects (PDOs) provided by the charger.
/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
139 *pdos = dpm_data->src_caps; in port0_policy_cb_get_src_caps()
/Zephyr-latest/boards/weact/stm32g431_core/
Dweact_stm32g431_core.dts76 sink-pdos = <PDO_FIXED(5000, 100, PDO_FIXED_USB_COMM)>;
/Zephyr-latest/samples/modules/canopennode/objdict/
Dobjdict.xml67 …<description>bit 0-31: window length after SYNC when PDOS must be transmitted in µs, (0 = not use…