Home
last modified time | relevance | path

Searched refs:addrshift (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/mtd/chips/
Djedec.c323 priv->chips[I].addrshift = 0; in handle_jedecs()
324 for (Bank = Count; Bank != 1; Bank >>= 1, priv->chips[I].addrshift++); in handle_jedecs()
329 (JEDEC->size << priv->chips[I].addrshift) - Bank) in handle_jedecs()
330 priv->bank_fill[Bank/my_bank_size] = base + (JEDEC->size << priv->chips[I].addrshift) - Bank; in handle_jedecs()
548 #define flread(x) map->read8(map,chip->base+((x)<<chip->addrshift)) in flash_erase()
549 #define flwrite(v,x) map->write8(map,v,chip->base+((x)<<chip->addrshift)) in flash_erase()
633 if ((priv->chips[J].base & (~((1<<chip->addrshift)-1))) == in flash_erase()
634 (chip->base & (~((1<<chip->addrshift)-1)))) in flash_erase()
637 todo[priv->chips[J].base & ((1<<chip->addrshift)-1)] = 1; in flash_erase()
654 Last[0] = map->read8(map,(chip->base >> chip->addrshift) + chip->start + off); in flash_erase()
[all …]
/linux-2.4.37.9/include/linux/mtd/
Djedec.h42 unsigned int addrshift; member