Searched refs:page_mask (Results 1 – 17 of 17) sorted by relevance
/drivers/tee/ |
D | tee_shm_pool.c | 120 const size_t page_mask = PAGE_SIZE - 1; in tee_shm_pool_mgr_alloc_res_mem() local 125 if (vaddr & page_mask || paddr & page_mask || size & page_mask) in tee_shm_pool_mgr_alloc_res_mem()
|
/drivers/infiniband/hw/mlx5/ |
D | mem.c | 209 u64 page_mask; in mlx5_ib_get_buf_offset() local 215 page_mask = page_size - 1; in mlx5_ib_get_buf_offset() 216 buf_off = addr & page_mask; in mlx5_ib_get_buf_offset()
|
/drivers/ata/ |
D | sata_sx4.c | 1002 u8 page_mask; in pdc20621_get_from_dimm() local 1010 page_mask = 0x00; in pdc20621_get_from_dimm() 1016 writel(((idx) << page_mask), mmio + PDC_DIMM_WINDOW_CTLR); in pdc20621_get_from_dimm() 1030 writel(((idx) << page_mask), mmio + PDC_DIMM_WINDOW_CTLR); in pdc20621_get_from_dimm() 1041 writel(((idx) << page_mask), mmio + PDC_DIMM_WINDOW_CTLR); in pdc20621_get_from_dimm() 1054 u8 page_mask; in pdc20621_put_to_dimm() local 1062 page_mask = 0x00; in pdc20621_put_to_dimm() 1066 writel(((idx) << page_mask), mmio + PDC_DIMM_WINDOW_CTLR); in pdc20621_put_to_dimm() 1079 writel(((idx) << page_mask), mmio + PDC_DIMM_WINDOW_CTLR); in pdc20621_put_to_dimm() 1090 writel(((idx) << page_mask), mmio + PDC_DIMM_WINDOW_CTLR); in pdc20621_put_to_dimm()
|
/drivers/gpu/drm/ |
D | drm_agpsupport.c | 420 head->page_mask = head->agp_info.page_mask; in drm_agp_init()
|
/drivers/edac/ |
D | edac_mc.c | 108 edac_dbg(4, " csrow->page_mask = 0x%lx\n", csrow->page_mask); in edac_mc_dump_csrow() 863 csrow->page_mask); in edac_mc_find_csrow_by_page() 867 ((page & csrow->page_mask) == in edac_mc_find_csrow_by_page() 868 (csrow->first_page & csrow->page_mask))) { in edac_mc_find_csrow_by_page()
|
D | pasemi_edac.c | 182 csrow->page_mask = 0; in pasemi_edac_init_csrows()
|
D | amd76x_edac.c | 213 csrow->page_mask = mba_mask >> PAGE_SHIFT; in amd76x_init_csrows()
|
/drivers/infiniband/hw/mthca/ |
D | mthca_mr.c | 692 int i, page_mask; in mthca_check_fmr() local 697 page_mask = (1 << fmr->attr.page_shift) - 1; in mthca_check_fmr() 700 if (iova & page_mask) in mthca_check_fmr() 706 if (page_list[i] & ~page_mask) in mthca_check_fmr()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | mr.c | 975 int i, page_mask; in mlx4_check_fmr() local 980 page_mask = (1 << fmr->page_shift) - 1; in mlx4_check_fmr() 983 if (iova & page_mask) in mlx4_check_fmr() 989 if (page_list[i] & ~page_mask) in mlx4_check_fmr()
|
/drivers/infiniband/sw/rxe/ |
D | rxe_mr.c | 197 mem->page_mask = umem->page_size - 1; in rxe_mem_init_user() 279 *offset_out = offset & mem->page_mask; in lookup_iova()
|
D | rxe_verbs.h | 331 int page_mask; member
|
D | rxe_verbs.c | 1165 mr->page_mask = ibmr->page_size - 1; in rxe_map_mr_sg() 1166 mr->offset = mr->iova & mr->page_mask; in rxe_map_mr_sg()
|
/drivers/media/i2c/ |
D | adv7604.c | 140 unsigned long page_mask; member 620 if (!(BIT(page) & state->info->page_mask)) in adv76xx_read_reg() 635 if (!(BIT(page) & state->info->page_mask)) in adv76xx_write_reg() 2936 .page_mask = BIT(ADV76XX_PAGE_IO) | BIT(ADV7604_PAGE_AVLINK) | 2980 .page_mask = BIT(ADV76XX_PAGE_IO) | BIT(ADV76XX_PAGE_CEC) | 3021 .page_mask = BIT(ADV76XX_PAGE_IO) | BIT(ADV76XX_PAGE_CEC) | 3463 if (!(BIT(i) & state->info->page_mask)) in adv76xx_probe()
|
/drivers/infiniband/core/ |
D | verbs.c | 1871 u64 page_mask = ~((u64)mr->page_size - 1); in ib_sg_to_pages() local 1885 u64 page_addr = dma_addr & page_mask; in ib_sg_to_pages() 1921 last_page_off = end_dma_addr & ~page_mask; in ib_sg_to_pages()
|
/drivers/mtd/onenand/ |
D | onenand_base.c | 454 page &= this->page_mask; in onenand_command() 888 page = (int) (addr >> (this->page_shift + 1)) & this->page_mask; in onenand_get_2x_blockpage() 2822 page &= this->page_mask; in onenand_otp_command() 3854 this->page_mask = (1 << (this->erase_shift - this->page_shift)) - 1; in onenand_probe()
|
D | samsung.c | 396 fpa &= this->page_mask; in s3c_onenand_command()
|
/drivers/char/agp/ |
D | generic.c | 389 info->page_mask = ~0UL; in agp_copy_info()
|