Home
last modified time | relevance | path

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

/linux-6.6.21/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-6.6.21/drivers/mtd/chips/
Dcfi_util.c43 unsigned interleave = cfi_interleave(cfi); in cfi_build_cmd_addr()
85 chip_mode = map_bankwidth(map) / cfi_interleave(cfi); in cfi_build_cmd()
86 chips_per_word = wordwidth * cfi_interleave(cfi) / map_bankwidth(map); in cfi_build_cmd()
151 chip_mode = map_bankwidth(map) / cfi_interleave(cfi); in cfi_merge_status()
152 chips_per_word = wordwidth * cfi_interleave(cfi) / map_bankwidth(map); in cfi_merge_status()
Dcfi_cmdset_0020.c241 mtd->writebufsize = cfi_interleave(cfi) << cfi->cfiq->MaxBufWriteSize; in cfi_staa_setup()
434 wbufsize = cfi_interleave(cfi) << cfi->cfiq->MaxBufWriteSize; in do_write_buffer()
612 int wbufsize = cfi_interleave(cfi) << cfi->cfiq->MaxBufWriteSize; in cfi_staa_write_buffers()
852 for (i = 0; i<cfi_interleave(cfi); i++) { in do_erase_oneblock()
Djedec_probe.c2085 if ( base + cfi_interleave(cfi) * ( 1 << finfo->dev_size ) > map->size ) { in jedec_match()
2201 cfi->mfr, cfi->id, cfi_interleave(cfi), cfi->device_type); in jedec_probe_chip()
2274 map->name, cfi_interleave(cfi), cfi->device_type*8, base, in jedec_probe_chip()
Dcfi_cmdset_0001.c523 mtd->writebufsize = cfi_interleave(cfi) << cfi->cfiq->MaxBufWriteSize; in cfi_cmdset_0001()
1736 wbufsize = cfi_interleave(cfi) << cfi->cfiq->MaxBufWriteSize; in do_write_buffer()
1894 int wbufsize = cfi_interleave(cfi) << cfi->cfiq->MaxBufWriteSize; in cfi_intelext_writev()
Dcfi_cmdset_0002.c629 mtd->writebufsize = cfi_interleave(cfi) << cfi->cfiq->MaxBufWriteSize; in cfi_cmdset_0002()
2100 int wbufsize = cfi_interleave(cfi) << cfi->cfiq->MaxBufWriteSize; in cfi_amdstd_write_buffers()