Home
last modified time | relevance | path

Searched refs:phys_size (Results 1 – 20 of 20) sorted by relevance

/openbmc/linux/drivers/gpu/drm/i915/gem/selftests/
H A Dhuge_gem_object.c102 phys_addr_t phys_size, in huge_gem_object() argument
109 GEM_BUG_ON(!phys_size || phys_size > dma_size); in huge_gem_object()
110 GEM_BUG_ON(!IS_ALIGNED(phys_size, PAGE_SIZE)); in huge_gem_object()
128 obj->scratch = phys_size; in huge_gem_object()
H A Dhuge_gem_object.h18 phys_addr_t phys_size,
/openbmc/linux/include/video/
H A Domapvrfb.h33 extern u16 omap_vrfb_max_height(u32 phys_size, u16 width, u8 bytespp);
48 static inline u16 omap_vrfb_max_height(u32 phys_size, u16 width, u8 bytespp) in omap_vrfb_max_height() argument
/openbmc/linux/fs/hfs/
H A Dinode.c60 &HFS_I(mapping->host)->phys_size); in hfs_write_begin()
229 HFS_I(inode)->phys_size = 0; in hfs_new_inode()
272 __be32 __log_size, __be32 phys_size, u32 clump_size) in hfs_inode_read_fork() argument
286 inode->i_size = HFS_I(inode)->phys_size = log_size; in hfs_inode_read_fork()
289 HFS_I(inode)->alloc_blocks = be32_to_cpu(phys_size) / in hfs_inode_read_fork()
415 __be32 *log_size, __be32 *phys_size) in hfs_inode_write_fork() argument
421 if (phys_size) in hfs_inode_write_fork()
422 *phys_size = cpu_to_be32(HFS_I(inode)->alloc_blocks * in hfs_inode_write_fork()
H A Dextent.c383 HFS_I(inode)->phys_size += sb->s_blocksize; in hfs_get_block()
485 inode->i_ino, (long long)HFS_I(inode)->phys_size, in hfs_file_truncate()
487 if (inode->i_size > HFS_I(inode)->phys_size) { in hfs_file_truncate()
501 inode->i_size = HFS_I(inode)->phys_size; in hfs_file_truncate()
503 } else if (inode->i_size == HFS_I(inode)->phys_size) in hfs_file_truncate()
547 HFS_I(inode)->phys_size = inode->i_size; in hfs_file_truncate()
H A Dhfs_fs.h85 loff_t phys_size; member
212 __be32 log_size, __be32 phys_size, u32 clump_size);
H A Dbtree.c237 HFS_I(inode)->phys_size = inode->i_size = in hfs_bmap_reserve()
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/
H A Dvrfb.c147 u16 omap_vrfb_max_height(u32 phys_size, u16 width, u8 bytespp) in omap_vrfb_max_height() argument
159 if (phys_size < extra) in omap_vrfb_max_height()
162 height = (phys_size - extra) / (width * bytespp); in omap_vrfb_max_height()
/openbmc/linux/fs/hfsplus/
H A Dextents.c288 hip->phys_size += sb->s_blocksize; in hfsplus_get_block()
553 inode->i_ino, (long long)hip->phys_size, inode->i_size); in hfsplus_file_truncate()
555 if (inode->i_size > hip->phys_size) { in hfsplus_file_truncate()
571 } else if (inode->i_size == hip->phys_size) in hfsplus_file_truncate()
626 hip->phys_size = inode->i_size; in hfsplus_file_truncate()
H A Dinode.c54 &HFSPLUS_I(mapping->host)->phys_size); in hfsplus_write_begin()
412 hip->phys_size = 0; in hfsplus_new_inode()
480 hip->phys_size = inode->i_size = be64_to_cpu(fork->total_size); in hfsplus_inode_read_fork()
H A Dbtree.c361 hip->phys_size = inode->i_size = in hfs_bmap_reserve()
H A Dhfsplus_fs.h250 loff_t phys_size; member
H A Dxattr.c199 hip->phys_size = attr_file->i_size = in hfsplus_create_attributes_file()
/openbmc/linux/arch/x86/mm/
H A Dnuma_emulation.c377 size_t phys_size = numa_dist_cnt * numa_dist_cnt * sizeof(phys_dist[0]); in numa_emulation() local
450 phys = memblock_phys_alloc_range(phys_size, PAGE_SIZE, 0, in numa_emulation()
520 memblock_free(phys_dist, phys_size); in numa_emulation()
/openbmc/linux/drivers/video/fbdev/
H A Dgbefb.c1000 unsigned long phys_addr, phys_size; in gbefb_mmap() local
1028 phys_size = size; in gbefb_mmap()
1030 phys_size = TILE_SIZE - offset; in gbefb_mmap()
1033 phys_size, vma->vm_page_prot)) in gbefb_mmap()
1037 size -= phys_size; in gbefb_mmap()
1038 addr += phys_size; in gbefb_mmap()
/openbmc/qemu/hw/i386/
H A Dmicrovm.c232 hwaddr phys_size = (hwaddr)1 << X86_CPU(first_cpu)->phys_bits; in microvm_devices_init() local
233 if (phys_size > 0x1000000ll) { in microvm_devices_init()
234 mms->gpex.mmio64.size = phys_size / 4; in microvm_devices_init()
235 mms->gpex.mmio64.base = phys_size - mms->gpex.mmio64.size; in microvm_devices_init()
/openbmc/linux/tools/testing/selftests/hid/tests/
H A Dtest_wacom_generic.py152 phys_size = (field.physical_max - field.physical_min) * 10 ** (field.unit_exp)
155 and phys_size > self.min_size
156 and phys_size < self.max_size
/openbmc/linux/drivers/ntb/
H A Dntb_transport.c206 resource_size_t phys_size; member
1051 size = nt->mw_vec[i].phys_size; in ntb_transport_link_work()
1192 mw_size = nt->mw_vec[mw_num].phys_size; in ntb_transport_init_queue()
1320 &mw->phys_size); in ntb_transport_probe()
1324 mw->vbase = ioremap_wc(mw->phys_addr, mw->phys_size); in ntb_transport_probe()
/openbmc/linux/drivers/video/fbdev/aty/
H A Datyfb_base.c345 static unsigned long phys_size[FB_MAX] = { 0, }; variable
2788 phys_size[m64_num] = size; in store_video_par()
3641 if (!phys_vmembase[m64_num] || !phys_size[m64_num] || in atyfb_atari_probe()
3663 phys_size[m64_num]); in atyfb_atari_probe()
/openbmc/linux/drivers/firmware/efi/libstub/
H A Defistub.h615 u64 phys_size; member