Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/mtd/maps/
Dvmax301.c29 #define WINDOW_LENGTH 0x2000 macro
43 writew(page, map->map_priv_2 - WINDOW_LENGTH); in __vmax301_page()
69 if (len > (WINDOW_LENGTH - (from & WINDOW_MASK))) in vmax301_copy_from()
70 thislen = WINDOW_LENGTH-(from & WINDOW_MASK); in vmax301_copy_from()
93 if (len > (WINDOW_LENGTH - (to & WINDOW_MASK))) in vmax301_copy_to()
94 thislen = WINDOW_LENGTH-(to & WINDOW_MASK); in vmax301_copy_to()
116 .map_priv_1 = WINDOW_START + WINDOW_LENGTH,
128 .map_priv_1 = WINDOW_START + (3*WINDOW_LENGTH),
154 WINDOW_START+4*WINDOW_LENGTH); in init_vmax301()
156 iomapadr = (unsigned long)ioremap(WINDOW_START, WINDOW_LENGTH*4); in init_vmax301()
Dsbc_gxx.c64 #define WINDOW_LENGTH (1 << WINDOW_SHIFT) macro
67 #define WINDOW_MASK (WINDOW_LENGTH-1)
128 if (len > (WINDOW_LENGTH - (from & WINDOW_MASK))) in sbc_gxx_copy_from()
129 thislen = WINDOW_LENGTH-(from & WINDOW_MASK); in sbc_gxx_copy_from()
153 if (len > (WINDOW_LENGTH - (to & WINDOW_MASK))) in sbc_gxx_copy_to()
154 thislen = WINDOW_LENGTH-(to & WINDOW_MASK); in sbc_gxx_copy_to()
195 iomapadr = ioremap(WINDOW_START, WINDOW_LENGTH); in init_sbc_gxx()
214 WINDOW_START, WINDOW_START+WINDOW_LENGTH-1 ); in init_sbc_gxx()
Doctagon-5066.c35 #define WINDOW_LENGTH 0x8000 macro
77 if (len > (WINDOW_LENGTH - (from & WINDOW_MASK))) in oct5066_copy_from()
78 thislen = WINDOW_LENGTH-(from & WINDOW_MASK); in oct5066_copy_from()
102 if (len > (WINDOW_LENGTH - (to & WINDOW_MASK))) in oct5066_copy_to()
103 thislen = WINDOW_LENGTH-(to & WINDOW_MASK); in oct5066_copy_to()
196 iomapadr = (unsigned long)ioremap(WINDOW_START, WINDOW_LENGTH); in init_oct5066()
211 WINDOW_START+WINDOW_LENGTH); in init_oct5066()