Home
last modified time | relevance | path

Searched +full:- +full:s (Results 1 – 23 of 23) sorted by relevance

/hal_intel-latest/bsp_sedi/include/driver/
Dsedi_driver_hpet.h4 * SPDX-License-Identifier: BSD-3-Clause
56 * \brief Get the hpet driver's API version.
57 * \return the version of current hpet driver's API
62 * \brief Get the device's capabilities.
68 * \brief Get HPET's current setting of minimal delay time.
69 * \return HPET's current setting of minimal delay time.
74 * \brief Set HPET's minimal delay time. The comparator value must be set
77 * \param[in] min_delay: SoC-specific HPET minimal delay time.
84 * \param[in] min_delay: SoC-specific HPET minimal delay time to set.
96 * \brief Set the device's power
[all …]
Dsedi_driver_gpio.h4 * SPDX-License-Identifier: BSD-3-Clause
127 * \param[in] pin_mask: 32-bits pin mask, indicate the pins trigger this
148 * \brief Get the gpio driver's API version.
149 * \return the version of current gpio driver's API
154 * \brief Get the device's capabilities.
165 * \param[in] cb: the callback function which can receive device's events.
180 * \brief Set the device's power
242 * \return 8-bit pin value
250 * \return 16-bit pin value
259 * \return 32-bit pin value
[all …]
Dsedi_driver_spi.h4 * SPDX-License-Identifier: BSD-3-Clause
67 * covert 4-bits data to 8-bits data. The transfer size shall also use
85 * SPI slave's CS pin to a fixed low level.
264 uint32_t isr : 6; /* ISR status in error, only bit 0-5 is valid */
341 * \brief Get the spi driver's API version.
342 * \return the version of current spi driver's API
347 * \brief Get the device's capabilities.
358 * \param[in] cb: the callback function which can receive device's events.
359 * \param[in] param: the callback function's parameter.
374 * \brief Set the device's power
[all …]
Dsedi_driver_ipc.h4 * SPDX-License-Identifier: BSD-3-Clause
132 * Get the ipc driver's API version.
133 * return the version of current ipc driver's API
138 * Get the device's capabilities.
164 * param[in] cb: the callback function which can receive device's events.
179 * Set the device's power
Dsedi_driver_dma.h4 * SPDX-License-Identifier: BSD-3-Clause
185 /* write backs for D/S STAT*/
295 * \brief Get the dma driver's API version.
296 * \return the version of current dma driver's API
301 * \brief Get the device's capabilities.
313 * \param[in] cb: the callback function which can receive device's events.
328 * \brief Set the device's power
349 * \brief Get device's status
359 * \brief fill up linked-list node with given configuration
364 * \param[in] ctrl_reg_low: control register lower 32-bitcontent
[all …]
Dsedi_driver_i2c.h4 * SPDX-License-Identifier: BSD-3-Clause
73 /*----- I2C Bus Speed -----*/
119 * \brief 10-bit address flag
254 uint32_t address_10_bit : 1; /**< supports 10-bit addressing */
310 * \brief Get the i2c driver's API version.
311 * \return the version of current i2c driver's API
316 * \brief Get the device's capabilities.
327 * \param[in] cb: the callback function which can receive device's events.
342 * \brief Set the device's power
353 * \param[in] addr: slave address (7-bit or 10-bit)
[all …]
Dsedi_driver_common.h2 * 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 …]
Dsedi_driver_rtc.h4 * SPDX-License-Identifier: BSD-3-Clause
67 * \brief Get rtc driver's API versions
73 * \brief Get rtc device's capabilities.
Dsedi_driver_uart.h4 * SPDX-License-Identifier: BSD-3-Clause
101 * @brief UART RS-485 transfer mode
115 * @brief UART RS-485 polarity for de and re signals
126 * @brief UART RS-485 configuration structure type
139 /** De-assertion time for DE in nanoseconds */
180 /** Addr Ctrl s/w or h/w enabled receive address match. */
203 uint8_t *data; /**< Pre-allocated write or read buffer. */
370 * This is a non-blocking synchronous call.
384 * This is a non-blocking synchronous call.
395 * @brief UART multi-byte data write.
[all …]
/hal_intel-latest/zephyr/iut_test/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
33 iut_print("\nIUT: (%s, %s, 0x%x): Start running cases ......\n", 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()
64 iut_print("IUT: (%s, %s): Case %u, run\n", in iut_run()
65 ut->group, ut->name, iut_cnt_run); in iut_run()
68 ret = ut->func(argc, argv); in iut_run()
70 iut_print("IUT: (%s, %s): Case %u, %s\n", in iut_run()
[all …]
Dtest_example.c4 * SPDX-License-Identifier: Apache-2.0
13 iut_case_print("argv=\"%s\"\n", argv[i]); in test_example_1()
25 iut_case_print("argv=\"%s\"\n", argv[i]); in test_example_2()
Dshell_iut.c4 * SPDX-License-Identifier: Apache-2.0
24 shell_fprintf(shell, SHELL_NORMAL, "\t- %s, %s, 0x%x\n", in cmd_iut_list()
25 ut->group, ut->name, ut->attri); in cmd_iut_list()
36 return -EPERM; in cmd_iut_run()
45 return -EPERM; in cmd_iut_grun()
74 sh_uart = (const struct shell_uart *)shell_ptr->iface->ctx; in iut_shell_suspend()
82 k_timer_stop(sh_uart->timer); in iut_shell_suspend()
88 k_timer_start(sh_uart->timer, K_NO_WAIT, in iut_shell_resume()
/hal_intel-latest/bsp_sedi/soc/intel_ish/pm/aon/
Daon_share.h4 * SPDX-License-Identifier: BSD-3-Clause
34 /* aontask's TSS segment entry */
36 /* aontask's LDT start address */
38 /* aontask's LDT's limit size */
42 /* for store/restore main FW's IDT */
46 * main FW's read only code and data region in main SRAM,
53 * main FW's read and write data region in main SRAM,
Daon_task.c2 * Copyright (c) 2023 -2024 Intel Corporation
4 * SPDX-License-Identifier: BSD-3-Clause
63 static struct idt_entry aon_idt[AON_IDT_ENTRY_VEC_LAST -
68 .limit = (sizeof(struct idt_entry) * (AON_IDT_ENTRY_VEC_LAST + 1)) - 1,
69 .entries = (struct idt_entry *)((uint32_t)&aon_idt -
77 .esp0 = (uint8_t *)(CONFIG_AON_PERSISTENT_BASE - AON_SP_RESERVED),
96 .esp = CONFIG_AON_PERSISTENT_BASE - AON_SP_RESERVED,
97 .ebp = CONFIG_AON_PERSISTENT_BASE - AON_SP_RESERVED,
123 * TSS's limit specified as 0x67, to allow the task has permission to
192 count--; in delay()
[all …]
/hal_intel-latest/zephyr/iut_test/include/
Diut.h4 * 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/.github/workflows/
Dsedi_docs_update.yml7 permissions: read-all
11 runs-on: ubuntu-22.04
18 - name: Checkout Code
21 - name: Git Prepare
24 git config --global user.email "intel_hal@intel.github.com"
25 git config --global user.name "Intel HAL Docs Robot"
28 - name: Install Doxygen Tools
30 sudo apt-get update
31 sudo apt-get install -y graphviz doxygen
33 - name: Run Doxygen
[all …]
/hal_intel-latest/bsp_sedi/soc/intel_ish/pm/
Dish_pm.c4 * 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.
146 /* D0ix statistics data, including each state's count and total stay time */
170 stat->total_time_us += t1 - t0; in log_pm_stat()
171 stat->count++; in log_pm_stat()
176 /* TSS descriptor for saving main FW's cpu context during aontask switching */
191 struct gdt_entry *__gdt = (struct gdt_entry *)(gdt_ptr->entries); in add_gdt_entry()
194 * get the first empty entry of GDT which defined in crt0.S in add_gdt_entry()
[all …]
/hal_intel-latest/docs/
Dbsp_sedi_doxyfile16 #---------------------------------------------------------------------------
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 …]
/hal_intel-latest/zephyr/
DCMakeLists.txt3 # SPDX-License-Identifier: BSD-3-Clause
31 zephyr_library_sources_ifdef(CONFIG_PM ${BSP_SEDI_SRC}/soc/intel_ish/pm/aon/ipapg.S)
/hal_intel-latest/bsp_sedi/drivers/hpet/
Dsedi_hpet.c2 * Copyright (c) 2023 - 2024 Intel Corporation
4 * SPDX-License-Identifier: BSD-3-Clause
11 /* define two 64-bit registers for easy access with SEDI REG APIs */
12 SEDI_REG_DEFINE(HPET, T0CV, 0x108, RW, (uint64_t)-1, (uint64_t)-1);
13 SEDI_REG_DEFINE(HPET, MCV, 0x0f0, RW, (uint64_t)-1, (uint64_t)0x0);
44 uint32_t one_shot : 1; /* select period/non-period mode */
47 uint64_t microsec; /* user's parameter */
131 /* it's wrong to set into a 32-bits timer */ in sedi_hpet_set_comparator()
139 diff = (int64_t)(value - now); in sedi_hpet_set_comparator()
141 diff = (int32_t)((uint32_t)value - (uint32_t)now); in sedi_hpet_set_comparator()
[all …]
/hal_intel-latest/bsp_sedi/soc/intel_ish/include/
Dsedi_soc_regs.h2 * Copyright (c) 2023 - 2024 Intel Corporation
4 * SPDX-License-Identifier: BSD-3-Clause
100 #define SEDI_IRQ_HPET_TIMER_1 (0) /* fake IRQ number, same as timer 0's */
/hal_intel-latest/bsp_sedi/soc/common/include/
Dsedi_reg_defs.h4 * SPDX-License-Identifier: BSD-3-Clause
50 * const (RO) or un-const (RW or WO)
104 * const (RO) or un-const (RW or WO)
120 * - REGO (REGister address Offset): address offset from the IP base address.
121 * - REGR (REGister Reset value) : reset value after reset. It's const if the register is RO.
130 * - RBFO (Register Bit Field Offset): bit offset of the RBF.
131 * - RBFW (Register Bit Field Width) : bit width of the RBF.
132 * - RBFM (Register Bit Field Mask) : bit mask of the RBF.
139 ((SEDI_REGT(_comp, _reg))(-1) & \
140 ~(_SEDI_REGBM(_comp, _reg, _offset) - 1)) : \
[all …]
/hal_intel-latest/bsp_sedi/drivers/usart/
Dsedi_dw_uart.c2 * 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 …]