Lines Matching refs:cmd_regs

244 				      u32 cmd_regs[6])  in cdns_xspi_trigger_command()
246 writel(cmd_regs[5], cdns_xspi->iobase + CDNS_XSPI_CMD_REG_5); in cdns_xspi_trigger_command()
247 writel(cmd_regs[4], cdns_xspi->iobase + CDNS_XSPI_CMD_REG_4); in cdns_xspi_trigger_command()
248 writel(cmd_regs[3], cdns_xspi->iobase + CDNS_XSPI_CMD_REG_3); in cdns_xspi_trigger_command()
249 writel(cmd_regs[2], cdns_xspi->iobase + CDNS_XSPI_CMD_REG_2); in cdns_xspi_trigger_command()
250 writel(cmd_regs[1], cdns_xspi->iobase + CDNS_XSPI_CMD_REG_1); in cdns_xspi_trigger_command()
251 writel(cmd_regs[0], cdns_xspi->iobase + CDNS_XSPI_CMD_REG_0); in cdns_xspi_trigger_command()
351 u32 cmd_regs[6]; in cdns_xspi_send_stig_command() local
365 memset(cmd_regs, 0, sizeof(cmd_regs)); in cdns_xspi_send_stig_command()
366 cmd_regs[1] = CDNS_XSPI_CMD_FLD_P1_INSTR_CMD_1(op, data_phase); in cdns_xspi_send_stig_command()
367 cmd_regs[2] = CDNS_XSPI_CMD_FLD_P1_INSTR_CMD_2(op); in cdns_xspi_send_stig_command()
368 cmd_regs[3] = CDNS_XSPI_CMD_FLD_P1_INSTR_CMD_3(op); in cdns_xspi_send_stig_command()
369 cmd_regs[4] = CDNS_XSPI_CMD_FLD_P1_INSTR_CMD_4(op, in cdns_xspi_send_stig_command()
372 cdns_xspi_trigger_command(cdns_xspi, cmd_regs); in cdns_xspi_send_stig_command()
375 cmd_regs[0] = CDNS_XSPI_STIG_DONE_FLAG; in cdns_xspi_send_stig_command()
376 cmd_regs[1] = CDNS_XSPI_CMD_FLD_DSEQ_CMD_1(op); in cdns_xspi_send_stig_command()
377 cmd_regs[2] = CDNS_XSPI_CMD_FLD_DSEQ_CMD_2(op); in cdns_xspi_send_stig_command()
378 cmd_regs[3] = CDNS_XSPI_CMD_FLD_DSEQ_CMD_3(op); in cdns_xspi_send_stig_command()
379 cmd_regs[4] = CDNS_XSPI_CMD_FLD_DSEQ_CMD_4(op, in cdns_xspi_send_stig_command()
385 cdns_xspi_trigger_command(cdns_xspi, cmd_regs); in cdns_xspi_send_stig_command()