Home
last modified time | relevance | path

Searched refs:psize (Results 1 – 25 of 141) sorted by relevance

123456

/OK3568_Linux_fs/kernel/crypto/
H A Dtestmgr.h41 unsigned int psize; member
2406 .psize = 1,
2411 .psize = 3,
2416 .psize = 14,
2421 .psize = 26,
2426 .psize = 62,
2432 .psize = 80,
2447 .psize = 1,
2455 .psize = 56,
2589 .psize = 1023,
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/mm/book3s64/
H A Dhash_native.c150 static inline unsigned long ___tlbie(unsigned long vpn, int psize, in ___tlbie() argument
173 switch (psize) { in ___tlbie()
186 penc = mmu_psize_defs[psize].penc[apsize]; in ___tlbie()
207 static inline void fixup_tlbie_vpn(unsigned long vpn, int psize, in fixup_tlbie_vpn() argument
235 ___tlbie(vpn, psize, apsize, ssize); in fixup_tlbie_vpn()
239 static inline void __tlbie(unsigned long vpn, int psize, int apsize, int ssize) in __tlbie() argument
243 rb = ___tlbie(vpn, psize, apsize, ssize); in __tlbie()
247 static inline void __tlbiel(unsigned long vpn, int psize, int apsize, int ssize) in __tlbiel() argument
263 switch (psize) { in __tlbiel()
276 penc = mmu_psize_defs[psize].penc[apsize]; in __tlbiel()
[all …]
H A Dradix_tlb.c426 unsigned long psize) in __tlbiel_va_range() argument
429 unsigned long ap = mmu_get_ap(psize); in __tlbiel_va_range()
436 unsigned long psize, unsigned long ric) in _tlbiel_va() argument
438 unsigned long ap = mmu_get_ap(psize); in _tlbiel_va()
447 unsigned long psize, bool also_pwc) in _tlbiel_va_range() argument
452 __tlbiel_va_range(start, end, pid, page_size, psize); in _tlbiel_va_range()
458 unsigned long psize) in __tlbie_va_range() argument
461 unsigned long ap = mmu_get_ap(psize); in __tlbie_va_range()
470 unsigned long psize, unsigned long ric) in _tlbie_va() argument
472 unsigned long ap = mmu_get_ap(psize); in _tlbie_va()
[all …]
H A Dhash_tlb.c46 unsigned int psize; in hpte_need_flush() local
63 psize = get_slice_psize(mm, addr); in hpte_need_flush()
65 addr &= ~((1UL << mmu_psize_defs[psize].shift) - 1); in hpte_need_flush()
66 if (unlikely(psize == MMU_PAGE_16G)) in hpte_need_flush()
72 psize = pte_pagesize_index(mm, addr, pte); /* shutup gcc */ in hpte_need_flush()
75 psize = pte_pagesize_index(mm, addr, pte); in hpte_need_flush()
104 flush_hash_page(vpn, rpte, psize, ssize, mm_is_thread_local(mm)); in hpte_need_flush()
119 if (i != 0 && (mm != batch->mm || batch->psize != psize || in hpte_need_flush()
126 batch->psize = psize; in hpte_need_flush()
152 batch->psize, batch->ssize, local); in __flush_tlb_pending()
H A Dhash_utils.c249 int psize, int ssize) in htab_bolt_mapping() argument
255 shift = mmu_psize_defs[psize].shift; in htab_bolt_mapping()
261 vstart, vend, pstart, prot, psize, ssize); in htab_bolt_mapping()
304 HPTE_V_BOLTED, psize, psize, in htab_bolt_mapping()
314 HPTE_V_BOLTED, psize, psize, in htab_bolt_mapping()
337 int psize, int ssize) in htab_remove_mapping() argument
344 shift = mmu_psize_defs[psize].shift; in htab_remove_mapping()
355 rc = mmu_hash_ops.hpte_removebolted(vaddr, psize, ssize); in htab_remove_mapping()
1264 int ssize, int psize, int lpsize, unsigned long pte) in hash_failure_debug() argument
1271 trap, vsid, ssize, psize, lpsize, pte); in hash_failure_debug()
[all …]
H A Dradix_hugetlbpage.c12 int psize; in radix__flush_hugetlb_page() local
15 psize = hstate_get_psize(hstate); in radix__flush_hugetlb_page()
16 radix__flush_tlb_page_psize(vma->vm_mm, vmaddr, psize); in radix__flush_hugetlb_page()
21 int psize; in radix__local_flush_hugetlb_page() local
24 psize = hstate_get_psize(hstate); in radix__local_flush_hugetlb_page()
25 radix__local_flush_tlb_page_psize(vma->vm_mm, vmaddr, psize); in radix__local_flush_hugetlb_page()
31 int psize; in radix__flush_hugetlb_tlb_range() local
34 psize = hstate_get_psize(hstate); in radix__flush_hugetlb_tlb_range()
35 radix__flush_tlb_range_psize(vma->vm_mm, start, end, psize); in radix__flush_hugetlb_tlb_range()
H A Dhash_hugepage.c23 int ssize, unsigned int psize) in __hash_page_thp() argument
75 shift = mmu_psize_defs[psize].shift; in __hash_page_thp()
81 if (psize == MMU_PAGE_4K) { in __hash_page_thp()
113 psize, lpsize, ssize, flags); in __hash_page_thp()
141 psize, lpsize, ssize); in __hash_page_thp()
150 psize, lpsize, ssize); in __hash_page_thp()
167 psize, lpsize, old_pmd); in __hash_page_thp()
181 if (psize == MMU_PAGE_4K) in __hash_page_thp()
/OK3568_Linux_fs/kernel/arch/powerpc/mm/
H A Dslice.c188 const struct slice_mask *mask, int psize) in slice_convert() argument
197 slice_dbg("slice_convert(mm=%p, psize=%d)\n", mm, psize); in slice_convert()
200 psize_mask = slice_mask_for_size(&mm->context, psize); in slice_convert()
223 (((unsigned long)psize) << (mask_index * 4)); in slice_convert()
242 (((unsigned long)psize) << (mask_index * 4)); in slice_convert()
281 int psize, unsigned long high_limit) in slice_find_area_bottomup() argument
283 int pshift = max_t(int, mmu_psize_defs[psize].shift, PAGE_SHIFT); in slice_find_area_bottomup()
327 int psize, unsigned long high_limit) in slice_find_area_topdown() argument
329 int pshift = max_t(int, mmu_psize_defs[psize].shift, PAGE_SHIFT); in slice_find_area_topdown()
380 return slice_find_area_bottomup(mm, len, available, psize, high_limit); in slice_find_area_topdown()
[all …]
H A Dcopro_fault.c88 int psize, ssize; in copro_calculate_slb() local
95 psize = get_slice_psize(mm, ea); in copro_calculate_slb()
102 psize = mmu_vmalloc_psize; in copro_calculate_slb()
109 psize = mmu_io_psize; in copro_calculate_slb()
116 psize = mmu_linear_psize; in copro_calculate_slb()
131 vsid |= mmu_psize_defs[psize].sllp | in copro_calculate_slb()
/OK3568_Linux_fs/kernel/arch/powerpc/mm/nohash/
H A Dtlb.c135 static inline int mmu_get_tsize(int psize) in mmu_get_tsize() argument
137 return mmu_psize_defs[psize].enc; in mmu_get_tsize()
140 static inline int mmu_get_tsize(int psize) in mmu_get_tsize() argument
439 int i, psize; in setup_page_sizes() local
452 for (psize = 0; psize < MMU_PAGE_COUNT; ++psize) { in setup_page_sizes()
456 def = &mmu_psize_defs[psize]; in setup_page_sizes()
491 for (psize = 0; psize < MMU_PAGE_COUNT; ++psize) { in setup_page_sizes()
492 struct mmu_psize_def *def = &mmu_psize_defs[psize]; in setup_page_sizes()
500 if (book3e_htw_mode && psize == MMU_PAGE_2M) in setup_page_sizes()
514 for (psize = 0; psize < MMU_PAGE_COUNT; ++psize) { in setup_page_sizes()
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/include/asm/book3s/64/
H A Dmmu-hash.h147 int psize, int ssize);
153 int psize, int apsize,
157 int psize, int ssize);
162 int psize, int ssize, int local);
187 int psize; in shift_to_mmu_psize() local
189 for (psize = 0; psize < MMU_PAGE_COUNT; ++psize) in shift_to_mmu_psize()
190 if (mmu_psize_defs[psize].shift == shift) in shift_to_mmu_psize()
191 return psize; in shift_to_mmu_psize()
204 int psize; in ap_to_shift() local
206 for (psize = 0; psize < MMU_PAGE_COUNT; psize++) { in ap_to_shift()
[all …]
H A Dtlbflush-radix.h11 static inline u64 psize_to_rpti_pgsize(unsigned long psize) in psize_to_rpti_pgsize() argument
13 if (psize == MMU_PAGE_4K) in psize_to_rpti_pgsize()
15 if (psize == MMU_PAGE_64K) in psize_to_rpti_pgsize()
17 if (psize == MMU_PAGE_2M) in psize_to_rpti_pgsize()
19 if (psize == MMU_PAGE_1G) in psize_to_rpti_pgsize()
24 static inline int mmu_get_ap(int psize) in mmu_get_ap() argument
26 return mmu_psize_defs[psize].ap; in mmu_get_ap()
62 unsigned long end, int psize);
73 int psize);
80 int psize);
H A Dmmu.h165 static inline struct slice_mask *slice_mask_for_size(mm_context_t *ctx, int psize) in slice_mask_for_size() argument
168 if (psize == MMU_PAGE_64K) in slice_mask_for_size()
172 if (psize == MMU_PAGE_16M) in slice_mask_for_size()
174 if (psize == MMU_PAGE_16G) in slice_mask_for_size()
177 BUG_ON(psize != MMU_PAGE_4K); in slice_mask_for_size()
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/pseries/
H A Dlpar.c717 int psize, int apsize, int ssize) in pSeries_lpar_hpte_insert() argument
727 hpte_group, vpn, pa, rflags, vflags, psize); in pSeries_lpar_hpte_insert()
729 hpte_v = hpte_encode_v(vpn, psize, apsize, ssize) | vflags | HPTE_V_VALID; in pSeries_lpar_hpte_insert()
730 hpte_r = hpte_encode_r(pa, psize, apsize) | rflags; in pSeries_lpar_hpte_insert()
881 int psize, int apsize, in pSeries_lpar_hpte_updatepp() argument
888 want_v = hpte_encode_avpn(vpn, psize, ssize); in pSeries_lpar_hpte_updatepp()
896 want_v, slot, flags, psize); in pSeries_lpar_hpte_updatepp()
940 static long pSeries_lpar_hpte_find(unsigned long vpn, int psize, int ssize) in pSeries_lpar_hpte_find() argument
947 hash = hpt_hash(vpn, mmu_psize_defs[psize].shift, ssize); in pSeries_lpar_hpte_find()
948 want_v = hpte_encode_avpn(vpn, psize, ssize); in pSeries_lpar_hpte_find()
[all …]
/OK3568_Linux_fs/u-boot/drivers/mtd/onenand/
H A Donenand_spl.c135 static int psize; in onenand_spl_read_block() local
137 if (!psize) in onenand_spl_read_block()
138 psize = onenand_spl_get_geometry(); in onenand_spl_read_block()
141 page = offset / psize; in onenand_spl_read_block()
143 offset = offset % psize; in onenand_spl_read_block()
150 if (offset || len < psize) { in onenand_spl_read_block()
152 (uint32_t *)scratch_buf, psize); in onenand_spl_read_block()
153 read = min(len, psize - offset); in onenand_spl_read_block()
157 onenand_spl_read_page(block, page, dst, psize); in onenand_spl_read_block()
158 read = psize; in onenand_spl_read_block()
/OK3568_Linux_fs/kernel/arch/powerpc/mm/ptdump/
H A Dhashpagetable.c206 static int native_find(unsigned long ea, int psize, bool primary, u64 *v, u64 in native_find() argument
212 unsigned long shift = mmu_psize_defs[psize].shift; in native_find()
218 want_v = hpte_encode_avpn(vpn, psize, ssize); in native_find()
239 static int pseries_find(unsigned long ea, int psize, bool primary, u64 *v, u64 *r) in pseries_find() argument
245 unsigned long shift = mmu_psize_defs[psize].shift; in pseries_find()
251 want_v = hpte_encode_avpn(vpn, psize, ssize); in pseries_find()
313 static int base_hpte_find(unsigned long ea, int psize, bool primary, u64 *v, in base_hpte_find() argument
317 return pseries_find(ea, psize, primary, v, r); in base_hpte_find()
319 return native_find(ea, psize, primary, v, r); in base_hpte_find()
322 static unsigned long hpte_find(struct pg_state *st, unsigned long ea, int psize) in hpte_find() argument
[all …]
/OK3568_Linux_fs/u-boot/fs/jffs2/
H A Dmergesort.c17 int k, psize, qsize; in sort_list() local
26 for (psize = 0; q && psize < k; psize++) in sort_list()
31 while (psize || (qsize && q)) { in sort_list()
33 if (psize == 0 || in sort_list()
43 psize--; in sort_list()
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/ps3/
H A Dhtab.c37 int psize, int apsize, int ssize) in ps3_hpte_insert() argument
53 hpte_v = hpte_encode_v(vpn, psize, apsize, ssize) | vflags | HPTE_V_VALID; in ps3_hpte_insert()
54 hpte_r = hpte_encode_r(ps3_mm_phys_to_lpar(pa), psize, apsize) | rflags; in ps3_hpte_insert()
100 unsigned long vpn, int psize, int apsize, in ps3_hpte_updatepp() argument
109 want_v = hpte_encode_avpn(vpn, psize, ssize); in ps3_hpte_updatepp()
120 __func__, ps3_result(result), vpn, slot, psize); in ps3_hpte_updatepp()
148 int psize, int ssize) in ps3_hpte_updateboltedpp() argument
154 int psize, int apsize, int ssize, int local) in ps3_hpte_invalidate() argument
165 __func__, ps3_result(result), vpn, slot, psize); in ps3_hpte_invalidate()
/OK3568_Linux_fs/kernel/arch/powerpc/include/asm/nohash/32/
H A Dmmu-8xx.h210 int psize; in shift_to_mmu_psize() local
212 for (psize = 0; psize < MMU_PAGE_COUNT; ++psize) in shift_to_mmu_psize()
213 if (mmu_psize_defs[psize].shift == shift) in shift_to_mmu_psize()
214 return psize; in shift_to_mmu_psize()
/OK3568_Linux_fs/kernel/drivers/dma/bestcomm/
H A Dsram.c46 unsigned int psize; in bcom_sram_init() local
102 reg_addr_p = of_get_property(sram_node, "available", &psize); in bcom_sram_init()
105 psize = 0; in bcom_sram_init()
108 if (!regaddr_p || !psize) { in bcom_sram_init()
113 while (psize >= 2 * sizeof(u32)) { in bcom_sram_init()
117 psize -= 2 * sizeof(u32); in bcom_sram_init()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_memory_manager.c127 int mali_mem_backend_struct_create(mali_mem_backend **backend, u32 psize) in mali_mem_backend_struct_create() argument
138 mem_backend->size = psize; in mali_mem_backend_struct_create()
276 …mali_allocation->psize / MALI_MMU_PAGE_SIZE, add_size / MALI_MMU_PAGE_SIZE, mali_allocation->mali_… in mali_mem_resize()
320 mali_allocation->psize = physical_size; in mali_mem_resize()
410 …UG_PRINT(4, (" _mali_ukk_mem_allocate, vaddr=0x%x, size =0x%x! \n", args->gpu_vaddr, args->psize)); in _mali_ukk_mem_allocate()
430 mali_allocation->psize = args->psize; in _mali_ukk_mem_allocate()
459 mali_allocation->backend_handle = mali_mem_backend_struct_create(&mem_backend, args->psize); in _mali_ukk_mem_allocate()
475 if (!(args->flags & _MALI_MEMORY_ALLOCATE_NO_BIND_GPU) && mali_allocation->psize > 0) { in _mali_ukk_mem_allocate()
486 if (mali_allocation->psize == 0) { in _mali_ukk_mem_allocate()
502 if (likely(mali_allocation->psize > 0)) { in _mali_ukk_mem_allocate()
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/include/asm/nohash/
H A Dmmu-book3e.h263 int psize; in shift_to_mmu_psize() local
265 for (psize = 0; psize < MMU_PAGE_COUNT; ++psize) in shift_to_mmu_psize()
266 if (mmu_psize_defs[psize].shift == shift) in shift_to_mmu_psize()
267 return psize; in shift_to_mmu_psize()
/OK3568_Linux_fs/kernel/drivers/dma/
H A Dste_dma40_ll.c53 l3 |= cfg->dst_info.psize << D40_MEM_LCSP3_DCFG_PSIZE_POS; in d40_log_cfg()
58 l1 |= cfg->src_info.psize << D40_MEM_LCSP1_SCFG_PSIZE_POS; in d40_log_cfg()
102 if (cfg->src_info.psize != STEDMA40_PSIZE_PHY_1) { in d40_phy_cfg()
104 src |= cfg->src_info.psize << D40_SREG_CFG_PSIZE_POS; in d40_phy_cfg()
106 if (cfg->dst_info.psize != STEDMA40_PSIZE_PHY_1) { in d40_phy_cfg()
108 dst |= cfg->dst_info.psize << D40_SREG_CFG_PSIZE_POS; in d40_phy_cfg()
143 int psize = info->psize; in d40_phy_fill_lli() local
146 if (psize == STEDMA40_PSIZE_PHY_1) in d40_phy_fill_lli()
149 num_elems = 2 << psize; in d40_phy_fill_lli()
/OK3568_Linux_fs/yocto/poky/meta/recipes-extended/bash/bash/
H A Dmakerace.patch3 /bin/sh ../../bash-5.1/builtins/psize.sh > pipesize.h
4 /bin/sh ../../bash-5.1/builtins/psize.sh > pipesize.h
13 … 9 | bash-5.1/builtins/psize.sh: 37: ../../bash-5.1/builtins/psize.sh: ./psize.aux: Text file busy
21 … 9 | bash-5.1/builtins/psize.sh: 37: ../../bash-5.1/builtins/psize.sh: ./psize.aux: Text file busy
/OK3568_Linux_fs/kernel/drivers/media/usb/uvc/
H A Duvc_video.c1624 unsigned int size, unsigned int psize, gfp_t gfp_flags) in uvc_alloc_urb_buffers() argument
1631 return stream->urb_size / psize; in uvc_alloc_urb_buffers()
1636 npackets = DIV_ROUND_UP(size, psize); in uvc_alloc_urb_buffers()
1645 stream->urb_size = psize * npackets; in uvc_alloc_urb_buffers()
1665 psize); in uvc_alloc_urb_buffers()
1671 "per packet).\n", psize); in uvc_alloc_urb_buffers()
1710 u16 psize; in uvc_endpoint_max_bpi() local
1718 psize = usb_endpoint_maxp(&ep->desc); in uvc_endpoint_max_bpi()
1720 return psize * mult; in uvc_endpoint_max_bpi()
1722 psize = usb_endpoint_maxp(&ep->desc); in uvc_endpoint_max_bpi()
[all …]

123456