Lines Matching refs:cmdRead
245 cy_stc_smif_mem_cmd_t* cmdRead);
247 cy_stc_smif_mem_cmd_t* cmdRead);
249 cy_stc_smif_mem_cmd_t* cmdRead);
251 cy_stc_smif_mem_cmd_t* cmdRead);
253 cy_stc_smif_mem_cmd_t* cmdRead);
257 cy_stc_smif_mem_cmd_t* cmdRead);
260 cy_stc_smif_mem_cmd_t* cmdRead);
681 cy_stc_smif_mem_cmd_t* cmdRead) in SfdpGetReadCmd_1_8_8() argument
684 cmdRead->command = sfdpBuffer[CY_SMIF_SFDP_BFPT_BYTE_41]; in SfdpGetReadCmd_1_8_8()
687 cmdRead->cmdPresence = CY_SMIF_PRESENT_1BYTE; in SfdpGetReadCmd_1_8_8()
690 cmdRead->cmdWidth = CY_SMIF_WIDTH_SINGLE; in SfdpGetReadCmd_1_8_8()
693 cmdRead->addrWidth = CY_SMIF_WIDTH_OCTAL; in SfdpGetReadCmd_1_8_8()
699 cmdRead->mode = CY_SMIF_NO_COMMAND_OR_MODE; in SfdpGetReadCmd_1_8_8()
703 cmdRead->mode = READ_ENHANCED_MODE_DISABLED; in SfdpGetReadCmd_1_8_8()
704 cmdRead->modeWidth = CY_SMIF_WIDTH_OCTAL; in SfdpGetReadCmd_1_8_8()
705 cmdRead->modePresence = CY_SMIF_PRESENT_1BYTE; in SfdpGetReadCmd_1_8_8()
709 cmdRead->dummyCycles = _FLD2VAL(CY_SMIF_SFDP_1_8_8_DUMMY_CYCLES, in SfdpGetReadCmd_1_8_8()
713 if(cmdRead->dummyCycles > 0U) in SfdpGetReadCmd_1_8_8()
715 cmdRead->dummyCyclesPresence = CY_SMIF_PRESENT_1BYTE; in SfdpGetReadCmd_1_8_8()
719 cmdRead->dataWidth = CY_SMIF_WIDTH_OCTAL; in SfdpGetReadCmd_1_8_8()
737 cy_stc_smif_mem_cmd_t* cmdRead) in SfdpGetReadCmd_1_1_8() argument
740 cmdRead->command = sfdpBuffer[CY_SMIF_SFDP_BFPT_BYTE_43]; in SfdpGetReadCmd_1_1_8()
743 cmdRead->cmdPresence = CY_SMIF_PRESENT_1BYTE; in SfdpGetReadCmd_1_1_8()
746 cmdRead->cmdWidth = CY_SMIF_WIDTH_SINGLE; in SfdpGetReadCmd_1_1_8()
749 cmdRead->addrWidth = CY_SMIF_WIDTH_OCTAL; in SfdpGetReadCmd_1_1_8()
755 cmdRead->mode = CY_SMIF_NO_COMMAND_OR_MODE; in SfdpGetReadCmd_1_1_8()
759 cmdRead->mode = READ_ENHANCED_MODE_DISABLED; in SfdpGetReadCmd_1_1_8()
760 cmdRead->modeWidth = CY_SMIF_WIDTH_OCTAL; in SfdpGetReadCmd_1_1_8()
761 cmdRead->modePresence = CY_SMIF_PRESENT_1BYTE; in SfdpGetReadCmd_1_1_8()
765 cmdRead->dummyCycles = _FLD2VAL(CY_SMIF_SFDP_1_1_8_DUMMY_CYCLES, in SfdpGetReadCmd_1_1_8()
769 if(cmdRead->dummyCycles > 0U) in SfdpGetReadCmd_1_1_8()
771 cmdRead->dummyCyclesPresence = CY_SMIF_PRESENT_1BYTE; in SfdpGetReadCmd_1_1_8()
775 cmdRead->dataWidth = CY_SMIF_WIDTH_OCTAL; in SfdpGetReadCmd_1_1_8()
798 cy_stc_smif_mem_cmd_t* cmdRead) in SfdpGetReadCmd_1S_4D_4D() argument
801 cmdRead->command = CY_SMIF_FAST_READ_4_BYTES_CMD_1S_4D_4D; in SfdpGetReadCmd_1S_4D_4D()
804 cmdRead->cmdRate = CY_SMIF_SDR; in SfdpGetReadCmd_1S_4D_4D()
807 cmdRead->cmdPresence = CY_SMIF_PRESENT_1BYTE; in SfdpGetReadCmd_1S_4D_4D()
810 cmdRead->cmdWidth = CY_SMIF_WIDTH_SINGLE; in SfdpGetReadCmd_1S_4D_4D()
813 cmdRead->addrWidth = CY_SMIF_WIDTH_QUAD; in SfdpGetReadCmd_1S_4D_4D()
814 cmdRead->addrRate = CY_SMIF_DDR; in SfdpGetReadCmd_1S_4D_4D()
820 cmdRead->mode = CY_SMIF_NO_COMMAND_OR_MODE; in SfdpGetReadCmd_1S_4D_4D()
824 cmdRead->mode = READ_ENHANCED_MODE_DISABLED; in SfdpGetReadCmd_1S_4D_4D()
825 cmdRead->modeWidth = CY_SMIF_WIDTH_QUAD; in SfdpGetReadCmd_1S_4D_4D()
826 cmdRead->modeRate = CY_SMIF_DDR; in SfdpGetReadCmd_1S_4D_4D()
827 cmdRead->modePresence = CY_SMIF_PRESENT_1BYTE; in SfdpGetReadCmd_1S_4D_4D()
831 cmdRead->dummyCycles = _FLD2VAL(CY_SMIF_SFDP_1_4_4_DUMMY_CYCLES, in SfdpGetReadCmd_1S_4D_4D()
835 cmdRead->dummyCyclesPresence = CY_SMIF_PRESENT_1BYTE; in SfdpGetReadCmd_1S_4D_4D()
838 cmdRead->dataWidth = CY_SMIF_WIDTH_QUAD; in SfdpGetReadCmd_1S_4D_4D()
841 cmdRead->dataRate = CY_SMIF_DDR; in SfdpGetReadCmd_1S_4D_4D()
862 cy_stc_smif_mem_cmd_t* cmdRead) in SfdpGetReadCmd_1_4_4() argument
865 cmdRead->command = sfdpBuffer[CY_SMIF_SFDP_BFPT_BYTE_09]; in SfdpGetReadCmd_1_4_4()
869 cmdRead->cmdPresence = CY_SMIF_PRESENT_1BYTE; in SfdpGetReadCmd_1_4_4()
873 cmdRead->cmdWidth = CY_SMIF_WIDTH_SINGLE; in SfdpGetReadCmd_1_4_4()
876 cmdRead->addrWidth = CY_SMIF_WIDTH_QUAD; in SfdpGetReadCmd_1_4_4()
882 cmdRead->mode = CY_SMIF_NO_COMMAND_OR_MODE; in SfdpGetReadCmd_1_4_4()
886 cmdRead->mode = READ_ENHANCED_MODE_DISABLED; in SfdpGetReadCmd_1_4_4()
887 cmdRead->modeWidth = CY_SMIF_WIDTH_QUAD; in SfdpGetReadCmd_1_4_4()
889 cmdRead->modePresence = CY_SMIF_PRESENT_1BYTE; in SfdpGetReadCmd_1_4_4()
894 cmdRead->dummyCycles = _FLD2VAL(CY_SMIF_SFDP_1_4_4_DUMMY_CYCLES, in SfdpGetReadCmd_1_4_4()
899 if(cmdRead->dummyCycles > 0UL) in SfdpGetReadCmd_1_4_4()
901 cmdRead->dummyCyclesPresence = CY_SMIF_PRESENT_1BYTE; in SfdpGetReadCmd_1_4_4()
906 cmdRead->dataWidth = CY_SMIF_WIDTH_QUAD; in SfdpGetReadCmd_1_4_4()
925 cy_stc_smif_mem_cmd_t* cmdRead) in SfdpGetReadCmd_1_1_4() argument
928 cmdRead->command = sfdpBuffer[CY_SMIF_SFDP_BFPT_BYTE_0B]; in SfdpGetReadCmd_1_1_4()
931 cmdRead->cmdWidth = CY_SMIF_WIDTH_SINGLE; in SfdpGetReadCmd_1_1_4()
934 cmdRead->addrWidth = CY_SMIF_WIDTH_SINGLE; in SfdpGetReadCmd_1_1_4()
940 cmdRead->mode = CY_SMIF_NO_COMMAND_OR_MODE; in SfdpGetReadCmd_1_1_4()
944 cmdRead->mode = READ_ENHANCED_MODE_DISABLED; in SfdpGetReadCmd_1_1_4()
945 cmdRead->modeWidth = CY_SMIF_WIDTH_SINGLE; in SfdpGetReadCmd_1_1_4()
947 cmdRead->modePresence = CY_SMIF_PRESENT_1BYTE; in SfdpGetReadCmd_1_1_4()
952 cmdRead->dummyCycles = _FLD2VAL(CY_SMIF_SFDP_1_1_4_DUMMY_CYCLES, in SfdpGetReadCmd_1_1_4()
957 if(cmdRead->dummyCycles > 0UL) in SfdpGetReadCmd_1_1_4()
959 cmdRead->dummyCyclesPresence = CY_SMIF_PRESENT_1BYTE; in SfdpGetReadCmd_1_1_4()
964 cmdRead->dataWidth = CY_SMIF_WIDTH_QUAD; in SfdpGetReadCmd_1_1_4()
983 cy_stc_smif_mem_cmd_t* cmdRead) in SfdpGetReadCmd_1_2_2() argument
986 cmdRead->command = sfdpBuffer[CY_SMIF_SFDP_BFPT_BYTE_0F]; in SfdpGetReadCmd_1_2_2()
989 cmdRead->cmdWidth = CY_SMIF_WIDTH_SINGLE; in SfdpGetReadCmd_1_2_2()
992 cmdRead->addrWidth = CY_SMIF_WIDTH_DUAL; in SfdpGetReadCmd_1_2_2()
998 cmdRead->mode = CY_SMIF_NO_COMMAND_OR_MODE; in SfdpGetReadCmd_1_2_2()
1002 cmdRead->mode = READ_ENHANCED_MODE_DISABLED; in SfdpGetReadCmd_1_2_2()
1003 cmdRead->modeWidth = CY_SMIF_WIDTH_DUAL; in SfdpGetReadCmd_1_2_2()
1005 cmdRead->modePresence = CY_SMIF_PRESENT_1BYTE; in SfdpGetReadCmd_1_2_2()
1010 cmdRead->dummyCycles = _FLD2VAL(CY_SMIF_SFDP_1_2_2_DUMMY_CYCLES, in SfdpGetReadCmd_1_2_2()
1015 if(cmdRead->dummyCycles > 0UL) in SfdpGetReadCmd_1_2_2()
1017 cmdRead->dummyCyclesPresence = CY_SMIF_PRESENT_1BYTE; in SfdpGetReadCmd_1_2_2()
1022 cmdRead->dataWidth = CY_SMIF_WIDTH_DUAL; in SfdpGetReadCmd_1_2_2()
1041 cy_stc_smif_mem_cmd_t* cmdRead) in SfdpGetReadCmd_1_1_2() argument
1044 cmdRead->command = sfdpBuffer[CY_SMIF_SFDP_BFPT_BYTE_0D]; in SfdpGetReadCmd_1_1_2()
1047 cmdRead->cmdWidth = CY_SMIF_WIDTH_SINGLE; in SfdpGetReadCmd_1_1_2()
1050 cmdRead->addrWidth = CY_SMIF_WIDTH_SINGLE; in SfdpGetReadCmd_1_1_2()
1056 cmdRead->mode = CY_SMIF_NO_COMMAND_OR_MODE; in SfdpGetReadCmd_1_1_2()
1060 cmdRead->mode = READ_ENHANCED_MODE_DISABLED; in SfdpGetReadCmd_1_1_2()
1061 cmdRead->modeWidth = CY_SMIF_WIDTH_SINGLE; in SfdpGetReadCmd_1_1_2()
1063 cmdRead->modePresence = CY_SMIF_PRESENT_1BYTE; in SfdpGetReadCmd_1_1_2()
1068 cmdRead->dummyCycles = _FLD2VAL(CY_SMIF_SFDP_1_1_2_DUMMY_CYCLES, in SfdpGetReadCmd_1_1_2()
1073 if(cmdRead->dummyCycles > 0UL) in SfdpGetReadCmd_1_1_2()
1075 cmdRead->dummyCyclesPresence = CY_SMIF_PRESENT_1BYTE; in SfdpGetReadCmd_1_1_2()
1080 cmdRead->dataWidth = CY_SMIF_WIDTH_DUAL; in SfdpGetReadCmd_1_1_2()
1099 cy_stc_smif_mem_cmd_t* cmdRead) in SfdpGetReadCmd_1_1_1() argument
1104 cmdRead->command = CY_SMIF_SINGLE_READ_CMD; in SfdpGetReadCmd_1_1_1()
1107 cmdRead->cmdWidth = CY_SMIF_WIDTH_SINGLE; in SfdpGetReadCmd_1_1_1()
1110 cmdRead->cmdPresence = CY_SMIF_PRESENT_1BYTE; in SfdpGetReadCmd_1_1_1()
1114 cmdRead->addrWidth = CY_SMIF_WIDTH_SINGLE; in SfdpGetReadCmd_1_1_1()
1117 cmdRead->mode = CY_SMIF_NO_COMMAND_OR_MODE; in SfdpGetReadCmd_1_1_1()
1120 cmdRead->dummyCycles = 0UL; in SfdpGetReadCmd_1_1_1()
1123 cmdRead->dataWidth = CY_SMIF_WIDTH_SINGLE; in SfdpGetReadCmd_1_1_1()
1151 cy_stc_smif_mem_cmd_t* cmdRead) in SfdpGetReadCmdParams() argument
1168 SfdpGetReadCmd_1S_4D_4D(sfdpBuffer, cmdRead); in SfdpGetReadCmdParams()
1173 SfdpGetReadCmd_1_4_4(sfdpBuffer, cmdRead); in SfdpGetReadCmdParams()
1177 SfdpGetReadCmd_1_4_4(sfdpBuffer, cmdRead); in SfdpGetReadCmdParams()
1184 SfdpGetReadCmd_1_1_4(sfdpBuffer, cmdRead); in SfdpGetReadCmdParams()
1200 SfdpGetReadCmd_1_2_2(sfdpBuffer, cmdRead); in SfdpGetReadCmdParams()
1209 SfdpGetReadCmd_1_1_2(sfdpBuffer, cmdRead); in SfdpGetReadCmdParams()
1214 SfdpGetReadCmd_1_1_1(sfdpBuffer, cmdRead); in SfdpGetReadCmdParams()
1304 cy_stc_smif_mem_cmd_t* cmdRead) in SfdpGetReadFourBytesCmd() argument
1318 cmdRead->command = CY_SMIF_FAST_READ_4_BYTES_CMD_1S_4S_4S; in SfdpGetReadFourBytesCmd()
1324 cmdRead->command = CY_SMIF_FAST_READ_4_BYTES_CMD_1S_1S_4S; in SfdpGetReadFourBytesCmd()
1330 cmdRead->command = CY_SMIF_FAST_READ_4_BYTES_CMD_1S_2S_2S; in SfdpGetReadFourBytesCmd()
1336 cmdRead->command = CY_SMIF_FAST_READ_4_BYTES_CMD_1S_1S_2S; in SfdpGetReadFourBytesCmd()
1342 cmdRead->command = CY_SMIF_FAST_READ_4_BYTES_CMD_1S_1S_1S; in SfdpGetReadFourBytesCmd()
2281 cy_stc_smif_mem_cmd_t *cmdRead = device->readCmd; in GetOctalSDRParams() local
2288 SfdpGetReadCmd_1_8_8(sfdpBuffer, cmdRead); in GetOctalSDRParams()
2294 SfdpGetReadCmd_1_1_8(sfdpBuffer, cmdRead); in GetOctalSDRParams()
2356 cy_stc_smif_mem_cmd_t *cmdRead = device->readCmd; in GetOctalDDRParams() local
2375 cmdRead->command = xSPiProfile1AddrBuffer[XSPI_PROFILE_1_TABLE_BYTE_1]; in GetOctalDDRParams()
2376 cmdRead->commandH = cmdRead->command; in GetOctalDDRParams()
2379 cmdRead->cmdPresence = CY_SMIF_PRESENT_2BYTE; in GetOctalDDRParams()
2382 cmdRead->cmdWidth = CY_SMIF_WIDTH_OCTAL; in GetOctalDDRParams()
2385 cmdRead->cmdRate = CY_SMIF_DDR; in GetOctalDDRParams()
2386 cmdRead->dataRate = CY_SMIF_DDR; in GetOctalDDRParams()
2387 cmdRead->modeRate = CY_SMIF_DDR; in GetOctalDDRParams()
2388 cmdRead->addrRate = CY_SMIF_DDR; in GetOctalDDRParams()
2391 cmdRead->addrWidth = CY_SMIF_WIDTH_OCTAL; in GetOctalDDRParams()
2394 cmdRead->mode = CY_SMIF_NO_COMMAND_OR_MODE; in GetOctalDDRParams()
2419 …cmdRead->dummyCycles = (uint32_t) ((xSPiProfile1AddrBuffer[16] & 0x80U) | ((xSPiProfile1AddrBuffer… in GetOctalDDRParams()
2430 cmdRead->dummyCycles = (uint32_t) (xSPiProfile1AddrBuffer[17] & 0x3EU); in GetOctalDDRParams()
2440 cmdRead->dummyCycles = (uint32_t) xSPiProfile1AddrBuffer[19] & 0xE0U; in GetOctalDDRParams()
2450 …cmdRead->dummyCycles = (uint32_t) ((xSPiProfile1AddrBuffer[12] & 0x80U) | ((xSPiProfile1AddrBuffer… in GetOctalDDRParams()
2478 cmdRead->dummyCycles = 8U; /* Default value */ in GetOctalDDRParams()
2482 if(cmdRead->dummyCycles > 0UL) in GetOctalDDRParams()
2484 cmdRead->dummyCyclesPresence = CY_SMIF_PRESENT_2BYTE; in GetOctalDDRParams()
2488 cmdRead->dataWidth = CY_SMIF_WIDTH_OCTAL; in GetOctalDDRParams()
2721 cy_stc_smif_mem_cmd_t *cmdRead = device->readCmd; in Cy_SMIF_MemInitSfdpMode() local
2754 pMode = SfdpGetReadCmdParams(sfdpBuffer, dataSelect, maxdataWidth, cmdRead); in Cy_SMIF_MemInitSfdpMode()
2819 SfdpGetReadFourBytesCmd(fourByteAddressBuffer, pMode, cmdRead); in Cy_SMIF_MemInitSfdpMode()