linux/drivers/mtd/chips/gen_probe.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Routines common to all CFI-type probes.
 * (C) 2001-2003 Red Hat, Inc.
 */

#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/map.h>
#include <linux/mtd/cfi.h>
#include <linux/mtd/gen_probe.h>

static struct mtd_info *check_cmd_set(struct map_info *, int);
static struct cfi_private *genprobe_ident_chips(struct map_info *map,
						struct chip_probe *cp);
static int genprobe_new_chip(struct map_info *map, struct chip_probe *cp,
			     struct cfi_private *cfi);

struct mtd_info *mtd_do_chip_probe(struct map_info *map, struct chip_probe *cp)
{}
EXPORT_SYMBOL();


static struct cfi_private *genprobe_ident_chips(struct map_info *map, struct chip_probe *cp)
{}


static int genprobe_new_chip(struct map_info *map, struct chip_probe *cp,
			     struct cfi_private *cfi)
{}

cfi_cmdset_fn_t;

extern cfi_cmdset_fn_t cfi_cmdset_0001;
extern cfi_cmdset_fn_t cfi_cmdset_0002;
extern cfi_cmdset_fn_t cfi_cmdset_0020;

static inline struct mtd_info *cfi_cmdset_unknown(struct map_info *map,
						  int primary)
{}

static struct mtd_info *check_cmd_set(struct map_info *map, int primary)
{}

MODULE_LICENSE();
MODULE_AUTHOR();
MODULE_DESCRIPTION();