Lines Matching refs:p_ramrod

578 	struct rdma_init_func_ramrod_data *p_ramrod;  in qed_rdma_start_fw()  local
606 p_ramrod = &p_ent->ramrod.iwarp_init_func.rdma; in qed_rdma_start_fw()
608 p_ramrod = &p_ent->ramrod.roce_init_func.rdma; in qed_rdma_start_fw()
611 p_params_header = &p_ramrod->params_header; in qed_rdma_start_fw()
624 p_ramrod->cnq_params[cnq_id].sb_num = cpu_to_le16(igu_sb_id); in qed_rdma_start_fw()
625 p_cnq_params = &p_ramrod->cnq_params[cnq_id]; in qed_rdma_start_fw()
717 struct rdma_close_func_ramrod_data *p_ramrod; in qed_rdma_stop() local
766 p_ramrod = &p_ent->ramrod.rdma_close_func; in qed_rdma_stop()
768 p_ramrod->num_cnqs = p_hwfn->p_rdma_info->num_cnqs; in qed_rdma_stop()
769 p_ramrod->cnq_start_offset = (u8)RESC_START(p_hwfn, QED_RDMA_CNQ_RAM); in qed_rdma_stop()
1017 struct rdma_create_cq_ramrod_data *p_ramrod; in qed_rdma_create_cq() local
1059 p_ramrod = &p_ent->ramrod.rdma_create_cq; in qed_rdma_create_cq()
1061 p_ramrod->cq_handle.hi = cpu_to_le32(params->cq_handle_hi); in qed_rdma_create_cq()
1062 p_ramrod->cq_handle.lo = cpu_to_le32(params->cq_handle_lo); in qed_rdma_create_cq()
1063 p_ramrod->dpi = cpu_to_le16(params->dpi); in qed_rdma_create_cq()
1064 p_ramrod->is_two_level_pbl = params->pbl_two_level; in qed_rdma_create_cq()
1065 p_ramrod->max_cqes = cpu_to_le32(params->cq_size); in qed_rdma_create_cq()
1066 DMA_REGPAIR_LE(p_ramrod->pbl_addr, params->pbl_ptr); in qed_rdma_create_cq()
1067 p_ramrod->pbl_num_pages = cpu_to_le16(params->pbl_num_pages); in qed_rdma_create_cq()
1068 p_ramrod->cnq_id = (u8)RESC_START(p_hwfn, QED_RDMA_CNQ_RAM) + in qed_rdma_create_cq()
1070 p_ramrod->int_timeout = params->int_timeout; in qed_rdma_create_cq()
1075 p_ramrod->toggle_bit = toggle_bit; in qed_rdma_create_cq()
1104 struct rdma_destroy_cq_ramrod_data *p_ramrod; in qed_rdma_destroy_cq() local
1137 p_ramrod = &p_ent->ramrod.rdma_destroy_cq; in qed_rdma_destroy_cq()
1138 DMA_REGPAIR_LE(p_ramrod->output_params_addr, ramrod_res_phys); in qed_rdma_destroy_cq()
1439 struct rdma_register_tid_ramrod_data *p_ramrod; in qed_rdma_register_tid() local
1463 p_ramrod = &p_ent->ramrod.rdma_register_tid; in qed_rdma_register_tid()
1465 p_ramrod->flags = 0; in qed_rdma_register_tid()
1466 SET_FIELD(p_ramrod->flags, in qed_rdma_register_tid()
1470 SET_FIELD(p_ramrod->flags, in qed_rdma_register_tid()
1473 SET_FIELD(p_ramrod->flags, in qed_rdma_register_tid()
1478 SET_FIELD(p_ramrod->flags, in qed_rdma_register_tid()
1482 SET_FIELD(p_ramrod->flags, in qed_rdma_register_tid()
1486 SET_FIELD(p_ramrod->flags, in qed_rdma_register_tid()
1490 SET_FIELD(p_ramrod->flags, in qed_rdma_register_tid()
1494 SET_FIELD(p_ramrod->flags, in qed_rdma_register_tid()
1498 SET_FIELD(p_ramrod->flags, in qed_rdma_register_tid()
1501 SET_FIELD(p_ramrod->flags, in qed_rdma_register_tid()
1505 SET_FIELD(p_ramrod->flags1, in qed_rdma_register_tid()
1509 SET_FIELD(p_ramrod->flags2, in qed_rdma_register_tid()
1528 SET_FIELD(p_ramrod->flags1, in qed_rdma_register_tid()
1531 p_ramrod->itid = cpu_to_le32(params->itid); in qed_rdma_register_tid()
1532 p_ramrod->key = params->key; in qed_rdma_register_tid()
1533 p_ramrod->pd = cpu_to_le16(params->pd); in qed_rdma_register_tid()
1534 p_ramrod->length_hi = (u8)(params->length >> 32); in qed_rdma_register_tid()
1535 p_ramrod->length_lo = DMA_LO_LE(params->length); in qed_rdma_register_tid()
1540 p_ramrod->va.hi = 0; in qed_rdma_register_tid()
1541 p_ramrod->va.lo = cpu_to_le32(params->fbo); in qed_rdma_register_tid()
1543 DMA_REGPAIR_LE(p_ramrod->va, params->vaddr); in qed_rdma_register_tid()
1545 DMA_REGPAIR_LE(p_ramrod->pbl_base, params->pbl_ptr); in qed_rdma_register_tid()
1549 SET_FIELD(p_ramrod->flags2, in qed_rdma_register_tid()
1551 DMA_REGPAIR_LE(p_ramrod->dif_error_addr, in qed_rdma_register_tid()
1571 struct rdma_deregister_tid_ramrod_data *p_ramrod; in qed_rdma_deregister_tid() local
1592 p_ramrod = &p_ent->ramrod.rdma_deregister_tid; in qed_rdma_deregister_tid()
1593 p_ramrod->itid = cpu_to_le32(itid); in qed_rdma_deregister_tid()
1663 struct rdma_srq_modify_ramrod_data *p_ramrod; in qed_rdma_modify_srq() local
1679 p_ramrod = &p_ent->ramrod.rdma_modify_srq; in qed_rdma_modify_srq()
1680 p_ramrod->srq_id.srq_idx = cpu_to_le16(in_params->srq_id); in qed_rdma_modify_srq()
1682 p_ramrod->srq_id.opaque_fid = cpu_to_le16(opaque_fid); in qed_rdma_modify_srq()
1683 p_ramrod->wqe_limit = cpu_to_le32(in_params->wqe_limit); in qed_rdma_modify_srq()
1699 struct rdma_srq_destroy_ramrod_data *p_ramrod; in qed_rdma_destroy_srq() local
1718 p_ramrod = &p_ent->ramrod.rdma_destroy_srq; in qed_rdma_destroy_srq()
1719 p_ramrod->srq_id.srq_idx = cpu_to_le16(in_params->srq_id); in qed_rdma_destroy_srq()
1720 p_ramrod->srq_id.opaque_fid = cpu_to_le16(opaque_fid); in qed_rdma_destroy_srq()
1743 struct rdma_srq_create_ramrod_data *p_ramrod; in qed_rdma_create_srq() local
1781 p_ramrod = &p_ent->ramrod.rdma_create_srq; in qed_rdma_create_srq()
1782 DMA_REGPAIR_LE(p_ramrod->pbl_base_addr, in_params->pbl_base_addr); in qed_rdma_create_srq()
1783 p_ramrod->pages_in_srq_pbl = cpu_to_le16(in_params->num_pages); in qed_rdma_create_srq()
1784 p_ramrod->pd_id = cpu_to_le16(in_params->pd_id); in qed_rdma_create_srq()
1785 p_ramrod->srq_id.srq_idx = cpu_to_le16(srq_id); in qed_rdma_create_srq()
1786 p_ramrod->srq_id.opaque_fid = cpu_to_le16(opaque_fid); in qed_rdma_create_srq()
1787 p_ramrod->page_size = cpu_to_le16(in_params->page_size); in qed_rdma_create_srq()
1788 DMA_REGPAIR_LE(p_ramrod->producers_addr, in_params->prod_pair_addr); in qed_rdma_create_srq()