Searched refs:memCfg (Results 1 – 4 of 4) sorted by relevance
/hal_infineon-3.6.0/mtb-pdl-cat1/drivers/source/ |
D | cy_smif_memslot.c | 109 cy_stc_smif_mem_config_t const * memCfg; in Cy_SMIF_MemInit() local 123 memCfg = extMemCfg[idx]; in Cy_SMIF_MemInit() 124 if (NULL != memCfg) in Cy_SMIF_MemInit() 127 CY_ASSERT_L3(CY_SMIF_SLAVE_SEL_VALID(memCfg->slaveSelect)); in Cy_SMIF_MemInit() 128 CY_ASSERT_L3(CY_SMIF_DATA_SEL_VALID(memCfg->dataSelect)); in Cy_SMIF_MemInit() 131 context->flags = memCfg->flags; in Cy_SMIF_MemInit() 135 if(memCfg->deviceCfg != NULL) in Cy_SMIF_MemInit() 137 device = Cy_SMIF_GetDeviceBySlot(base, memCfg->slaveSelect); in Cy_SMIF_MemInit() 144 (uint32_t)memCfg->dataSelect); in Cy_SMIF_MemInit() 155 if (0U != (memCfg->flags & CY_SMIF_FLAG_DETECT_SFDP)) in Cy_SMIF_MemInit() [all …]
|
D | cy_smif_sfdp.c | 2579 const cy_stc_smif_mem_config_t *memCfg, in Cy_SMIF_MemInitSfdpMode() argument 2585 CY_ASSERT_L1(NULL != memCfg); in Cy_SMIF_MemInitSfdpMode() 2586 CY_ASSERT_L1(NULL != memCfg->deviceCfg); in Cy_SMIF_MemInitSfdpMode() 2601 cy_stc_smif_mem_device_cfg_t *device = memCfg->deviceCfg; in Cy_SMIF_MemInitSfdpMode() 2602 cy_en_smif_slave_select_t slaveSelect = memCfg->slaveSelect; in Cy_SMIF_MemInitSfdpMode() 2603 cy_en_smif_data_select_t dataSelect = memCfg->dataSelect; in Cy_SMIF_MemInitSfdpMode() 2883 (0U != (memCfg->flags & CY_SMIF_FLAG_MEMORY_MAPPED)) && in Cy_SMIF_MemInitSfdpMode() 2887 CY_ASSERT_L3(MEM_ADDR_VALID( memCfg->baseAddress, memCfg->memMappedSize)); in Cy_SMIF_MemInitSfdpMode() 2888 CY_ASSERT_L3(MEM_MAPPED_SIZE_VALID( memCfg->memMappedSize)); in Cy_SMIF_MemInitSfdpMode() 2893 XipRegInit(device_base, memCfg); in Cy_SMIF_MemInitSfdpMode() [all …]
|
D | cy_smif_hb_flash.c | 109 …MIF_HyperBus_InitDevice(SMIF_Type *base, const cy_stc_smif_mem_config_t *memCfg, cy_stc_smif_conte… in Cy_SMIF_HyperBus_InitDevice() argument 111 cy_stc_smif_hbmem_device_config_t *config = memCfg->hbdeviceCfg; in Cy_SMIF_HyperBus_InitDevice() 112 SMIF_DEVICE_Type volatile * dev = Cy_SMIF_GetDeviceBySlot(base, memCfg->slaveSelect); in Cy_SMIF_HyperBus_InitDevice() 159 SMIF_DEVICE_ADDR(dev) = (SMIF_DEVICE_ADDR_ADDR_Msk & memCfg->baseAddress); in Cy_SMIF_HyperBus_InitDevice() 179 …_VAL2FLD(SMIF_DEVICE_CTL_MERGE_EN, ((bool)(memCfg->flags & CY_SMIF_FLAG_MERGE_ENABLE))? 1U : 0U) … in Cy_SMIF_HyperBus_InitDevice() 180 _VAL2FLD(SMIF_DEVICE_CTL_MERGE_TIMEOUT, (uint32_t)memCfg->mergeTimeout) | in Cy_SMIF_HyperBus_InitDevice()
|
/hal_infineon-3.6.0/mtb-pdl-cat1/drivers/include/ |
D | cy_smif_memslot.h | 941 const cy_stc_smif_mem_config_t *memCfg, 1002 …MIF_HyperBus_InitDevice(SMIF_Type *base, const cy_stc_smif_mem_config_t *memCfg, cy_stc_smif_conte… 1230 …IC_INLINE void XipRegInit(SMIF_DEVICE_Type volatile *dev, cy_stc_smif_mem_config_t const * memCfg); 1350 …TIC_INLINE void XipRegInit(SMIF_DEVICE_Type volatile *dev, cy_stc_smif_mem_config_t const * memCfg) in XipRegInit() argument 1352 cy_stc_smif_mem_device_cfg_t const * devCfg = memCfg->deviceCfg; in XipRegInit() 1356 SMIF_DEVICE_ADDR(dev) = (SMIF_DEVICE_ADDR_ADDR_Msk & memCfg->baseAddress); in XipRegInit() 1359 SMIF_DEVICE_MASK(dev)= (SMIF_DEVICE_MASK_MASK_Msk & (~(memCfg->memMappedSize) + 1UL)); in XipRegInit() 1363 … ((0UL != memCfg->dualQuadSlots)? SMIF_DEVICE_ADDR_CTL_DIV2_Msk: 0UL); in XipRegInit() 1365 if((memCfg->flags & CY_SMIF_FLAG_SMIF_REV_3) != 0UL) in XipRegInit() 1478 … ((0UL != memCfg->dualQuadSlots)? SMIF_DEVICE_ADDR_CTL_DIV2_Msk: 0UL); in XipRegInit()
|