Searched refs:chipshift (Results 1 - 16 of 16) sorted by last modified time

/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/mtd/
H A Dcfi.h249 unsigned long chipshift; /* Because they're of the same type */ member in struct:cfi_private
H A Ddoc2000.h126 int chipshift; member in struct:DiskOnChip
H A Dnand.h128 * chipshift - total number of address bits for the device which
148 int chipshift; member in struct:nand_flash_dev
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/mtd/
H A Dcfi.h249 unsigned long chipshift; /* Because they're of the same type */ member in struct:cfi_private
H A Ddoc2000.h126 int chipshift; member in struct:DiskOnChip
H A Dnand.h128 * chipshift - total number of address bits for the device which
148 int chipshift; member in struct:nand_flash_dev
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/usb/storage/
H A Dsddr09.c52 int chipshift; /* 1<<cs bytes total capacity */ member in struct:nand_flash_dev
1247 ", %d MB", 1<<(cardinfo->chipshift - 20));
1626 info->capacity = (1 << cardinfo->chipshift);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/mtd/chips/
H A Damd_flash.c98 unsigned long chipshift; member in struct:amd_flash_private
683 temp.chipshift++;
687 temp.chipshift += 1;
690 temp.chipshift += 2;
695 for (base = (1 << temp.chipshift);
697 base += (1 << temp.chipshift)) {
839 chipnum = (from >> private->chipshift);
840 ofs = from - (chipnum << private->chipshift);
851 if ((len + ofs - 1) >> private->chipshift) {
852 this_len = (1 << private->chipshift)
[all...]
H A Dcfi_cmdset_0001.c404 chipnum = (from >> cfi->chipshift);
405 ofs = from - (chipnum << cfi->chipshift);
415 if ((len + ofs -1) >> cfi->chipshift)
416 thislen = (1<<cfi->chipshift) - ofs;
576 chipnum = to >> cfi->chipshift;
577 ofs = to - (chipnum << cfi->chipshift);
611 if (ofs >> cfi->chipshift) {
642 if (ofs >> cfi->chipshift) {
865 chipnum = to >> cfi->chipshift;
866 ofs = to - (chipnum << cfi->chipshift);
[all...]
H A Dcfi_cmdset_0002.c284 chipnum = (from >> cfi->chipshift);
285 ofs = from - (chipnum << cfi->chipshift);
296 if ((len + ofs -1) >> cfi->chipshift)
297 thislen = (1<<cfi->chipshift) - ofs;
401 chipnum = to >> cfi->chipshift;
402 ofs = to - (chipnum << cfi->chipshift);
434 if (ofs >> cfi->chipshift) {
476 if (ofs >> cfi->chipshift) {
682 chipnum = instr->addr >> cfi->chipshift;
683 adr = instr->addr - (chipnum << cfi->chipshift);
[all...]
H A Dcfi_cmdset_0701.c241 chipnum = (from >> cfi->chipshift);
242 ofs = from - (chipnum << cfi->chipshift);
253 if ((len + ofs -1) >> cfi->chipshift)
254 thislen = (1<<cfi->chipshift) - ofs;
355 chipnum = to >> cfi->chipshift;
356 ofs = to - (chipnum << cfi->chipshift);
388 if (ofs >> cfi->chipshift) {
420 if (ofs >> cfi->chipshift) {
608 chipnum = instr->addr >> cfi->chipshift;
609 adr = instr->addr - (chipnum << cfi->chipshift);
[all...]
H A Dgen_probe.c82 cfi.chipshift = cfi.cfiq->DevSize;
91 cfi.chipshift++;
96 cfi.chipshift+=2;
111 for (base = (1<<cfi.chipshift); base + (1<<cfi.chipshift) <= map->size;
112 base += (1<<cfi.chipshift))
H A Dsharp.c92 int chipshift; member in struct:sharp_info
143 sharp->chipshift = 23;
270 chipnum = (from >> sharp->chipshift);
271 ofs = from & ((1 << sharp->chipshift)-1);
282 if(ofs+thislen >= (1<<sharp->chipshift))
283 thislen = (1<<sharp->chipshift) - ofs;
318 chipnum = to >> sharp->chipshift;
319 ofs = to & ((1<<sharp->chipshift)-1);
399 chipnum = instr->addr >> sharp->chipshift;
400 adr = instr->addr & ((1<<sharp->chipshift)
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/mtd/devices/
H A Ddoc2000.c388 doc->chipshift =
389 nand_flash_ids[i].chipshift;
468 this->totlen = this->numchips * (1 << this->chipshift);
633 mychip = &this->chips[from >> (this->chipshift)];
781 mychip = &this->chips[to >> (this->chipshift)];
922 mychip = &this->chips[ofs >> this->chipshift];
977 struct Nand *mychip = &this->chips[ofs >> this->chipshift];
1095 mychip = &this->chips[ofs >> this->chipshift];
H A Ddoc2001.c223 doc->chipshift = nand_flash_ids[i].chipshift;
282 this->totlen = this->numchips * (1 << this->chipshift);
409 struct Nand *mychip = &this->chips[from >> (this->chipshift)];
534 struct Nand *mychip = &this->chips[to >> (this->chipshift)];
658 struct Nand *mychip = &this->chips[ofs >> this->chipshift];
710 struct Nand *mychip = &this->chips[ofs >> this->chipshift];
778 struct Nand *mychip = &this->chips[ofs >> this->chipshift];
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/mtd/nand/
H A Dnand.c1311 mtd->size = (1 << nand_flash_ids[i].chipshift);

Completed in 91 milliseconds