| /linux/drivers/net/ethernet/huawei/hinic/ |
| H A D | hinic_hw_wq.c | 45 ((void *)((wqs)->page_vaddr[(wq)->page_idx]) \ 49 ((wqs)->page_paddr[(wq)->page_idx] \ 53 ((void *)((wqs)->shadow_page_vaddr[(wq)->page_idx]) \ 137 static int wqs_allocate_page(struct hinic_wqs *wqs, int page_idx) in wqs_allocate_page() argument 139 return queue_alloc_page(wqs->hwif, &wqs->page_vaddr[page_idx], in wqs_allocate_page() 140 &wqs->page_paddr[page_idx], in wqs_allocate_page() 141 &wqs->shadow_page_vaddr[page_idx], in wqs_allocate_page() 150 static void wqs_free_page(struct hinic_wqs *wqs, int page_idx) in wqs_free_page() argument 156 wqs->page_vaddr[page_idx], in wqs_free_page() 157 (dma_addr_t)wqs->page_paddr[page_idx]); in wqs_free_page() [all …]
|
| H A D | hinic_hw_wq.h | 18 int page_idx; member 25 int page_idx; member
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | icm.h | 75 int page_idx; member 103 iter->page_idx = 0; in mlx4_icm_first() 113 if (++iter->page_idx >= iter->chunk->nsg) { in mlx4_icm_next() 121 iter->page_idx = 0; in mlx4_icm_next() 128 return iter->chunk->buf[iter->page_idx].dma_addr; in mlx4_icm_addr() 130 return sg_dma_address(&iter->chunk->sg[iter->page_idx]); in mlx4_icm_addr() 136 return iter->chunk->buf[iter->page_idx].size; in mlx4_icm_size() 138 return sg_dma_len(&iter->chunk->sg[iter->page_idx]); in mlx4_icm_size()
|
| /linux/drivers/infiniband/hw/mthca/ |
| H A D | mthca_memfree.h | 77 int page_idx; member 106 iter->page_idx = 0; in mthca_icm_first() 116 if (++iter->page_idx >= iter->chunk->nsg) { in mthca_icm_next() 124 iter->page_idx = 0; in mthca_icm_next() 130 return sg_dma_address(&iter->chunk->mem[iter->page_idx]); in mthca_icm_addr() 135 return sg_dma_len(&iter->chunk->mem[iter->page_idx]); in mthca_icm_size()
|
| /linux/drivers/infiniband/sw/siw/ |
| H A D | siw_mem.h | 60 unsigned int page_idx = (addr - umem->fp_addr) >> PAGE_SHIFT, in siw_get_upage() local 61 chunk_idx = page_idx >> CHUNK_SHIFT, in siw_get_upage() 62 page_in_chunk = page_idx & ~CHUNK_MASK; in siw_get_upage() 64 if (likely(page_idx < umem->num_pages)) in siw_get_upage()
|
| /linux/sound/soc/sof/amd/ |
| H A D | acp-stream.c | 34 int page_idx; in acp_dsp_stream_config() local 106 for (page_idx = 0; page_idx < stream->num_pages; page_idx++) { in acp_dsp_stream_config() 107 addr = snd_sgbuf_get_addr(stream->dmab, page_idx * PAGE_SIZE); in acp_dsp_stream_config()
|
| H A D | acp-loader.c | 123 u16 page_idx; in configure_pte_for_fw_loading() local 150 for (page_idx = 0; page_idx < num_pages; page_idx++) { in configure_pte_for_fw_loading()
|
| /linux/sound/soc/amd/acp/ |
| H A D | acp-platform.c | 138 u16 page_idx; in config_acp_dma() local 176 for (page_idx = 0; page_idx < num_pages; page_idx++) { in config_acp_dma()
|
| /linux/drivers/iommu/iommufd/ |
| H A D | iova_bitmap.c | 425 unsigned int page_idx = cur_bit / BITS_PER_PAGE; in iova_bitmap_set() local 431 if (unlikely(page_idx > last_page_idx)) { in iova_bitmap_set() 440 kaddr = kmap_local_page(mapped->pages[page_idx]); in iova_bitmap_set()
|
| /linux/sound/soc/amd/ps/ |
| H A D | ps-pdm-dma.c | 159 u16 page_idx; in acp63_config_dma() local 169 for (page_idx = 0; page_idx < rtd->num_pages; page_idx++) { in acp63_config_dma()
|
| H A D | ps-sdw-dma.c | 209 u16 page_idx; in acp63_config_dma() local 221 for (page_idx = 0; page_idx < stream->num_pages; page_idx++) { in acp63_config_dma()
|
| /linux/sound/soc/amd/yc/ |
| H A D | acp6x-pdm-dma.c | 155 u16 page_idx; in acp6x_config_dma() local 167 for (page_idx = 0; page_idx < rtd->num_pages; page_idx++) { in acp6x_config_dma()
|
| /linux/drivers/tty/vt/ |
| H A D | ucs.c | 222 u8 page_idx = cp >> 8, offset = cp; in ucs_get_fallback() local 235 page = __inline_bsearch(&page_idx, ucs_fallback_pages, in ucs_get_fallback()
|
| /linux/sound/soc/amd/renoir/ |
| H A D | acp3x-pdm-dma.c | 178 u16 page_idx; in config_acp_dma() local 191 for (page_idx = 0; page_idx < rtd->num_pages; page_idx++) { in config_acp_dma()
|
| /linux/sound/soc/amd/raven/ |
| H A D | acp3x-pcm-dma.c | 109 u16 page_idx; in config_acp3x_dma() local 141 for (page_idx = 0; page_idx < rtd->num_pages; page_idx++) { in config_acp3x_dma()
|
| /linux/sound/soc/amd/vangogh/ |
| H A D | acp5x-pcm-dma.c | 105 u16 page_idx; in config_acp5x_dma() local 136 for (page_idx = 0; page_idx < rtd->num_pages; page_idx++) { in config_acp5x_dma()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
| H A D | rx.h | 19 u32 page_idx);
|
| /linux/mm/ |
| H A D | percpu-vm.c | 14 unsigned int cpu, int page_idx) in pcpu_chunk_page() argument 19 return vmalloc_to_page((void *)pcpu_chunk_addr(chunk, cpu, page_idx)); in pcpu_chunk_page()
|
| /linux/Documentation/translations/zh_CN/mm/ |
| H A D | hugetlbfs_reserv.rst | 323 围是[page_idx, page_idx + 1]。
|
| /linux/drivers/md/ |
| H A D | md-llbitmap.c | 815 static void llbitmap_raise_barrier(struct llbitmap *llbitmap, int page_idx) in llbitmap_raise_barrier() argument 817 struct llbitmap_page_ctl *pctl = llbitmap->pctl[page_idx]; in llbitmap_raise_barrier() 829 static void llbitmap_release_barrier(struct llbitmap *llbitmap, int page_idx) in llbitmap_release_barrier() argument 831 struct llbitmap_page_ctl *pctl = llbitmap->pctl[page_idx]; in llbitmap_release_barrier() 836 static int llbitmap_suspend_timeout(struct llbitmap *llbitmap, int page_idx) in llbitmap_suspend_timeout() argument 838 struct llbitmap_page_ctl *pctl = llbitmap->pctl[page_idx]; in llbitmap_suspend_timeout() 851 static void llbitmap_resume(struct llbitmap *llbitmap, int page_idx) in llbitmap_resume() argument 853 struct llbitmap_page_ctl *pctl = llbitmap->pctl[page_idx]; in llbitmap_resume()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_rx.c | 67 u32 page_idx); 71 u32 page_idx); 1835 u32 page_idx = wqe_offset >> rq->mpwqe.page_shift; in mlx5e_handle_rx_cqe_mpwrq_rep() local 1861 rq, wi, cqe, cqe_bcnt, head_offset, page_idx); in mlx5e_handle_rx_cqe_mpwrq_rep() 1912 u32 page_idx) in mlx5e_skb_from_cqe_mpwrq_nonlinear() argument 1914 struct mlx5e_frag_page *frag_page = &wi->alloc_units.frag_pages[page_idx]; in mlx5e_skb_from_cqe_mpwrq_nonlinear() 2089 u32 page_idx) in mlx5e_skb_from_cqe_mpwrq_linear() argument 2091 struct mlx5e_frag_page *frag_page = &wi->alloc_units.frag_pages[page_idx]; in mlx5e_skb_from_cqe_mpwrq_linear() 2237 u32 page_idx; in mlx5e_handle_rx_cqe_mpwrq_shampo() local 2254 page_idx = wqe_offset >> rq->mpwqe.page_shift; in mlx5e_handle_rx_cqe_mpwrq_shampo() [all …]
|
| /linux/drivers/mmc/host/ |
| H A D | usdhi6rol0.c | 181 int page_idx; /* page index within an SG segment */ member 419 (host->page_idx << PAGE_SHIFT) + data->blksz - blk_head) in usdhi6_sg_unmap() 443 host->page_idx++; in usdhi6_sg_advance() 453 host->page_idx++; in usdhi6_sg_advance() 463 done = (host->page_idx << PAGE_SHIFT) + host->offset; in usdhi6_sg_advance() 489 host->page_idx = 0; in usdhi6_sg_advance() 506 host->pg.page = sg_page(host->sg) + host->page_idx; in usdhi6_sg_advance() 1011 host->page_idx = 0; in usdhi6_rq_start() 1722 data->flags & MMC_DATA_READ ? 'R' : 'W', host->page_idx, in usdhi6_timeout_work()
|
| /linux/sound/soc/amd/ |
| H A D | acp-pcm-dma.c | 301 u16 page_idx; in acp_pte_config() local 307 for (page_idx = 0; page_idx < (num_of_pages); page_idx++) { in acp_pte_config() 309 acp_reg_write((offset + (page_idx * 8)), in acp_pte_config() 318 acp_reg_write((offset + (page_idx * 8) + 4), in acp_pte_config()
|
| /linux/drivers/net/ethernet/mediatek/ |
| H A D | mtk_wed.c | 644 int i, page_idx = 0, n_pages, ring_size; in mtk_wed_tx_buffer_alloc() local 691 page_list[page_idx].p = page; in mtk_wed_tx_buffer_alloc() 692 page_list[page_idx++].phy_addr = page_phys; in mtk_wed_tx_buffer_alloc() 742 int i, page_idx = 0; in mtk_wed_free_tx_buffer() local 751 dma_addr_t page_phy = page_list[page_idx].phy_addr; in mtk_wed_free_tx_buffer() 752 void *page = page_list[page_idx++].p; in mtk_wed_free_tx_buffer() 778 int i, page_idx = 0; in mtk_wed_hwrro_buffer_alloc() local 814 page_list[page_idx].p = page; in mtk_wed_hwrro_buffer_alloc() 815 page_list[page_idx++].phy_addr = page_phys; in mtk_wed_hwrro_buffer_alloc() 859 int i, page_idx = 0; in mtk_wed_hwrro_free_buffer() local [all …]
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_ttm.c | 862 uint64_t page_idx, pages_per_xcc; in amdgpu_ttm_gart_bind_gfx9_mqd() local 868 for (i = 0, page_idx = 0; i < num_xcc; i++, page_idx += pages_per_xcc) { in amdgpu_ttm_gart_bind_gfx9_mqd() 870 gtt->offset + (page_idx << PAGE_SHIFT), in amdgpu_ttm_gart_bind_gfx9_mqd() 871 pages_per_xcc, >t->ttm.dma_address[page_idx], in amdgpu_ttm_gart_bind_gfx9_mqd()
|