Searched refs:PAGE_SIZE (Results 1 - 25 of 27) sorted by relevance

12

/u-boot/arch/arm/include/asm/armv8/
H A Dmmu.h18 #undef PAGE_SIZE macro
20 #define PAGE_SIZE (1 << PAGE_SHIFT) macro
21 #define PAGE_MASK (~(PAGE_SIZE - 1))
/u-boot/drivers/virtio/
H A Dvirtio_mmio.h117 #define VIRTIO_MMIO_VRING_ALIGN PAGE_SIZE
H A Dvirtio_ring.c22 return memalign(PAGE_SIZE, npages * PAGE_SIZE);
32 const ulong align_mask = PAGE_SIZE - 1;
61 bbflags, PAGE_SIZE,
351 for (; num && vring_size(num, vring_align) > PAGE_SIZE; num /= 2) {
354 queue = virtio_alloc_pages(vdev, DIV_ROUND_UP(sz, PAGE_SIZE));
391 virtio_free_pages(vdev, queue, DIV_ROUND_UP(vring.size, PAGE_SIZE));
398 DIV_ROUND_UP(vq->vring.size, PAGE_SIZE));
H A Dvirtio_mmio.c239 writel(PAGE_SIZE, priv->base + VIRTIO_MMIO_QUEUE_ALIGN);
380 writel(PAGE_SIZE, priv->base + VIRTIO_MMIO_GUEST_PAGE_SIZE);
/u-boot/drivers/xen/
H A Dgnttab.c39 #define NR_GRANT_ENTRIES (NR_GRANT_FRAMES * PAGE_SIZE / sizeof(struct grant_entry_v1))
120 *map = (void *)memalign(PAGE_SIZE, PAGE_SIZE);
H A Dpvblock.c146 s = (struct blkif_sring *)memalign(PAGE_SIZE, PAGE_SIZE);
153 FRONT_RING_INIT(&dev->ring, s, PAGE_SIZE);
480 PAGE_SIZE - 1) & PAGE_MASK;
481 n = (end - start) / PAGE_SIZE;
498 req->seg[j].last_sect = PAGE_SIZE / dev->info.sector_size - 1;
505 uintptr_t data = start + j * PAGE_SIZE;
635 * PAGE_SIZE),
H A Dhypervisor.c131 HYPERVISOR_shared_info = (struct shared_info *)memalign(PAGE_SIZE,
132 PAGE_SIZE);
/u-boot/arch/xtensa/include/asm/
H A Dptrace.h37 #define KERNEL_STACK_SIZE (2 * PAGE_SIZE)
H A Dcacheasm.h14 #define PAGE_SIZE 4096 macro
69 __loopi \ar, \at, PAGE_SIZE, 4 << (\line_width) variable
/u-boot/arch/arm/include/asm/proc-armv/
H A Dprocessor.h23 #define KERNEL_STACK_SIZE PAGE_SIZE
/u-boot/fs/btrfs/
H A Dcompression.c72 rem_page = PAGE_SIZE - (tot_in % PAGE_SIZE);
/u-boot/arch/arm/include/asm/xen/
H A Dsystem.h78 #define PFN_UP(x) (unsigned long)(((x) + PAGE_SIZE - 1) >> PAGE_SHIFT)
/u-boot/fs/erofs/
H A Dinternal.h27 /* no obvious reason to support explicit PAGE_SIZE != 4096 for now */
28 #if PAGE_SIZE != 4096
29 #error incompatible PAGE_SIZE is already defined
32 #define PAGE_MASK (~(PAGE_SIZE - 1))
35 #define EROFS_MAX_BLOCK_SIZE PAGE_SIZE
/u-boot/board/xen/xenguest_arm64/
H A Dxenguest_arm64.c156 xen_mem_map[*cnt].size = roundup(fdt_resource_size(&reg_res), PAGE_SIZE);
188 xen_mem_map[i].size = PAGE_SIZE;
202 xen_mem_map[i].size = PAGE_SIZE;
/u-boot/drivers/mtd/
H A Dmtdcore.c242 return snprintf(buf, PAGE_SIZE, "%s\n", type);
251 return snprintf(buf, PAGE_SIZE, "0x%lx\n", (unsigned long)mtd->flags);
261 return snprintf(buf, PAGE_SIZE, "%llu\n",
272 return snprintf(buf, PAGE_SIZE, "%lu\n", (unsigned long)mtd->erasesize);
282 return snprintf(buf, PAGE_SIZE, "%lu\n", (unsigned long)mtd->writesize);
293 return snprintf(buf, PAGE_SIZE, "%u\n", subpagesize);
303 return snprintf(buf, PAGE_SIZE, "%lu\n", (unsigned long)mtd->oobsize);
313 return snprintf(buf, PAGE_SIZE, "%u\n", mtd->numeraseregions);
324 return snprintf(buf, PAGE_SIZE, "%s\n", mtd->name);
334 return snprintf(buf, PAGE_SIZE, "
[all...]
/u-boot/arch/riscv/lib/
H A Dinterrupts.c200 if ((pre_addr & ~(PAGE_SIZE - 1)) ==
201 (post_addr & ~(PAGE_SIZE - 1))) {
/u-boot/include/linux/
H A Dcompat.h137 #ifndef PAGE_SIZE macro
138 #define PAGE_SIZE 4096
/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
H A Dmp.c106 reloc_addr = memalign(PAGE_SIZE,
107 round_up(secondary_boot_code_size, PAGE_SIZE));
/u-boot/include/linux/usb/
H A Ddwc3.h15 #define DWC3_EVENT_BUFFERS_SIZE PAGE_SIZE
/u-boot/fs/ubifs/
H A Dubifs.c891 if (offset & (PAGE_SIZE - 1)) {
893 PAGE_SIZE);
933 page.index = offset / PAGE_SIZE;
940 last_block_size = size - (i * PAGE_SIZE);
946 page.addr += PAGE_SIZE;
952 *actread = i * PAGE_SIZE;
/u-boot/drivers/remoteproc/
H A Dipu_rproc.c153 count = ((len + (PAGE_SIZE - 1)) & ~(PAGE_SIZE - 1)) >> PAGE_SHIFT;
/u-boot/drivers/mmc/
H A Ddw_mmc.c21 #define PAGE_SIZE 4096
79 (ulong)bounce_buffer + (i * PAGE_SIZE));
22 #define PAGE_SIZE macro
/u-boot/lib/crypto/
H A Dasymmetric_type.c510 parse_buf = kstrndup(restriction, PAGE_SIZE, GFP_KERNEL);
/u-boot/drivers/fastboot/
H A Dfb_mmc.c359 hdr_addr = (uintptr_t)download_buffer + ALIGN(download_bytes, PAGE_SIZE);
/u-boot/drivers/spi/
H A Dmtk_snor.c96 #define MTK_NOR_BOUNCE_BUF_SIZE PAGE_SIZE

Completed in 410 milliseconds

12