Searched refs:word_gap (Results 1 – 2 of 2) sorted by relevance
409 int ret, wbufsize, word_gap; in do_write_buffer() local423 word_gap = (-adr & (map_bankwidth(map)-1)); in do_write_buffer()424 if (word_gap) { in do_write_buffer()425 word_gap = map_bankwidth(map) - word_gap; in do_write_buffer()426 adr -= word_gap; in do_write_buffer()436 int n = map_bankwidth(map) - word_gap; in do_write_buffer()443 if (!word_gap && (len < map_bankwidth(map))) in do_write_buffer()447 vec->iov_base + vec_seek, word_gap, n); in do_write_buffer()450 word_gap += n; in do_write_buffer()451 if (!len || word_gap == map_bankwidth(map)) { in do_write_buffer()[all …]
1730 int ret, wbufsize, word_gap, words; in do_write_buffer() local1796 word_gap = (-adr & (map_bankwidth(map)-1)); in do_write_buffer()1797 words = DIV_ROUND_UP(len - word_gap, map_bankwidth(map)); in do_write_buffer()1798 if (!word_gap) { in do_write_buffer()1801 word_gap = map_bankwidth(map) - word_gap; in do_write_buffer()1802 adr -= word_gap; in do_write_buffer()1813 int n = map_bankwidth(map) - word_gap; in do_write_buffer()1819 if (!word_gap && len < map_bankwidth(map)) in do_write_buffer()1824 word_gap, n); in do_write_buffer()1827 word_gap += n; in do_write_buffer()[all …]