Lines Matching +full:0 +full:x98
54 if (((type * interleave) > bankwidth) && ((cmd_ofs & 0xff) == 0xaa)) in cfi_build_cmd_addr()
68 map_word val = { {0} }; in cfi_build_cmd()
124 for (i=0; i < words_per_bus; i++) { in cfi_build_cmd()
136 unsigned long onestat, res = 0; in cfi_merge_status()
154 onestat = val.x[0]; in cfi_merge_status()
226 qry[0] = cfi_build_cmd('Q', map, cfi); in cfi_qry_present()
230 val[0] = map_read(map, base + osf*0x10); in cfi_qry_present()
231 val[1] = map_read(map, base + osf*0x11); in cfi_qry_present()
232 val[2] = map_read(map, base + osf*0x12); in cfi_qry_present()
234 if (!map_word_equal(map, qry[0], val[0])) in cfi_qry_present()
235 return 0; in cfi_qry_present()
238 return 0; in cfi_qry_present()
241 return 0; in cfi_qry_present()
250 cfi_send_gen_cmd(0xF0, 0, base, map, cfi, cfi->device_type, NULL); in cfi_qry_mode_on()
251 cfi_send_gen_cmd(0x98, 0x55, base, map, cfi, cfi->device_type, NULL); in cfi_qry_mode_on()
256 cfi_send_gen_cmd(0xF0, 0, base, map, cfi, cfi->device_type, NULL); in cfi_qry_mode_on()
257 cfi_send_gen_cmd(0xFF, 0, base, map, cfi, cfi->device_type, NULL); in cfi_qry_mode_on()
258 cfi_send_gen_cmd(0x98, 0x55, base, map, cfi, cfi->device_type, NULL); in cfi_qry_mode_on()
262 cfi_send_gen_cmd(0xF0, 0, base, map, cfi, cfi->device_type, NULL); in cfi_qry_mode_on()
263 cfi_send_gen_cmd(0x98, 0x555, base, map, cfi, cfi->device_type, NULL); in cfi_qry_mode_on()
267 cfi_send_gen_cmd(0xF0, 0, base, map, cfi, cfi->device_type, NULL); in cfi_qry_mode_on()
268 cfi_send_gen_cmd(0xAA, 0x5555, base, map, cfi, cfi->device_type, NULL); in cfi_qry_mode_on()
269 cfi_send_gen_cmd(0x55, 0x2AAA, base, map, cfi, cfi->device_type, NULL); in cfi_qry_mode_on()
270 cfi_send_gen_cmd(0x98, 0x5555, base, map, cfi, cfi->device_type, NULL); in cfi_qry_mode_on()
274 cfi_send_gen_cmd(0xF0, 0, base, map, cfi, cfi->device_type, NULL); in cfi_qry_mode_on()
275 cfi_send_gen_cmd(0xAA, 0x555, base, map, cfi, cfi->device_type, NULL); in cfi_qry_mode_on()
276 cfi_send_gen_cmd(0x55, 0x2AA, base, map, cfi, cfi->device_type, NULL); in cfi_qry_mode_on()
277 cfi_send_gen_cmd(0x98, 0x555, base, map, cfi, cfi->device_type, NULL); in cfi_qry_mode_on()
281 return 0; in cfi_qry_mode_on()
288 cfi_send_gen_cmd(0xF0, 0, base, map, cfi, cfi->device_type, NULL); in cfi_qry_mode_off()
289 cfi_send_gen_cmd(0xFF, 0, base, map, cfi, cfi->device_type, NULL); in cfi_qry_mode_off()
292 if ((cfi->mfr == CFI_MFR_ST) && (cfi->id == 0x227E || cfi->id == 0x7E)) in cfi_qry_mode_off()
293 cfi_send_gen_cmd(0xF0, 0, base, map, cfi, cfi->device_type, NULL); in cfi_qry_mode_off()
301 __u32 base = 0; // cfi->chips[0].start; in cfi_read_pri()
309 printk(KERN_INFO "%s Extended Query Table at 0x%4.4X\n", name, adr); in cfi_read_pri()
322 for (i=0; i<size; i++) { in cfi_read_pri()
363 int chipnum, ret = 0; in cfi_varsize_frob()
371 i = 0; in cfi_varsize_frob()
431 adr = 0; in cfi_varsize_frob()
439 return 0; in cfi_varsize_frob()