Home
last modified time | relevance | path

Searched refs:addr_unlock1 (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/drivers/mtd/chips/
Dcfi_cmdset_0002.c135 cfi_send_gen_cmd(0x70, cfi->addr_unlock1, chip->start, map, cfi, in cfi_check_err_status()
364 cfi->addr_unlock1 = 0x5555; in fixup_sst39vf()
375 cfi->addr_unlock1 = 0x555; in fixup_sst39vf_rev_b()
695 cfi->addr_unlock1 = 0x555; in cfi_cmdset_0002()
700 if (!cfi->addr_unlock1 || !cfi->addr_unlock2) { in cfi_cmdset_0002()
823 cfi_send_gen_cmd(0x70, cfi->addr_unlock1, chip->start, map, cfi, in chip_ready()
864 cfi_send_gen_cmd(0x70, cfi->addr_unlock1, chip->start, map, cfi, in chip_good()
1283 cfi_send_gen_cmd(0xAA, cfi->addr_unlock1, chip->start, map, cfi, in otp_enter()
1287 cfi_send_gen_cmd(0x88, cfi->addr_unlock1, chip->start, map, cfi, in otp_enter()
1298 cfi_send_gen_cmd(0xAA, cfi->addr_unlock1, chip->start, map, cfi, in otp_exit()
[all …]
Djedec_probe.c1954 if (cfi->addr_unlock1) { in jedec_reset()
1956 cfi->addr_unlock1,cfi->addr_unlock2); in jedec_reset()
1957 cfi_send_gen_cmd(0xaa, cfi->addr_unlock1, base, map, cfi, cfi->device_type, NULL); in jedec_reset()
1961 cfi_send_gen_cmd(0xF0, cfi->addr_unlock1, base, map, cfi, cfi->device_type, NULL); in jedec_reset()
2016 cfi->addr_unlock1 = unlock_addrs[uaddr].addr1 / cfi->device_type; in cfi_jedec_setup()
2097 __func__, cfi->addr_unlock1, cfi->addr_unlock2 ); in jedec_match()
2099 && ( unlock_addrs[uaddr].addr1 / cfi->device_type != cfi->addr_unlock1 || in jedec_match()
2137 if (cfi->addr_unlock1) { in jedec_match()
2138 cfi_send_gen_cmd(0xaa, cfi->addr_unlock1, base, map, cfi, cfi->device_type, NULL); in jedec_match()
2141 cfi_send_gen_cmd(0x90, cfi->addr_unlock1, base, map, cfi, cfi->device_type, NULL); in jedec_match()
[all …]
Dcfi_probe.c201 int addr_unlock1 = 0x555, addr_unlock2 = 0x2AA; in cfi_chip_setup() local
250 addr_unlock1 = 0x5555; in cfi_chip_setup()
263 cfi_send_gen_cmd(0xaa, addr_unlock1, base, map, cfi, cfi->device_type, NULL); in cfi_chip_setup()
265 cfi_send_gen_cmd(0x90, addr_unlock1, base, map, cfi, cfi->device_type, NULL); in cfi_chip_setup()
/Linux-v5.10/drivers/mtd/maps/
Dlantiq-flash.c158 cfi->addr_unlock1 ^= 1; in ltq_mtd_probe()
/Linux-v5.10/include/linux/mtd/
Dcfi.h279 int addr_unlock1; member