Searched refs:ofs_factor (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.15/drivers/mtd/chips/ |
D | cfi_probe.c | 197 int ofs_factor = cfi->interleave*cfi->device_type; in cfi_chip_setup() local 199 int num_erase_regions = cfi_read_query(map, base + (0x10 + 28)*ofs_factor); in cfi_chip_setup() 223 ((unsigned char *)cfi->cfiq)[i] = cfi_read_query(map,base + (0x10 + i)*ofs_factor); in cfi_chip_setup() 267 cfi->id = cfi_read_query16(map, base + ofs_factor); in cfi_chip_setup() 271 cfi->id = cfi_read_query(map, base + 0xe * ofs_factor) << 8 | in cfi_chip_setup() 272 cfi_read_query(map, base + 0xf * ofs_factor); in cfi_chip_setup()
|
D | cfi_cmdset_0020.c | 1133 int ofs_factor = cfi->interleave * cfi->device_type; in cfi_staa_lock() local 1149 printk("before lock: block status register is %x\n",cfi_read_query(map, adr+(2*ofs_factor))); in cfi_staa_lock() 1157 printk("after lock: block status register is %x\n",cfi_read_query(map, adr+(2*ofs_factor))); in cfi_staa_lock() 1279 int ofs_factor = cfi->interleave * cfi->device_type; in cfi_staa_unlock() local 1292 …e unlock %x: block status register is %x\n",temp_adr,cfi_read_query(map, temp_adr+(2*ofs_factor))); in cfi_staa_unlock() 1304 printk("after unlock: block status register is %x\n",cfi_read_query(map, adr+(2*ofs_factor))); in cfi_staa_unlock()
|
D | cfi_util.c | 303 int ofs_factor = cfi->interleave * cfi->device_type; in cfi_read_pri() local 325 cfi_read_query(map, base+((adr+i)*ofs_factor)); in cfi_read_pri()
|
D | cfi_cmdset_0001.c | 2078 int status, ofs_factor = cfi->interleave * cfi->device_type; in do_getlockstatus_oneblock() local 2081 xip_disable(map, chip, adr+(2*ofs_factor)); in do_getlockstatus_oneblock() 2082 map_write(map, CMD(0x90), adr+(2*ofs_factor)); in do_getlockstatus_oneblock() 2084 status = cfi_read_query(map, adr+(2*ofs_factor)); in do_getlockstatus_oneblock()
|
D | cfi_cmdset_0002.c | 1494 int ofs_factor = cfi->interleave * cfi->device_type; in cfi_amdstd_otp_walk() local 1525 otp = cfi_read_query(map, base + 0x3 * ofs_factor); in cfi_amdstd_otp_walk()
|