Lines Matching refs:p_data
205 struct stratix10_svc_data *p_data, in svc_thread_cmd_data_claim() argument
230 p_data->chan->scl->receive_cb(p_data->chan->scl, in svc_thread_cmd_data_claim()
251 struct stratix10_svc_data *p_data, in svc_thread_cmd_config_status() argument
266 a1 = (unsigned long)p_data->paddr; in svc_thread_cmd_config_status()
267 a2 = (unsigned long)p_data->size; in svc_thread_cmd_config_status()
269 if (p_data->command == COMMAND_POLL_SERVICE_STATUS) in svc_thread_cmd_config_status()
305 p_data->chan->scl->receive_cb(p_data->chan->scl, cb_data); in svc_thread_cmd_config_status()
316 static void svc_thread_recv_status_ok(struct stratix10_svc_data *p_data, in svc_thread_recv_status_ok() argument
324 switch (p_data->command) { in svc_thread_recv_status_ok()
378 p_data->chan->scl->receive_cb(p_data->chan->scl, cb_data); in svc_thread_recv_status_ok()
959 struct stratix10_svc_data *p_data; in stratix10_svc_send() local
963 p_data = kzalloc(sizeof(*p_data), GFP_KERNEL); in stratix10_svc_send()
964 if (!p_data) in stratix10_svc_send()
977 kfree(p_data); in stratix10_svc_send()
993 p_data->flag = ct->flags; in stratix10_svc_send()
998 p_data->paddr = p_mem->paddr; in stratix10_svc_send()
999 p_data->size = p_msg->payload_length; in stratix10_svc_send()
1005 p_data->paddr_output = in stratix10_svc_send()
1007 p_data->size_output = in stratix10_svc_send()
1014 p_data->command = p_msg->command; in stratix10_svc_send()
1015 p_data->arg[0] = p_msg->arg[0]; in stratix10_svc_send()
1016 p_data->arg[1] = p_msg->arg[1]; in stratix10_svc_send()
1017 p_data->arg[2] = p_msg->arg[2]; in stratix10_svc_send()
1018 p_data->size = p_msg->payload_length; in stratix10_svc_send()
1019 p_data->chan = chan; in stratix10_svc_send()
1021 (unsigned int)p_data->paddr, p_data->command, in stratix10_svc_send()
1022 (unsigned int)p_data->size); in stratix10_svc_send()
1023 ret = kfifo_in_spinlocked(&chan->ctrl->svc_fifo, p_data, in stratix10_svc_send()
1024 sizeof(*p_data), in stratix10_svc_send()
1027 kfree(p_data); in stratix10_svc_send()