Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/mtd/maps/
Dtqm8xxl.c49 static struct map_info* map_banks[FLASH_BANK_MAX]; variable
177 map_banks[idx] = (struct map_info *)kmalloc(sizeof(struct map_info), GFP_KERNEL); in init_tqm_mtd()
178 if(map_banks[idx] == NULL) in init_tqm_mtd()
184 memset((void *)map_banks[idx], 0, sizeof(struct map_info)); in init_tqm_mtd()
185 map_banks[idx]->name = (char *)kmalloc(16, GFP_KERNEL); in init_tqm_mtd()
186 if(map_banks[idx]->name == NULL) in init_tqm_mtd()
192 memset((void *)map_banks[idx]->name, 0, 16); in init_tqm_mtd()
194 sprintf(map_banks[idx]->name, "TQM8xxL%d", idx); in init_tqm_mtd()
195 map_banks[idx]->size = flash_size; in init_tqm_mtd()
196 map_banks[idx]->buswidth = 4; in init_tqm_mtd()
[all …]