/trusted-firmware-m-3.4.0/platform/ext/target/nxp/common/Native_Driver/drivers/ |
D | fsl_gpio.c | 37 static void GPIO_EnablePortClock(GPIO_Type *base, uint32_t port); 42 static void GPIO_EnablePortClock(GPIO_Type *base, uint32_t port) in GPIO_EnablePortClock() argument 45 assert(port < ARRAY_SIZE(s_gpioClockName)); in GPIO_EnablePortClock() 48 CLOCK_EnableClock(s_gpioClockName[port]); in GPIO_EnablePortClock() 60 void GPIO_PortInit(GPIO_Type *base, uint32_t port) in GPIO_PortInit() argument 62 GPIO_EnablePortClock(base, port); in GPIO_PortInit() 66 RESET_PeripheralReset(s_gpioResets[port]); in GPIO_PortInit() 97 void GPIO_PinInit(GPIO_Type *base, uint32_t port, uint32_t pin, const gpio_pin_config_t *config) in GPIO_PinInit() argument 99 GPIO_EnablePortClock(base, port); in GPIO_PinInit() 104 base->DIRCLR[port] = 1UL << pin; in GPIO_PinInit() [all …]
|
D | fsl_gpio.h | 107 void GPIO_PortInit(GPIO_Type *base, uint32_t port); 136 void GPIO_PinInit(GPIO_Type *base, uint32_t port, uint32_t pin, const gpio_pin_config_t *config); 153 static inline void GPIO_PinWrite(GPIO_Type *base, uint32_t port, uint32_t pin, uint8_t output) in GPIO_PinWrite() argument 155 base->B[port][pin] = output; in GPIO_PinWrite() 172 static inline uint32_t GPIO_PinRead(GPIO_Type *base, uint32_t port, uint32_t pin) in GPIO_PinRead() argument 174 return (uint32_t)base->B[port][pin]; in GPIO_PinRead() 186 static inline void GPIO_PortSet(GPIO_Type *base, uint32_t port, uint32_t mask) in GPIO_PortSet() argument 188 base->SET[port] = mask; in GPIO_PortSet() 198 static inline void GPIO_PortClear(GPIO_Type *base, uint32_t port, uint32_t mask) in GPIO_PortClear() argument 200 base->CLR[port] = mask; in GPIO_PortClear() [all …]
|
D | fsl_iocon.h | 41 uint8_t port; /* Pin port */ member 182 __STATIC_INLINE void IOCON_PinMuxSet(IOCON_Type *base, uint8_t port, uint8_t pin, uint32_t modefunc) 184 base->PIO[port][pin] = modefunc; 204 IOCON_PinMuxSet(base, pinArray[i].port, pinArray[i].pin, pinArray[i].modefunc); in IOCON_SetPinMuxing()
|
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/ |
D | gpio.c | 45 void GPIO_SetMode(GPIO_T *port, uint32_t u32PinMask, uint32_t u32Mode) in GPIO_SetMode() argument 53 port->MODE = (port->MODE & ~(0x3ul << (u32Idx << 1))) | (u32Mode << (u32Idx << 1)); in GPIO_SetMode() 80 void GPIO_EnableInt(GPIO_T *port, uint32_t u32Pin, uint32_t u32IntAttribs) in GPIO_EnableInt() argument 83 … port->INTTYPE = (port->INTTYPE & ~(1ul << u32Pin)) | (((u32IntAttribs >> 24) & 0xFFUL) << u32Pin); in GPIO_EnableInt() 86 …port->INTEN = (port->INTEN & ~(0x00010001ul << u32Pin)) | ((u32IntAttribs & 0xFFFFFFUL) << u32Pin); in GPIO_EnableInt() 107 void GPIO_DisableInt(GPIO_T *port, uint32_t u32Pin) in GPIO_DisableInt() argument 110 port->INTTYPE &= ~(1UL << u32Pin); in GPIO_DisableInt() 113 port->INTEN &= ~((0x00010001UL) << u32Pin); in GPIO_DisableInt() 137 void GPIO_SetSlewCtl(GPIO_T *port, uint32_t u32PinMask, uint32_t u32Mode) in GPIO_SetSlewCtl() argument 145 … port->SLEWCTL = (port->SLEWCTL & ~(0x3ul << (u32Idx << 1))) | (u32Mode << (u32Idx << 1)); in GPIO_SetSlewCtl() [all …]
|
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/ |
D | gpio.c | 45 void GPIO_SetMode(GPIO_T *port, uint32_t u32PinMask, uint32_t u32Mode) in GPIO_SetMode() argument 53 port->MODE = (port->MODE & ~(0x3ul << (u32Idx << 1))) | (u32Mode << (u32Idx << 1)); in GPIO_SetMode() 80 void GPIO_EnableInt(GPIO_T *port, uint32_t u32Pin, uint32_t u32IntAttribs) in GPIO_EnableInt() argument 83 … port->INTTYPE = (port->INTTYPE & ~(1ul << u32Pin)) | (((u32IntAttribs >> 24) & 0xFFUL) << u32Pin); in GPIO_EnableInt() 86 …port->INTEN = (port->INTEN & ~(0x00010001ul << u32Pin)) | ((u32IntAttribs & 0xFFFFFFUL) << u32Pin); in GPIO_EnableInt() 106 void GPIO_DisableInt(GPIO_T *port, uint32_t u32Pin) in GPIO_DisableInt() argument 109 port->INTTYPE &= ~(1UL << u32Pin); in GPIO_DisableInt() 112 port->INTEN &= ~((0x00010001UL) << u32Pin); in GPIO_DisableInt() 135 void GPIO_SetSlewCtl(GPIO_T *port, uint32_t u32PinMask, uint32_t u32Mode) in GPIO_SetSlewCtl() argument 143 … port->SLEWCTL = (port->SLEWCTL & ~(0x3ul << (u32Idx << 1))) | (u32Mode << (u32Idx << 1)); in GPIO_SetSlewCtl() [all …]
|
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/inc/ |
D | gpio.h | 117 # define PA_PIN_DATA(port, pin) (*((volatile uint32_t *)((GPIO_PIN_DATA_BASE+NS_OFFSET+(0x40*(po… argument 119 # define PA_PIN_DATA(port, pin) (*((volatile uint32_t *)((GPIO_PIN_DATA_BASE+(0x40*(port))) + ((… 139 # define PB_PIN_DATA(port, pin) (*((volatile uint32_t *)((GPIO_PIN_DATA_BASE+NS_OFFSET+(0x40*(po… argument 141 # define PB_PIN_DATA(port, pin) (*((volatile uint32_t *)((GPIO_PIN_DATA_BASE+(0x40*(port))) + ((… 161 # define PC_PIN_DATA(port, pin) (*((volatile uint32_t *)((GPIO_PIN_DATA_BASE+NS_OFFSET+(0x40*(po… argument 163 # define PC_PIN_DATA(port, pin) (*((volatile uint32_t *)((GPIO_PIN_DATA_BASE+(0x40*(port))) + ((… 181 # define PD_PIN_DATA(port, pin) (*((volatile uint32_t *)((GPIO_PIN_DATA_BASE+NS_OFFSET+(0x40*(po… argument 183 # define PD_PIN_DATA(port, pin) (*((volatile uint32_t *)((GPIO_PIN_DATA_BASE+(0x40*(port))) + ((… 202 # define PE_PIN_DATA(port, pin) (*((volatile uint32_t *)((GPIO_PIN_DATA_BASE+NS_OFFSET+(0x40*(po… argument 204 # define PE_PIN_DATA(port, pin) (*((volatile uint32_t *)((GPIO_PIN_DATA_BASE+(0x40*(port))) + ((… [all …]
|
D | scu.h | 170 #define SCU_GET_IONSSET(port) ((SCU->IONSSET&(port))?1:0) argument
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/tests/TestAL/pal/linux/ |
D | test_pal_socket.c | 62 uint32_t Test_PalConnect(tp_socket s, const uint8_t *addr, uint32_t port) in Test_PalConnect() argument 70 sprintf(portstr, "%d", port); in Test_PalConnect() 90 uint32_t Test_PalBind(tp_socket s, uint32_t port) in Test_PalBind() argument 100 saddr.sin_port = htons(port); in Test_PalBind() 121 uint32_t *port) in Test_PalAccept() argument 139 *port = ntohs(si.sin_port); in Test_PalAccept() 169 size_t len, const uint8_t *addr, uint32_t port) in Test_PalSendTo() argument 178 xDestAddr.sin_port = htons(port); in Test_PalSendTo() 189 size_t len, uint8_t *addr, uint32_t *port) in Test_PalRecvFrom() argument 210 *port = ntohs(si.sin_port); in Test_PalRecvFrom()
|
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/inc/ |
D | gpio.h | 658 #define GPIO_PIN_DATA_S(port, pin) (*((volatile uint32_t *)((GPIO_PIN_DATA_BASE+(0x40*(port))) +… argument 767 #define GPIO_PIN_DATA_NS(port, pin) (*((volatile uint32_t *)((GPIO_PIN_DATA_BASE+NS_OFFSET+(0x40… argument 899 #define GPIO_CLR_INT_FLAG(port, u32PinMask) ((port)->INTSRC = (u32PinMask)) argument 917 #define GPIO_DISABLE_DEBOUNCE(port, u32PinMask) ((port)->DBEN &= ~(u32PinMask)) argument 934 #define GPIO_ENABLE_DEBOUNCE(port, u32PinMask) ((port)->DBEN |= (u32PinMask)) argument 952 #define GPIO_DISABLE_DIGITAL_PATH(port, u32PinMask) ((port)->DINOFF |= ((u32PinMask)<<16)) argument 970 #define GPIO_ENABLE_DIGITAL_PATH(port, u32PinMask) ((port)->DINOFF &= ~((u32PinMask)<<16)) argument 988 #define GPIO_DISABLE_DOUT_MASK(port, u32PinMask) ((port)->DATMSK &= ~(u32PinMask)) argument 1006 #define GPIO_ENABLE_DOUT_MASK(port, u32PinMask) ((port)->DATMSK |= (u32PinMask)) argument 1025 #define GPIO_GET_INT_FLAG(port, u32PinMask) ((port)->INTSRC & (u32PinMask)) argument [all …]
|
D | scu.h | 145 #define SCU_SET_IONSSET(port, mask) (SCU->IONSSET[((uint32_t)(port)-(GPIOA_BASE))/0x40] = (mask)) argument 159 #define SCU_GET_IONSSET(port) (SCU->IONSSET[((uint32_t)(port) - (GPIOA_BASE))/0x40]) argument
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/tests/TestAL/pal/no_os/ |
D | test_pal_socket.c | 36 uint32_t Test_PalConnect(tp_socket s, const uint8_t *addr, uint32_t port) in Test_PalConnect() argument 43 uint32_t Test_PalBind(tp_socket s, uint32_t port) in Test_PalBind() argument 56 uint32_t *port) in Test_PalAccept() argument 76 size_t len, const uint8_t *addr, uint32_t port) in Test_PalSendTo() argument 83 size_t len, uint8_t *addr, uint32_t *port) in Test_PalRecvFrom() argument
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/tests/TestAL/pal/freertos/ |
D | test_pal_socket.c | 88 uint32_t Test_PalConnect(tp_socket s, const uint8_t *addr, uint32_t port) in Test_PalConnect() argument 95 xRemoteAddress.sin_port = FreeRTOS_htons(port); in Test_PalConnect() 107 uint32_t Test_PalBind(tp_socket s, uint32_t port) in Test_PalBind() argument 113 xBindAddress.sin_port = FreeRTOS_htons((uint16_t)port); in Test_PalBind() 133 uint32_t *port) in Test_PalAccept() argument 152 *port = FreeRTOS_ntohs(xSourceAddress.sin_port); in Test_PalAccept() 181 size_t len, const uint8_t *addr, uint32_t port) in Test_PalSendTo() argument 189 xDestinationAddress.sin_port = FreeRTOS_htons(port); in Test_PalSendTo() 201 size_t len, uint8_t *addr, uint32_t *port) in Test_PalRecvFrom() argument 219 *port = FreeRTOS_ntohs(xSourceAddress.sin_port); in Test_PalRecvFrom()
|
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/tests/TestAL/pal/include/ |
D | test_pal_socket.h | 102 uint32_t Test_PalConnect(tp_socket s, const uint8_t *addr, uint32_t port); 116 uint32_t Test_PalBind(tp_socket s, uint32_t port); 147 uint32_t *port); 192 size_t len, const uint8_t *addr, uint32_t port); 210 size_t len, uint8_t *addr, uint32_t *port);
|
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Device/Nuvoton/M2351/Include/ |
D | M2351.h | 39 #define outpw(port,value) (*((volatile unsigned int *)(port))=(value)) argument 40 #define inpw(port) ((*((volatile unsigned int *)(port)))) argument 41 #define outpb(port,value) (*((volatile unsigned char *)(port))=(value)) argument 42 #define inpb(port) ((*((volatile unsigned char *)(port)))) argument 43 #define outps(port,value) (*((volatile unsigned short *)(port))=(value)) argument 44 #define inps(port) ((*((volatile unsigned short *)(port)))) argument 46 #define outp32(port,value) (*((volatile unsigned int *)(port))=(value)) argument 47 #define inp32(port) ((*((volatile unsigned int *)(port)))) argument 48 #define outp8(port,value) (*((volatile unsigned char *)(port))=(value)) argument 49 #define inp8(port) ((*((volatile unsigned char *)(port)))) argument [all …]
|
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Device/Nuvoton/M2354/Include/ |
D | M2354.h | 38 #define outpw(port,value) (*((volatile unsigned int *)(port))=(value)) argument 39 #define inpw(port) ((*((volatile unsigned int *)(port)))) argument 40 #define outpb(port,value) (*((volatile unsigned char *)(port))=(value)) argument 41 #define inpb(port) ((*((volatile unsigned char *)(port)))) argument 42 #define outps(port,value) (*((volatile unsigned short *)(port))=(value)) argument 43 #define inps(port) ((*((volatile unsigned short *)(port)))) argument 45 #define outp32(port,value) (*((volatile unsigned int *)(port))=(value)) argument 46 #define inp32(port) ((*((volatile unsigned int *)(port)))) argument 47 #define outp8(port,value) (*((volatile unsigned char *)(port))=(value)) argument 48 #define inp8(port) ((*((volatile unsigned char *)(port)))) argument [all …]
|
/trusted-firmware-m-3.4.0/ |
D | .gitreview | 3 port=29418
|
/trusted-firmware-m-3.4.0/docs/platform/stm/common/stm32u5xx/ |
D | readme.rst | 47 The virtual com port from STLINK is used for TFM log and serial port configuration should be:
|
/trusted-firmware-m-3.4.0/docs/platform/stm/common/stm32l5xx/ |
D | readme.rst | 53 The virtual com port from STLINK is used for TFM log and serial port configuration should be:
|
/trusted-firmware-m-3.4.0/platform/ext/target/nxp/lpcxpresso55s69/ |
D | preload.cmake | 21 # Define serial port ID
|
/trusted-firmware-m-3.4.0/docs/releases/ |
D | release_process.rst | 43 rel1 -> main : back port 55 rel2 -> main : back port
|
/trusted-firmware-m-3.4.0/docs/platform/arm/mps3/an552/ |
D | README.rst | 55 port (baud 115200 8n1) the following messages:: 84 port the following messages::
|
/trusted-firmware-m-3.4.0/docs/platform/arm/mps3/an547/ |
D | README.rst | 58 port (baud 115200 8n1) the following messages:: 91 port the following messages::
|
/trusted-firmware-m-3.4.0/docs/building/ |
D | run_tfm_examples_on_arm_platforms.rst | 116 port (baud 115200 8n1) the following messages:: 130 port (baud 115200 8n1) the following messages:: 186 port (baud 115200 8n1) the following messages:: 193 port (baud 115200 8n1) the following messages:: 467 port (baud 115200 8n1) the following messages:: 481 port (baud 115200 8n1) the following messages:: 534 port (baud 115200 8n1) the following messages:: 541 port (baud 115200 8n1) the following messages::
|
/trusted-firmware-m-3.4.0/docs/platform/arm/mps3/corstone310/ |
D | README.rst | 12 This platform port supports all TF-M regression tests (Secure and Non-secure) 71 #. The serial port's output can be redirected to a file with::
|
/trusted-firmware-m-3.4.0/docs/platform/nordic_nrf/nrf9160dk_nrf9160/ |
D | README.rst | 62 drive corresponding to a USB Mass Storage device as well as a serial port should come up
|