Home
last modified time | relevance | path

Searched refs:adi_blksize (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/arch/sparc/kernel/
H A Dadi_64.c239 end_addr = addr + (size*2*adi_blksize()) - 1; in alloc_tag_store()
243 end_addr = addr + (size*2*adi_blksize()) - 1; in alloc_tag_store()
259 tmp_addr = end_addr - (size*2*adi_blksize()) + 1; in alloc_tag_store()
265 tmp_addr = end_addr - (size*2*adi_blksize()) - 1; in alloc_tag_store()
280 size = (end_addr + 1 - addr)/(2*adi_blksize()); in alloc_tag_store()
281 size = (size + (PAGE_SIZE-adi_blksize()))/PAGE_SIZE; in alloc_tag_store()
322 ((tag_desc)->tags + ((addr - (tag_desc)->start)/(2*adi_blksize())))
344 for (tmp = paddr; tmp < (paddr+PAGE_SIZE); tmp += adi_blksize()) { in adi_restore_tags()
352 tmp += adi_blksize(); in adi_restore_tags()
383 for (tmp = paddr; tmp < (paddr+PAGE_SIZE); tmp += adi_blksize()) { in adi_save_tags()
[all …]
/openbmc/linux/drivers/char/
H A Dadi.c68 offset = (*offp) * adi_blksize(); in adi_read()
77 offset += adi_blksize(); in adi_read()
148 offset = (*offp) * adi_blksize(); in adi_write()
162 offset += adi_blksize(); in adi_write()
/openbmc/linux/arch/sparc/include/asm/
H A Dadi_64.h34 static inline unsigned long adi_blksize(void) in adi_blksize() function
/openbmc/linux/arch/sparc/mm/
H A Dinit_64.c3172 for (i = pfrom; i < (pfrom + PAGE_SIZE); i += adi_blksize()) { in copy_user_highpage()
3180 pto += adi_blksize(); in copy_user_highpage()
3206 for (i = pfrom; i < (pfrom + PAGE_SIZE); i += adi_blksize()) { in copy_highpage()
3214 pto += adi_blksize(); in copy_highpage()