Lines Matching refs:cfiq
131 __u16 adr = primary?cfi->cfiq->P_ADR:cfi->cfiq->A_ADR; in cfi_cmdset_0001()
189 cfi->chips[i].word_write_time = 1<<cfi->cfiq->WordWriteTimeoutTyp; in cfi_cmdset_0001()
190 cfi->chips[i].buffer_write_time = 1<<cfi->cfiq->BufWriteTimeoutTyp; in cfi_cmdset_0001()
191 cfi->chips[i].erase_time = 1<<cfi->cfiq->BlockEraseTimeoutTyp; in cfi_cmdset_0001()
208 unsigned long devsize = (1<<cfi->cfiq->DevSize) * cfi->interleave;
223 mtd->numeraseregions = cfi->cfiq->NumEraseRegions * cfi->numchips;
231 for (i=0; i<cfi->cfiq->NumEraseRegions; i++) {
233 ersize = ((cfi->cfiq->EraseRegionInfo[i] >> 8) & ~0xff) * cfi->interleave;
234 ernum = (cfi->cfiq->EraseRegionInfo[i] & 0xffff) + 1;
240 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].offset = (j*devsize)+offset;
241 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].erasesize = ersize;
242 mtd->eraseregions[(j*cfi->cfiq->NumEraseRegions)+i].numblocks = ernum;
270 if ( cfi->cfiq->BufWriteTimeoutTyp ) {
300 kfree(cfi->cfiq);
1068 wbufsize = CFIDEV_INTERLEAVE << cfi->cfiq->MaxBufWriteSize;
1309 int wbufsize = CFIDEV_INTERLEAVE << cfi->cfiq->MaxBufWriteSize;
1969 kfree(cfi->cfiq);