Searched refs:pageshift (Results 1 – 5 of 5) sorted by relevance
/drivers/misc/sgi-gru/ |
D | grufault.c | 179 unsigned long *paddr, int *pageshift) in non_atomic_pte_lookup() argument 184 *pageshift = is_vm_hugetlb_page(vma) ? HPAGE_SHIFT : PAGE_SHIFT; in non_atomic_pte_lookup() 186 *pageshift = PAGE_SHIFT; in non_atomic_pte_lookup() 206 int write, unsigned long *paddr, int *pageshift) in atomic_pte_lookup() argument 242 *pageshift = is_vm_hugetlb_page(vma) ? HPAGE_SHIFT : PAGE_SHIFT; in atomic_pte_lookup() 244 *pageshift = PAGE_SHIFT; in atomic_pte_lookup() 253 int write, int atomic, unsigned long *gpa, int *pageshift) in gru_vtop() argument 280 *pageshift = ps; in gru_vtop() 317 int ret, pageshift; in gru_preload_tlb() local 332 ret = gru_vtop(gts, vaddr, write, atomic, &gpa, &pageshift); in gru_preload_tlb() [all …]
|
D | grutlbpurge.c | 152 int grupagesize, pagesize, pageshift, gid, asid; in gru_flush_tlb_range() local 155 pageshift = PAGE_SHIFT; in gru_flush_tlb_range() 156 pagesize = (1UL << pageshift); in gru_flush_tlb_range() 157 grupagesize = GRU_PAGESIZE(pageshift); in gru_flush_tlb_range() 158 num = min(((len + pagesize - 1) >> pageshift), GRUMAXINVAL); in gru_flush_tlb_range()
|
/drivers/usb/storage/ |
D | sddr09.c | 110 char pageshift; /* 1<<ps bytes in a page */ member 250 int pageshift; /* log2 of pagesize */ member 439 int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) { in sddr09_read20() argument 440 int bulklen = nr_of_pages << pageshift; in sddr09_read20() 480 int nr_of_pages, int pageshift, unsigned char *buf, int use_sg) { in sddr09_read22() argument 482 int bulklen = (nr_of_pages << pageshift) + (nr_of_pages << CONTROL_SHIFT); in sddr09_read22() 616 int nr_of_pages, int pageshift, unsigned char *buf, in sddr09_write_inplace() argument 618 int bulklen = (nr_of_pages << pageshift) + (nr_of_pages << CONTROL_SHIFT); in sddr09_write_inplace() 747 maxlba = info->capacity >> (info->pageshift + info->blockshift); in sddr09_read_data() 771 len = pages << info->pageshift; in sddr09_read_data() [all …]
|
D | alauda.c | 93 unsigned char pageshift; member 170 unsigned char pageshift; /* 1<<ps bytes in a page */ member 287 + media_info->blockshift + media_info->pageshift; in alauda_free_maps() 427 MEDIA_INFO(us).pageshift = media_info->pageshift; in alauda_init_media() 431 MEDIA_INFO(us).pagesize = 1 << media_info->pageshift; in alauda_init_media() 439 + MEDIA_INFO(us).blockshift + MEDIA_INFO(us).pageshift); in alauda_init_media() 920 unsigned int pageshift = MEDIA_INFO(us).pageshift; in alauda_read_data() local 943 max_lba = MEDIA_INFO(us).capacity >> (blockshift + pageshift); in alauda_read_data() 966 len = pages << pageshift; in alauda_read_data() 1014 unsigned int pageshift = MEDIA_INFO(us).pageshift; in alauda_write_data() local [all …]
|
D | sddr55.c | 89 int pageshift; /* log2 of pagesize */ member 229 len = pages << info->pageshift; in sddr55_read_data() 356 len = pages << info->pageshift; in sddr55_write_data() 576 info->pageshift = 9; in sddr55_get_capacity() 587 info->pageshift = 8; in sddr55_get_capacity() 593 info->pageshift = 8; in sddr55_get_capacity() 653 numblocks = info->capacity >> (info->blockshift + info->pageshift); in sddr55_read_map() 875 info->max_log_blks = ((info->capacity >> (info->pageshift + info->blockshift)) / 256) * 250; in sddr55_transport()
|