Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gem/selftests/
H A Dhuge_gem_object.c99 phys_addr_t phys_size, in huge_gem_object() argument
106 GEM_BUG_ON(!phys_size || phys_size > dma_size); in huge_gem_object()
107 GEM_BUG_ON(!IS_ALIGNED(phys_size, PAGE_SIZE)); in huge_gem_object()
124 obj->scratch = phys_size; in huge_gem_object()
H A Dhuge_gem_object.h18 phys_addr_t phys_size,
/OK3568_Linux_fs/kernel/fs/hfs/
H A Dinode.c61 &HFS_I(mapping->host)->phys_size); in hfs_write_begin()
224 HFS_I(inode)->phys_size = 0; in hfs_new_inode()
267 __be32 __log_size, __be32 phys_size, u32 clump_size) in hfs_inode_read_fork() argument
279 inode->i_size = HFS_I(inode)->phys_size = log_size; in hfs_inode_read_fork()
282 HFS_I(inode)->alloc_blocks = be32_to_cpu(phys_size) / in hfs_inode_read_fork()
408 __be32 *log_size, __be32 *phys_size) in hfs_inode_write_fork() argument
414 if (phys_size) in hfs_inode_write_fork()
415 *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
209 __be32 log_size, __be32 phys_size, u32 clump_size);
H A Dbtree.c234 HFS_I(inode)->phys_size = inode->i_size = in hfs_bmap_reserve()
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/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
451 phys_size, PAGE_SIZE); in numa_emulation()
456 memblock_reserve(phys, phys_size); in numa_emulation()
522 memblock_free(__pa(phys_dist), phys_size); in numa_emulation()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/fs/hfsplus/
H A Dextents.c288 hip->phys_size += sb->s_blocksize; in hfsplus_get_block()
552 inode->i_ino, (long long)hip->phys_size, inode->i_size); in hfsplus_file_truncate()
554 if (inode->i_size > hip->phys_size) { in hfsplus_file_truncate()
570 } else if (inode->i_size == hip->phys_size) in hfsplus_file_truncate()
623 hip->phys_size = inode->i_size; in hfsplus_file_truncate()
H A Dinode.c54 &HFSPLUS_I(mapping->host)->phys_size); in hfsplus_write_begin()
398 hip->phys_size = 0; in hfsplus_new_inode()
466 hip->phys_size = inode->i_size = be64_to_cpu(fork->total_size); in hfsplus_inode_read_fork()
H A Dbtree.c360 hip->phys_size = inode->i_size = in hfs_bmap_reserve()
H A Dhfsplus_fs.h248 loff_t phys_size; member
H A Dxattr.c199 hip->phys_size = attr_file->i_size = in hfsplus_create_attributes_file()
/OK3568_Linux_fs/kernel/drivers/video/fbdev/
H A Dgbefb.c1002 unsigned long phys_addr, phys_size; in gbefb_mmap() local
1030 phys_size = size; in gbefb_mmap()
1032 phys_size = TILE_SIZE - offset; in gbefb_mmap()
1035 phys_size, vma->vm_page_prot)) in gbefb_mmap()
1039 size -= phys_size; in gbefb_mmap()
1040 addr += phys_size; in gbefb_mmap()
/OK3568_Linux_fs/kernel/drivers/ntb/
H A Dntb_transport.c206 resource_size_t phys_size; member
1046 size = nt->mw_vec[i].phys_size; in ntb_transport_link_work()
1187 mw_size = nt->mw_vec[mw_num].phys_size; in ntb_transport_init_queue()
1315 &mw->phys_size); in ntb_transport_probe()
1319 mw->vbase = ioremap_wc(mw->phys_addr, mw->phys_size); in ntb_transport_probe()
/OK3568_Linux_fs/kernel/drivers/crypto/hisilicon/
H A Dqm.h250 resource_size_t phys_size; member
H A Dqm.c4027 qm->phys_size = pci_resource_len(qm->pdev, PCI_BAR_2); in hisi_qm_init()
4028 qm->io_base = ioremap(qm->phys_base, qm->phys_size); in hisi_qm_init()
/OK3568_Linux_fs/kernel/drivers/firmware/efi/libstub/
H A Defistub.h482 u64 phys_size; member
/OK3568_Linux_fs/kernel/drivers/video/fbdev/aty/
H A Datyfb_base.c335 static unsigned long phys_size[FB_MAX] = { 0, }; variable
2783 phys_size[m64_num] = size; in store_video_par()
3638 if (!phys_vmembase[m64_num] || !phys_size[m64_num] || in atyfb_atari_probe()
3660 phys_size[m64_num]); in atyfb_atari_probe()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Ddhd_pcie.c5243 uint32 varsize, phys_size; in dhdpcie_bus_write_vars() local
5299 phys_size = REMAP_ENAB(bus) ? bus->ramsize : bus->orig_ramsize; in dhdpcie_bus_write_vars()
5301 phys_size += bus->dongle_ram_base; in dhdpcie_bus_write_vars()
5305 phys_size, bus->ramsize)); in dhdpcie_bus_write_vars()
5308 varsize = ((phys_size - 4) - varaddr); in dhdpcie_bus_write_vars()
5327 bcmerror = dhdpcie_bus_membytes(bus, TRUE, (phys_size - 4), in dhdpcie_bus_write_vars()
H A Ddhd_sdio.c4837 uint32 varsize, phys_size; in dhdsdio_write_vars() local
4914 phys_size = bus->ramsize; in dhdsdio_write_vars()
4916 phys_size = REMAP_ENAB(bus) ? bus->ramsize : bus->orig_ramsize; in dhdsdio_write_vars()
4919 phys_size += bus->dongle_ram_base; in dhdsdio_write_vars()
4923 phys_size, bus->ramsize)); in dhdsdio_write_vars()
4926 varsize = ((phys_size - 4) - varaddr); in dhdsdio_write_vars()
4943 bcmerror = dhdsdio_membytes(bus, TRUE, (phys_size - 4), in dhdsdio_write_vars()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_sdio.c5308 uint32 varsize, phys_size; in dhdsdio_write_vars() local
5387 phys_size = bus->ramsize; in dhdsdio_write_vars()
5389 phys_size = REMAP_ENAB(bus) ? bus->ramsize : bus->orig_ramsize; in dhdsdio_write_vars()
5392 phys_size += bus->dongle_ram_base; in dhdsdio_write_vars()
5396 phys_size, bus->ramsize)); in dhdsdio_write_vars()
5399 varsize = ((phys_size - 4) - varaddr); in dhdsdio_write_vars()
5419 bcmerror = dhdsdio_membytes(bus, TRUE, (phys_size - 4), in dhdsdio_write_vars()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd_sdio.c5297 uint32 varsize, phys_size; in dhdsdio_write_vars() local
5376 phys_size = bus->ramsize; in dhdsdio_write_vars()
5378 phys_size = REMAP_ENAB(bus) ? bus->ramsize : bus->orig_ramsize; in dhdsdio_write_vars()
5381 phys_size += bus->dongle_ram_base; in dhdsdio_write_vars()
5385 phys_size, bus->ramsize)); in dhdsdio_write_vars()
5388 varsize = ((phys_size - 4) - varaddr); in dhdsdio_write_vars()
5408 bcmerror = dhdsdio_membytes(bus, TRUE, (phys_size - 4), in dhdsdio_write_vars()
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Ddhd_pcie.c7971 uint32 varsize, phys_size; in dhdpcie_bus_write_vars() local
8029 phys_size = REMAP_ENAB(bus) ? bus->ramsize : bus->orig_ramsize; in dhdpcie_bus_write_vars()
8031 phys_size += bus->dongle_ram_base; in dhdpcie_bus_write_vars()
8035 phys_size, bus->ramsize)); in dhdpcie_bus_write_vars()
8038 varsize = ((phys_size - 4) - varaddr); in dhdpcie_bus_write_vars()
8057 bcmerror = dhdpcie_bus_membytes(bus, TRUE, (phys_size - 4), in dhdpcie_bus_write_vars()

12