Lines Matching refs:vmem
988 void *vmem; in nes_init_cqp() local
1031 vmem = (void *)(((unsigned long)nesdev->cqp_vbase + (512 - 1)) & in nes_init_cqp()
1036 nesdev->cqp.sq_vbase = vmem; in nes_init_cqp()
1043 vmem += (sizeof(struct nes_hw_cqp_wqe) * nesdev->cqp.sq_size); in nes_init_cqp()
1046 nesdev->ccq.cq_vbase = vmem; in nes_init_cqp()
1053 vmem += (sizeof(struct nes_hw_cqe) * nesdev->ccq.cq_size); in nes_init_cqp()
1058 ceq->ceq_vbase = vmem; in nes_init_cqp()
1063 vmem += max(((u32)sizeof(struct nes_hw_ceqe) * ceq->ceq_size), (u32)256); in nes_init_cqp()
1068 nic_ceq->ceq_vbase = vmem; in nes_init_cqp()
1073 vmem += max(((u32)sizeof(struct nes_hw_ceqe) * nic_ceq->ceq_size), (u32)256); in nes_init_cqp()
1077 aeq->aeq_vbase = vmem; in nes_init_cqp()
1083 vmem += (sizeof(struct nes_hw_aeqe) * aeq->aeq_size); in nes_init_cqp()
1086 cqp_qp_context = vmem; in nes_init_cqp()
1676 void *vmem; in nes_init_nic_qp() local
1704 vmem = (void *)(((unsigned long)nesvnic->nic_vbase + (256 - 1)) & in nes_init_nic_qp()
1710 nesvnic->nic.first_frag_vbase = vmem; in nes_init_nic_qp()
1718 vmem += (NES_NIC_WQ_SIZE * sizeof(struct nes_first_frag)); in nes_init_nic_qp()
1720 nesvnic->nic.sq_vbase = (void *)vmem; in nes_init_nic_qp()
1745 vmem += (NES_NIC_WQ_SIZE * sizeof(struct nes_hw_nic_sq_wqe)); in nes_init_nic_qp()
1749 nesvnic->nic.rq_vbase = vmem; in nes_init_nic_qp()
1756 vmem += (NES_NIC_WQ_SIZE * sizeof(struct nes_hw_nic_rq_wqe)); in nes_init_nic_qp()
1764 nesvnic->nic_cq.cq_vbase = vmem; in nes_init_nic_qp()