Searched refs:dpm_data (Results 1 – 5 of 5) sorted by relevance
90 struct port1_data_t *dpm_data = usbc_get_dpm_data(dev); in port1_policy_cb_get_src_rp() local92 *rp = dpm_data->rp; in port1_policy_cb_get_src_rp()113 struct port1_data_t *dpm_data = usbc_get_dpm_data(dev); in port1_policy_cb_vconn_en() local115 dpm_data->vconn_pol = pol; in port1_policy_cb_vconn_en()138 struct port1_data_t *dpm_data = usbc_get_dpm_data(dev); in port1_policy_cb_get_src_caps() local140 *pdos = dpm_data->src_caps; in port1_policy_cb_get_src_caps()141 *num_pdos = dpm_data->src_cap_cnt; in port1_policy_cb_get_src_caps()152 struct port1_data_t *dpm_data = usbc_get_dpm_data(dev); in port1_policy_cb_check_sink_request() local157 dpm_data->sink_request.raw_value = request_msg; in port1_policy_cb_check_sink_request()158 obj_pos = dpm_data->sink_request.fixed.object_pos; in port1_policy_cb_check_sink_request()[all …]
64 static uint32_t build_rdo(const struct port1_data_t *dpm_data) in build_rdo() argument164 struct port1_data_t *dpm_data = usbc_get_dpm_data(dev); in display_source_caps() local167 for (int i = 0; i < dpm_data->src_cap_cnt; i++) { in display_source_caps()168 display_pdo(i, dpm_data->src_caps[i]); in display_source_caps()178 struct port1_data_t *dpm_data = usbc_get_dpm_data(dev); in port1_policy_cb_get_snk_cap() local180 *pdos = dpm_data->snk_caps; in port1_policy_cb_get_snk_cap()181 *num_pdos = dpm_data->snk_cap_cnt; in port1_policy_cb_get_snk_cap()190 struct port1_data_t *dpm_data; in port1_policy_cb_set_src_cap() local194 dpm_data = usbc_get_dpm_data(dev); in port1_policy_cb_set_src_cap()202 dpm_data->src_caps[i] = *(pdos + i); in port1_policy_cb_set_src_cap()[all …]
139 void usbc_set_dpm_data(const struct device *dev, void *dpm_data) in usbc_set_dpm_data() argument143 data->dpm_data = dpm_data; in usbc_set_dpm_data()153 return data->dpm_data; in usbc_get_dpm_data()
211 void *dpm_data; member
359 void usbc_set_dpm_data(const struct device *dev, void *dpm_data);