| /hal_intel-latest/zephyr/iut_test/test_zephyr/i2c/ |
| D | test_i2c_log.c | 4 * SPDX-License-Identifier: Apache-2.0 54 return -ENODEV; in impl_test_log_i2c() 59 return -EINVAL; in impl_test_log_i2c() 63 for (int i = 0; i < sizeof(data) - 2; i++) { in impl_test_log_i2c() 66 data[sizeof(data) - 2] = '\n'; in impl_test_log_i2c() 67 data[sizeof(data) - 1] = '\r'; in impl_test_log_i2c() 82 if (ret == -EWOULDBLOCK) { in impl_test_log_i2c() 104 iut_print("\ttransfer %d-%d: error=%d\n", loop - 100, loop, error); in impl_test_log_i2c() 110 if ((get_sec() - sec_start) >= sec_run) { in impl_test_log_i2c() 129 iut_case_print("starting to run %d seconds ...\n", sec_run); in test_log_i2c_polling() [all …]
|
| /hal_intel-latest/bsp_sedi/soc/intel_ish/include/ |
| D | sedi_driver_core.h | 4 * SPDX-License-Identifier: BSD-3-Clause 15 * \brief Clean & Invalidate D-Cache 16 * \details Cleans and Invalidates D-Cache 22 __asm__ volatile("lock; addl $0,-4(%%esp);\n\t" ::: "memory", "cc"); in sedi_core_inv_clean_dcache() 26 * \brief D-Cache Clean and Invalidate by address 28 * \param[in] addr address (aligned to 32-byte boundary) 37 end = (end + (SEDI_DCACHE_LINE_SIZE - 1)) & ~(SEDI_DCACHE_LINE_SIZE - 1); in sedi_core_inv_clean_dcache_by_addr() 43 __asm__ volatile("lock; addl $0,-4(%%esp);\n\t" ::: "memory", "cc"); in sedi_core_inv_clean_dcache_by_addr() 49 * \brief D-Cache Clean by address 50 * \details Cleans D-Cache for the given address [all …]
|
| /hal_intel-latest/.github/workflows/ |
| D | iut_zephyr_build.yml | 7 - cron: '0 20 * * 2,6' 9 permissions: read-all 13 runs-on: ubuntu-22.04 15 image: ghcr.io/zephyrproject-rtos/ci:v0.26.4 17 ZEPHYR_SDK_INSTALL_DIR: /opt/toolchains/zephyr-sdk-0.16.1 20 - name: Apply container owner mismatch workaround 26 git config --global --add safe.directory ${GITHUB_WORKSPACE} 28 - name: Checkout Zephyr 32 - name: Checkout Intel HAL 37 - name: Build IUT Test for ISH 5.4.1 [all …]
|
| /hal_intel-latest/zephyr/iut_test/test_sedi/ |
| D | test_sedi_rtc.c | 4 * SPDX-License-Identifier: Apache-2.0 23 iut_case_print("test loops = %d\n", test_loops); in test_rtc_inc() 30 iut_case_print("loop %d, cnt error, %llu->%llu\n", in test_rtc_inc() 35 iut_case_print("loop %d, us error, %llu->%llu\n", in test_rtc_inc() 45 iut_case_print("test exec time = %u us\n", (uint32_t)(us_rtc - us_start)); in test_rtc_inc()
|
| /hal_intel-latest/zephyr/iut_test/src/ |
| D | test_example.c | 4 * SPDX-License-Identifier: Apache-2.0 11 iut_case_print("argc=%d\n", argc); in test_example_1() 23 iut_case_print("argc=%d\n", argc); in test_example_2()
|
| D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 37 iut_print("\targc=%d\n", argc); in iut_run() 39 iut_print("\targv[%d]=\"%s\"\n", i, argv[i]); in iut_run() 54 if (group && strncmp(group, ut->group, strlen(group))) { in iut_run() 57 if (name && strncmp(ut->name, name, strlen(ut->name) + 1)) { in iut_run() 60 if (attri && ((ut->attri & attri) != attri)) { in iut_run() 65 ut->group, ut->name, iut_cnt_run); in iut_run() 68 ret = ut->func(argc, argv); in iut_run() 71 ut->group, ut->name, iut_cnt_run, in iut_run() 92 return -EBUSY; in iut_trigger() [all …]
|
| /hal_intel-latest/zephyr/iut_test/test_zephyr/gpio/ |
| D | test_gpio.c | 4 * SPDX-License-Identifier: Apache-2.0 43 iut_case_print("starting to test gpio pin %d output ...\n", i); in test_gpio_output() 69 iut_case_print("Pin %d Test done\n", i); in test_gpio_output() 86 iut_print("trigger callback %d times, pin index is 0x%x\n", times, pins); in test_callback()
|
| /hal_intel-latest/bsp_sedi/include/driver/ |
| D | sedi_driver_common.h | 2 * Copyright (c) 2023 - 2024 Intel Corporation 4 * SPDX-License-Identifier: BSD-3-Clause 98 #define SEDI_DRIVER_ERROR -1 104 #define SEDI_DRIVER_ERROR_BUSY -2 110 #define SEDI_DRIVER_ERROR_TIMEOUT -3 116 #define SEDI_DRIVER_ERROR_UNSUPPORTED -4 122 #define SEDI_DRIVER_ERROR_PARAMETER -5 128 #define SEDI_DRIVER_ERROR_TRANSFER -6 134 #define SEDI_DRIVER_ERROR_NO_DEV -7 140 #define SEDI_DRIVER_ERROR_SPECIFIC -8 [all …]
|
| D | sedi_driver_dma.h | 4 * SPDX-License-Identifier: BSD-3-Clause 185 /* write backs for D/S STAT*/ 359 * \brief fill up linked-list node with given configuration 364 * \param[in] ctrl_reg_low: control register lower 32-bitcontent 374 * \brief fill up linked-list node with given scatter gather configuration 376 * \param[in] count: linked-list node count 377 * \param[in] ctrl_reg_low: control register lower 32-bitcontent 386 * \brief transfer data with dma in linked-list mode
|
| /hal_intel-latest/zephyr/iut_test/test_zephyr/dma/ |
| D | test_dma_m2m.c | 4 * SPDX-License-Identifier: Apache-2.0 32 iut_case_print("DMA ch[%d] transfer error, status = %d\n", channel, status); in test_done() 99 us = sedi_rtc_get_us() - us; in test_dma_m2m()
|
| /hal_intel-latest/zephyr/iut_test/test_zephyr/x86/ |
| D | test_fatal.c | 4 * SPDX-License-Identifier: Apache-2.0 17 iut_case_print("no way to come here, %d\n", num); in test_divide0()
|
| /hal_intel-latest/zephyr/iut_test/include/ |
| D | iut.h | 4 * SPDX-License-Identifier: Apache-2.0 48 iut_print("IUT: (%s, %s): "fmt, iut_running->group, iut_running->name, ## arg) 58 #define IUT_ERR_ASSERT (-1) 64 printk("%s:%d: ASSERT failed\n", __FILE__, __LINE__); \
|
| /hal_intel-latest/bsp_sedi/soc/intel_ish/pm/ |
| D | ish_pm.c | 4 * SPDX-License-Identifier: BSD-3-Clause 85 * ISH PMU does not support both-edge interrupt triggered gpio configuration. 92 * triggered by both-edge, and temporarily set each gpio pin to the single 94 * After exiting LPM, then restore the both-edge trigger configuration. 170 stat->total_time_us += t1 - t0; in log_pm_stat() 171 stat->count++; in log_pm_stat() 191 struct gdt_entry *__gdt = (struct gdt_entry *)(gdt_ptr->entries); in add_gdt_entry() 197 index = (gdt_ptr->limit + 1) >> 3; in add_gdt_entry() 204 gdt_ptr->limit += sizeof(struct gdt_entry); in add_gdt_entry() 206 return ((index + 1) << 3) - sizeof(struct gdt_entry); in add_gdt_entry() [all …]
|
| /hal_intel-latest/bsp_sedi/drivers/usart/ |
| D | sedi_dw_uart.c | 2 * Copyright (c) 2023 - 2024 Intel Corporation 4 * SPDX-License-Identifier: BSD-3-Clause 105 uint32_t det; /**< Driver-output Enable Timing. */ 206 sedi_uart_dma_xfer_t *xfer = (sedi_uart_dma_xfer_t *)(ctxt->dma_xfer); in sedi_dma_event_cb() 209 sedi_uart_regs_t *const regs = SEDI_UART[ctxt->uart]; in sedi_dma_event_cb() 210 uint32_t line_err_status = (regs->lsr & BSETS_UART_LSR_ERROR); in sedi_dma_event_cb() 212 if (ctxt->operation == READ) { in sedi_dma_event_cb() 214 if (xfer->callback) { in sedi_dma_event_cb() 215 xfer->callback(xfer->cb_param, SEDI_DRIVER_OK, line_err_status, in sedi_dma_event_cb() 216 xfer->len); in sedi_dma_event_cb() [all …]
|
| /hal_intel-latest/docs/ |
| D | bsp_sedi_doxyfile | 16 #--------------------------------------------------------------------------- 18 #--------------------------------------------------------------------------- 21 # file that follow. The default is UTF-8 which is also the encoding used for all 25 # The default value is: UTF-8. 27 DOXYFILE_ENCODING = UTF-8 30 # double-quotes, unless you are using Doxywizard) that should identify the 63 # If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub- 73 # If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII 74 # characters to appear in the names of generated files. If set to NO, non-ASCII 85 # Chinese-Traditional, Croatian, Czech, Danish, Dutch, English (United States), [all …]
|