Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/mtd/
H A Dcfi.h19 #define cfi_interleave(cfi) 1 macro
26 # ifdef cfi_interleave
27 # undef cfi_interleave
30 # define cfi_interleave(cfi) 2 macro
38 # ifdef cfi_interleave
39 # undef cfi_interleave
42 # define cfi_interleave(cfi) 4 macro
50 # ifdef cfi_interleave
51 # undef cfi_interleave
54 # define cfi_interleave(cfi) 8 macro
[all …]
/openbmc/linux/drivers/mtd/chips/
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()