Lines Matching refs:wqe_ptr
1029 u8 *wqe_ptr) in mana_gd_write_client_oob() argument
1033 struct gdma_wqe *header = (struct gdma_wqe *)wqe_ptr; in mana_gd_write_client_oob()
1056 ptr = wqe_ptr + sizeof(header); in mana_gd_write_client_oob()
1069 static void mana_gd_write_sgl(struct gdma_queue *wq, u8 *wqe_ptr, in mana_gd_write_sgl() argument
1079 size_to_end = (u32)(end_ptr - wqe_ptr); in mana_gd_write_sgl()
1082 memcpy(wqe_ptr, address, size_to_end); in mana_gd_write_sgl()
1084 wqe_ptr = base_ptr; in mana_gd_write_sgl()
1089 memcpy(wqe_ptr, address, sgl_size); in mana_gd_write_sgl()
1101 u8 *wqe_ptr; in mana_gd_post_work_request() local
1136 wqe_ptr = mana_gd_get_wqe_ptr(wq, wq->head); in mana_gd_post_work_request()
1137 wqe_ptr += mana_gd_write_client_oob(wqe_req, wq->type, client_oob_size, in mana_gd_post_work_request()
1138 sgl_data_size, wqe_ptr); in mana_gd_post_work_request()
1139 if (wqe_ptr >= (u8 *)wq->queue_mem_ptr + wq->queue_size) in mana_gd_post_work_request()
1140 wqe_ptr -= wq->queue_size; in mana_gd_post_work_request()
1142 mana_gd_write_sgl(wq, wqe_ptr, wqe_req); in mana_gd_post_work_request()