Searched refs:page_sz (Results 1 – 7 of 7) sorted by relevance
/drivers/infiniband/hw/mana/ |
D | main.c | 326 unsigned long page_sz; in mana_ib_gd_create_dma_region() local 337 page_sz = ib_umem_find_best_pgsz(umem, PAGE_SZ_BM, 0); in mana_ib_gd_create_dma_region() 338 if (!page_sz) { in mana_ib_gd_create_dma_region() 342 num_pages_total = ib_umem_num_dma_blocks(umem, page_sz); in mana_ib_gd_create_dma_region() 361 create_req->offset_in_page = ib_umem_dma_offset(umem, page_sz); in mana_ib_gd_create_dma_region() 362 create_req->gdma_page_type = order_base_2(page_sz) - PAGE_SHIFT; in mana_ib_gd_create_dma_region() 369 page_sz, create_req->offset_in_page); in mana_ib_gd_create_dma_region() 375 rdma_umem_for_each_dma_block(umem, &biter, page_sz) { in mana_ib_gd_create_dma_region()
|
/drivers/mtd/devices/ |
D | mchp48l640.c | 217 size_t page_sz = flash->caps->page_size; in mchp48l640_write() local 224 ws = min((len - wlen), page_sz); in mchp48l640_write() 275 size_t page_sz = flash->caps->page_size; in mchp48l640_read() local 282 ws = min((len - wlen), page_sz); in mchp48l640_read()
|
/drivers/mtd/nand/raw/ |
D | arasan-nand-controller.c | 175 unsigned int page_sz; member 416 CMD_PAGE_SIZE(anand->page_sz) | in anfc_read_page_hw_ecc() 534 CMD_PAGE_SIZE(anand->page_sz) | in anfc_write_page_hw_ecc() 608 nfc_op->cmd_reg = CMD_PAGE_SIZE(anand->page_sz); in anfc_parse_instructions() 1215 anand->page_sz = 0; in anfc_attach_chip() 1218 anand->page_sz = 5; in anfc_attach_chip() 1221 anand->page_sz = 1; in anfc_attach_chip() 1224 anand->page_sz = 2; in anfc_attach_chip() 1227 anand->page_sz = 3; in anfc_attach_chip() 1230 anand->page_sz = 4; in anfc_attach_chip()
|
/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_wq.c | 104 void ***shadow_vaddr, size_t page_sz) in queue_alloc_page() argument 109 *vaddr = dma_alloc_coherent(&pdev->dev, page_sz, &dma_addr, in queue_alloc_page() 119 *shadow_vaddr = vzalloc(page_sz); in queue_alloc_page() 126 dma_free_coherent(&pdev->dev, page_sz, *vaddr, dma_addr); in queue_alloc_page()
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_cxt.c | 319 u32 page_sz = p_mgr->clients[ILT_CLI_CDUC].p_size.val; in qed_cxt_set_proto_cid_count() local 321 u32 elems_per_page = ILT_PAGE_IN_BYTES(page_sz) / cxt_size; in qed_cxt_set_proto_cid_count() 1299 u32 page_sz, elems_per_page, block_waste, cxt_size, cdu_params = 0; in qed_cdu_init_common() local 1302 page_sz = p_hwfn->p_cxt_mngr->clients[ILT_CLI_CDUC].p_size.val; in qed_cdu_init_common() 1304 elems_per_page = ILT_PAGE_IN_BYTES(page_sz) / cxt_size; in qed_cdu_init_common() 1305 block_waste = ILT_PAGE_IN_BYTES(page_sz) - elems_per_page * cxt_size; in qed_cdu_init_common() 1313 page_sz = p_hwfn->p_cxt_mngr->clients[ILT_CLI_CDUT].p_size.val; in qed_cdu_init_common() 1315 elems_per_page = ILT_PAGE_IN_BYTES(page_sz) / cxt_size; in qed_cdu_init_common() 1316 block_waste = ILT_PAGE_IN_BYTES(page_sz) - elems_per_page * cxt_size; in qed_cdu_init_common() 1327 elems_per_page = ILT_PAGE_IN_BYTES(page_sz) / cxt_size; in qed_cdu_init_common() [all …]
|
/drivers/net/ethernet/brocade/bna/ |
D | bfi_enet.h | 161 u16 page_sz; member
|
D | bna_tx_rx.c | 1298 (bfi_q)->page_sz = htons((u16)(bna_qpt)->page_size);\
|