Lines Matching full:lop
143 * List of Pointers(LOP) contains 1024x32b pointers to 4KB page each in cio2_fbpt_init_dummy()
222 * The first not meaningful FBPT entry should point to a valid LOP in cio2_fbpt_entry_init_buf()
850 memset(b->lop, 0, sizeof(b->lop)); in cio2_vb2_buf_init()
851 /* Allocate LOP table */ in cio2_vb2_buf_init()
853 b->lop[i] = dma_alloc_coherent(dev, PAGE_SIZE, in cio2_vb2_buf_init()
855 if (!b->lop[i]) in cio2_vb2_buf_init()
859 /* Fill LOP */ in cio2_vb2_buf_init()
871 b->lop[i][j] = PFN_DOWN(sg_page_iter_dma_address(&sg_iter)); in cio2_vb2_buf_init()
879 b->lop[i][j] = PFN_DOWN(cio2->dummy_page_bus_addr); in cio2_vb2_buf_init()
883 dma_free_coherent(dev, PAGE_SIZE, b->lop[i], b->lop_bus_addr[i]); in cio2_vb2_buf_init()
970 /* Free LOP table */ in cio2_vb2_buf_cleanup()
972 if (b->lop[i]) in cio2_vb2_buf_cleanup()
974 b->lop[i], b->lop_bus_addr[i]); in cio2_vb2_buf_cleanup()