Lines Matching refs:sys_write32

120 	sys_write32(THREAD_VAL(thread), (base_address + CMD_STATUS_PTR_ADDR));  in cdns_nand_get_thrd_status()
167 sys_write32(SET_FEAT_ADDR(feat_addr), (base_address + CDNS_CMD_REG1)); in cdns_nand_pio_set_features()
168 sys_write32(feat_val, (base_address + CDNS_CMD_REG2)); in cdns_nand_pio_set_features()
173 sys_write32(status, (base_address + CDNS_CMD_REG0)); in cdns_nand_pio_set_features()
229 sys_write32(PHY_CTRL_REG_SDR, (base_address + PHY_CTRL_REG_OFFSET)); in cdns_nand_set_opr_mode()
230 sys_write32(PHY_TSEL_REG_SDR, (base_address + PHY_TSEL_REG_OFFSET)); in cdns_nand_set_opr_mode()
231 sys_write32(PHY_DQ_TIMING_REG_SDR, (base_address + PHY_DQ_TIMING_REG_OFFSET)); in cdns_nand_set_opr_mode()
232 sys_write32(PHY_DQS_TIMING_REG_SDR, (base_address + PHY_DQS_TIMING_REG_OFFSET)); in cdns_nand_set_opr_mode()
233 sys_write32(PHY_GATE_LPBK_CTRL_REG_SDR, (base_address + PHY_GATE_LPBK_OFFSET)); in cdns_nand_set_opr_mode()
234 sys_write32(PHY_DLL_MASTER_CTRL_REG_SDR, (base_address + PHY_DLL_MASTER_OFFSET)); in cdns_nand_set_opr_mode()
237 sys_write32((CNF_ASYNC_TIMINGS_TRH) | (CNF_ASYNC_TIMINGS_TRP) | in cdns_nand_set_opr_mode()
251 sys_write32(PHY_CTRL_REG_DDR, (base_address + PHY_CTRL_REG_OFFSET)); in cdns_nand_set_opr_mode()
252 sys_write32(PHY_TSEL_REG_DDR, (base_address + PHY_TSEL_REG_OFFSET)); in cdns_nand_set_opr_mode()
253 sys_write32(PHY_DQ_TIMING_REG_DDR, (base_address + PHY_DQ_TIMING_REG_OFFSET)); in cdns_nand_set_opr_mode()
254 sys_write32(PHY_DQS_TIMING_REG_DDR, (base_address + PHY_DQS_TIMING_REG_OFFSET)); in cdns_nand_set_opr_mode()
255 sys_write32(PHY_GATE_LPBK_CTRL_REG_DDR, (base_address + PHY_GATE_LPBK_OFFSET)); in cdns_nand_set_opr_mode()
256 sys_write32(PHY_DLL_MASTER_CTRL_REG_DDR, (base_address + PHY_DLL_MASTER_OFFSET)); in cdns_nand_set_opr_mode()
334 sys_write32(ENABLE, CNF_CTRLCFG(base_address, TRANS_CFG0)); in cdns_nand_transfer_config()
337 sys_write32(DISABLE, CNF_CTRLCFG(base_address, MULTIPLANE_CFG)); in cdns_nand_transfer_config()
338 sys_write32(DISABLE, CNF_CTRLCFG(base_address, CACHE_CFG)); in cdns_nand_transfer_config()
341 sys_write32(CLEAR_ALL_INTERRUPT, (base_address + INTR_STATUS)); in cdns_nand_transfer_config()
394 sys_write32(DEV_STAT_DEF_VALUE, CNF_CTRLCFG(base_address, DEV_STAT)); in cdns_nand_init()
416 sys_write32((F_BURST_SEL_SET(NF_TDEF_BURST_SEL)) | (BIT(F_OTE)), in cdns_nand_init()
420 sys_write32(((NF_FIFO_TRIGG_LVL_SET(PRE_FETCH_VALUE)) | in cdns_nand_init()
495 sys_write32(NF_TDEF_TRD_NUM, (params->nand_base + CMD_STATUS_PTR_ADDR)); in cdns_transfer_complete()
544 sys_write32(desc_address & U32_MASK_VAL, (base_address + CDNS_CMD_REG2)); in cdns_nand_send()
545 sys_write32((desc_address >> 32) & U32_MASK_VAL, (base_address + CDNS_CMD_REG3)); in cdns_nand_send()
551 sys_write32(status, (base_address + CDNS_CMD_REG0)); in cdns_nand_send()
708 sys_write32(row_address, (base_address + CDNS_CMD_REG1)); in cdns_nand_pio_erase()
710 sys_write32((NF_CMD4_BANK_SET(bank)), (base_address + CDNS_CMD_REG4)); in cdns_nand_pio_erase()
717 sys_write32(status, (base_address + CDNS_CMD_REG0)); in cdns_nand_pio_erase()
755 sys_write32(row_address, (base_address + CDNS_CMD_REG1)); in cdns_nand_pio_prepare()
756 sys_write32(NF_CMD4_BANK_SET(bank), (base_address + CDNS_CMD_REG4)); in cdns_nand_pio_prepare()
757 sys_write32(buf_addr & U32_MASK_VAL, (base_address + CDNS_CMD_REG2)); in cdns_nand_pio_prepare()
758 sys_write32((buf_addr >> 32) & U32_MASK_VAL, (base_address + CDNS_CMD_REG3)); in cdns_nand_pio_prepare()
767 sys_write32(status, (base_address + CDNS_CMD_REG0)); in cdns_nand_pio_prepare()
889 sys_write32(mini_ctrl_cmd_l, (base_address + CDNS_CMD_REG2)); in cdns_generic_send_cmd()
890 sys_write32(mini_ctrl_cmd_h, (base_address + CDNS_CMD_REG3)); in cdns_generic_send_cmd()
897 sys_write32(status, (base_address + CDNS_CMD_REG0)); in cdns_generic_send_cmd()
1469 sys_write32(BIT((thread_num - 1)), params->nand_base + THREAD_INTERRUPT_STATUS); in cdns_nand_irq_handler_ll()