Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/mtd/maps/
A Dsbc_gxx.c55 #define WINDOW_MASK (WINDOW_LENGTH-1) macro
107 ret.x[0] = readb(iomapadr + (ofs & WINDOW_MASK)); in sbc_gxx_read8()
116 if (len > (WINDOW_LENGTH - (from & WINDOW_MASK))) in sbc_gxx_copy_from()
117 thislen = WINDOW_LENGTH-(from & WINDOW_MASK); in sbc_gxx_copy_from()
121 memcpy_fromio(to, iomapadr + (from & WINDOW_MASK), thislen); in sbc_gxx_copy_from()
133 writeb(d.x[0], iomapadr + (adr & WINDOW_MASK)); in sbc_gxx_write8()
141 if (len > (WINDOW_LENGTH - (to & WINDOW_MASK))) in sbc_gxx_copy_to()
142 thislen = WINDOW_LENGTH-(to & WINDOW_MASK); in sbc_gxx_copy_to()
146 memcpy_toio(iomapadr + (to & WINDOW_MASK), from, thislen); in sbc_gxx_copy_to()

Completed in 3 milliseconds