Lines Matching refs:sys_read32

19 	if (!WAIT_FOR(CNF_GET_CTRL_BUSY(sys_read32(CNF_CMDREG(base_address, CTRL_STATUS))) == 0U,  in cdns_nand_wait_idle()
65 reg_value = sys_read32(CNF_CTRLPARAM(base_address, VERSION)); in cdns_nand_device_info()
74 reg_value = sys_read32(CNF_CTRLPARAM(base_address, DEV_PARAMS0)); in cdns_nand_device_info()
85 reg_value = sys_read32(CNF_CTRLCFG(base_address, DEV_LAYOUT)); in cdns_nand_device_info()
89 reg_value = sys_read32(CNF_CTRLPARAM(base_address, DEV_AREA)); in cdns_nand_device_info()
94 params->nblocks_per_lun = sys_read32(CNF_CTRLPARAM(base_address, DEV_BLOCKS_PLUN)); in cdns_nand_device_info()
121 status = sys_read32((base_address + CMD_STAT_CMD_STATUS)); in cdns_nand_get_thrd_status()
135 if (!WAIT_FOR((sys_read32((base_address) + THR_STATUS) & BIT(thread)) == 0U, in cdns_wait_for_thread()
225 sys_read32(CNF_CTRLPARAM(base_address, ONFI_TIMING_0))); in cdns_nand_set_opr_mode()
248 sys_read32(CNF_CTRLPARAM(base_address, ONFI_TIMING_0))); in cdns_nand_set_opr_mode()
270 device_type = CNF_GET_DEV_TYPE(sys_read32(CNF_CTRLPARAM(base_address, DEV_PARAMS0))); in cdns_nand_set_opr_mode()
358 if (!WAIT_FOR(CNF_GET_INIT_COMP(sys_read32(CNF_CMDREG(base_address, CTRL_STATUS))) != 0U, in cdns_nand_init()
364 if (CNF_GET_INIT_FAIL(sys_read32(CNF_CMDREG(base_address, CTRL_STATUS))) != 0) { in cdns_nand_init()
375 reg_value_read = sys_read32(CNF_CTRLPARAM(base_address, FEATURE)); in cdns_nand_init()
496 status = sys_read32((params->nand_base + CMD_STAT_CMD_STATUS)); in cdns_transfer_complete()
934 if (!WAIT_FOR(((sys_read32(base_address + INTR_STATUS) & BIT(SDMA_TRIGG)) != 0), in cdns_wait_sdma()
1464 status = sys_read32(params->nand_base + THREAD_INTERRUPT_STATUS); in cdns_nand_irq_handler_ll()