Lines Matching refs:saa7164_readl
29 while ((saa7164_readl(reg) & 0x01) == 0) { in saa7164_dl_wait_ack()
45 while (saa7164_readl(reg) & 0x01) { in saa7164_dl_wait_clr()
101 reg = saa7164_readl(dlflag); in saa7164_downloadimage()
153 while (saa7164_readl(bleflag) != SAA_DEVICE_IMAGE_BOOTING) { in saa7164_downloadimage()
154 if (saa7164_readl(bleflag) & SAA_DEVICE_IMAGE_CORRUPT) { in saa7164_downloadimage()
160 if (saa7164_readl(bleflag) & SAA_DEVICE_MEMORY_CORRUPT) { in saa7164_downloadimage()
217 err_flags = saa7164_readl(SAA_BOOTLOADERERROR_FLAGS); in saa7164_downloadfirmware()
267 err_flags = saa7164_readl(SAA_BOOTLOADERERROR_FLAGS); in saa7164_downloadfirmware()
276 err_flags = saa7164_readl(SAA_SECONDSTAGEERROR_FLAGS); in saa7164_downloadfirmware()
329 saa7164_readl(SAA_SECONDSTAGEERROR_FLAGS); in saa7164_downloadfirmware()
334 saa7164_readl(SAA_BOOTLOADERERROR_FLAGS), in saa7164_downloadfirmware()
335 saa7164_readl(SAA_SECONDSTAGEERROR_FLAGS)); in saa7164_downloadfirmware()
342 if ((saa7164_readl(SAA_BOOTLOADERERROR_FLAGS) == in saa7164_downloadfirmware()
344 (saa7164_readl(SAA_SECONDSTAGEERROR_FLAGS) == in saa7164_downloadfirmware()
377 if ((saa7164_readl(SAA_BOOTLOADERERROR_FLAGS) == in saa7164_downloadfirmware()
379 (saa7164_readl(SAA_SECONDSTAGEERROR_FLAGS) == in saa7164_downloadfirmware()
453 saa7164_readl(SAA_DEVICE_2ND_VERSION); in saa7164_downloadfirmware()
456 saa7164_readl(SAA_BOOTLOADERERROR_FLAGS)); in saa7164_downloadfirmware()
458 saa7164_readl(SAA_DATAREADY_FLAG_ACK)); in saa7164_downloadfirmware()
463 if ((saa7164_readl(SAA_BOOTLOADERERROR_FLAGS) == in saa7164_downloadfirmware()
464 0x03) && (saa7164_readl(SAA_DATAREADY_FLAG_ACK) in saa7164_downloadfirmware()