Lines Matching full:lop
144 * List of Pointers(LOP) contains 1024x32b pointers to 4KB page each in cio2_fbpt_init_dummy()
223 * The first not meaningful FBPT entry should point to a valid LOP in cio2_fbpt_entry_init_buf()
851 memset(b->lop, 0, sizeof(b->lop)); in cio2_vb2_buf_init()
852 /* Allocate LOP table */ in cio2_vb2_buf_init()
854 b->lop[i] = dma_alloc_coherent(dev, PAGE_SIZE, in cio2_vb2_buf_init()
856 if (!b->lop[i]) in cio2_vb2_buf_init()
860 /* Fill LOP */ in cio2_vb2_buf_init()
872 b->lop[i][j] = PFN_DOWN(sg_page_iter_dma_address(&sg_iter)); in cio2_vb2_buf_init()
880 b->lop[i][j] = PFN_DOWN(cio2->dummy_page_bus_addr); in cio2_vb2_buf_init()
884 dma_free_coherent(dev, PAGE_SIZE, b->lop[i], b->lop_bus_addr[i]); in cio2_vb2_buf_init()
971 /* Free LOP table */ in cio2_vb2_buf_cleanup()
973 if (b->lop[i]) in cio2_vb2_buf_cleanup()
975 b->lop[i], b->lop_bus_addr[i]); in cio2_vb2_buf_cleanup()