Lines Matching refs:size
62 * @size: size of shared memory block
65 * This struct is used to save physical address and size of shared memory
69 * Service layer driver uses the physical address and size to create a memory
75 unsigned long size;
83 * @size: size of memory
93 size_t size;
101 * @size: playload size
111 size_t size;
371 pr_debug("get from FIFO pa=0x%016x, command=%u, size=%u\n",
373 (unsigned int)pdata->size);
388 a2 = (unsigned long)pdata->size;
538 sh_mem->size = res.a2;
543 sh_mem->size = 0;
585 if (!sh_memory->addr || !sh_memory->size) {
591 dev_dbg(dev, "SM software provides paddr: 0x%016x, size: 0x%08x\n",
593 (unsigned int)sh_memory->size);
613 size_t size;
622 end = rounddown(sh_memory->addr + sh_memory->size, PAGE_SIZE);
624 size = end - begin;
625 va = devm_memremap(dev, paddr, size, MEMREMAP_WC);
632 "reserved memory vaddr: %p, paddr: 0x%16x size: 0x%8x\n",
633 va, (unsigned int)paddr, (unsigned int)size);
635 (size & page_mask)) {
645 ret = gen_pool_add_virt(genpool, vaddr, paddr, size, -1);
833 pr_debug("%s: sent P-va=%p, P-com=%x, P-size=%u\n", __func__,
856 p_data->size = p_msg->payload_length;
858 pr_debug("%s: put to FIFO pa=0x%016x, cmd=%x, size=%u\n", __func__,
860 (unsigned int)p_data->size);
896 * @size: memory size requested by a specific service client
904 size_t size)
910 size_t s = roundup(size, 1 << genpool->min_alloc_order);
925 pmem->size = s;
948 (unsigned long)kaddr, pmem->size);