亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? nand.h

?? vivi源碼代碼支持usb下載功能
?? H
字號:
/* * vivi/include/nand.h: * * Based on linux/include/linux/mtd/nand.h * * $Id: nand.h,v 1.1.1.1 2004/02/04 06:22:25 laputa Exp $ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * *  Info: *   Contains standard defines and IDs for NAND flash devices * *  Changelog: *   01-31-2000 DMW     Created *   09-18-2000 SJH     Moved structure out of the Disk-On-Chip drivers *			so it can be used by other NAND flash device *			drivers. I also changed the copyright since none *			of the original contents of this file are specific *			to DoC devices. David can whack me with a baseball *			bat later if I did something naughty. *   10-11-2000 SJH     Added private NAND flash structure for driver *   10-24-2000 SJH     Added prototype for 'nand_scan' function *   10-29-2001 TG	changed nand_chip structure to support  *			hardwarespecific function for accessing control lines *   02-21-2002 TG	added support for different read/write adress and *			ready/busy line access function *   02-26-2002 TG	added chip_delay to nand_chip structure to optimize *			command delay times for different chips */#ifndef __VIVI_MTD_NAND_H#define __VIVI_MTD_NAND_H#include "config.h"/* * Searches for a NAND device */extern int nand_scan (struct mtd_info *mtd);extern int smc_scan (struct mtd_info *mtd);/* * Constants for hardware specific CLE/ALE/NCE function*/#define NAND_CTL_SETNCE 	1#define NAND_CTL_CLRNCE		2#define NAND_CTL_SETCLE		3#define NAND_CTL_CLRCLE		4#define NAND_CTL_SETALE		5#define NAND_CTL_CLRALE		6#define NAND_CTL_DAT_IN         7#define NAND_CTL_DAT_OUT        8#define NAND_CTL_CLRRnB         10#define SMC_OOB_USER           0#define SMC_OOB_DAT_FLAG       4#define SMC_OOB_BLK_FLAG       5#define SMC_OOB_ADDR1          6#define SMC_OOB_ECC2           8#define SMC_OOB_ADDR2          11#define SMC_OOB_ECC1           13#define SMC_OOB_SIZE           16#define SMC_STAT_WRITE_ERR     0x01    /* 1: Error in Program/Erase */#define SMC_STAT_READY         0x40    /* 0: Busy, 1: Ready */#define SMC_STAT_NOT_WP        0x80    /* 0: Protected, 1: Not */#define SMC_OOB256_SIZE        8#define SMC_OOB256_ECC1        (SMC_OOB_ECC1 - SMC_OOB256_SIZE)#define SMC_OOB256_ECC2        (SMC_OOB_ECC2 - SMC_OOB256_SIZE)struct nand_smc_dev {	unsigned long CpV;      /* Cylinder/Volume */	unsigned long HpC;      /* Head/Cylinder */	unsigned long SpH;      /* Sector/Head */	unsigned long allS;     /* Number of Sectors */	unsigned long szS;      /* Sector Size */	unsigned long PBpV;     /* Number of Physical Blocks in Volume */	unsigned long LBpV;     /* Number of Logical Blocks in Volume */	unsigned long SpB;      /* Sector/Block */	unsigned long PpB;      /* Page/Block */	unsigned long szP;      /* Page Size */};/* * Standard NAND flash commands */#define NAND_CMD_READ0		0#define NAND_CMD_READ1		1#define NAND_CMD_PAGEPROG	0x10#define NAND_CMD_READOOB	0x50#define NAND_CMD_ERASE1		0x60#define NAND_CMD_STATUS		0x70#define NAND_CMD_SEQIN		0x80#define NAND_CMD_READID		0x90#define NAND_CMD_ERASE2		0xd0#define NAND_CMD_RESET		0xff/* * Below status is not used in the vivi. */#if 0	/* * Enumeration for NAND flash chip state */typedef enum {	FL_READY,	FL_READING,	FL_WRITING,	FL_ERASING,	FL_SYNCING} nand_state_t;#endif/* * NAND Private Flash Chip Data * * Structure overview: * *  IO_ADDR_R - address to read the 8 I/O lines of the flash device  * *  IO_ADDR_W - address to write the 8 I/O lines of the flash device  * *  hwcontrol - hardwarespecific function for accesing control-lines * *  dev_ready - hardwarespecific function for accesing device ready/busy line * *  chip_lock - spinlock used to protect access to this structure * *  wq - wait queue to sleep on if a NAND operation is in progress * *  state - give the current state of the NAND device * *  page_shift - number of address bits in a page (column address bits) * *  data_buf - data buffer passed to/from MTD user modules * *  data_cache - data cache for redundant page access and shadow for *		 ECC failure * *  ecc_code_buf - used only for holding calculated or read ECCs for *                 a page read or written when ECC is in use * *  reserved - padding to make structure fall on word boundary if *             when ECC is in use */struct nand_chip {#ifdef CONFIG_MTD_NANDY	void (*hwcontrol)(int cmd);	void (*write_cmd)(u_char val);	void (*write_addr)(u_char val);	u_char (*read_data)(void);	void (*write_data)(u_char val);	void (*wait_for_ready)(void);	/*spinlock_t chip_lock;*/	/*wait_queue_head_t wq;*/	/*nand_state_t state;*/	int page_shift;	u_char *data_buf;	u_char *data_cache;	int	cache_page;	struct nand_smc_dev *dev;	u_char spare[SMC_OOB_SIZE];#else	/* CONFIG_MTD_NANDY */	unsigned long IO_ADDR_R;	unsigned long IO_ADDR_W;	void (*hwcontrol)(int cmd);	int (*dev_ready)(void);	int chip_delay;	/*spinlock_t chip_lock;*/	/*wait_queue_head_t wq;*/	/*nand_state_t state;*/	int page_shift;	u_char *data_buf;	u_char *data_cache;	int	cache_page;#ifdef CONFIG_MTD_NAND_ECC	u_char ecc_code_buf[6];	u_char reserved[2];#endif#endif	/* CONFIG_MTD_NANDY */};/* * NAND Flash Manufacturer ID Codes */#define NAND_MFR_TOSHIBA	0x98#define NAND_MFR_SAMSUNG	0xec/* * NAND Flash Device ID Structure * * Structure overview: * *  name - Complete name of device * *  manufacture_id - manufacturer ID code of device. * *  model_id - model ID code of device. * *  chipshift - total number of address bits for the device which *              is used to calculate address offsets and the total *              number of bytes the device is capable of. * *  page256 - denotes if flash device has 256 byte pages or not. * *  pageadrlen - number of bytes minus one needed to hold the *               complete address into the flash array. Keep in *               mind that when a read or write is done to a *               specific address, the address is input serially *               8 bits at a time. This structure member is used *               by the read/write routines as a loop index for *               shifting the address out 8 bits at a time. * *  erasesize - size of an erase block in the flash device. */struct nand_flash_dev {	char * name;	int manufacture_id;	int model_id;	int chipshift;	char page256;	char pageadrlen;	unsigned long erasesize;};#endif /* __VIVI_MTD_NAND_H */

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品亲子伦对白| 视频一区二区三区入口| 久久中文字幕电影| 日韩欧美第一区| 中文字幕久久午夜不卡| 久久久久九九视频| 日本一区二区三区在线观看| 久久―日本道色综合久久| 久久久久成人黄色影片| 久久网站热最新地址| 久久精品夜色噜噜亚洲a∨| 国产日韩欧美不卡在线| 中文字幕在线免费不卡| 成人免费在线视频| 尤物av一区二区| 天天影视色香欲综合网老头| 美女视频免费一区| 国产精品一二三在| 91在线观看免费视频| 在线观看视频一区| 日韩一区二区在线看片| 欧美精品一区二区三区在线播放| 久久久久99精品国产片| 国产精品国产馆在线真实露脸 | 久久综合九色综合欧美98| 精品人在线二区三区| 久久青草国产手机看片福利盒子| 日本一区二区三区久久久久久久久不| 中文字幕乱码一区二区免费| 一级做a爱片久久| 免费在线视频一区| 成人黄色综合网站| 精品视频一区二区三区免费| 精品三级在线观看| 亚洲天堂免费在线观看视频| 污片在线观看一区二区| 国内精品久久久久影院一蜜桃| www.欧美日韩| 欧美顶级少妇做爰| 中文av字幕一区| 五月综合激情日本mⅴ| 国产在线不卡一区| 色婷婷久久99综合精品jk白丝| 67194成人在线观看| 国产欧美一二三区| 午夜精品免费在线| 国产一区二区不卡| 欧美吞精做爰啪啪高潮| 久久久综合精品| 亚洲国产视频一区| 成人免费视频一区| 欧美一区二区视频在线观看2022| 中文字幕免费不卡| 麻豆一区二区在线| 91福利区一区二区三区| 久久精品亚洲麻豆av一区二区| 国产成人自拍高清视频在线免费播放| 色系网站成人免费| 国产亚洲欧美在线| 日日夜夜一区二区| 97成人超碰视| 久久在线观看免费| 亚洲第一电影网| 99re成人精品视频| 久久综合成人精品亚洲另类欧美| 亚洲第一福利视频在线| a亚洲天堂av| 欧美精品一区二区三区在线| 亚洲一区二区三区视频在线| 国产99久久精品| 日韩欧美中文字幕一区| 亚洲国产欧美在线人成| 99热这里都是精品| 精品成人一区二区三区四区| 日韩高清欧美激情| 欧美三级三级三级爽爽爽| 中文字幕一区二区在线播放| 精品一二三四在线| 91精品国产91久久久久久一区二区 | 亚洲色图在线播放| 极品销魂美女一区二区三区| 欧美日韩国产综合一区二区| 亚洲欧美中日韩| 国产福利电影一区二区三区| 欧美一卡二卡在线观看| 亚洲精品成a人| 91美女片黄在线| 国产精品久久久久桃色tv| 国产一区二区三区精品视频| 欧美一级片在线| 日本不卡的三区四区五区| 欧美日韩精品一区二区三区蜜桃| 国产精品久久久久一区| 国产一区二区在线看| 精品国产一区a| 乱中年女人伦av一区二区| 欧美精品v国产精品v日韩精品| 亚洲第一会所有码转帖| 欧美日韩免费在线视频| 亚洲1区2区3区视频| 在线看一区二区| 亚洲一区二区综合| 欧洲一区在线电影| 午夜天堂影视香蕉久久| 欧美艳星brazzers| 亚洲va国产天堂va久久en| 欧美日韩精品一区二区三区蜜桃| 亚洲成人午夜影院| 欧美一级日韩免费不卡| 精品一区二区三区在线播放| 久久蜜臀中文字幕| 成人av在线资源| 亚洲柠檬福利资源导航| 在线观看精品一区| 日日摸夜夜添夜夜添国产精品| 91精品国产欧美一区二区18| 麻豆极品一区二区三区| 精品成人私密视频| 成av人片一区二区| 亚洲靠逼com| 欧美一区二区成人| 国产精品一区二区在线看| 国产精品无遮挡| 99这里只有精品| 亚洲成在人线免费| 久久一夜天堂av一区二区三区 | 精品少妇一区二区三区日产乱码| 激情五月婷婷综合网| 久久久国产精华| 不卡一区二区三区四区| 亚洲女同ⅹxx女同tv| 欧美一区三区二区| 风间由美中文字幕在线看视频国产欧美| 1024亚洲合集| 欧美一区二区在线视频| 国产精品自拍毛片| 一区二区三区四区乱视频| 欧美人伦禁忌dvd放荡欲情| 黄页视频在线91| 亚洲欧洲综合另类| 欧美高清hd18日本| 国产99一区视频免费| 亚洲线精品一区二区三区| 日韩欧美不卡一区| 成人91在线观看| 天堂久久一区二区三区| 国产日韩欧美高清在线| 欧美日韩亚洲综合一区二区三区| 美国精品在线观看| 综合欧美亚洲日本| 91精品国产品国语在线不卡| 成人a免费在线看| 日本不卡123| 亚洲免费在线视频一区 二区| 91精品国产乱| 91美女视频网站| 经典三级在线一区| 亚洲福利电影网| 国产欧美精品区一区二区三区| 欧美视频一区二区在线观看| 国产精品自拍网站| 日本aⅴ精品一区二区三区| 中文字幕一区二区三区不卡在线| 欧美一二区视频| 色爱区综合激月婷婷| 国产精品69毛片高清亚洲| 午夜激情久久久| 最新成人av在线| 久久婷婷久久一区二区三区| 欧美区在线观看| 97精品国产露脸对白| 国产成人亚洲精品青草天美| 亚洲国产精品尤物yw在线观看| 亚洲国产电影在线观看| 欧美电影免费观看完整版| 欧美午夜寂寞影院| 99久久精品国产毛片| 国产精品一区免费视频| 麻豆91精品视频| 午夜激情久久久| 亚洲一区二区三区四区的| 一区二区中文字幕在线| 久久久精品综合| 精品捆绑美女sm三区| 欧美一区日韩一区| 欧美巨大另类极品videosbest| 91色在线porny| 成人国产在线观看| 成人精品亚洲人成在线| 韩国理伦片一区二区三区在线播放 | 亚洲免费视频中文字幕| 亚洲国产高清在线观看视频| www日韩大片| 精品国产伦一区二区三区免费| 欧美另类久久久品| 欧美日韩综合不卡| 欧美中文字幕久久| 欧美揉bbbbb揉bbbbb| 欧美性感一类影片在线播放| 91久久人澡人人添人人爽欧美 |