Lines Matching refs:ipc_link
271 struct wr_msg_ctl_info *ipc_link; in write_ipc_from_queue() local
300 ipc_link = list_first_entry(&dev->wr_processing_list, in write_ipc_from_queue()
303 length = ipc_link->length - sizeof(uint32_t); in write_ipc_from_queue()
304 doorbell_val = *(uint32_t *)ipc_link->inline_data; in write_ipc_from_queue()
305 r_buf = (uint32_t *)(ipc_link->inline_data + sizeof(uint32_t)); in write_ipc_from_queue()
348 ipc_send_compl = ipc_link->ipc_send_compl; in write_ipc_from_queue()
349 ipc_send_compl_prm = ipc_link->ipc_send_compl_prm; in write_ipc_from_queue()
350 list_del_init(&ipc_link->link); in write_ipc_from_queue()
351 list_add(&ipc_link->link, &dev->wr_free_list); in write_ipc_from_queue()
384 struct wr_msg_ctl_info *ipc_link; in write_ipc_to_queue() local
395 ipc_link = list_first_entry(&dev->wr_free_list, in write_ipc_to_queue()
397 list_del_init(&ipc_link->link); in write_ipc_to_queue()
399 ipc_link->ipc_send_compl = ipc_send_compl; in write_ipc_to_queue()
400 ipc_link->ipc_send_compl_prm = ipc_send_compl_prm; in write_ipc_to_queue()
401 ipc_link->length = length; in write_ipc_to_queue()
402 memcpy(ipc_link->inline_data, msg, length); in write_ipc_to_queue()
404 list_add_tail(&ipc_link->link, &dev->wr_processing_list); in write_ipc_to_queue()