Lines Matching full:data

26 	struct usbc_port_data *port = dev->data;  in usbc_handler()
66 struct usbc_port_data *port = dev->data; \
102 struct usbc_port_data *data = dev->data; in DT_INST_FOREACH_STATUS_OKAY() local
105 data->request.val = PRIV_PORT_REQUEST_START; in DT_INST_FOREACH_STATUS_OKAY()
106 k_fifo_put(&data->request_fifo, &data->request); in DT_INST_FOREACH_STATUS_OKAY()
109 k_thread_resume(data->port_thread); in DT_INST_FOREACH_STATUS_OKAY()
119 struct usbc_port_data *data = dev->data; in usbc_suspend() local
122 data->request.val = PRIV_PORT_REQUEST_SUSPEND; in usbc_suspend()
123 k_fifo_put(&data->request_fifo, &data->request); in usbc_suspend()
134 struct usbc_port_data *data = dev->data; in usbc_request() local
137 data->request.val = req; in usbc_request()
138 k_fifo_put(&data->request_fifo, &data->request); in usbc_request()
145 struct usbc_port_data *data = dev->data; in usbc_bypass_next_sleep() local
147 data->bypass_next_sleep = true; in usbc_bypass_next_sleep()
151 * @brief Sets the Device Policy Manager's data
155 struct usbc_port_data *data = dev->data; in usbc_set_dpm_data() local
157 data->dpm_data = dpm_data; in usbc_set_dpm_data()
161 * @brief Gets the Device Policy Manager's data
165 struct usbc_port_data *data = dev->data; in usbc_get_dpm_data() local
167 return data->dpm_data; in usbc_get_dpm_data()
178 struct usbc_port_data *data = dev->data; in usbc_set_policy_cb_get_snk_cap() local
180 data->policy_cb_get_snk_cap = policy_cb_get_snk_cap; in usbc_set_policy_cb_get_snk_cap()
190 struct usbc_port_data *data = dev->data; in usbc_set_policy_cb_set_src_cap() local
192 data->policy_cb_set_src_cap = policy_cb_set_src_cap; in usbc_set_policy_cb_set_src_cap()
196 * @brief Set the callback for requesting the data object (RDO)
201 struct usbc_port_data *data = dev->data; in usbc_set_policy_cb_get_rdo() local
203 data->policy_cb_get_rdo = policy_cb_get_rdo; in usbc_set_policy_cb_get_rdo()
213 struct usbc_port_data *data = dev->data; in usbc_set_policy_cb_is_snk_at_default() local
215 data->policy_cb_is_snk_at_default = policy_cb_is_snk_at_default; in usbc_set_policy_cb_is_snk_at_default()
226 struct usbc_port_data *data = dev->data; in usbc_set_policy_cb_set_port_partner_snk_cap() local
228 data->policy_cb_set_port_partner_snk_cap = cb; in usbc_set_policy_cb_set_port_partner_snk_cap()
238 struct usbc_port_data *data = dev->data; in usbc_set_policy_cb_get_src_caps() local
240 data->policy_cb_get_src_caps = cb; in usbc_set_policy_cb_get_src_caps()
250 struct usbc_port_data *data = dev->data; in usbc_set_policy_cb_get_src_rp() local
252 data->policy_cb_get_src_rp = policy_cb_get_src_rp; in usbc_set_policy_cb_get_src_rp()
262 struct usbc_port_data *data = dev->data; in usbc_set_policy_cb_src_en() local
264 data->policy_cb_src_en = policy_cb_src_en; in usbc_set_policy_cb_src_en()
273 struct usbc_port_data *data = dev->data; in usbc_set_policy_cb_check_sink_request() local
275 data->policy_cb_check_sink_request = cb; in usbc_set_policy_cb_check_sink_request()
284 struct usbc_port_data *data = dev->data; in usbc_set_policy_cb_is_ps_ready() local
286 data->policy_is_ps_ready = cb; in usbc_set_policy_cb_is_ps_ready()
295 struct usbc_port_data *data = dev->data; in usbc_set_policy_cb_present_contract_is_valid() local
297 data->policy_present_contract_is_valid = cb; in usbc_set_policy_cb_present_contract_is_valid()
307 struct usbc_port_data *data = dev->data; in usbc_set_policy_cb_change_src_caps() local
309 data->policy_change_src_caps = cb; in usbc_set_policy_cb_change_src_caps()
319 struct usbc_port_data *data = dev->data; in usbc_set_vconn_control_cb() local
320 const struct device *tcpc = data->tcpc; in usbc_set_vconn_control_cb()
332 struct usbc_port_data *data = dev->data; in usbc_set_vconn_discharge() local
333 const struct device *tcpc = data->tcpc; in usbc_set_vconn_discharge()
345 struct usbc_port_data *data = dev->data; in usbc_set_policy_cb_check() local
347 data->policy_cb_check = policy_cb_check; in usbc_set_policy_cb_check()
355 struct usbc_port_data *data = dev->data; in usbc_set_policy_cb_notify() local
357 data->policy_cb_notify = policy_cb_notify; in usbc_set_policy_cb_notify()
366 struct usbc_port_data *data = dev->data; in usbc_set_policy_cb_wait_notify() local
368 data->policy_cb_wait_notify = policy_cb_wait_notify; in usbc_set_policy_cb_wait_notify()
376 struct usbc_port_data *data = dev->data; in usbc_subsys_init() local
378 const struct device *tcpc = data->tcpc; in usbc_subsys_init()
392 k_fifo_init(&data->request_fifo); in usbc_subsys_init()