• 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

154 /* DoC_SelectChip: Select a given flash chip within the current floor */
161 /* DoC_SelectFloor: Select a given floor (bank of flash chips) */
162 static int DoC_SelectFloor(void __iomem * docptr, int floor)
164 WriteDOC((floor & 0x3), docptr, Mplus_DeviceSelect);
265 /* DoC_IdentChip: Identify a given NAND chip given {floor,chip} */
266 static int DoC_IdentChip(struct DiskOnChip *doc, int floor, int chip)
272 /* Page in the required floor/chip */
273 DoC_SelectFloor(docptr, floor);
341 int floor, chip;
364 /* For each floor, find the number of valid chips it contains */
365 for (floor = 0,ret = 1; floor < MAX_FLOORS_MPLUS; floor++) {
366 numchips[floor] = 0;
368 ret = DoC_IdentChip(this, floor, chip);
370 numchips[floor]++;
388 /* Fill out the chip array with {floor, chipno} for each
390 for (floor = 0, ret = 0; floor < MAX_FLOORS_MPLUS; floor++) {
391 for (chip = 0 ; chip < numchips[floor] ; chip++) {
392 this->chips[ret].floor = floor;
529 if (this->curfloor != mychip->floor) {
530 DoC_SelectFloor(docptr, mychip->floor);
535 this->curfloor = mychip->floor;
651 if (this->curfloor != mychip->floor) {
652 DoC_SelectFloor(docptr, mychip->floor);
657 this->curfloor = mychip->floor;
767 if (this->curfloor != mychip->floor) {
768 DoC_SelectFloor(docptr, mychip->floor);
773 this->curfloor = mychip->floor;
852 if (this->curfloor != mychip->floor) {
853 DoC_SelectFloor(docptr, mychip->floor);
858 this->curfloor = mychip->floor;
955 if (this->curfloor != mychip->floor) {
956 DoC_SelectFloor(docptr, mychip->floor);
961 this->curfloor = mychip->floor;