Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/mtd/lpddr/
Dlpddr_cmds.c409 int ret, wbufsize, word_gap, words; in do_write_buffer() local
423 word_gap = (-adr & (map_bankwidth(map)-1)); in do_write_buffer()
424 words = (len - word_gap + map_bankwidth(map) - 1) / map_bankwidth(map); in do_write_buffer()
425 if (!word_gap) { in do_write_buffer()
428 word_gap = map_bankwidth(map) - word_gap; in do_write_buffer()
429 adr -= word_gap; in do_write_buffer()
439 int n = map_bankwidth(map) - word_gap; in do_write_buffer()
446 if (!word_gap && (len < map_bankwidth(map))) in do_write_buffer()
450 vec->iov_base + vec_seek, word_gap, n); in do_write_buffer()
453 word_gap += n; in do_write_buffer()
[all …]
/kernel/linux/linux-5.10/drivers/mtd/chips/
Dcfi_cmdset_0001.c1712 int ret, wbufsize, word_gap, words; in do_write_buffer() local
1778 word_gap = (-adr & (map_bankwidth(map)-1)); in do_write_buffer()
1779 words = DIV_ROUND_UP(len - word_gap, map_bankwidth(map)); in do_write_buffer()
1780 if (!word_gap) { in do_write_buffer()
1783 word_gap = map_bankwidth(map) - word_gap; in do_write_buffer()
1784 adr -= word_gap; in do_write_buffer()
1795 int n = map_bankwidth(map) - word_gap; in do_write_buffer()
1801 if (!word_gap && len < map_bankwidth(map)) in do_write_buffer()
1806 word_gap, n); in do_write_buffer()
1809 word_gap += n; in do_write_buffer()
[all …]