/kernel/linux/linux-5.10/sound/pci/emu10k1/ |
H A D | memory.c | 83 blk->first_page = get_aligned_page(blk->mem.offset); in emu10k1_memblk_init() 85 blk->pages = blk->last_page - blk->first_page + 1; in emu10k1_memblk_init() 152 for (pg = blk->first_page; pg <= blk->last_page; pg++) { in map_memblk() 188 for (pg = blk->first_page; pg <= blk->last_page; pg++) { in unmap_memblk() 212 if (page + psize <= blk->first_page) in search_empty() 325 for (page = blk->first_page; page <= blk->last_page; page++, idx++) { in snd_emu10k1_alloc_pages() 455 int first_page, last_page; in get_single_page_range() local 456 first_page = blk->first_page; in get_single_page_range() 459 if (q->last_page == first_page) in get_single_page_range() 473 __synth_free_pages(struct snd_emu10k1 *emu, int first_page, int last_page) __synth_free_pages() argument 507 int page, first_page, last_page; synth_alloc_pages() local 539 int first_page, last_page; synth_free_pages() local [all...] |
/kernel/linux/linux-6.6/sound/pci/emu10k1/ |
H A D | memory.c | 83 blk->first_page = get_aligned_page(blk->mem.offset); in emu10k1_memblk_init() 85 blk->pages = blk->last_page - blk->first_page + 1; in emu10k1_memblk_init() 152 for (pg = blk->first_page; pg <= blk->last_page; pg++) { in map_memblk() 192 for (pg = blk->first_page; pg <= blk->last_page; pg++) { in unmap_memblk() 216 if (page + psize <= blk->first_page) in search_empty() 328 for (page = blk->first_page; page <= blk->last_page; page++, idx++) { in snd_emu10k1_alloc_pages() 458 int first_page, last_page; in get_single_page_range() local 459 first_page = blk->first_page; in get_single_page_range() 463 if (q->last_page == first_page) in get_single_page_range() 478 __synth_free_pages(struct snd_emu10k1 *emu, int first_page, int last_page) __synth_free_pages() argument 512 int page, first_page, last_page; synth_alloc_pages() local 544 int first_page, last_page; synth_free_pages() local [all...] |
/kernel/linux/linux-5.10/drivers/edac/ |
H A D | pasemi_edac.c | 102 mci->csrows[cs]->first_page, 0, 0, in pasemi_edac_process_error_info() 109 mci->csrows[cs]->first_page, 0, 0, in pasemi_edac_process_error_info() 167 csrow->first_page = last_page_in_mmc; in pasemi_edac_init_csrows() 168 csrow->last_page = csrow->first_page + dimm->nr_pages - 1; in pasemi_edac_init_csrows()
|
H A D | amd76x_edac.c | 148 mci->csrows[row]->first_page, 0, 0, in amd76x_process_error_info() 163 mci->csrows[row]->first_page, 0, 0, in amd76x_process_error_info() 209 csrow->first_page = mba_base >> PAGE_SHIFT; in amd76x_init_csrows() 211 csrow->last_page = csrow->first_page + dimm->nr_pages - 1; in amd76x_init_csrows()
|
H A D | aspeed_edac.c | 119 csrow->first_page + page, offset, syndrome, in count_rec() 140 csrow->first_page + page, offset, syndrome, in count_un_rec() 260 csrow->first_page = r.start >> PAGE_SHIFT; in init_csrows() 262 csrow->last_page = csrow->first_page + nr_pages - 1; in init_csrows() 272 dev_dbg(mci->pdev, "initialized dimm with first_page=0x%lx and nr_pages=0x%x\n", in init_csrows() 273 csrow->first_page, nr_pages); in init_csrows()
|
H A D | cell_edac.c | 53 csrow->first_page + pfn, offset, syndrome, in cell_edac_count_ce() 75 csrow->first_page + pfn, offset, 0, in cell_edac_count_ue() 148 csrow->first_page = r.start >> PAGE_SHIFT; in cell_edac_init_csrows() 150 csrow->last_page = csrow->first_page + nr_pages - 1; in cell_edac_init_csrows() 160 " first_page=0x%lx, nr_pages=0x%x\n", in cell_edac_init_csrows() 162 csrow->first_page, nr_pages); in cell_edac_init_csrows()
|
H A D | r82600_edac.c | 252 csrow->first_page = row_base >> PAGE_SHIFT; in r82600_init_csrows() 255 dimm->nr_pages = csrow->last_page - csrow->first_page + 1; in r82600_init_csrows()
|
H A D | i82443bxgx_edac.c | 218 csrow->first_page = row_base >> PAGE_SHIFT; in i82443bxgx_init_csrows() 220 dimm->nr_pages = csrow->last_page - csrow->first_page + 1; in i82443bxgx_init_csrows()
|
H A D | cpc925_edac.c | 340 csrow->first_page = last_nr_pages; in cpc925_init_csrows() 342 csrow->last_page = csrow->first_page + nr_pages - 1; in cpc925_init_csrows() 452 if (mci->csrows[rank]->first_page == 0) { in cpc925_mc_get_pfn() 460 pa = mci->csrows[rank]->first_page << PAGE_SHIFT; in cpc925_mc_get_pfn()
|
/kernel/linux/linux-6.6/drivers/edac/ |
H A D | amd76x_edac.c | 148 mci->csrows[row]->first_page, 0, 0, in amd76x_process_error_info() 163 mci->csrows[row]->first_page, 0, 0, in amd76x_process_error_info() 208 csrow->first_page = mba_base >> PAGE_SHIFT; in amd76x_init_csrows() 210 csrow->last_page = csrow->first_page + dimm->nr_pages - 1; in amd76x_init_csrows()
|
H A D | pasemi_edac.c | 102 mci->csrows[cs]->first_page, 0, 0, in pasemi_edac_process_error_info() 109 mci->csrows[cs]->first_page, 0, 0, in pasemi_edac_process_error_info() 167 csrow->first_page = last_page_in_mmc; in pasemi_edac_init_csrows() 168 csrow->last_page = csrow->first_page + dimm->nr_pages - 1; in pasemi_edac_init_csrows()
|
H A D | aspeed_edac.c | 119 csrow->first_page + page, offset, syndrome, in count_rec() 140 csrow->first_page + page, offset, syndrome, in count_un_rec() 260 csrow->first_page = r.start >> PAGE_SHIFT; in init_csrows() 262 csrow->last_page = csrow->first_page + nr_pages - 1; in init_csrows() 272 dev_dbg(mci->pdev, "initialized dimm with first_page=0x%lx and nr_pages=0x%x\n", in init_csrows() 273 csrow->first_page, nr_pages); in init_csrows()
|
H A D | cell_edac.c | 53 csrow->first_page + pfn, offset, syndrome, in cell_edac_count_ce() 75 csrow->first_page + pfn, offset, 0, in cell_edac_count_ue() 148 csrow->first_page = r.start >> PAGE_SHIFT; in cell_edac_init_csrows() 150 csrow->last_page = csrow->first_page + nr_pages - 1; in cell_edac_init_csrows() 160 " first_page=0x%lx, nr_pages=0x%x\n", in cell_edac_init_csrows() 162 csrow->first_page, nr_pages); in cell_edac_init_csrows()
|
H A D | i82443bxgx_edac.c | 217 csrow->first_page = row_base >> PAGE_SHIFT; in i82443bxgx_init_csrows() 219 dimm->nr_pages = csrow->last_page - csrow->first_page + 1; in i82443bxgx_init_csrows()
|
H A D | r82600_edac.c | 251 csrow->first_page = row_base >> PAGE_SHIFT; in r82600_init_csrows() 254 dimm->nr_pages = csrow->last_page - csrow->first_page + 1; in r82600_init_csrows()
|
/kernel/linux/linux-5.10/drivers/platform/goldfish/ |
H A D | goldfish_pipe.c | 260 static int goldfish_pin_pages(unsigned long first_page, in goldfish_pin_pages() argument 268 int requested_pages = ((last_page - first_page) >> PAGE_SHIFT) + 1; in goldfish_pin_pages() 277 ret = pin_user_pages_fast(first_page, requested_pages, in goldfish_pin_pages() 293 unsigned long first_page, in populate_rw_params() 307 int size_on_page = first_page == last_page in populate_rw_params() 337 unsigned long first_page = address & PAGE_MASK; in transfer_max_buffers() local 345 pages_count = goldfish_pin_pages(first_page, last_page, in transfer_max_buffers() 354 first_page, last_page, iter_last_page_size, is_write, in transfer_max_buffers() 289 populate_rw_params(struct page **pages, int pages_count, unsigned long address, unsigned long address_end, unsigned long first_page, unsigned long last_page, unsigned int iter_last_page_size, int is_write, struct goldfish_pipe_command *command) populate_rw_params() argument
|
/kernel/linux/linux-6.6/drivers/platform/goldfish/ |
H A D | goldfish_pipe.c | 257 static int goldfish_pin_pages(unsigned long first_page, in goldfish_pin_pages() argument 265 int requested_pages = ((last_page - first_page) >> PAGE_SHIFT) + 1; in goldfish_pin_pages() 274 ret = pin_user_pages_fast(first_page, requested_pages, in goldfish_pin_pages() 290 unsigned long first_page, in populate_rw_params() 304 int size_on_page = first_page == last_page in populate_rw_params() 334 unsigned long first_page = address & PAGE_MASK; in transfer_max_buffers() local 342 pages_count = goldfish_pin_pages(first_page, last_page, in transfer_max_buffers() 351 first_page, last_page, iter_last_page_size, is_write, in transfer_max_buffers() 286 populate_rw_params(struct page **pages, int pages_count, unsigned long address, unsigned long address_end, unsigned long first_page, unsigned long last_page, unsigned int iter_last_page_size, int is_write, struct goldfish_pipe_command *command) populate_rw_params() argument
|
/kernel/linux/linux-5.10/drivers/staging/media/meson/vdec/ |
H A D | codec_hevc_common.c | 286 u32 first_page; in codec_hevc_fill_mmu_map() local 290 first_page = comm->fbc_buffer_paddr[vb->index] >> PAGE_SHIFT; in codec_hevc_fill_mmu_map() 292 first_page = vb2_dma_contig_plane_dma_addr(vb, 0) >> PAGE_SHIFT; in codec_hevc_fill_mmu_map() 295 mmu_map[i] = first_page + i; in codec_hevc_fill_mmu_map()
|
/kernel/linux/linux-6.6/drivers/staging/media/meson/vdec/ |
H A D | codec_hevc_common.c | 286 u32 first_page; in codec_hevc_fill_mmu_map() local 290 first_page = comm->fbc_buffer_paddr[vb->index] >> PAGE_SHIFT; in codec_hevc_fill_mmu_map() 292 first_page = vb2_dma_contig_plane_dma_addr(vb, 0) >> PAGE_SHIFT; in codec_hevc_fill_mmu_map() 295 mmu_map[i] = first_page + i; in codec_hevc_fill_mmu_map()
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
H A D | iommu.c | 201 unsigned long order, first_page; in dma_4u_alloc_coherent() local 218 first_page = (unsigned long) page_address(page); in dma_4u_alloc_coherent() 219 memset((char *)first_page, 0, PAGE_SIZE << order); in dma_4u_alloc_coherent() 226 free_pages(first_page, order); in dma_4u_alloc_coherent() 232 ret = (void *) first_page; in dma_4u_alloc_coherent() 234 first_page = __pa(first_page); in dma_4u_alloc_coherent() 238 (first_page & IOPTE_PAGE)); in dma_4u_alloc_coherent() 240 first_page += IO_PAGE_SIZE; in dma_4u_alloc_coherent()
|
H A D | pci_sun4v.c | 185 unsigned long flags, order, first_page, npages, n; in dma_4v_alloc_coherent() local 209 first_page = (unsigned long) page_address(page); in dma_4v_alloc_coherent() 210 memset((char *)first_page, 0, PAGE_SIZE << order); in dma_4v_alloc_coherent() 226 ret = (void *) first_page; in dma_4v_alloc_coherent() 227 first_page = __pa(first_page); in dma_4v_alloc_coherent() 237 long err = iommu_batch_add(first_page + (n * PAGE_SIZE), mask); in dma_4v_alloc_coherent() 254 free_pages(first_page, order); in dma_4v_alloc_coherent()
|
/kernel/linux/linux-6.6/arch/sparc/kernel/ |
H A D | iommu.c | 201 unsigned long order, first_page; in dma_4u_alloc_coherent() local 218 first_page = (unsigned long) page_address(page); in dma_4u_alloc_coherent() 219 memset((char *)first_page, 0, PAGE_SIZE << order); in dma_4u_alloc_coherent() 226 free_pages(first_page, order); in dma_4u_alloc_coherent() 232 ret = (void *) first_page; in dma_4u_alloc_coherent() 234 first_page = __pa(first_page); in dma_4u_alloc_coherent() 238 (first_page & IOPTE_PAGE)); in dma_4u_alloc_coherent() 240 first_page += IO_PAGE_SIZE; in dma_4u_alloc_coherent()
|
H A D | pci_sun4v.c | 186 unsigned long flags, order, first_page, npages, n; in dma_4v_alloc_coherent() local 210 first_page = (unsigned long) page_address(page); in dma_4v_alloc_coherent() 211 memset((char *)first_page, 0, PAGE_SIZE << order); in dma_4v_alloc_coherent() 227 ret = (void *) first_page; in dma_4v_alloc_coherent() 228 first_page = __pa(first_page); in dma_4v_alloc_coherent() 238 long err = iommu_batch_add(first_page + (n * PAGE_SIZE), mask); in dma_4v_alloc_coherent() 255 free_pages(first_page, order); in dma_4v_alloc_coherent()
|
/kernel/linux/linux-5.10/mm/ |
H A D | memremap.c | 142 struct page *first_page; in pageunmap_range() local 146 first_page = pfn_to_page(pfn_first(pgmap, range_id)); in pageunmap_range() 149 nid = page_to_nid(first_page); in pageunmap_range() 152 remove_pfn_range_from_zone(page_zone(first_page), PHYS_PFN(range->start), in pageunmap_range()
|
/kernel/linux/linux-6.6/mm/ |
H A D | memremap.c | 113 struct page *first_page; in pageunmap_range() local 116 first_page = pfn_to_page(pfn_first(pgmap, range_id)); in pageunmap_range() 120 remove_pfn_range_from_zone(page_zone(first_page), PHYS_PFN(range->start), in pageunmap_range()
|