| /bsp/nrf5x/libraries/drivers/ |
| A D | drv_qspi_flash.c | 39 rt_uint32_t err_code; in configure_memory() local 52 if (NRFX_SUCCESS != err_code) in configure_memory() 60 if (NRFX_SUCCESS != err_code) in configure_memory() 70 if (NRFX_SUCCESS != err_code) in configure_memory() 79 rt_uint32_t err_code; in init() local 84 if (NRFX_SUCCESS != err_code) in init() 95 rt_uint32_t err_code; in read() local 99 if (NRFX_SUCCESS == err_code) in read() 112 rt_uint32_t err_code; in write() local 116 if (NRFX_SUCCESS == err_code) in write() [all …]
|
| A D | nrfx_spim.c | 266 nrfx_err_t err_code; in nrfx_spim_init() local 274 return err_code; in nrfx_spim_init() 291 return err_code; in nrfx_spim_init() 351 return err_code; in nrfx_spim_init() 493 return err_code; in nrfx_spim_init() 638 nrfx_err_t err_code; in spim_xfer() local 649 return err_code; in spim_xfer() 724 return err_code; in spim_xfer() 749 return err_code; in nrfx_spim_xfer() 790 nrfx_err_t err_code; in rtt_spim_xfer() local [all …]
|
| A D | drv_adc.c | 76 nrfx_err_t err_code = NRFX_SUCCESS; in nrf5x_adc_enabled() local 101 err_code = nrfx_saadc_channels_config(channels_cache,results.channel_count); in nrf5x_adc_enabled() 103 err_code = nrfx_saadc_simple_mode_set(get_channels_mask(), in nrf5x_adc_enabled() 108 err_code = nrfx_saadc_buffer_set(result_buff_cache, results.channel_count); in nrf5x_adc_enabled() 126 err_code = nrfx_saadc_channels_config(channels_cache, 0); in nrf5x_adc_enabled() 127 return err_code; in nrf5x_adc_enabled() 145 err_code = nrfx_saadc_simple_mode_set(get_channels_mask(), in nrf5x_adc_enabled() 154 return err_code; in nrf5x_adc_enabled() 159 nrfx_err_t err_code = NRFX_SUCCESS; in nrf5x_get_adc_value() local 164 err_code = nrfx_saadc_mode_trigger(); in nrf5x_get_adc_value() [all …]
|
| A D | drv_gpio.c | 202 nrfx_err_t err_code; in nrf5x_pin_attach_irq() local 242 err_code = nrfx_gpiote_in_init(pin, &inConfig, pin_irq_hdr); in nrf5x_pin_attach_irq() 249 err_code = nrfx_gpiote_in_init(pin, &inConfig, pin_irq_hdr); in nrf5x_pin_attach_irq() 256 err_code = nrfx_gpiote_in_init(pin, &inConfig, pin_irq_hdr); in nrf5x_pin_attach_irq() 261 switch(err_code) in nrf5x_pin_attach_irq() 363 nrfx_err_t err_code; in rt_hw_pin_init() local 365 err_code = (nrfx_err_t)rt_device_pin_register("pin", &_nrf5x_pin_ops, RT_NULL); in rt_hw_pin_init() 366 err_code = nrfx_gpiote_init(NRFX_GPIOTE_CONFIG_IRQ_PRIORITY); in rt_hw_pin_init() 368 switch(err_code) in rt_hw_pin_init()
|
| /bsp/efm32/ |
| A D | drv_leuart.c | 258 rt_err_t err_code; in rt_leuart_read() local 272 if (err_code != RT_EOK) in rt_leuart_read() 274 rt_set_errno(err_code); in rt_leuart_read() 348 rt_set_errno(err_code); in rt_leuart_read() 397 if (err_code != RT_EOK) in rt_leuart_write() 399 rt_set_errno(err_code); in rt_leuart_write() 484 rt_set_errno(err_code); in rt_leuart_write() 515 rt_err_t err_code; in rt_leuart_control() local 529 if (err_code != RT_EOK) in rt_leuart_control() 531 return err_code; in rt_leuart_control() [all …]
|
| A D | drv_usart.c | 363 rt_err_t err_code; in rt_usart_read() local 394 if (err_code != RT_EOK) in rt_usart_read() 396 rt_set_errno(err_code); in rt_usart_read() 525 rt_set_errno(err_code); in rt_usart_read() 559 rt_err_t err_code; in rt_usart_write() local 588 if (err_code != RT_EOK) in rt_usart_write() 724 rt_set_errno(err_code); in rt_usart_write() 756 rt_err_t err_code; in rt_usart_control() local 770 if (err_code != RT_EOK) in rt_usart_control() 772 return err_code; in rt_usart_control() [all …]
|
| A D | drv_iic.c | 191 rt_err_t err_code; in rt_iic_read() local 202 err_code = RT_EOK; in rt_iic_read() 259 err_code = (rt_err_t)ret; in rt_iic_read() 300 err_code = -RT_EEMPTY; in rt_iic_read() 319 rt_set_errno(err_code); in rt_iic_read() 352 rt_err_t err_code; in rt_iic_write() local 363 err_code = RT_EOK; in rt_iic_write() 406 err_code = (rt_err_t)ret; in rt_iic_write() 417 rt_set_errno(err_code); in rt_iic_write()
|
| /bsp/fujitsu/mb9x/mb9bf568r/drivers/ |
| A D | serial.c | 112 rt_err_t err_code; in rt_serial_read() local 116 err_code = RT_EOK; in rt_serial_read() 144 err_code = -RT_EEMPTY; in rt_serial_read() 163 rt_set_errno(err_code); in rt_serial_read() 171 rt_err_t err_code; in rt_serial_write() local 174 err_code = RT_EOK; in rt_serial_write() 198 err_code = -RT_EFULL; in rt_serial_write() 224 rt_set_errno(err_code); in rt_serial_write()
|
| /bsp/Infineon/psoc6-pioneerkit_modus/drivers/ |
| A D | uart.c | 101 rt_err_t err_code; in rt_uart_read() local 106 err_code = RT_EOK; in rt_uart_read() 134 err_code = -RT_EEMPTY; in rt_uart_read() 153 rt_set_errno(err_code); in rt_uart_read() 161 rt_err_t err_code; in rt_uart_write() local 165 err_code = RT_EOK; in rt_uart_write() 189 err_code = -RT_EFULL; in rt_uart_write() 212 rt_set_errno(err_code); in rt_uart_write()
|
| /bsp/essemi/es32vf2264/libraries/ALD/ES32VF2264/Source/ |
| A D | ald_uart.c | 319 hperh->err_code = ALD_UART_ERROR_NONE; in ald_uart_reset() 380 hperh->err_code = ALD_UART_ERROR_NONE; in ald_uart_init() 499 hperh->err_code = ALD_UART_ERROR_NONE; in ald_uart_send() 553 hperh->err_code = ALD_UART_ERROR_NONE; in ald_uart_recv() 630 hperh->err_code = ALD_UART_ERROR_NONE; in ald_uart_send_n_lock() 676 hperh->err_code = ALD_UART_ERROR_NONE; in ald_uart_recv_n_lock() 720 hperh->err_code = ALD_UART_ERROR_NONE; in ald_uart_send_by_it() 751 hperh->err_code = ALD_UART_ERROR_NONE; in ald_uart_recv_by_it() 783 hperh->err_code = ALD_UART_ERROR_NONE; in ald_uart_recv_frame_by_it() 819 hperh->err_code = ALD_UART_ERROR_NONE; in ald_uart_send_by_dma() [all …]
|
| A D | ald_spi.c | 218 hperh->err_code = ALD_SPI_ERROR_NONE; in ald_spi_init() 681 hperh->err_code = ALD_SPI_ERROR_NONE; in ald_spi_recv() 762 hperh->err_code = ALD_SPI_ERROR_NONE; in ald_spi_send_recv() 908 hperh->err_code = ALD_SPI_ERROR_NONE; in ald_spi_send_by_it() 946 hperh->err_code = ALD_SPI_ERROR_NONE; in ald_spi_recv_by_it() 1017 hperh->err_code = ALD_SPI_ERROR_NONE; in ald_spi_send_recv_by_it() 1061 hperh->err_code = ALD_SPI_ERROR_NONE; in ald_spi_send_by_dma() 1126 hperh->err_code = ALD_SPI_ERROR_NONE; in ald_spi_recv_by_dma() 1214 hperh->err_code = ALD_SPI_ERROR_NONE; in ald_spi_send_recv_by_dma() 1387 hperh->err_code |= ALD_SPI_ERROR_CRC; in ald_spi_irq_handler() [all …]
|
| A D | ald_i2s.c | 216 hperh->err_code = ALD_I2S_ERROR_NONE; in ald_i2s_init() 274 hperh->err_code = ALD_I2S_ERROR_NONE; in ald_i2s_master_send() 327 hperh->err_code = ALD_I2S_ERROR_NONE; in ald_i2s_master_recv() 369 hperh->err_code = ALD_I2S_ERROR_NONE; in ald_i2s_master_send_by_it() 408 hperh->err_code = ALD_I2S_ERROR_NONE; in ald_i2s_master_recv_by_it() 451 hperh->err_code = ALD_I2S_ERROR_NONE; in ald_i2s_master_send_by_dma() 513 hperh->err_code = ALD_I2S_ERROR_NONE; in ald_i2s_master_recv_by_dma() 669 if (hperh->err_code != ALD_I2S_ERROR_NONE) { in ald_i2s_irq_handler() 867 return hperh->err_code; in ald_i2s_get_error() 995 hperh->err_code |= ALD_I2S_ERROR_FLAG; in i2s_dma_send_cplt() [all …]
|
| /bsp/fujitsu/mb9x/mb9bf618s/drivers/ |
| A D | serial.c | 112 rt_err_t err_code; in rt_serial_read() local 116 err_code = RT_EOK; in rt_serial_read() 144 err_code = -RT_EEMPTY; in rt_serial_read() 163 rt_set_errno(err_code); in rt_serial_read() 171 rt_err_t err_code; in rt_serial_write() local 174 err_code = RT_EOK; in rt_serial_write() 198 err_code = -RT_EFULL; in rt_serial_write() 224 rt_set_errno(err_code); in rt_serial_write()
|
| /bsp/essemi/es32f0654/libraries/ES32F065x_ALD_StdPeriph_Driver/Source/ |
| A D | ald_smartcard.c | 245 hperh->err_code = SMARTCARD_ERROR_NONE; in ald_smartcard_init() 269 hperh->err_code = SMARTCARD_ERROR_NONE; in ald_smartcard_reset() 345 hperh->err_code = SMARTCARD_ERROR_NONE; in ald_smartcard_send() 390 hperh->err_code = SMARTCARD_ERROR_NONE; in ald_smartcard_recv() 433 hperh->err_code = SMARTCARD_ERROR_NONE; in ald_smartcard_send_by_it() 463 hperh->err_code = SMARTCARD_ERROR_NONE; in ald_smartcard_recv_by_it() 496 hperh->err_code = SMARTCARD_ERROR_NONE; in ald_smartcard_send_by_dma() 547 hperh->err_code = SMARTCARD_ERROR_NONE; in ald_smartcard_recv_by_dma() 590 hperh->err_code |= SMARTCARD_ERROR_PE; in ald_smartcard_irq_handler() 677 return hperh->err_code; in ald_smartcard_get_error() [all …]
|
| A D | ald_uart.c | 172 hperh->err_code |= UART_ERROR_DMA; in uart_dma_error() 327 hperh->err_code = UART_ERROR_NONE; in ald_uart_reset() 389 hperh->err_code = UART_ERROR_NONE; in ald_uart_init() 486 hperh->err_code = UART_ERROR_NONE; in ald_uart_send() 537 hperh->err_code = UART_ERROR_NONE; in ald_uart_recv() 603 hperh->err_code = UART_ERROR_NONE; in ald_uart_send_by_it() 643 hperh->err_code = UART_ERROR_NONE; in ald_uart_recv_by_it() 674 hperh->err_code = UART_ERROR_NONE; in ald_uart_send_by_dma() 742 hperh->err_code = UART_ERROR_NONE; in ald_uart_recv_by_dma() 842 hperh->err_code |= UART_ERROR_PE; in ald_uart_irq_handler() [all …]
|
| A D | ald_spi.c | 213 hperh->err_code = SPI_ERROR_NONE; in ald_spi_init() 336 hperh->err_code = SPI_ERROR_NONE; in ald_spi_send() 429 hperh->err_code = SPI_ERROR_NONE; in ald_spi_recv() 550 hperh->err_code = SPI_ERROR_NONE; in ald_spi_send_recv() 726 hperh->err_code = SPI_ERROR_NONE; in ald_spi_send_by_it() 776 hperh->err_code = SPI_ERROR_NONE; in ald_spi_recv_by_it() 821 hperh->err_code = SPI_ERROR_NONE; in ald_spi_send_recv_by_it() 861 hperh->err_code = SPI_ERROR_NONE; in ald_spi_send_by_dma() 924 hperh->err_code = SPI_ERROR_NONE; in ald_spi_recv_by_dma() 993 hperh->err_code = SPI_ERROR_NONE; in ald_spi_send_recv_by_dma() [all …]
|
| A D | ald_usart.c | 273 hperh->err_code = USART_ERROR_NONE; in ald_usart_reset() 307 hperh->err_code = USART_ERROR_NONE; in ald_usart_init() 339 hperh->err_code = USART_ERROR_NONE; in ald_usart_half_duplex_init() 380 hperh->err_code = USART_ERROR_NONE; in ald_usart_multi_processor_init() 416 hperh->err_code = USART_ERROR_NONE; in ald_usart_clock_init() 505 hperh->err_code = USART_ERROR_NONE; in ald_usart_send() 562 hperh->err_code = USART_ERROR_NONE; in ald_usart_recv() 621 hperh->err_code = USART_ERROR_NONE; in ald_usart_send_by_it() 651 hperh->err_code = USART_ERROR_NONE; in ald_usart_recv_by_it() 683 hperh->err_code = USART_ERROR_NONE; in ald_usart_recv_frame_by_it() [all …]
|
| /bsp/essemi/es32f369x/libraries/ES32F36xx_ALD_StdPeriph_Driver/Source/ |
| A D | ald_uart.c | 160 hperh->err_code |= UART_ERROR_PE; in uart_dma_recv_cplt() 164 hperh->err_code |= UART_ERROR_FE; in uart_dma_recv_cplt() 168 hperh->err_code |= UART_ERROR_ORE; in uart_dma_recv_cplt() 190 hperh->err_code |= UART_ERROR_DMA; in uart_dma_error() 413 hperh->err_code = UART_ERROR_NONE; in ald_uart_init() 532 hperh->err_code = UART_ERROR_NONE; in ald_uart_send() 585 hperh->err_code = UART_ERROR_NONE; in ald_uart_recv() 660 hperh->err_code = UART_ERROR_NONE; in ald_uart_send_n_lock() 704 hperh->err_code = UART_ERROR_NONE; in ald_uart_recv_n_lock() 748 hperh->err_code = UART_ERROR_NONE; in ald_uart_send_by_it() [all …]
|
| A D | ald_spi.c | 222 hperh->err_code = SPI_ERROR_NONE; in ald_spi_init() 671 hperh->err_code = SPI_ERROR_NONE; in ald_spi_recv() 752 hperh->err_code = SPI_ERROR_NONE; in ald_spi_send_recv() 898 hperh->err_code = SPI_ERROR_NONE; in ald_spi_send_by_it() 936 hperh->err_code = SPI_ERROR_NONE; in ald_spi_recv_by_it() 1004 hperh->err_code = SPI_ERROR_NONE; in ald_spi_send_recv_by_it() 1049 hperh->err_code = SPI_ERROR_NONE; in ald_spi_send_by_dma() 1113 hperh->err_code = SPI_ERROR_NONE; in ald_spi_recv_by_dma() 1199 hperh->err_code = SPI_ERROR_NONE; in ald_spi_send_recv_by_dma() 1370 hperh->err_code |= SPI_ERROR_CRC; in ald_spi_irq_handler() [all …]
|
| A D | ald_i2s.c | 220 hperh->err_code = I2S_ERROR_NONE; in ald_i2s_init() 278 hperh->err_code = I2S_ERROR_NONE; in ald_i2s_master_send() 331 hperh->err_code = I2S_ERROR_NONE; in ald_i2s_master_recv() 373 hperh->err_code = I2S_ERROR_NONE; in ald_i2s_master_send_by_it() 412 hperh->err_code = I2S_ERROR_NONE; in ald_i2s_master_recv_by_it() 456 hperh->err_code = I2S_ERROR_NONE; in ald_i2s_master_send_by_dma() 519 hperh->err_code = I2S_ERROR_NONE; in ald_i2s_master_recv_by_dma() 677 if (hperh->err_code != I2S_ERROR_NONE) { in ald_i2s_irq_handler() 875 return hperh->err_code; in ald_i2s_get_error() 1004 hperh->err_code |= I2S_ERROR_FLAG; in i2s_dma_send_cplt() [all …]
|
| /bsp/mini2440/drivers/ |
| A D | key.c | 163 rt_err_t err_code; in rt_key_read() local 167 err_code = RT_EOK; in rt_key_read() 190 err_code = -RT_EEMPTY; in rt_key_read() 196 rt_set_errno(err_code); in rt_key_read()
|
| /bsp/n32/libraries/N32WB452_Firmware_Library/n32wb452_ble_driver/inc/ |
| A D | co_llcp.h | 168 uint8_t err_code; member 271 uint8_t err_code; member 353 uint8_t err_code; member
|
| /bsp/x86/drivers/ |
| A D | console.c | 174 rt_err_t err_code = RT_EOK; in rt_console_read() local 198 err_code = -RT_EEMPTY; in rt_console_read() 210 rt_set_errno(err_code); in rt_console_read()
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/twi/ |
| A D | hal_twi.c | 1223 int err_code = 0; in hal_twi_core_process() local 1236 err_code = 0xfe; in hal_twi_core_process() 1244 err_code = 0xf8; in hal_twi_core_process() 1252 err_code = 0x20; in hal_twi_core_process() 1292 err_code = SUNXI_TWI_FAIL; in hal_twi_core_process() 1298 err_code = SUNXI_TWI_FAIL; in hal_twi_core_process() 1360 err_code = SUNXI_TWI_OK; in hal_twi_core_process() 1370 err_code = SUNXI_TWI_FAIL; in hal_twi_core_process() 1378 err_code = 0x58; in hal_twi_core_process() 1383 err_code = 0xff; in hal_twi_core_process() [all …]
|
| /bsp/essemi/es32f0654/libraries/ES32F065x_ALD_StdPeriph_Driver/Include/ |
| A D | ald_smartcard.h | 170 uint32_t err_code; /**< SmartCard Error code */ member
|