• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/devices/

Lines Matching refs:floor

274 /* DoC_SelectChip: Select a given flash chip within the current floor */
298 /* DoC_SelectFloor: Select a given floor (bank of flash chips) */
300 static inline int DoC_SelectFloor(struct DiskOnChip *doc, int floor)
304 /* Select the floor (bank) of chips required */
305 WriteDOC(floor, docptr, FloorSelect);
311 /* DoC_IdentChip: Identify a given NAND chip given {floor,chip} */
313 static int DoC_IdentChip(struct DiskOnChip *doc, int floor, int chip)
318 /* Page in the required floor/chip */
319 DoC_SelectFloor(doc, floor);
326 floor, chip);
335 floor, chip);
377 "Flash chip at floor %d, chip %d is different:\n",
378 floor, chip);
421 int floor, chip;
429 /* For each floor, find the number of valid chips it contains */
430 for (floor = 0; floor < MAX_FLOORS; floor++) {
432 numchips[floor] = 0;
435 ret = DoC_IdentChip(this, floor, chip);
437 numchips[floor]++;
458 /* Fill out the chip array with {floor, chipno} for each
460 for (floor = 0; floor < MAX_FLOORS; floor++) {
461 for (chip = 0; chip < numchips[floor]; chip++) {
462 this->chips[ret].floor = floor;
641 if (this->curfloor != mychip->floor) {
642 DoC_SelectFloor(this, mychip->floor);
648 this->curfloor = mychip->floor;
788 if (this->curfloor != mychip->floor) {
789 DoC_SelectFloor(this, mychip->floor);
795 this->curfloor = mychip->floor;
939 if (this->curfloor != mychip->floor) {
940 DoC_SelectFloor(this, mychip->floor);
945 this->curfloor = mychip->floor;
1000 if (this->curfloor != mychip->floor) {
1001 DoC_SelectFloor(this, mychip->floor);
1006 this->curfloor = mychip->floor;
1127 if (this->curfloor != mychip->floor) {
1128 DoC_SelectFloor(this, mychip->floor);
1133 this->curfloor = mychip->floor;