Home
last modified time | relevance | path

Searched refs:ofs_factor (Results 1 – 4 of 4) sorted by relevance

/linux-2.4.37.9/drivers/mtd/chips/
Dcfi_probe.c132 int ofs_factor = cfi->interleave*cfi->device_type; in cfi_chip_setup() local
134 int num_erase_regions = cfi_read_query(map, base + (0x10 + 28)*ofs_factor); in cfi_chip_setup()
156 ((unsigned char *)cfi->cfiq)[i] = cfi_read_query(map,base + (0x10 + i)*ofs_factor); in cfi_chip_setup()
Dcfi_cmdset_0020.c126 int ofs_factor = cfi->interleave * cfi->device_type; in cfi_cmdset_0020() local
144 cfi_read_query(map, (base+((adr+i)*ofs_factor))); in cfi_cmdset_0020()
1167 int ofs_factor = cfi->interleave * cfi->device_type; in cfi_staa_lock() local
1186 printk("before lock: block status register is %x\n",cfi_read_query(map, adr+(2*ofs_factor))); in cfi_staa_lock()
1194 printk("after lock: block status register is %x\n",cfi_read_query(map, adr+(2*ofs_factor))); in cfi_staa_lock()
1316 int ofs_factor = cfi->interleave * cfi->device_type; in cfi_staa_unlock() local
1329 …e unlock %x: block status register is %x\n",temp_adr,cfi_read_query(map, temp_adr+(2*ofs_factor))); in cfi_staa_unlock()
1341 printk("after unlock: block status register is %x\n",cfi_read_query(map, adr+(2*ofs_factor))); in cfi_staa_unlock()
Dcfi_cmdset_0002.c58 int ofs_factor = cfi->interleave * cfi->device_type; in cfi_cmdset_0002() local
68 major = cfi_read_query(map, base + (adr+3)*ofs_factor); in cfi_cmdset_0002()
69 minor = cfi_read_query(map, base + (adr+4)*ofs_factor); in cfi_cmdset_0002()
79 cfi->id = cfi_read_query(map, base + ofs_factor); in cfi_cmdset_0002()
95 bootloc = cfi_read_query(map, base + (adr+15)*ofs_factor); in cfi_cmdset_0002()
Dcfi_cmdset_0001.c133 int ofs_factor = cfi->interleave * cfi->device_type; in cfi_cmdset_0001() local
151 cfi_read_query(map, (base+((adr+i)*ofs_factor))); in cfi_cmdset_0001()
644 int ofs_factor = cfi->interleave * cfi->device_type; local
691 *buf=map->read8(map,(chip->start+((extp->ProtRegAddr+1)*ofs_factor)+offst));
1720 int ofs_factor = cfi->interleave * cfi->device_type; local
1724 adr, cfi_read_query(map, adr+(2*ofs_factor)));