/drivers/mtd/devices/ |
D | mtdram.c | 34 static struct mtd_info *mtd_info; variable 36 static int ram_erase(struct mtd_info *mtd, struct erase_info *instr) in ram_erase() 49 static int ram_point(struct mtd_info *mtd, loff_t from, size_t len, in ram_point() 64 static void ram_unpoint(struct mtd_info *mtd, loff_t from, size_t len) in ram_unpoint() 68 static int ram_read(struct mtd_info *mtd, loff_t from, size_t len, in ram_read() 80 static int ram_write(struct mtd_info *mtd, loff_t to, size_t len, in ram_write() 94 if (mtd_info) { in cleanup_mtdram() 95 del_mtd_device(mtd_info); in cleanup_mtdram() 96 vfree(mtd_info->priv); in cleanup_mtdram() 97 kfree(mtd_info); in cleanup_mtdram() [all …]
|
D | slram.c | 61 struct mtd_info *mtdinfo; 76 static int slram_erase(struct mtd_info *, struct erase_info *); 77 static int slram_point(struct mtd_info *, loff_t, size_t, size_t *, void **, 79 static void slram_unpoint(struct mtd_info *, loff_t, size_t); 80 static int slram_read(struct mtd_info *, loff_t, size_t, size_t *, u_char *); 81 static int slram_write(struct mtd_info *, loff_t, size_t, size_t *, const u_char *); 83 static int slram_erase(struct mtd_info *mtd, struct erase_info *instr) in slram_erase() 105 static int slram_point(struct mtd_info *mtd, loff_t from, size_t len, in slram_point() 122 static void slram_unpoint(struct mtd_info *mtd, loff_t from, size_t len) in slram_unpoint() 126 static int slram_read(struct mtd_info *mtd, loff_t from, size_t len, in slram_read() [all …]
|
/drivers/mtd/chips/ |
D | map_absent.c | 30 static int map_absent_read (struct mtd_info *, loff_t, size_t, size_t *, u_char *); 31 static int map_absent_write (struct mtd_info *, loff_t, size_t, size_t *, const u_char *); 32 static int map_absent_erase (struct mtd_info *, struct erase_info *); 33 static void map_absent_sync (struct mtd_info *); 34 static struct mtd_info *map_absent_probe(struct map_info *map); 35 static void map_absent_destroy (struct mtd_info *); 45 static struct mtd_info *map_absent_probe(struct map_info *map) in map_absent_probe() 47 struct mtd_info *mtd; in map_absent_probe() 72 static int map_absent_read(struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *b… in map_absent_read() 78 static int map_absent_write(struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_ch… in map_absent_write() [all …]
|
D | map_rom.c | 18 static int maprom_read (struct mtd_info *, loff_t, size_t, size_t *, u_char *); 19 static int maprom_write (struct mtd_info *, loff_t, size_t, size_t *, const u_char *); 20 static void maprom_nop (struct mtd_info *); 21 static struct mtd_info *map_rom_probe(struct map_info *map); 22 static int maprom_erase (struct mtd_info *mtd, struct erase_info *info); 30 static struct mtd_info *map_rom_probe(struct map_info *map) in map_rom_probe() 32 struct mtd_info *mtd; in map_rom_probe() 56 static int maprom_read (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) in maprom_read() 65 static void maprom_nop(struct mtd_info *mtd) in maprom_nop() 70 static int maprom_write (struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char … in maprom_write() [all …]
|
D | map_ram.c | 19 static int mapram_read (struct mtd_info *, loff_t, size_t, size_t *, u_char *); 20 static int mapram_write (struct mtd_info *, loff_t, size_t, size_t *, const u_char *); 21 static int mapram_erase (struct mtd_info *, struct erase_info *); 22 static void mapram_nop (struct mtd_info *); 23 static struct mtd_info *map_ram_probe(struct map_info *map); 32 static struct mtd_info *map_ram_probe(struct map_info *map) in map_ram_probe() 34 struct mtd_info *mtd; in map_ram_probe() 82 static int mapram_read (struct mtd_info *mtd, loff_t from, size_t len, size_t *retlen, u_char *buf) in mapram_read() 91 static int mapram_write (struct mtd_info *mtd, loff_t to, size_t len, size_t *retlen, const u_char … in mapram_write() 100 static int mapram_erase (struct mtd_info *mtd, struct erase_info *instr) in mapram_erase() [all …]
|
D | cfi_cmdset_0001.c | 55 static int cfi_intelext_read (struct mtd_info *, loff_t, size_t, size_t *, u_char *); 56 static int cfi_intelext_write_words(struct mtd_info *, loff_t, size_t, size_t *, const u_char *); 57 static int cfi_intelext_write_buffers(struct mtd_info *, loff_t, size_t, size_t *, const u_char *); 58 static int cfi_intelext_writev(struct mtd_info *, const struct kvec *, unsigned long, loff_t, size_… 59 static int cfi_intelext_erase_varsize(struct mtd_info *, struct erase_info *); 60 static void cfi_intelext_sync (struct mtd_info *); 61 static int cfi_intelext_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len); 62 static int cfi_intelext_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len); 64 static int cfi_intelext_read_fact_prot_reg (struct mtd_info *, loff_t, size_t, size_t *, u_char *); 65 static int cfi_intelext_read_user_prot_reg (struct mtd_info *, loff_t, size_t, size_t *, u_char *); [all …]
|
/drivers/mtd/nand/ |
D | au1550nd.c | 26 static struct mtd_info *au1550_mtd = NULL; 29 static void (*au1550_write_byte)(struct mtd_info *, u_char); 51 static u_char au_read_byte(struct mtd_info *mtd) in au_read_byte() 66 static void au_write_byte(struct mtd_info *mtd, u_char byte) in au_write_byte() 80 static u_char au_read_byte16(struct mtd_info *mtd) in au_read_byte16() 96 static void au_write_byte16(struct mtd_info *mtd, u_char byte) in au_write_byte16() 110 static u16 au_read_word(struct mtd_info *mtd) in au_read_word() 126 static void au_write_buf(struct mtd_info *mtd, const u_char *buf, int len) in au_write_buf() 145 static void au_read_buf(struct mtd_info *mtd, u_char *buf, int len) in au_read_buf() 164 static int au_verify_buf(struct mtd_info *mtd, const u_char *buf, int len) in au_verify_buf() [all …]
|
D | gpio.c | 33 struct mtd_info mtd_info; member 38 #define gpio_nand_getpriv(x) container_of(x, struct gpiomtd, mtd_info) 67 static void gpio_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl) in gpio_nand_cmd_ctrl() 86 static void gpio_nand_writebuf(struct mtd_info *mtd, const u_char *buf, int len) in gpio_nand_writebuf() 93 static void gpio_nand_readbuf(struct mtd_info *mtd, u_char *buf, int len) in gpio_nand_readbuf() 100 static int gpio_nand_verifybuf(struct mtd_info *mtd, const u_char *buf, int len) in gpio_nand_verifybuf() 117 static void gpio_nand_writebuf16(struct mtd_info *mtd, const u_char *buf, in gpio_nand_writebuf16() 133 static void gpio_nand_readbuf16(struct mtd_info *mtd, u_char *buf, int len) in gpio_nand_readbuf16() 148 static int gpio_nand_verifybuf16(struct mtd_info *mtd, const u_char *buf, in gpio_nand_verifybuf16() 168 static int gpio_nand_devready(struct mtd_info *mtd) in gpio_nand_devready() [all …]
|
D | ams-delta.c | 33 static struct mtd_info *ams_delta_mtd = NULL; 62 static void ams_delta_write_byte(struct mtd_info *mtd, u_char byte) in ams_delta_write_byte() 74 static u_char ams_delta_read_byte(struct mtd_info *mtd) in ams_delta_read_byte() 89 static void ams_delta_write_buf(struct mtd_info *mtd, const u_char *buf, in ams_delta_write_buf() 98 static void ams_delta_read_buf(struct mtd_info *mtd, u_char *buf, int len) in ams_delta_read_buf() 106 static int ams_delta_verify_buf(struct mtd_info *mtd, const u_char *buf, in ams_delta_verify_buf() 126 static void ams_delta_hwcontrol(struct mtd_info *mtd, int cmd, in ams_delta_hwcontrol() 146 static int ams_delta_nand_ready(struct mtd_info *mtd) in ams_delta_nand_ready() 160 ams_delta_mtd = kmalloc(sizeof(struct mtd_info) + in ams_delta_init() 174 memset(ams_delta_mtd, 0, sizeof(struct mtd_info)); in ams_delta_init()
|
D | cs553x_nand.c | 98 static void cs553x_read_buf(struct mtd_info *mtd, u_char *buf, int len) in cs553x_read_buf() 110 static void cs553x_write_buf(struct mtd_info *mtd, const u_char *buf, int len) in cs553x_write_buf() 122 static unsigned char cs553x_read_byte(struct mtd_info *mtd) in cs553x_read_byte() 128 static void cs553x_write_byte(struct mtd_info *mtd, u_char byte) in cs553x_write_byte() 140 static void cs553x_hwcontrol(struct mtd_info *mtd, int cmd, in cs553x_hwcontrol() 153 static int cs553x_device_ready(struct mtd_info *mtd) in cs553x_device_ready() 162 static void cs_enable_hwecc(struct mtd_info *mtd, int mode) in cs_enable_hwecc() 170 static int cs_calculate_ecc(struct mtd_info *mtd, const u_char *dat, u_char *ecc_code) in cs_calculate_ecc() 184 static struct mtd_info *cs553x_mtd[4]; 190 struct mtd_info *new_mtd; in cs553x_init_one() [all …]
|
D | bf5xx_nand.c | 137 struct mtd_info mtd; 153 static struct bf5xx_nand_info *mtd_to_nand_info(struct mtd_info *mtd) in mtd_to_nand_info() 177 static void bf5xx_nand_hwcontrol(struct mtd_info *mtd, int cmd, in bf5xx_nand_hwcontrol() 198 static int bf5xx_nand_devready(struct mtd_info *mtd) in bf5xx_nand_devready() 217 static int bf5xx_nand_correct_data_256(struct mtd_info *mtd, u_char *dat, in bf5xx_nand_correct_data_256() 296 static int bf5xx_nand_correct_data(struct mtd_info *mtd, u_char *dat, in bf5xx_nand_correct_data() 317 static void bf5xx_nand_enable_hwecc(struct mtd_info *mtd, int mode) in bf5xx_nand_enable_hwecc() 322 static int bf5xx_nand_calculate_ecc(struct mtd_info *mtd, in bf5xx_nand_calculate_ecc() 364 static void bf5xx_nand_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in bf5xx_nand_read_buf() 393 static uint8_t bf5xx_nand_read_byte(struct mtd_info *mtd) in bf5xx_nand_read_byte() [all …]
|
D | ppchameleonevb.c | 59 static struct mtd_info *ppchameleon_mtd = NULL; 60 static struct mtd_info *ppchameleonevb_mtd = NULL; 103 extern int parse_cmdline_partitions(struct mtd_info *master, struct mtd_partition **pparts, const c… 109 static void ppchameleon_hwcontrol(struct mtd_info *mtdinfo, int cmd, in ppchameleon_hwcontrol() 141 static void ppchameleonevb_hwcontrol(struct mtd_info *mtdinfo, int cmd, in ppchameleonevb_hwcontrol() 177 static int ppchameleon_device_ready(struct mtd_info *minfo) in ppchameleon_device_ready() 184 static int ppchameleonevb_device_ready(struct mtd_info *minfo) in ppchameleonevb_device_ready() 213 ppchameleon_mtd = kmalloc(sizeof(struct mtd_info) + sizeof(struct nand_chip), GFP_KERNEL); in ppchameleonevb_init() 231 memset(ppchameleon_mtd, 0, sizeof(struct mtd_info)); in ppchameleonevb_init() 313 ppchameleonevb_mtd = kmalloc(sizeof(struct mtd_info) + sizeof(struct nand_chip), GFP_KERNEL); in ppchameleonevb_init() [all …]
|
D | diskonchip.c | 60 static struct mtd_info *doclist = NULL; 72 struct mtd_info *nextdoc; 89 static void doc200x_hwcontrol(struct mtd_info *mtd, int cmd, 91 static void doc200x_select_chip(struct mtd_info *mtd, int chip); 297 static void doc2000_write_byte(struct mtd_info *mtd, u_char datum) in doc2000_write_byte() 309 static u_char doc2000_read_byte(struct mtd_info *mtd) in doc2000_read_byte() 324 static void doc2000_writebuf(struct mtd_info *mtd, const u_char *buf, int len) in doc2000_writebuf() 341 static void doc2000_readbuf(struct mtd_info *mtd, u_char *buf, int len) in doc2000_readbuf() 356 static void doc2000_readbuf_dword(struct mtd_info *mtd, u_char *buf, int len) in doc2000_readbuf_dword() 377 static int doc2000_verifybuf(struct mtd_info *mtd, const u_char *buf, int len) in doc2000_verifybuf() [all …]
|
D | nand_base.c | 85 static int nand_get_device(struct nand_chip *chip, struct mtd_info *mtd, 88 static int nand_do_write_oob(struct mtd_info *mtd, loff_t to, 103 static void nand_release_device(struct mtd_info *mtd) in nand_release_device() 124 static uint8_t nand_read_byte(struct mtd_info *mtd) in nand_read_byte() 137 static uint8_t nand_read_byte16(struct mtd_info *mtd) in nand_read_byte16() 150 static u16 nand_read_word(struct mtd_info *mtd) in nand_read_word() 163 static void nand_select_chip(struct mtd_info *mtd, int chipnr) in nand_select_chip() 187 static void nand_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len) in nand_write_buf() 204 static void nand_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in nand_read_buf() 221 static int nand_verify_buf(struct mtd_info *mtd, const uint8_t *buf, int len) in nand_verify_buf() [all …]
|
D | cmx270_nand.c | 36 static struct mtd_info *cmx270_nand_mtd; 55 static u_char cmx270_read_byte(struct mtd_info *mtd) in cmx270_read_byte() 62 static void cmx270_write_buf(struct mtd_info *mtd, const u_char *buf, int len) in cmx270_write_buf() 71 static void cmx270_read_buf(struct mtd_info *mtd, u_char *buf, int len) in cmx270_read_buf() 80 static int cmx270_verify_buf(struct mtd_info *mtd, const u_char *buf, int len) in cmx270_verify_buf() 107 static void cmx270_hwcontrol(struct mtd_info *mtd, int dat, in cmx270_hwcontrol() 141 static int cmx270_device_ready(struct mtd_info *mtd) in cmx270_device_ready() 179 cmx270_nand_mtd = kzalloc(sizeof(struct mtd_info) + in cmx270_init()
|
D | rtc_from4.c | 36 static struct mtd_info *rtc_from4_mtd = NULL; 168 static void rtc_from4_hwcontrol(struct mtd_info *mtd, int cmd, in rtc_from4_hwcontrol() 191 static void rtc_from4_nand_select_chip(struct mtd_info *mtd, int chip) in rtc_from4_nand_select_chip() 220 static int rtc_from4_nand_device_ready(struct mtd_info *mtd) in rtc_from4_nand_device_ready() 243 static void deplete(struct mtd_info *mtd, int chip) in deplete() 271 static void rtc_from4_enable_hwecc(struct mtd_info *mtd, int mode) in rtc_from4_enable_hwecc() 315 static void rtc_from4_calculate_ecc(struct mtd_info *mtd, const u_char *dat, u_char *ecc_code) in rtc_from4_calculate_ecc() 341 static int rtc_from4_correct_data(struct mtd_info *mtd, const u_char *buf, u_char *ecc1, u_char *ec… in rtc_from4_correct_data() 404 static int rtc_from4_errstat(struct mtd_info *mtd, struct nand_chip *this, in rtc_from4_errstat() 482 rtc_from4_mtd = kmalloc(sizeof(struct mtd_info) + sizeof(struct nand_chip), GFP_KERNEL); in rtc_from4_init() [all …]
|
D | atmel_nand.c | 86 struct mtd_info mtd; 114 static void atmel_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl) in atmel_nand_cmd_ctrl() 137 static int atmel_nand_device_ready(struct mtd_info *mtd) in atmel_nand_device_ready() 149 static void atmel_read_buf(struct mtd_info *mtd, u8 *buf, int len) in atmel_read_buf() 156 static void atmel_read_buf16(struct mtd_info *mtd, u8 *buf, int len) in atmel_read_buf16() 163 static void atmel_write_buf(struct mtd_info *mtd, const u8 *buf, int len) in atmel_write_buf() 170 static void atmel_write_buf16(struct mtd_info *mtd, const u8 *buf, int len) in atmel_write_buf16() 186 static int atmel_nand_calculate(struct mtd_info *mtd, in atmel_nand_calculate() 216 static int atmel_nand_read_page(struct mtd_info *mtd, in atmel_nand_read_page() 288 static int atmel_nand_correct(struct mtd_info *mtd, u_char *dat, in atmel_nand_correct() [all …]
|
D | s3c2410.c | 78 struct mtd_info mtd; 119 static struct s3c2410_nand_mtd *s3c2410_nand_mtd_toours(struct mtd_info *mtd) in s3c2410_nand_mtd_toours() 124 static struct s3c2410_nand_info *s3c2410_nand_mtd_toinfo(struct mtd_info *mtd) in s3c2410_nand_mtd_toinfo() 273 static void s3c2410_nand_select_chip(struct mtd_info *mtd, int chip) in s3c2410_nand_select_chip() 315 static void s3c2410_nand_hwcontrol(struct mtd_info *mtd, int cmd, in s3c2410_nand_hwcontrol() 331 static void s3c2440_nand_hwcontrol(struct mtd_info *mtd, int cmd, in s3c2440_nand_hwcontrol() 350 static int s3c2410_nand_devready(struct mtd_info *mtd) in s3c2410_nand_devready() 356 static int s3c2440_nand_devready(struct mtd_info *mtd) in s3c2440_nand_devready() 362 static int s3c2412_nand_devready(struct mtd_info *mtd) in s3c2412_nand_devready() 370 static int s3c2410_nand_correct_data(struct mtd_info *mtd, u_char *dat, in s3c2410_nand_correct_data() [all …]
|
D | ndfc.c | 39 struct mtd_info mtd; 50 static void ndfc_select_chip(struct mtd_info *mtd, int chip) in ndfc_select_chip() 64 static void ndfc_hwcontrol(struct mtd_info *mtd, int cmd, unsigned int ctrl) in ndfc_hwcontrol() 77 static int ndfc_ready(struct mtd_info *mtd) in ndfc_ready() 84 static void ndfc_enable_hwecc(struct mtd_info *mtd, int mode) in ndfc_enable_hwecc() 95 static int ndfc_calculate_ecc(struct mtd_info *mtd, in ndfc_calculate_ecc() 119 static void ndfc_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in ndfc_read_buf() 128 static void ndfc_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len) in ndfc_write_buf() 137 static int ndfc_verify_buf(struct mtd_info *mtd, const uint8_t *buf, int len) in ndfc_verify_buf()
|
/drivers/mtd/ |
D | mtdconcat.c | 29 struct mtd_info mtd; 31 struct mtd_info **subdev; 39 ((sizeof(struct mtd_concat) + (num_subdev) * sizeof(struct mtd_info *))) 53 concat_read(struct mtd_info *mtd, loff_t from, size_t len, in concat_read() 63 struct mtd_info *subdev = concat->subdev[i]; in concat_read() 107 concat_write(struct mtd_info *mtd, loff_t to, size_t len, in concat_write() 120 struct mtd_info *subdev = concat->subdev[i]; in concat_write() 154 concat_writev(struct mtd_info *mtd, const struct kvec *vecs, in concat_writev() 192 struct mtd_info *subdev = concat->subdev[i]; in concat_writev() 242 concat_read_oob(struct mtd_info *mtd, loff_t from, struct mtd_oob_ops *ops) in concat_read_oob() [all …]
|
D | mtdpart.c | 27 struct mtd_info mtd; 28 struct mtd_info *master; 47 static int part_read(struct mtd_info *mtd, loff_t from, size_t len, in part_read() 68 static int part_point(struct mtd_info *mtd, loff_t from, size_t len, in part_point() 80 static void part_unpoint(struct mtd_info *mtd, loff_t from, size_t len) in part_unpoint() 87 static int part_read_oob(struct mtd_info *mtd, loff_t from, in part_read_oob() 108 static int part_read_user_prot_reg(struct mtd_info *mtd, loff_t from, in part_read_user_prot_reg() 116 static int part_get_user_prot_info(struct mtd_info *mtd, in part_get_user_prot_info() 123 static int part_read_fact_prot_reg(struct mtd_info *mtd, loff_t from, in part_read_fact_prot_reg() 131 static int part_get_fact_prot_info(struct mtd_info *mtd, struct otp_info *buf, in part_get_fact_prot_info() [all …]
|
D | mtdcore.c | 28 struct mtd_info *mtd_table[MAX_MTD_DEVICES]; 45 int add_mtd_device(struct mtd_info *mtd) in add_mtd_device() 112 int del_mtd_device (struct mtd_info *mtd) in del_mtd_device() 208 struct mtd_info *get_mtd_device(struct mtd_info *mtd, int num) in get_mtd_device() 210 struct mtd_info *ret = NULL; in get_mtd_device() 257 struct mtd_info *get_mtd_device_nm(const char *name) in get_mtd_device_nm() 260 struct mtd_info *mtd = NULL; in get_mtd_device_nm() 294 void put_mtd_device(struct mtd_info *mtd) in put_mtd_device() 312 int default_mtd_writev(struct mtd_info *mtd, const struct kvec *vecs, in default_mtd_writev() 355 struct mtd_info *this = mtd_table[i]; in mtd_proc_info()
|
/drivers/mtd/onenand/ |
D | onenand_base.c | 195 static int onenand_command(struct mtd_info *mtd, int cmd, loff_t addr, size_t len) in onenand_command() 304 static int onenand_wait(struct mtd_info *mtd, int state) in onenand_wait() 387 static int onenand_interrupt_wait(struct mtd_info *mtd, int state) in onenand_interrupt_wait() 403 static int onenand_try_interrupt_wait(struct mtd_info *mtd, int state) in onenand_try_interrupt_wait() 434 static void onenand_setup_wait(struct mtd_info *mtd) in onenand_setup_wait() 469 static inline int onenand_bufferram_offset(struct mtd_info *mtd, int area) in onenand_bufferram_offset() 494 static int onenand_read_bufferram(struct mtd_info *mtd, int area, in onenand_read_bufferram() 530 static int onenand_sync_read_bufferram(struct mtd_info *mtd, int area, in onenand_sync_read_bufferram() 570 static int onenand_write_bufferram(struct mtd_info *mtd, int area, in onenand_write_bufferram() 609 static int onenand_get_2x_blockpage(struct mtd_info *mtd, loff_t addr) in onenand_get_2x_blockpage() [all …]
|
/drivers/mtd/lpddr/ |
D | lpddr_cmds.c | 30 static int lpddr_read(struct mtd_info *mtd, loff_t adr, size_t len, 32 static int lpddr_write_buffers(struct mtd_info *mtd, loff_t to, 34 static int lpddr_writev(struct mtd_info *mtd, const struct kvec *vecs, 36 static int lpddr_erase(struct mtd_info *mtd, struct erase_info *instr); 37 static int lpddr_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len); 38 static int lpddr_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len); 39 static int lpddr_point(struct mtd_info *mtd, loff_t adr, size_t len, 41 static void lpddr_unpoint(struct mtd_info *mtd, loff_t adr, size_t len); 46 struct mtd_info *lpddr_cmdset(struct map_info *map) in lpddr_cmdset() 51 struct mtd_info *mtd; in lpddr_cmdset() [all …]
|
/drivers/mtd/ubi/ |
D | gluebi.c | 42 static int gluebi_get_device(struct mtd_info *mtd) in gluebi_get_device() 84 static void gluebi_put_device(struct mtd_info *mtd) in gluebi_put_device() 106 static int gluebi_read(struct mtd_info *mtd, loff_t from, size_t len, in gluebi_read() 154 static int gluebi_write(struct mtd_info *mtd, loff_t to, size_t len, in gluebi_write() 207 static int gluebi_erase(struct mtd_info *mtd, struct erase_info *instr) in gluebi_erase() 269 struct mtd_info *mtd = &vol->gluebi_mtd; in ubi_create_gluebi() 319 struct mtd_info *mtd = &vol->gluebi_mtd; in ubi_destroy_gluebi() 340 struct mtd_info *mtd = &vol->gluebi_mtd; in ubi_gluebi_updated()
|