mymtd              21 arch/mips/cavium-octeon/flash_setup.c static struct mtd_info *mymtd;
mymtd             109 arch/mips/cavium-octeon/flash_setup.c 		mymtd = do_map_probe("cfi_probe", &flash_map);
mymtd             110 arch/mips/cavium-octeon/flash_setup.c 		if (mymtd) {
mymtd             111 arch/mips/cavium-octeon/flash_setup.c 			mymtd->owner = THIS_MODULE;
mymtd             112 arch/mips/cavium-octeon/flash_setup.c 			mtd_device_parse_register(mymtd, part_probe_types,
mymtd              89 drivers/mtd/maps/cfi_flagadm.c static struct mtd_info *mymtd;
mymtd             107 drivers/mtd/maps/cfi_flagadm.c 	mymtd = do_map_probe("cfi_probe", &flagadm_map);
mymtd             108 drivers/mtd/maps/cfi_flagadm.c 	if (mymtd) {
mymtd             109 drivers/mtd/maps/cfi_flagadm.c 		mymtd->owner = THIS_MODULE;
mymtd             110 drivers/mtd/maps/cfi_flagadm.c 		mtd_device_register(mymtd, flagadm_parts, PARTITION_COUNT);
mymtd             121 drivers/mtd/maps/cfi_flagadm.c 	if (mymtd) {
mymtd             122 drivers/mtd/maps/cfi_flagadm.c 		mtd_device_unregister(mymtd);
mymtd             123 drivers/mtd/maps/cfi_flagadm.c 		map_destroy(mymtd);
mymtd              27 drivers/mtd/maps/l440gx.c static struct mtd_info *mymtd;
mymtd             138 drivers/mtd/maps/l440gx.c 	mymtd = do_map_probe("jedec_probe", &l440gx_map);
mymtd             139 drivers/mtd/maps/l440gx.c 	if (!mymtd) {
mymtd             141 drivers/mtd/maps/l440gx.c 		mymtd = do_map_probe("map_rom", &l440gx_map);
mymtd             143 drivers/mtd/maps/l440gx.c 	if (mymtd) {
mymtd             144 drivers/mtd/maps/l440gx.c 		mymtd->owner = THIS_MODULE;
mymtd             146 drivers/mtd/maps/l440gx.c 		mtd_device_register(mymtd, NULL, 0);
mymtd             156 drivers/mtd/maps/l440gx.c 	mtd_device_unregister(mymtd);
mymtd             157 drivers/mtd/maps/l440gx.c 	map_destroy(mymtd);
mymtd              78 drivers/mtd/maps/netsc520.c static struct mtd_info *mymtd;
mymtd              94 drivers/mtd/maps/netsc520.c 	mymtd = do_map_probe("cfi_probe", &netsc520_map);
mymtd              95 drivers/mtd/maps/netsc520.c 	if(!mymtd)
mymtd              96 drivers/mtd/maps/netsc520.c 		mymtd = do_map_probe("map_ram", &netsc520_map);
mymtd              97 drivers/mtd/maps/netsc520.c 	if(!mymtd)
mymtd              98 drivers/mtd/maps/netsc520.c 		mymtd = do_map_probe("map_rom", &netsc520_map);
mymtd             100 drivers/mtd/maps/netsc520.c 	if (!mymtd) {
mymtd             105 drivers/mtd/maps/netsc520.c 	mymtd->owner = THIS_MODULE;
mymtd             106 drivers/mtd/maps/netsc520.c 	mtd_device_register(mymtd, partition_info, NUM_PARTITIONS);
mymtd             112 drivers/mtd/maps/netsc520.c 	if (mymtd) {
mymtd             113 drivers/mtd/maps/netsc520.c 		mtd_device_unregister(mymtd);
mymtd             114 drivers/mtd/maps/netsc520.c 		map_destroy(mymtd);
mymtd              95 drivers/mtd/maps/sc520cdp.c static struct mtd_info *mymtd[NUM_FLASH_BANKS];
mymtd             233 drivers/mtd/maps/sc520cdp.c 				if (mymtd[j]) {
mymtd             234 drivers/mtd/maps/sc520cdp.c 					map_destroy(mymtd[j]);
mymtd             243 drivers/mtd/maps/sc520cdp.c 		mymtd[i] = do_map_probe("cfi_probe", &sc520cdp_map[i]);
mymtd             244 drivers/mtd/maps/sc520cdp.c 		if(!mymtd[i])
mymtd             245 drivers/mtd/maps/sc520cdp.c 			mymtd[i] = do_map_probe("jedec_probe", &sc520cdp_map[i]);
mymtd             246 drivers/mtd/maps/sc520cdp.c 		if(!mymtd[i])
mymtd             247 drivers/mtd/maps/sc520cdp.c 			mymtd[i] = do_map_probe("map_rom", &sc520cdp_map[i]);
mymtd             249 drivers/mtd/maps/sc520cdp.c 		if (mymtd[i]) {
mymtd             250 drivers/mtd/maps/sc520cdp.c 			mymtd[i]->owner = THIS_MODULE;
mymtd             259 drivers/mtd/maps/sc520cdp.c 		merged_mtd = mtd_concat_create(mymtd, 2, "SC520CDP Flash Banks #0 and #1");
mymtd             264 drivers/mtd/maps/sc520cdp.c 		mtd_device_register(mymtd[2], NULL, 0);
mymtd             276 drivers/mtd/maps/sc520cdp.c 	if (mymtd[2])
mymtd             277 drivers/mtd/maps/sc520cdp.c 		mtd_device_unregister(mymtd[2]);
mymtd             280 drivers/mtd/maps/sc520cdp.c 		if (mymtd[i])
mymtd             281 drivers/mtd/maps/sc520cdp.c 			map_destroy(mymtd[i]);
mymtd              46 drivers/mtd/maps/scx200_docflash.c static struct mtd_info *mymtd;
mymtd             186 drivers/mtd/maps/scx200_docflash.c 	mymtd = do_map_probe(flashtype, &scx200_docflash_map);
mymtd             187 drivers/mtd/maps/scx200_docflash.c 	if (!mymtd) {
mymtd             194 drivers/mtd/maps/scx200_docflash.c 	if (size < mymtd->size)
mymtd             197 drivers/mtd/maps/scx200_docflash.c 	mymtd->owner = THIS_MODULE;
mymtd             199 drivers/mtd/maps/scx200_docflash.c 	partition_info[3].offset = mymtd->size-partition_info[3].size;
mymtd             201 drivers/mtd/maps/scx200_docflash.c 	mtd_device_register(mymtd, partition_info, NUM_PARTITIONS);
mymtd             208 drivers/mtd/maps/scx200_docflash.c 	if (mymtd) {
mymtd             209 drivers/mtd/maps/scx200_docflash.c 		mtd_device_unregister(mymtd);
mymtd             210 drivers/mtd/maps/scx200_docflash.c 		map_destroy(mymtd);
mymtd              53 drivers/mtd/maps/ts5500_flash.c static struct mtd_info *mymtd;
mymtd              69 drivers/mtd/maps/ts5500_flash.c 	mymtd = do_map_probe("jedec_probe", &ts5500_map);
mymtd              70 drivers/mtd/maps/ts5500_flash.c 	if (!mymtd)
mymtd              71 drivers/mtd/maps/ts5500_flash.c 		mymtd = do_map_probe("map_rom", &ts5500_map);
mymtd              73 drivers/mtd/maps/ts5500_flash.c 	if (!mymtd) {
mymtd              78 drivers/mtd/maps/ts5500_flash.c 	mymtd->owner = THIS_MODULE;
mymtd              79 drivers/mtd/maps/ts5500_flash.c 	mtd_device_register(mymtd, ts5500_partitions, NUM_PARTITIONS);
mymtd              91 drivers/mtd/maps/ts5500_flash.c 	if (mymtd) {
mymtd              92 drivers/mtd/maps/ts5500_flash.c 		mtd_device_unregister(mymtd);
mymtd              93 drivers/mtd/maps/ts5500_flash.c 		map_destroy(mymtd);