Searched refs:word_gap (Results 1 - 2 of 2) sorted by relevance
/linux-4.1.27/drivers/mtd/lpddr/ |
H A D | lpddr_cmds.c | 395 int ret, wbufsize, word_gap, words; do_write_buffer() local 409 word_gap = (-adr & (map_bankwidth(map)-1)); do_write_buffer() 410 words = (len - word_gap + map_bankwidth(map) - 1) / map_bankwidth(map); do_write_buffer() 411 if (!word_gap) { do_write_buffer() 414 word_gap = map_bankwidth(map) - word_gap; do_write_buffer() 415 adr -= word_gap; do_write_buffer() 425 int n = map_bankwidth(map) - word_gap; do_write_buffer() 432 if (!word_gap && (len < map_bankwidth(map))) do_write_buffer() 436 vec->iov_base + vec_seek, word_gap, n); do_write_buffer() 439 word_gap += n; do_write_buffer() 440 if (!len || word_gap == map_bankwidth(map)) { do_write_buffer() 443 word_gap = 0; do_write_buffer()
|
/linux-4.1.27/drivers/mtd/chips/ |
H A D | cfi_cmdset_0001.c | 1678 int ret, wbufsize, word_gap, words; do_write_buffer() local 1744 word_gap = (-adr & (map_bankwidth(map)-1)); do_write_buffer() 1745 words = DIV_ROUND_UP(len - word_gap, map_bankwidth(map)); do_write_buffer() 1746 if (!word_gap) { do_write_buffer() 1749 word_gap = map_bankwidth(map) - word_gap; do_write_buffer() 1750 adr -= word_gap; do_write_buffer() 1761 int n = map_bankwidth(map) - word_gap; do_write_buffer() 1767 if (!word_gap && len < map_bankwidth(map)) do_write_buffer() 1772 word_gap, n); do_write_buffer() 1775 word_gap += n; do_write_buffer() 1776 if (!len || word_gap == map_bankwidth(map)) { do_write_buffer() 1779 word_gap = 0; do_write_buffer()
|
Completed in 84 milliseconds