Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/mtd/chips/
Djedec_probe.c907 static int cfi_jedec_setup(struct cfi_private *p_cfi, int index);
949 static int cfi_jedec_setup(struct cfi_private *p_cfi, int index) in cfi_jedec_setup() argument
957 p_cfi->cfiq = kmalloc(sizeof(struct cfi_ident) + num_erase_regions * 4, GFP_KERNEL); in cfi_jedec_setup()
958 if (!p_cfi->cfiq) { in cfi_jedec_setup()
963 memset(p_cfi->cfiq,0,sizeof(struct cfi_ident)); in cfi_jedec_setup()
965 p_cfi->cfiq->P_ID = jedec_table[index].CmdSet; in cfi_jedec_setup()
966 p_cfi->cfiq->NumEraseRegions = jedec_table[index].NumEraseRegions; in cfi_jedec_setup()
967 p_cfi->cfiq->DevSize = jedec_table[index].DevSize; in cfi_jedec_setup()
968 p_cfi->cfi_mode = CFI_MODE_JEDEC; in cfi_jedec_setup()
971 p_cfi->cfiq->EraseRegionInfo[i] = jedec_table[index].regions[i]; in cfi_jedec_setup()
[all …]