Searched refs:hw_page_size (Results 1 – 2 of 2) sorted by relevance
/linux-4.1.27/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_hw.c | 372 dma_addr_t host_pa, int hw_page_size) in ocrdma_build_q_pages() argument 379 host_pa += hw_page_size; in ocrdma_build_q_pages() 2124 u32 len, hw_pages, hw_page_size; in ocrdma_set_create_qp_sq_cmd() local 2137 dev->attr.wqe_size, &hw_pages, &hw_page_size); in ocrdma_set_create_qp_sq_cmd() 2144 len = (hw_pages * hw_page_size); in ocrdma_set_create_qp_sq_cmd() 2153 ocrdma_build_q_pages(&cmd->wq_addr[0], hw_pages, pa, hw_page_size); in ocrdma_set_create_qp_sq_cmd() 2155 cmd->type_pgsz_pdn |= (ilog2(hw_page_size / OCRDMA_MIN_Q_PAGE_SIZE) in ocrdma_set_create_qp_sq_cmd() 2180 u32 len, hw_pages, hw_page_size; in ocrdma_set_create_qp_rq_cmd() local 2188 &hw_pages, &hw_page_size); in ocrdma_set_create_qp_rq_cmd() 2195 len = (hw_pages * hw_page_size); in ocrdma_set_create_qp_rq_cmd() [all …]
|
/linux-4.1.27/drivers/scsi/lpfc/ |
D | lpfc_sli.c | 12786 uint32_t hw_page_size = phba->sli4_hba.pc_sli4_params.if_page_sz; in lpfc_sli4_queue_alloc() local 12789 hw_page_size = SLI4_PAGE_SIZE; in lpfc_sli4_queue_alloc() 12796 hw_page_size))/hw_page_size; in lpfc_sli4_queue_alloc() 12805 hw_page_size, &dmabuf->phys, in lpfc_sli4_queue_alloc() 12816 dma_pointer < (hw_page_size + dmabuf->virt); in lpfc_sli4_queue_alloc() 12984 uint32_t hw_page_size = phba->sli4_hba.pc_sli4_params.if_page_sz; in lpfc_eq_create() local 12990 hw_page_size = SLI4_PAGE_SIZE; in lpfc_eq_create() 13040 memset(dmabuf->virt, 0, hw_page_size); in lpfc_eq_create() 13103 uint32_t hw_page_size = phba->sli4_hba.pc_sli4_params.if_page_sz; in lpfc_cq_create() local 13109 hw_page_size = SLI4_PAGE_SIZE; in lpfc_cq_create() [all …]
|