/external/linux-kselftest/tools/testing/selftests/kvm/lib/aarch64/ |
D | processor.c | 24 unsigned int shift = (vm->pgtable_levels - 1) * (vm->page_shift - 3) + vm->page_shift; in pgd_index() 32 unsigned int shift = 2 * (vm->page_shift - 3) + vm->page_shift; in pud_index() 33 uint64_t mask = (1UL << (vm->page_shift - 3)) - 1; in pud_index() 43 unsigned int shift = (vm->page_shift - 3) + vm->page_shift; in pmd_index() 44 uint64_t mask = (1UL << (vm->page_shift - 3)) - 1; in pmd_index() 54 uint64_t mask = (1UL << (vm->page_shift - 3)) - 1; in pte_index() 55 return (gva >> vm->page_shift) & mask; in pte_index() 60 uint64_t mask = ((1UL << (vm->va_bits - vm->page_shift)) - 1) << vm->page_shift; in pte_addr() 66 unsigned int shift = (vm->pgtable_levels - 1) * (vm->page_shift - 3) + vm->page_shift; in ptrs_per_pgd() 72 return 1 << (vm->page_shift - 3); in ptrs_per_pte() [all …]
|
/external/linux-kselftest/tools/testing/selftests/kvm/lib/ |
D | kvm_util.c | 141 vm->page_shift = 12; in vm_create() 148 vm->page_shift = 16; in vm_create() 156 vm->page_shift = 12; in vm_create() 163 vm->page_shift = 16; in vm_create() 172 0, (1ULL << (vm->va_bits - 1)) >> vm->page_shift); in vm_create() 174 (~((1ULL << (vm->va_bits - 1)) - 1)) >> vm->page_shift, in vm_create() 175 (1ULL << (vm->va_bits - 1)) >> vm->page_shift); in vm_create() 178 vm->max_gfn = ((1ULL << vm->pa_bits) >> vm->page_shift) - 1; in vm_create() 462 if ((ptr1 >> vm->page_shift) != ((ptr1 + amt) >> vm->page_shift)) in kvm_memcmp_hva_gva() 464 if ((ptr2 >> vm->page_shift) != ((ptr2 + amt) >> vm->page_shift)) in kvm_memcmp_hva_gva() [all …]
|
D | kvm_util_internal.h | 51 unsigned int page_shift; member
|
/external/u-boot/drivers/mtd/nand/ |
D | mxs_nand_spl.c | 120 chip->page_shift = ffs(mtd->writesize) - 1; in mxs_flash_onfi_ident() 123 chip->pagemask = (chip->chipsize >> chip->page_shift) - 1; in mxs_flash_onfi_ident() 127 debug("writesize=%d (>>%d)\n", mtd->writesize, chip->page_shift); in mxs_flash_onfi_ident() 165 unsigned int page = offs >> chip->page_shift; in is_badblock() 217 page = offs >> chip->page_shift; in nand_spl_load_image() 243 if (page >= mtd->size >> chip->page_shift) in nand_spl_load_image()
|
D | nand_bbt.c | 183 from = ((loff_t)page) << this->page_shift; in read_bbt() 393 scan_read(mtd, buf, (loff_t)td->pages[0] << this->page_shift, in read_abs_bbts() 402 scan_read(mtd, buf, (loff_t)md->pages[0] << this->page_shift, in read_abs_bbts() 529 int blocktopage = this->bbt_erase_shift - this->page_shift; in search_bbt() 685 (this->bbt_erase_shift - this->page_shift); in write_bbt() 713 to = ((loff_t)page) << this->page_shift; in write_bbt() 729 ops.ooblen = (len >> this->page_shift) * mtd->oobsize; in write_bbt() 736 pageoffs = page - (int)(to >> this->page_shift); in write_bbt() 737 offs = pageoffs << this->page_shift; in write_bbt() 764 (len >> this->page_shift)* mtd->oobsize); in write_bbt() [all …]
|
D | nand_base.c | 355 page = (int)(ofs >> chip->page_shift) & chip->pagemask; in nand_block_bad() 377 page = (int)(ofs >> chip->page_shift) & chip->pagemask; in nand_block_bad() 1707 realpage = (int)(from >> chip->page_shift); in nand_do_read_ops() 2060 ops->ooboffs + readlen > ((mtd->size >> chip->page_shift) - in nand_do_read_oob() 2061 (from >> chip->page_shift)) * len)) { in nand_do_read_oob() 2071 realpage = (int)(from >> chip->page_shift); in nand_do_read_oob() 2561 realpage = (int)(to >> chip->page_shift); in nand_do_write_ops() 2565 if (to <= ((loff_t)chip->pagebuf << chip->page_shift) && in nand_do_write_ops() 2566 ((loff_t)chip->pagebuf << chip->page_shift) < (to + ops->len)) in nand_do_write_ops() 2739 ((mtd->size >> chip->page_shift) - in nand_do_write_oob() [all …]
|
D | nand_util.c | 285 page = (int)(offset >> chip->page_shift); in nand_get_lock_status() 334 page = (int)(start >> chip->page_shift); in nand_unlock() 366 page += (int)(length >> chip->page_shift); in nand_unlock()
|
D | tegra_nand.c | 539 bounce_buffer_start(&bbstate, (void *)buf, 1 << chip->page_shift, in nand_rw_page() 541 writel((1 << chip->page_shift) - 1, &info->reg->dma_cfg_a); in nand_rw_page() 631 1 << chip->page_shift, in nand_rw_page()
|
D | pxa3xx_nand.c | 1228 info->reg_ndcr |= (chip->page_shift == 6) ? NDCR_PG_PER_BLK : 0; in pxa3xx_nand_config_flash() 1471 if ((mtd->size >> chip->page_shift) > 65536) in pxa3xx_nand_scan()
|
D | fsl_elbc_nand.c | 188 chip->phys_erase_shift, chip->page_shift); in set_addr()
|
D | mxc_nand.c | 666 nand_chip->page_shift;
|
D | denali.c | 1212 chip->page_shift += 1; in denali_multidev_fixup()
|
D | sunxi_nand.c | 438 NFC_PAGE_SHIFT(nand->page_shift - 10); in sunxi_nfc_select_chip()
|
/external/u-boot/drivers/nvme/ |
D | nvme.c | 336 unsigned page_shift = 12; in nvme_configure_admin_queue() local 340 if (page_shift < dev_page_min) { in nvme_configure_admin_queue() 342 1 << dev_page_min, 1 << page_shift); in nvme_configure_admin_queue() 346 if (page_shift > dev_page_max) { in nvme_configure_admin_queue() 348 1 << dev_page_max, 1 << page_shift); in nvme_configure_admin_queue() 349 page_shift = dev_page_max; in nvme_configure_admin_queue() 367 dev->page_size = 1 << page_shift; in nvme_configure_admin_queue() 370 dev->ctrl_config |= (page_shift - 12) << NVME_CC_MPS_SHIFT; in nvme_configure_admin_queue()
|
/external/linux-kselftest/tools/testing/selftests/kvm/lib/x86_64/ |
D | processor.c | 275 (vaddr >> vm->page_shift)), in virt_pg_map() 282 TEST_ASSERT((paddr >> vm->page_shift) <= vm->max_gfn, in virt_pg_map() 297 >> vm->page_shift; in virt_pg_map() 308 >> vm->page_shift; in virt_pg_map() 319 >> vm->page_shift; in virt_pg_map() 327 pte[index[0]].address = paddr >> vm->page_shift; in virt_pg_map()
|
/external/u-boot/drivers/mtd/onenand/ |
D | onenand_base.c | 366 - onenand_addr(this, block)) >> this->page_shift; in onenand_command() 626 page = (int) (addr >> (this->page_shift + 1)) & this->page_mask; in onenand_get_2x_blockpage() 649 blockpage = (int) (addr >> this->page_shift); in onenand_check_bufferram() 692 blockpage = (int)(addr >> this->page_shift); in onenand_update_bufferram() 726 loff_t buf_addr = this->bufferram[i].blockpage << this->page_shift; in onenand_invalidate_bufferram() 1031 column + len > ((mtd->size >> this->page_shift) - in onenand_read_oob_nolock() 1032 (from >> this->page_shift)) * oobsize)) { in onenand_read_oob_nolock() 1572 column + len > ((mtd->size >> this->page_shift) - in onenand_write_oob_nolock() 1573 (to >> this->page_shift)) * oobsize)) { in onenand_write_oob_nolock() 2641 this->page_shift = ffs(mtd->writesize) - 1; in onenand_probe() [all …]
|
D | samsung.c | 281 fpa = (int) (addr >> this->page_shift); in s3c_onenand_command()
|
/external/u-boot/include/linux/mtd/ |
D | onenand.h | 84 unsigned int page_shift; member
|
D | rawnand.h | 910 int page_shift; member
|
/external/kernel-headers/original/uapi/rdma/ |
D | vmw_pvrdma-abi.h | 261 __u32 page_shift; member
|
/external/kernel-headers/original/uapi/linux/ |
D | vfio.h | 887 __u32 page_shift; member
|
D | kvm.h | 727 __u32 page_shift; /* Page shift (or 0) */ member 732 __u32 page_shift; /* Base page shift of segment (or 0) */ member
|