Lines Matching refs:window_size
1000 u32 window_size; in pdc20621_get_from_dimm() local
1011 window_size = 0x2000 * 4; /* 32K byte uchar size */ in pdc20621_get_from_dimm()
1012 idx = (u16) (offset / window_size); in pdc20621_get_from_dimm()
1019 offset -= (idx * window_size); in pdc20621_get_from_dimm()
1021 dist = ((long) (window_size - (offset + size))) >= 0 ? size : in pdc20621_get_from_dimm()
1022 (long) (window_size - offset); in pdc20621_get_from_dimm()
1027 for (; (long) size >= (long) window_size ;) { in pdc20621_get_from_dimm()
1032 memcpy_fromio(psource, dimm_mmio, window_size / 4); in pdc20621_get_from_dimm()
1033 psource += window_size; in pdc20621_get_from_dimm()
1034 size -= window_size; in pdc20621_get_from_dimm()
1052 u32 window_size; in pdc20621_put_to_dimm() local
1063 window_size = 0x2000 * 4; /* 32K byte uchar size */ in pdc20621_put_to_dimm()
1064 idx = (u16) (offset / window_size); in pdc20621_put_to_dimm()
1068 offset -= (idx * window_size); in pdc20621_put_to_dimm()
1070 dist = ((long)(s32)(window_size - (offset + size))) >= 0 ? size : in pdc20621_put_to_dimm()
1071 (long) (window_size - offset); in pdc20621_put_to_dimm()
1078 for (; (long) size >= (long) window_size ;) { in pdc20621_put_to_dimm()
1081 memcpy_toio(dimm_mmio, psource, window_size / 4); in pdc20621_put_to_dimm()
1084 psource += window_size; in pdc20621_put_to_dimm()
1085 size -= window_size; in pdc20621_put_to_dimm()