Lines Matching refs:port_number
52 int port_number= CYHAL_GET_PORT(CYBSP_QSPI_SS); in cybsp_smif_disable() local
54 SMIF_PORT_SEL0 = ((HSIOM_PRT_Type*)&HSIOM->PRT[port_number])->PORT_SEL0; in cybsp_smif_disable()
55 SMIF_PORT_SEL1 = ((HSIOM_PRT_Type*)&HSIOM->PRT[port_number])->PORT_SEL1; in cybsp_smif_disable()
56 SMIF_CFG = ((GPIO_PRT_Type*)&GPIO->PRT[port_number])->CFG; in cybsp_smif_disable()
57 SMIF_OUT = ((GPIO_PRT_Type*)&GPIO->PRT[port_number])->OUT; in cybsp_smif_disable()
58 ((HSIOM_PRT_Type*)&HSIOM->PRT[port_number])->PORT_SEL0 = 0x00; in cybsp_smif_disable()
59 ((HSIOM_PRT_Type*)&HSIOM->PRT[port_number])->PORT_SEL1 = 0x00; in cybsp_smif_disable()
60 ((GPIO_PRT_Type*)&GPIO->PRT[port_number])->CFG = 0x600006; in cybsp_smif_disable()
61 ((GPIO_PRT_Type*)&GPIO->PRT[port_number])->OUT = 0x1; in cybsp_smif_disable()
79 int port_number= CYHAL_GET_PORT(CYBSP_QSPI_SS); in cybsp_smif_enable() local
81 ((HSIOM_PRT_Type*)&HSIOM->PRT[port_number])->PORT_SEL0 = SMIF_PORT_SEL0; in cybsp_smif_enable()
82 ((HSIOM_PRT_Type*)&HSIOM->PRT[port_number])->PORT_SEL1 = SMIF_PORT_SEL1; in cybsp_smif_enable()
83 ((GPIO_PRT_Type*)&GPIO->PRT[port_number])->CFG = SMIF_CFG; in cybsp_smif_enable()
84 ((GPIO_PRT_Type*)&GPIO->PRT[port_number])->OUT = SMIF_OUT; in cybsp_smif_enable()