Home
last modified time | relevance | path

Searched refs:arg (Results 1 – 25 of 53) sorted by relevance

123

/trusted-firmware-m-3.7.0/platform/ext/cmsis/CMSIS/Driver/DriverTemplates/
DDriver_ETH_MAC.c120 static int32_t ARM_ETH_MAC_Control(uint32_t control, uint32_t arg) in ARM_ETH_MAC_Control() argument
126 switch (arg & ARM_ETH_MAC_SPEED_Msk) in ARM_ETH_MAC_Control()
136 switch (arg & ARM_ETH_MAC_DUPLEX_Msk) in ARM_ETH_MAC_Control()
142 if (arg & ARM_ETH_MAC_LOOPBACK) in ARM_ETH_MAC_Control()
146 if ((arg & ARM_ETH_MAC_CHECKSUM_OFFLOAD_RX) || in ARM_ETH_MAC_Control()
147 (arg & ARM_ETH_MAC_CHECKSUM_OFFLOAD_TX)) in ARM_ETH_MAC_Control()
152 if (!(arg & ARM_ETH_MAC_ADDRESS_BROADCAST)) in ARM_ETH_MAC_Control()
156 if (arg & ARM_ETH_MAC_ADDRESS_MULTICAST) in ARM_ETH_MAC_Control()
160 if (arg & ARM_ETH_MAC_ADDRESS_ALL) in ARM_ETH_MAC_Control()
173 if (arg & ARM_ETH_MAC_FLUSH_RX) in ARM_ETH_MAC_Control()
[all …]
DDriver_MCI.c125 static int32_t ARM_MCI_SendCommand(uint32_t cmd, uint32_t arg, uint32_t flags, uint32_t *response) in ARM_MCI_SendCommand() argument
137 static int32_t ARM_MCI_Control(uint32_t control, uint32_t arg) in ARM_MCI_Control() argument
150 if (arg == ARM_MCI_BUS_CMD_PUSH_PULL) in ARM_MCI_Control()
154 else if (arg == ARM_MCI_BUS_CMD_OPEN_DRAIN) in ARM_MCI_Control()
165 switch (arg) in ARM_MCI_Control()
DDriver_I2C.c92 static int32_t ARM_I2C_Control(uint32_t control, uint32_t arg) in ARM_I2C_Control() argument
100 switch (arg) in ARM_I2C_Control()
DDriver_CAN.c181 …ObjectSetFilter (uint32_t obj_idx, ARM_CAN_FILTER_OPERATION operation, uint32_t id, uint32_t arg) { in ARM_CAN_ObjectSetFilter() argument
260 static int32_t ARM_CAN_Control (uint32_t control, uint32_t arg) { in ARM_CAN_Control() argument
/trusted-firmware-m-3.7.0/platform/ext/target/arm/corstone1000/CMSIS_Driver/
DDriver_USART.c25 #define ARG_UNUSED(arg) (void)arg argument
195 uint32_t arg) in ARM_USARTx_Control() argument
200 if (arg == 0) { in ARM_USARTx_Control()
202 } else if (arg == 1) { in ARM_USARTx_Control()
209 if (arg == 0) { in ARM_USARTx_Control()
211 } else if (arg == 1) { in ARM_USARTx_Control()
219 if(uart_pl011_set_baudrate(uart_dev->dev, arg) != in ARM_USARTx_Control()
305 static int32_t ARM_USART0_Control(uint32_t control, uint32_t arg) in ARM_USART0_Control() argument
307 return ARM_USARTx_Control(&USART0_DEV, control, arg); in ARM_USART0_Control()
/trusted-firmware-m-3.7.0/platform/ext/target/arm/rse/kronos/cmsis_drivers/
DDriver_USART.c25 #define ARG_UNUSED(arg) (void)arg argument
195 uint32_t arg) in ARM_USARTx_Control() argument
200 if (arg == 0) { in ARM_USARTx_Control()
202 } else if (arg == 1) { in ARM_USARTx_Control()
209 if (arg == 0) { in ARM_USARTx_Control()
211 } else if (arg == 1) { in ARM_USARTx_Control()
219 if(uart_pl011_set_baudrate(uart_dev->dev, arg) != in ARM_USARTx_Control()
305 static int32_t ARM_USART0_Control(uint32_t control, uint32_t arg) in ARM_USART0_Control() argument
307 return ARM_USARTx_Control(&USART0_DEV, control, arg); in ARM_USART0_Control()
/trusted-firmware-m-3.7.0/platform/ext/target/arm/rse/rdfremont/cmsis_drivers/
DDriver_USART.c25 #define ARG_UNUSED(arg) (void)arg argument
195 uint32_t arg) in ARM_USARTx_Control() argument
200 if (arg == 0) { in ARM_USARTx_Control()
202 } else if (arg == 1) { in ARM_USARTx_Control()
209 if (arg == 0) { in ARM_USARTx_Control()
211 } else if (arg == 1) { in ARM_USARTx_Control()
219 if(uart_pl011_set_baudrate(uart_dev->dev, arg) != in ARM_USARTx_Control()
305 static int32_t ARM_USART0_Control(uint32_t control, uint32_t arg) in ARM_USART0_Control() argument
307 return ARM_USARTx_Control(&USART0_DEV, control, arg); in ARM_USART0_Control()
/trusted-firmware-m-3.7.0/platform/ext/target/arm/rse/tc/cmsis_drivers/
DDriver_USART.c25 #define ARG_UNUSED(arg) (void)arg argument
195 uint32_t arg) in ARM_USARTx_Control() argument
200 if (arg == 0) { in ARM_USARTx_Control()
202 } else if (arg == 1) { in ARM_USARTx_Control()
209 if (arg == 0) { in ARM_USARTx_Control()
211 } else if (arg == 1) { in ARM_USARTx_Control()
219 if(uart_pl011_set_baudrate(uart_dev->dev, arg) != in ARM_USARTx_Control()
305 static int32_t ARM_USART0_Control(uint32_t control, uint32_t arg) in ARM_USART0_Control() argument
307 return ARM_USARTx_Control(&USART0_DEV, control, arg); in ARM_USART0_Control()
/trusted-firmware-m-3.7.0/platform/ext/target/arm/musca_b1/CMSIS_Driver/
DDriver_USART.c25 #define ARG_UNUSED(arg) (void)arg argument
195 uint32_t arg) in ARM_USARTx_Control() argument
200 if (arg == 0) { in ARM_USARTx_Control()
202 } else if (arg == 1) { in ARM_USARTx_Control()
209 if (arg == 0) { in ARM_USARTx_Control()
211 } else if (arg == 1) { in ARM_USARTx_Control()
219 if(uart_pl011_set_baudrate(uart_dev->dev, arg) != in ARM_USARTx_Control()
308 static int32_t ARM_USART0_Control(uint32_t control, uint32_t arg) in ARM_USART0_Control() argument
310 return ARM_USARTx_Control(&USART0_DEV, control, arg); in ARM_USART0_Control()
405 static int32_t ARM_USART1_Control(uint32_t control, uint32_t arg) in ARM_USART1_Control() argument
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/arm/musca_s1/CMSIS_Driver/
DDriver_USART.c23 #define ARG_UNUSED(arg) (void)arg argument
191 uint32_t arg) in ARM_USARTx_Control() argument
196 if (arg == 0) { in ARM_USARTx_Control()
198 } else if (arg == 1) { in ARM_USARTx_Control()
205 if (arg == 0) { in ARM_USARTx_Control()
207 } else if (arg == 1) { in ARM_USARTx_Control()
215 if(uart_pl011_set_baudrate(uart_dev->dev, arg) != in ARM_USARTx_Control()
304 static int32_t ARM_USART0_Control(uint32_t control, uint32_t arg) in ARM_USART0_Control() argument
306 return ARM_USARTx_Control(&USART0_DEV, control, arg); in ARM_USART0_Control()
401 static int32_t ARM_USART1_Control(uint32_t control, uint32_t arg) in ARM_USART1_Control() argument
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps2/an519/cmsis_drivers/
DDriver_USART.c26 #define ARG_UNUSED(arg) (void)arg argument
185 uint32_t arg) in ARM_USARTx_Control() argument
190 if (arg == 0) { in ARM_USARTx_Control()
192 } else if (arg == 1) { in ARM_USARTx_Control()
201 if (arg == 0) { in ARM_USARTx_Control()
203 } else if (arg == 1) { in ARM_USARTx_Control()
213 if(arm_uart_set_baudrate(uart_dev->dev, arg) != ARM_UART_ERR_NONE) { in ARM_USARTx_Control()
299 static int32_t ARM_USART0_Control(uint32_t control, uint32_t arg) in ARM_USART0_Control() argument
301 return ARM_USARTx_Control(&USART0_DEV, control, arg); in ARM_USART0_Control()
397 static int32_t ARM_USART1_Control(uint32_t control, uint32_t arg) in ARM_USART1_Control() argument
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps2/an521/cmsis_drivers/
DDriver_USART.c26 #define ARG_UNUSED(arg) (void)arg argument
185 uint32_t arg) in ARM_USARTx_Control() argument
190 if (arg == 0) { in ARM_USARTx_Control()
192 } else if (arg == 1) { in ARM_USARTx_Control()
201 if (arg == 0) { in ARM_USARTx_Control()
203 } else if (arg == 1) { in ARM_USARTx_Control()
213 if(arm_uart_set_baudrate(uart_dev->dev, arg) != ARM_UART_ERR_NONE) { in ARM_USARTx_Control()
299 static int32_t ARM_USART0_Control(uint32_t control, uint32_t arg) in ARM_USART0_Control() argument
301 return ARM_USARTx_Control(&USART0_DEV, control, arg); in ARM_USART0_Control()
397 static int32_t ARM_USART1_Control(uint32_t control, uint32_t arg) in ARM_USART1_Control() argument
[all …]
/trusted-firmware-m-3.7.0/platform/ext/target/arm/drivers/usart/cmsdk/
DDriver_USART_CMSDK.h172 uint32_t arg) in ARM_USARTx_Control() argument
177 if (arg == 0) { in ARM_USARTx_Control()
179 } else if (arg == 1) { in ARM_USARTx_Control()
189 if (arg == 0) { in ARM_USARTx_Control()
191 } else if (arg == 1) { in ARM_USARTx_Control()
202 if (uart_cmsdk_set_baudrate(uart_dev->dev, arg) != UART_CMSDK_ERR_NONE) { in ARM_USARTx_Control()
296 static int32_t USART_DRIVER_NAME##_Control(uint32_t control, uint32_t arg) \
298 return ARM_USARTx_Control(&USART_DRIVER_NAME##_DEV, control, arg); \
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/host/src/tests/TestAL/pal/freertos/
Dtest_pal_thread.c36 void *arg; /* Arguments received by thread member
57 threadStr->taskFunc(threadStr->arg); in Test_PalThreadFunc()
126 int priority, void *arg, in Test_PalThreadCreate() argument
166 threadStr->arg = arg; in Test_PalThreadCreate()
/trusted-firmware-m-3.7.0/platform/ext/target/nuvoton/common/cmsis_drivers/
DDriver_USART.c26 #define ARG_UNUSED(arg) (void)arg argument
183 uint32_t arg) in ARM_USARTx_Control() argument
189 uart_dev->dev->BAUD = UART_BAUD_MODE2 | UART_BAUD_MODE2_DIVIDER(__HIRC, arg); in ARM_USARTx_Control()
282 static int32_t ARM_USART0_Control(uint32_t control, uint32_t arg) in ARM_USART0_Control() argument
284 return ARM_USARTx_Control(&USART0_DEV, control, arg); in ARM_USART0_Control()
382 static int32_t ARM_USART1_Control(uint32_t control, uint32_t arg) in ARM_USART1_Control() argument
384 return ARM_USARTx_Control(&USART1_DEV, control, arg); in ARM_USART1_Control()
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/host/src/tests/TestAL/pal/linux/
Dtest_pal_thread.c30 void *arg; /* Arguments received by thread member
71 ret = threadStr->threadFunc(threadStr->arg); in Test_PalThreadFunc()
107 int priority, void *arg, in Test_PalThreadCreate() argument
141 threadStr->arg = arg; in Test_PalThreadCreate()
/trusted-firmware-m-3.7.0/platform/ext/target/arm/drivers/usart/common/
DDriver_USART_Common.h23 #define ARG_UNUSED(arg) (void)arg argument
/trusted-firmware-m-3.7.0/platform/ext/target/arm/drivers/flash/common/
DDriver_Flash_Common.h23 #define ARG_UNUSED(arg) ((void)arg) argument
/trusted-firmware-m-3.7.0/platform/ext/target/stm/common/hal/CMSIS_Driver/
Dlow_level_com.c26 #define ARG_UNUSED(arg) (void)arg argument
169 static int32_t USART0_Control(uint32_t control, uint32_t arg) in USART0_Control() argument
/trusted-firmware-m-3.7.0/platform/ext/target/nordic_nrf/common/core/cmsis_drivers/
DDriver_USART.c32 #define ARG_UNUSED(arg) (void)arg argument
235 static int32_t ARM_USARTx_Control(uint32_t control, uint32_t arg, in ARM_USARTx_Control() argument
244 switch (arg) { in ARM_USARTx_Control()
388 uint32_t arg) \
390 return ARM_USARTx_Control(control, arg, &UART##idx##_Resources); \
DDriver_Flash.c34 #define ARG_UNUSED(arg) (void)arg argument
/trusted-firmware-m-3.7.0/platform/ext/target/nxp/common/CMSIS_Driver/
DDriver_USART.c29 #define ARG_UNUSED(arg) (void)arg argument
231 static int32_t ARM_USART_Control(uint32_t control, uint32_t arg) in ARM_USART_Control() argument
/trusted-firmware-m-3.7.0/interface/include/mbedtls/
Dplatform.h271 int mbedtls_platform_win32_vsnprintf(char *s, size_t n, const char *fmt, va_list arg);
276 extern int (*mbedtls_vsnprintf)(char *s, size_t n, const char *format, va_list arg);
286 const char *format, va_list arg));
/trusted-firmware-m-3.7.0/platform/ext/target/cypress/psoc64/CMSIS_Driver/
DDriver_USART.c34 #define ARG_UNUSED(arg) (void)arg argument
322 uint32_t arg) in ARM_USARTx_Control() argument
435 static int32_t ARM_USART##N##_Control(uint32_t control, uint32_t arg) \
437 return ARM_USARTx_Control(&USART##N##_DEV, control, arg); \
/trusted-firmware-m-3.7.0/platform/ext/cmsis/CMSIS/Driver/Include/
DDriver_MCI.h349 uint32_t arg,
357 …int32_t (*Control) (uint32_t control, uint32_t arg); ///< Pointer to \ref ARM_…

123