Home
last modified time | relevance | path

Searched refs:hw_page_size (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/infiniband/hw/ocrdma/
H A Docrdma_hw.c391 dma_addr_t host_pa, int hw_page_size) in ocrdma_build_q_pages() argument
398 host_pa += hw_page_size; in ocrdma_build_q_pages()
2181 u32 len, hw_pages, hw_page_size; in ocrdma_set_create_qp_sq_cmd() local
2194 dev->attr.wqe_size, &hw_pages, &hw_page_size); in ocrdma_set_create_qp_sq_cmd()
2201 len = (hw_pages * hw_page_size); in ocrdma_set_create_qp_sq_cmd()
2209 ocrdma_build_q_pages(&cmd->wq_addr[0], hw_pages, pa, hw_page_size); in ocrdma_set_create_qp_sq_cmd()
2211 cmd->type_pgsz_pdn |= (ilog2(hw_page_size / OCRDMA_MIN_Q_PAGE_SIZE) in ocrdma_set_create_qp_sq_cmd()
2236 u32 len, hw_pages, hw_page_size; in ocrdma_set_create_qp_rq_cmd() local
2244 &hw_pages, &hw_page_size); in ocrdma_set_create_qp_rq_cmd()
2251 len = (hw_pages * hw_page_size); in ocrdma_set_create_qp_rq_cmd()
[all …]
/linux/drivers/scsi/lpfc/
H A Dlpfc_sli.c15886 uint32_t hw_page_size = phba->sli4_hba.pc_sli4_params.if_page_sz; in lpfc_sli4_queue_alloc() local
15890 hw_page_size = page_size; in lpfc_sli4_queue_alloc()
15892 pgcnt = ALIGN(entry_size * entry_count, hw_page_size) / hw_page_size; in lpfc_sli4_queue_alloc()
15916 queue->entry_cnt_per_pg = hw_page_size / entry_size; in lpfc_sli4_queue_alloc()
15919 queue->page_size = hw_page_size; in lpfc_sli4_queue_alloc()
15928 hw_page_size, &dmabuf->phys, in lpfc_sli4_queue_alloc()
16151 uint32_t hw_page_size = phba->sli4_hba.pc_sli4_params.if_page_sz; in lpfc_eq_create() local
16157 hw_page_size = SLI4_PAGE_SIZE; in lpfc_eq_create()
16219 memset(dmabuf->virt, 0, hw_page_size); in lpfc_eq_create()
16501 uint32_t hw_page_size = phba->sli4_hba.pc_sli4_params.if_page_sz; in lpfc_cq_create_set() local
[all …]