Searched refs:hw_page_size (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_hw.c | 391 dma_addr_t host_pa, int hw_page_size) in ocrdma_build_q_pages() 398 host_pa += hw_page_size; in ocrdma_build_q_pages() 2186 u32 len, hw_pages, hw_page_size; in ocrdma_set_create_qp_sq_cmd() local 2199 dev->attr.wqe_size, &hw_pages, &hw_page_size); in ocrdma_set_create_qp_sq_cmd() 2206 len = (hw_pages * hw_page_size); in ocrdma_set_create_qp_sq_cmd() 2214 ocrdma_build_q_pages(&cmd->wq_addr[0], hw_pages, pa, hw_page_size); in ocrdma_set_create_qp_sq_cmd() 2216 cmd->type_pgsz_pdn |= (ilog2(hw_page_size / OCRDMA_MIN_Q_PAGE_SIZE) in ocrdma_set_create_qp_sq_cmd() 2241 u32 len, hw_pages, hw_page_size; in ocrdma_set_create_qp_rq_cmd() local 2249 &hw_pages, &hw_page_size); in ocrdma_set_create_qp_rq_cmd() 2256 len = (hw_pages * hw_page_size); in ocrdma_set_create_qp_rq_cmd() 390 ocrdma_build_q_pages(struct ocrdma_pa *q_pa, int cnt, dma_addr_t host_pa, int hw_page_size) ocrdma_build_q_pages() argument 2748 int hw_pages, hw_page_size; ocrdma_mbx_create_srq() local [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_hw.c | 391 dma_addr_t host_pa, int hw_page_size) in ocrdma_build_q_pages() 398 host_pa += hw_page_size; in ocrdma_build_q_pages() 2182 u32 len, hw_pages, hw_page_size; in ocrdma_set_create_qp_sq_cmd() local 2195 dev->attr.wqe_size, &hw_pages, &hw_page_size); in ocrdma_set_create_qp_sq_cmd() 2202 len = (hw_pages * hw_page_size); in ocrdma_set_create_qp_sq_cmd() 2210 ocrdma_build_q_pages(&cmd->wq_addr[0], hw_pages, pa, hw_page_size); in ocrdma_set_create_qp_sq_cmd() 2212 cmd->type_pgsz_pdn |= (ilog2(hw_page_size / OCRDMA_MIN_Q_PAGE_SIZE) in ocrdma_set_create_qp_sq_cmd() 2237 u32 len, hw_pages, hw_page_size; in ocrdma_set_create_qp_rq_cmd() local 2245 &hw_pages, &hw_page_size); in ocrdma_set_create_qp_rq_cmd() 2252 len = (hw_pages * hw_page_size); in ocrdma_set_create_qp_rq_cmd() 390 ocrdma_build_q_pages(struct ocrdma_pa *q_pa, int cnt, dma_addr_t host_pa, int hw_page_size) ocrdma_build_q_pages() argument 2744 int hw_pages, hw_page_size; ocrdma_mbx_create_srq() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/lpfc/ |
H A D | lpfc_sli.c | 14873 uint32_t hw_page_size = phba->sli4_hba.pc_sli4_params.if_page_sz; in lpfc_sli4_queue_alloc() local 14877 hw_page_size = page_size; in lpfc_sli4_queue_alloc() 14879 pgcnt = ALIGN(entry_size * entry_count, hw_page_size) / hw_page_size; in lpfc_sli4_queue_alloc() 14903 queue->entry_cnt_per_pg = hw_page_size / entry_size; in lpfc_sli4_queue_alloc() 14906 queue->page_size = hw_page_size; in lpfc_sli4_queue_alloc() 14915 hw_page_size, &dmabuf->phys, in lpfc_sli4_queue_alloc() 15113 uint32_t hw_page_size = phba->sli4_hba.pc_sli4_params.if_page_sz; in lpfc_eq_create() local 15119 hw_page_size = SLI4_PAGE_SIZE; in lpfc_eq_create() 15181 memset(dmabuf->virt, 0, hw_page_size); in lpfc_eq_create() 15409 uint32_t hw_page_size = phba->sli4_hba.pc_sli4_params.if_page_sz; lpfc_cq_create_set() local 15715 uint32_t hw_page_size = phba->sli4_hba.pc_sli4_params.if_page_sz; lpfc_mq_create() local 15869 uint32_t hw_page_size = phba->sli4_hba.pc_sli4_params.if_page_sz; lpfc_wq_create() local 16139 uint32_t hw_page_size = phba->sli4_hba.pc_sli4_params.if_page_sz; lpfc_rq_create() local 16432 uint32_t hw_page_size = phba->sli4_hba.pc_sli4_params.if_page_sz; lpfc_mrq_create() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/lpfc/ |
H A D | lpfc_sli.c | 15834 uint32_t hw_page_size = phba->sli4_hba.pc_sli4_params.if_page_sz; in lpfc_sli4_queue_alloc() local 15838 hw_page_size = page_size; in lpfc_sli4_queue_alloc() 15840 pgcnt = ALIGN(entry_size * entry_count, hw_page_size) / hw_page_size; in lpfc_sli4_queue_alloc() 15864 queue->entry_cnt_per_pg = hw_page_size / entry_size; in lpfc_sli4_queue_alloc() 15867 queue->page_size = hw_page_size; in lpfc_sli4_queue_alloc() 15876 hw_page_size, &dmabuf->phys, in lpfc_sli4_queue_alloc() 16073 uint32_t hw_page_size = phba->sli4_hba.pc_sli4_params.if_page_sz; in lpfc_eq_create() local 16079 hw_page_size = SLI4_PAGE_SIZE; in lpfc_eq_create() 16141 memset(dmabuf->virt, 0, hw_page_size); in lpfc_eq_create() 16423 uint32_t hw_page_size = phba->sli4_hba.pc_sli4_params.if_page_sz; lpfc_cq_create_set() local 16729 uint32_t hw_page_size = phba->sli4_hba.pc_sli4_params.if_page_sz; lpfc_mq_create() local 16883 uint32_t hw_page_size = phba->sli4_hba.pc_sli4_params.if_page_sz; lpfc_wq_create() local 17147 uint32_t hw_page_size = phba->sli4_hba.pc_sli4_params.if_page_sz; lpfc_rq_create() local 17440 uint32_t hw_page_size = phba->sli4_hba.pc_sli4_params.if_page_sz; lpfc_mrq_create() local [all...] |
Completed in 43 milliseconds