/drivers/misc/sgi-gru/ |
D | gruhandles.c | 153 int asid, int pagesize, int global, int n, in tgh_invalidate() argument 158 tgh->pagesize = pagesize; in tgh_invalidate() 171 int pagesize) in tfh_write_only() argument 178 tfh->pagesize = pagesize; in tfh_write_only() 187 int pagesize) in tfh_write_restart() argument 194 tfh->pagesize = pagesize; in tfh_write_restart()
|
D | gruhandles.h | 217 unsigned int pagesize:5; member 304 unsigned int pagesize:5; member 521 unsigned long vaddrmask, int asid, int pagesize, int global, int n, 524 int gaa, unsigned long vaddr, int asid, int dirty, int pagesize); 526 int gaa, unsigned long vaddr, int asid, int dirty, int pagesize);
|
D | grutlbpurge.c | 165 int grupagesize, pagesize, pageshift, gid, asid; in gru_flush_tlb_range() local 169 pagesize = (1UL << pageshift); in gru_flush_tlb_range() 171 num = min(((len + pagesize - 1) >> pageshift), GRUMAXINVAL); in gru_flush_tlb_range()
|
/drivers/usb/storage/ |
D | alauda.c | 99 unsigned int pagesize; /* page size in bytes */ member 442 MEDIA_INFO(us).pagesize = 1 << media_info->pageshift; in alauda_init_media() 750 data, (MEDIA_INFO(us).pagesize + 64) * pages, NULL); in alauda_read_block_raw() 763 unsigned int pagesize = MEDIA_INFO(us).pagesize; in alauda_read_block() local 771 int dest_offset = i * pagesize; in alauda_read_block() 772 int src_offset = i * (pagesize + 64); in alauda_read_block() 773 memmove(data + dest_offset, data + src_offset, pagesize); in alauda_read_block() 801 (MEDIA_INFO(us).pagesize + 64) * MEDIA_INFO(us).blocksize, in alauda_write_block() 822 unsigned int pagesize = MEDIA_INFO(us).pagesize; in alauda_write_lba() local 855 memset(blockbuffer, 0, blocksize * (pagesize + 64)); in alauda_write_lba() [all …]
|
D | sddr09.c | 261 int pagesize; /* Size of page in bytes */ member 767 len = min(sectors, (unsigned int) info->blocksize) * info->pagesize; in sddr09_read_data() 914 cptr = bptr + info->pagesize; in sddr09_write_lba() 921 nand_compute_ecc(bptr+(info->pagesize / 2), ecc); in sddr09_write_lba() 935 cptr = bptr + info->pagesize; in sddr09_write_lba() 936 memcpy(bptr, xptr, info->pagesize); in sddr09_write_lba() 937 xptr += info->pagesize; in sddr09_write_lba() 940 nand_compute_ecc(bptr+(info->pagesize / 2), ecc); in sddr09_write_lba() 1014 len = min(sectors, (unsigned int) info->blocksize) * info->pagesize; in sddr09_write_data() 1616 info->pagesize = (1 << info->pageshift); in sddr09_transport() [all …]
|
/drivers/iommu/ |
D | amd_iommu_types.h | 281 #define PAGE_SIZE_LEVEL(pagesize) \ argument 282 ((__ffs(pagesize) - 12) / 9) 287 #define PAGE_SIZE_PTE_COUNT(pagesize) \ argument 288 (1ULL << ((__ffs(pagesize) - 12) % 9)) 294 #define PAGE_SIZE_ALIGN(address, pagesize) \ argument 295 ((address) & ~((pagesize) - 1)) 301 #define PAGE_SIZE_PTE(address, pagesize) \ argument 302 (((address) | ((pagesize) - 1)) & \ 303 (~(pagesize >> 1)) & PM_ADDR_MASK)
|
/drivers/xen/ |
D | tmem.c | 112 u32 flags, unsigned long pagesize) in xen_tmem_new_pool() argument 117 for (pageshift = 0; pagesize != 1; pageshift++) in xen_tmem_new_pool() 118 pagesize >>= 1; in xen_tmem_new_pool() 229 static int tmem_cleancache_init_fs(size_t pagesize) in tmem_cleancache_init_fs() argument 233 return xen_tmem_new_pool(uuid_private, 0, pagesize); in tmem_cleancache_init_fs() 236 static int tmem_cleancache_init_shared_fs(char *uuid, size_t pagesize) in tmem_cleancache_init_shared_fs() argument 242 return xen_tmem_new_pool(shared_uuid, TMEM_POOL_SHARED, pagesize); in tmem_cleancache_init_shared_fs()
|
D | sys-hypervisor.c | 292 HYPERVISOR_ATTR_RO(pagesize);
|
/drivers/mtd/devices/ |
D | mtd_dataflash.c | 623 int pagesize, int pageoffset, char revision) in add_dataflash_otp() argument 637 priv->page_size = pagesize; in add_dataflash_otp() 647 device->size = nr_pages * pagesize; in add_dataflash_otp() 648 device->erasesize = pagesize; in add_dataflash_otp() 649 device->writesize = pagesize; in add_dataflash_otp() 665 pagesize, otp_tag); in add_dataflash_otp() 680 int nr_pages, int pagesize, int pageoffset) in add_dataflash() argument 682 return add_dataflash_otp(spi, name, nr_pages, pagesize, in add_dataflash() 696 uint16_t pagesize; member 839 info->pagesize, info->pageoffset, in dataflash_probe()
|
D | spear_smi.c | 100 u32 pagesize; member 110 .pagesize = psize, \ 863 flash->page_size = flash_devices[flash_index].pagesize; in spear_smi_setup_banks()
|
/drivers/net/ethernet/ibm/ehea/ |
D | ehea_qmr.c | 43 queue->current_q_offset += queue->pagesize; in hw_qpageit_get_inc() 45 queue->current_q_offset -= queue->pagesize; in hw_qpageit_get_inc() 55 const u32 pagesize, const u32 qe_size) in hw_queue_ctor() argument 57 int pages_per_kpage = PAGE_SIZE / pagesize; in hw_queue_ctor() 60 if ((pagesize > PAGE_SIZE) || (!pages_per_kpage)) { in hw_queue_ctor() 62 (int)PAGE_SIZE, (int)pagesize); in hw_queue_ctor() 66 queue->queue_length = nr_of_pages * pagesize; in hw_queue_ctor() 84 kpage += pagesize; in hw_queue_ctor() 91 queue->pagesize = pagesize; in hw_queue_ctor() 112 pages_per_kpage = PAGE_SIZE / queue->pagesize; in hw_queue_dtor() [all …]
|
D | ehea_phyp.c | 429 u64 ehea_h_register_rpage(const u64 adapter_handle, const u8 pagesize, in ehea_h_register_rpage() argument 435 reg_control = EHEA_BMASK_SET(H_REG_RPAGE_PAGE_SIZE, pagesize) in ehea_h_register_rpage() 514 const u8 pagesize, const u8 queue_type, in ehea_h_register_rpage_mr() argument 522 return ehea_h_register_rpage(adapter_handle, pagesize, in ehea_h_register_rpage_mr()
|
D | ehea_phyp.h | 389 const u8 pagesize, 411 const u8 pagesize, const u8 queue_type,
|
D | ehea.h | 159 u32 pagesize; member
|
/drivers/mtd/nand/ |
D | nand_base.c | 3983 mtd->writesize = type->pagesize; in nand_decode_id() 4050 mtd->writesize = type->pagesize; in find_full_id_nand() 4132 if (!type->name || !type->pagesize) { in nand_get_flash_type() 4150 if (!type->pagesize) { in nand_get_flash_type() 4163 if (*maf_id != NAND_MFR_SAMSUNG && !type->pagesize) in nand_get_flash_type()
|
/drivers/net/ethernet/broadcom/ |
D | tg3.c | 3378 u32 pagesize = tp->nvram_pagesize; in tg3_nvram_write_block_unbuffered() local 3379 u32 pagemask = pagesize - 1; in tg3_nvram_write_block_unbuffered() 3383 tmp = kmalloc(pagesize, GFP_KERNEL); in tg3_nvram_write_block_unbuffered() 3393 for (j = 0; j < pagesize; j += 4) { in tg3_nvram_write_block_unbuffered() 3403 size = pagesize; in tg3_nvram_write_block_unbuffered() 3411 offset = offset + (pagesize - page_off); in tg3_nvram_write_block_unbuffered() 3439 for (j = 0; j < pagesize; j += 4) { in tg3_nvram_write_block_unbuffered() 3453 else if (j == (pagesize - 4)) in tg3_nvram_write_block_unbuffered()
|