Home
last modified time | relevance | path

Searched refs:cfi_interleave (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/include/linux/mtd/
Dcfi.h19 #define cfi_interleave(cfi) 1 macro
20 #define cfi_interleave_is_1(cfi) (cfi_interleave(cfi) == 1)
26 # ifdef cfi_interleave
27 # undef cfi_interleave
28 # define cfi_interleave(cfi) ((cfi)->interleave) macro
30 # define cfi_interleave(cfi) 2 macro
32 #define cfi_interleave_is_2(cfi) (cfi_interleave(cfi) == 2)
38 # ifdef cfi_interleave
39 # undef cfi_interleave
40 # define cfi_interleave(cfi) ((cfi)->interleave) macro
[all …]
/Linux-v5.10/drivers/mtd/chips/
Dcfi_util.c44 unsigned interleave = cfi_interleave(cfi); in cfi_build_cmd_addr()
86 chip_mode = map_bankwidth(map) / cfi_interleave(cfi); in cfi_build_cmd()
87 chips_per_word = wordwidth * cfi_interleave(cfi) / map_bankwidth(map); in cfi_build_cmd()
152 chip_mode = map_bankwidth(map) / cfi_interleave(cfi); in cfi_merge_status()
153 chips_per_word = wordwidth * cfi_interleave(cfi) / map_bankwidth(map); in cfi_merge_status()
Dcfi_cmdset_0020.c240 mtd->writebufsize = cfi_interleave(cfi) << cfi->cfiq->MaxBufWriteSize; in cfi_staa_setup()
433 wbufsize = cfi_interleave(cfi) << cfi->cfiq->MaxBufWriteSize; in do_write_buffer()
611 int wbufsize = cfi_interleave(cfi) << cfi->cfiq->MaxBufWriteSize; in cfi_staa_write_buffers()
851 for (i = 0; i<cfi_interleave(cfi); i++) { in do_erase_oneblock()
Djedec_probe.c2084 if ( base + cfi_interleave(cfi) * ( 1 << finfo->dev_size ) > map->size ) { in jedec_match()
2200 cfi->mfr, cfi->id, cfi_interleave(cfi), cfi->device_type); in jedec_probe_chip()
2273 map->name, cfi_interleave(cfi), cfi->device_type*8, base, in jedec_probe_chip()
Dcfi_cmdset_0001.c505 mtd->writebufsize = cfi_interleave(cfi) << cfi->cfiq->MaxBufWriteSize; in cfi_cmdset_0001()
1718 wbufsize = cfi_interleave(cfi) << cfi->cfiq->MaxBufWriteSize; in do_write_buffer()
1876 int wbufsize = cfi_interleave(cfi) << cfi->cfiq->MaxBufWriteSize; in cfi_intelext_writev()
Dcfi_cmdset_0002.c612 mtd->writebufsize = cfi_interleave(cfi) << cfi->cfiq->MaxBufWriteSize; in cfi_cmdset_0002()
2103 int wbufsize = cfi_interleave(cfi) << cfi->cfiq->MaxBufWriteSize; in cfi_amdstd_write_buffers()