Searched refs:pageshift (Results 1 – 7 of 7) sorted by relevance
/drivers/misc/sgi-gru/ |
D | grufault.c | 192 unsigned long *paddr, int *pageshift) in non_atomic_pte_lookup() argument 197 *pageshift = is_vm_hugetlb_page(vma) ? HPAGE_SHIFT : PAGE_SHIFT; in non_atomic_pte_lookup() 199 *pageshift = PAGE_SHIFT; in non_atomic_pte_lookup() 220 int write, unsigned long *paddr, int *pageshift) in atomic_pte_lookup() argument 251 *pageshift = is_vm_hugetlb_page(vma) ? HPAGE_SHIFT : PAGE_SHIFT; in atomic_pte_lookup() 253 *pageshift = PAGE_SHIFT; in atomic_pte_lookup() 262 int write, int atomic, unsigned long *gpa, int *pageshift) in gru_vtop() argument 289 *pageshift = ps; in gru_vtop() 326 int ret, pageshift; in gru_preload_tlb() local 341 ret = gru_vtop(gts, vaddr, write, atomic, &gpa, &pageshift); in gru_preload_tlb() [all …]
|
D | grutlbpurge.c | 165 int grupagesize, pagesize, pageshift, gid, asid; in gru_flush_tlb_range() local 168 pageshift = PAGE_SHIFT; in gru_flush_tlb_range() 169 pagesize = (1UL << pageshift); in gru_flush_tlb_range() 170 grupagesize = GRU_PAGESIZE(pageshift); in gru_flush_tlb_range() 171 num = min(((len + pagesize - 1) >> pageshift), GRUMAXINVAL); in gru_flush_tlb_range()
|
/drivers/usb/storage/ |
D | sddr09.c | 120 char pageshift; /* 1<<ps bytes in a page */ member 264 int pageshift; /* log2 of pagesize */ member 453 int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) { in sddr09_read20() argument 454 int bulklen = nr_of_pages << pageshift; in sddr09_read20() 494 int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) { in sddr09_read22() argument 496 int bulklen = (nr_of_pages << pageshift) + (nr_of_pages << CONTROL_SHIFT); in sddr09_read22() 631 int nr_of_pages, int pageshift, unsigned char *buf, in sddr09_write_inplace() argument 633 int bulklen = (nr_of_pages << pageshift) + (nr_of_pages << CONTROL_SHIFT); in sddr09_write_inplace() 762 maxlba = info->capacity >> (info->pageshift + info->blockshift); in sddr09_read_data() 788 len = pages << info->pageshift; in sddr09_read_data() [all …]
|
D | alauda.c | 102 unsigned char pageshift; member 179 unsigned char pageshift; /* 1<<ps bytes in a page */ member 295 + media_info->blockshift + media_info->pageshift; in alauda_free_maps() 438 MEDIA_INFO(us).pageshift = media_info->pageshift; in alauda_init_media() 442 MEDIA_INFO(us).pagesize = 1 << media_info->pageshift; in alauda_init_media() 450 + MEDIA_INFO(us).blockshift + MEDIA_INFO(us).pageshift); in alauda_init_media() 927 unsigned int pageshift = MEDIA_INFO(us).pageshift; in alauda_read_data() local 952 max_lba = MEDIA_INFO(us).capacity >> (blockshift + pageshift); in alauda_read_data() 975 len = pages << pageshift; in alauda_read_data() 1022 unsigned int pageshift = MEDIA_INFO(us).pageshift; in alauda_write_data() local [all …]
|
D | sddr55.c | 97 int pageshift; /* log2 of pagesize */ member 237 len = pages << info->pageshift; in sddr55_read_data() 365 len = pages << info->pageshift; in sddr55_write_data() 586 info->pageshift = 9; in sddr55_get_capacity() 597 info->pageshift = 8; in sddr55_get_capacity() 603 info->pageshift = 8; in sddr55_get_capacity() 662 numblocks = info->capacity >> (info->blockshift + info->pageshift); in sddr55_read_map() 870 info->max_log_blks = ((info->capacity >> (info->pageshift + info->blockshift)) / 256) * 250; in sddr55_transport()
|
/drivers/mtd/nand/ |
D | alauda.c | 62 u8 pageshift; /* 1<<pageshift page size */ member 209 u32 page = (from >> al->card->pageshift) & al->pagemask; in __alauda_read_page() 274 u32 page = (to >> al->card->pageshift) & al->pagemask; in alauda_write_page() 466 u32 page = (to >> al->card->pageshift) & al->pagemask; in alauda_write() 575 1<<card->pageshift, 1<<card->blockshift, in alauda_init_media() 578 al->pagemask = (1 << (card->blockshift - card->pageshift)) - 1; in alauda_init_media() 579 al->bytemask = (1 << card->pageshift) - 1; in alauda_init_media() 585 mtd->writesize = 1<<card->pageshift; in alauda_init_media()
|
/drivers/xen/ |
D | tmem.c | 85 int rc = 0, pageshift; in xen_tmem_new_pool() local 87 for (pageshift = 0; pagesize != 1; pageshift++) in xen_tmem_new_pool() 89 flags |= (pageshift - 12) << TMEM_POOL_PAGESIZE_SHIFT; in xen_tmem_new_pool()
|