/hal_intel-3.7.0/zephyr/iut_test/test_zephyr/i2c/ |
D | test_i2c_log.c | 42 int ret; in impl_test_log_i2c() local 57 ret = i2c_configure(i2c_dev, i2c_cfg); in impl_test_log_i2c() 58 if (ret) { in impl_test_log_i2c() 70 ret = sedi_i2c_master_poll_write(LOG_I2C_BUS, LOG_I2C_DEV_ADDR, data, in impl_test_log_i2c() 79 ret = i2c_transfer_async(i2c_dev, &msg, 1, LOG_I2C_DEV_ADDR, async_cb, in impl_test_log_i2c() 82 if (ret == -EWOULDBLOCK) { in impl_test_log_i2c() 85 ret = 0; /* recover async busy */ in impl_test_log_i2c() 89 ret = i2c_write(i2c_dev, data, sizeof(data), LOG_I2C_DEV_ADDR); in impl_test_log_i2c() 92 if (ret) { in impl_test_log_i2c() 116 return ret; in impl_test_log_i2c() [all …]
|
/hal_intel-3.7.0/bsp_sedi/drivers/ipc/ |
D | sedi_ipc.c | 213 int ret; in sedi_ipc_set_power() local 215 ret = check_ipc_available(ipc_device); in sedi_ipc_set_power() 216 if (ret != SEDI_DRIVER_OK) { in sedi_ipc_set_power() 217 return ret; in sedi_ipc_set_power() 227 int ret, i; in sedi_ipc_write_msg() local 230 ret = check_ipc_available(ipc_device); in sedi_ipc_write_msg() 231 if (ret != SEDI_DRIVER_OK) { in sedi_ipc_write_msg() 232 return ret; in sedi_ipc_write_msg() 267 int ret; in sedi_ipc_write_dbl() local 269 ret = check_ipc_available(ipc_device); in sedi_ipc_write_dbl() [all …]
|
/hal_intel-3.7.0/bsp_sedi/drivers/usart/ |
D | sedi_dw_uart.c | 605 int32_t ret; in sedi_uart_set_config() local 615 ret = sedi_uart_set_baud_rate(uart, cfg->baud_rate, sedi_pm_get_hbw_clock()); in sedi_uart_set_config() 616 if (ret != SEDI_DRIVER_OK) { in sedi_uart_set_config() 686 int ret; in sedi_uart_write() local 696 ret = SEDI_UART_POLL_WAIT(!(regs->lsr & SEDI_RBFVM(UART, LSR, TEMT, ENABLED))); in sedi_uart_write() 697 if (ret) { in sedi_uart_write() 698 return ret; in sedi_uart_write() 703 ret = SEDI_UART_POLL_WAIT(!(regs->lsr & SEDI_RBFVM(UART, LSR, TEMT, ENABLED))); in sedi_uart_write() 704 return ret; in sedi_uart_write() 1139 int ret = SEDI_DRIVER_OK; in sedi_uart_9bit_send_address() local [all …]
|
/hal_intel-3.7.0/bsp_sedi/drivers/i2c/ |
D | sedi_i2c_dw_apb_200a.c | 263 int ret; in dw_i2c_poll_write() local 275 ret = SEDI_I2C_POLL_WAIT(SEDI_PREG_RBFV_IS_SET(I2C, STATUS, TFNF, FULL, in dw_i2c_poll_write() 277 if (ret) { in dw_i2c_poll_write() 278 return ret; in dw_i2c_poll_write() 287 ret = SEDI_I2C_POLL_WAIT(SEDI_PREG_RBFV_IS_SET(I2C, STATUS, ACTIVITY, ACTIVE, in dw_i2c_poll_write() 290 return ret; in dw_i2c_poll_write() 295 int ret; in dw_i2c_poll_read() local 306 ret = SEDI_I2C_POLL_WAIT(SEDI_PREG_RBFV_IS_SET(I2C, STATUS, RFNE, EMPTY, in dw_i2c_poll_read() 308 if (ret) { in dw_i2c_poll_read() 309 return ret; in dw_i2c_poll_read() [all …]
|
/hal_intel-3.7.0/bsp_sedi/soc/intel_ish/pm/aon/ |
D | aon_task.c | 208 int ret; in store_main_fw() local 225 ret = ish_dma_copy( in store_main_fw() 235 if (ret != DMA_RC_OK) { in store_main_fw() 248 int ret; in restore_main_fw() local 270 ret = ish_dma_copy( in restore_main_fw() 277 if (ret != DMA_RC_OK) { in restore_main_fw() 289 ret = ish_dma_copy( in restore_main_fw() 300 if (ret != DMA_RC_OK) { in restore_main_fw() 537 int ret; in do_ipapg() local 545 ret = ipapg(); in do_ipapg() [all …]
|
D | ipapg.S | 107 ret 113 ret 135 ret
|
/hal_intel-3.7.0/zephyr/iut_test/test_zephyr/gpio/ |
D | test_gpio.c | 40 int ret, i; in test_gpio_output() local 54 ret = gpio_pin_get_raw(gpio_dev, i); in test_gpio_output() 55 TEST_ASSERT_EQUAL(1, ret); in test_gpio_output() 65 ret = gpio_pin_get_raw(gpio_dev, i); in test_gpio_output() 67 TEST_ASSERT_EQUAL(0, ret); in test_gpio_output()
|
/hal_intel-3.7.0/bsp_sedi/drivers/dma/ |
D | sedi_dma_ann_1p0.c | 449 int32_t ret; in dma_channel_apply_config() local 527 ret = dma_apply_other_regs(misc_regs, chan_regs, config, channel_id); in dma_channel_apply_config() 528 if (ret != SEDI_DRIVER_OK) { in dma_channel_apply_config() 529 return ret; in dma_channel_apply_config() 568 int ret; in dma_fill_sc_linkedlist() local 574 ret = dma_fill_linkedlist(ll_tmp + i, src, dst, in dma_fill_sc_linkedlist() 577 if (ret != SEDI_DRIVER_OK) { in dma_fill_sc_linkedlist() 578 return ret; in dma_fill_sc_linkedlist() 592 ret = dma_fill_linkedlist(ll_tmp + count - 1, src, dst, in dma_fill_sc_linkedlist() 594 return ret; in dma_fill_sc_linkedlist() [all …]
|
/hal_intel-3.7.0/zephyr/iut_test/src/ |
D | main.c | 31 int ret; in iut_run() local 68 ret = ut->func(argc, argv); in iut_run() 72 (ret == IUT_ERR_OK) ? "pass" : "fail"); in iut_run() 74 if (ret != IUT_ERR_OK) { in iut_run()
|
/hal_intel-3.7.0/bsp_sedi/drivers/spi/ |
D | sedi_spi_dw_apb.c | 432 uint32_t ret = SEDI_SPI_0_REG_DMA + (uint32_t)&((sedi_spi_regs_t *)0)->dr0; in lld_spi_dr_address() local 433 return ret; in lld_spi_dr_address() 572 int32_t ret = SEDI_DRIVER_OK; in sedi_spi_set_power() local 587 ret = SEDI_DRIVER_ERROR_UNSUPPORTED; in sedi_spi_set_power() 591 return ret; in sedi_spi_set_power() 738 int ret; in config_and_enable_dma_channel() local 768 ret = sedi_dma_init(dma, chan, callback_dma_transfer, (void *)spi_dev); in config_and_enable_dma_channel() 769 DBG_CHECK(0 == ret, SEDI_DRIVER_ERROR); in config_and_enable_dma_channel() 771 ret = sedi_dma_set_power(dma, chan, SEDI_POWER_FULL); in config_and_enable_dma_channel() 772 DBG_CHECK(0 == ret, SEDI_DRIVER_ERROR); in config_and_enable_dma_channel() [all …]
|
/hal_intel-3.7.0/bsp_sedi/include/driver/ |
D | sedi_driver_common.h | 402 int ret = SEDI_DRIVER_OK; \ 413 ret = SEDI_DRIVER_ERROR_TIMEOUT; \ 417 ret; \
|
/hal_intel-3.7.0/zephyr/subsys/logging/backends/ |
D | log_backend_i2c.c | 74 int ret = i2c_configure(DEVICE_DT_GET(DT_CHOSEN(zephyr_log_i2c)), cfg); in log_backend_i2c_init() local 76 if (ret) { in log_backend_i2c_init()
|
/hal_intel-3.7.0/bsp_sedi/drivers/gpio/ |
D | sedi_gpio.c | 70 int32_t ret = SEDI_DRIVER_OK; in gpio_set_power() local 85 ret = SEDI_DRIVER_ERROR_UNSUPPORTED; in gpio_set_power() 89 return ret; in gpio_set_power()
|