OXIESEC PANEL
- Current Dir:
/
/
usr
/
src
/
linux-headers-4.15.0-213
/
include
/
linux
/
mtd
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📄
bbm.h
5.84 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
blktrans.h
2.81 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
cfi.h
10.31 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
cfi_endian.h
2.13 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
concat.h
1.14 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
doc2000.h
6.03 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
flashchip.h
3.08 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
ftl.h
2.49 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
gen_probe.h
1.26 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
inftl.h
1.56 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
latch-addr-flash.h
716 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
lpc32xx_mlc.h
531 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
lpc32xx_slc.h
531 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
map.h
13.37 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
mtd.h
19.05 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
mtdram.h
257 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
nand-gpio.h
330 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
nand_bch.h
1.56 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
nand_ecc.h
1.14 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
ndfc.h
2.2 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
nftl.h
2.35 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
onenand.h
7.87 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
onenand_regs.h
7.15 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
partitions.h
3.75 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
pfow.h
5.56 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
physmap.h
1 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
pismo.h
440 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
plat-ram.h
817 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
qinfo.h
2.47 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
rawnand.h
41.17 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
sh_flctl.h
6.41 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
sharpsl.h
587 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
spear_smi.h
1.67 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
spi-nor.h
14.28 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
super.h
835 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
ubi.h
10.33 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
xip.h
2.66 KB
01/28/2018 09:20:33 PM
rw-r--r--
Editing: spear_smi.h
Close
/* * Copyright © 2010 ST Microelectronics * Shiraz Hashim <shiraz.linux.kernel@gmail.com> * * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied. */ #ifndef __MTD_SPEAR_SMI_H #define __MTD_SPEAR_SMI_H #include <linux/types.h> #include <linux/mtd/mtd.h> #include <linux/mtd/partitions.h> #include <linux/platform_device.h> #include <linux/of.h> /* max possible slots for serial-nor flash chip in the SMI controller */ #define MAX_NUM_FLASH_CHIP 4 /* macro to define partitions for flash devices */ #define DEFINE_PARTS(n, of, s) \ { \ .name = n, \ .offset = of, \ .size = s, \ } /** * struct spear_smi_flash_info - platform structure for passing flash * information * * name: name of the serial nor flash for identification * mem_base: the memory base on which the flash is mapped * size: size of the flash in bytes * partitions: parition details * nr_partitions: number of partitions * fast_mode: whether flash supports fast mode */ struct spear_smi_flash_info { char *name; unsigned long mem_base; unsigned long size; struct mtd_partition *partitions; int nr_partitions; u8 fast_mode; }; /** * struct spear_smi_plat_data - platform structure for configuring smi * * clk_rate: clk rate at which SMI must operate * num_flashes: number of flashes present on board * board_flash_info: specific details of each flash present on board */ struct spear_smi_plat_data { unsigned long clk_rate; int num_flashes; struct spear_smi_flash_info *board_flash_info; struct device_node *np[MAX_NUM_FLASH_CHIP]; }; #endif /* __MTD_SPEAR_SMI_H */