| /hal_intel-latest/docs/ |
| D | bsp_sedi_doxyfile | 38 # could be handy for archiving the generated documentation or if some version 57 # into which the generated documentation will be written. If a relative path is 58 # entered, it will be relative to the location where doxygen was started. If 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 104 # If the BRIEF_MEMBER_DESC tag is set to YES, doxygen will include brief member 111 # If the REPEAT_BRIEF tag is set to YES, doxygen will prepend the brief 114 # Note: If both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the 121 # used to form the text in various listings. Each string in this list, if found [all …]
|
| /hal_intel-latest/bsp_sedi/drivers/i2c/ |
| D | sedi_i2c_dw_apb_200a.c | 132 if (bus_info->std_clk.hcnt == 0) { in init_i2c_prescale() 155 if (SEDI_PREG_RBFV_IS_SET(I2C, ENABLE_STATUS, IC_EN, ENABLED, &i2c->enable_status)) { in dw_i2c_enable() 171 /* If already disabled, return */ in dw_i2c_disable() 172 if (SEDI_PREG_RBFV_IS_SET(I2C, ENABLE, ENABLE, DISABLED, &i2c->enable)) { in dw_i2c_disable() 179 if (SEDI_PREG_RBFV_IS_SET(I2C, STATUS, MST_ACTIVITY, ACTIVE, &i2c->status)) { in dw_i2c_disable() 199 if (slave_addr & SEDI_I2C_ADDRESS_10BIT) { in dw_i2c_config_addr() 211 if (SEDI_PREG_RBFV_IS_SET(I2C, ENABLE_STATUS, IC_EN, ENABLED, &i2c->enable_status)) { in dw_i2c_config_speed() 217 /* config sda_hold if needed */ in dw_i2c_config_speed() 218 if (cfg->sda_hold) { in dw_i2c_config_speed() 269 if ((i == length - 1) && (!pending)) { in dw_i2c_poll_write() [all …]
|
| /hal_intel-latest/bsp_sedi/drivers/usart/ |
| D | sedi_dw_uart.c | 101 #if (HAS_UART_RS485_SUPPORT) 108 #if (HAS_UART_9BIT_SUPPORT) 212 if (ctxt->operation == READ) { in sedi_dma_event_cb() 213 if (event == SEDI_DMA_EVENT_TRANSFER_DONE) { in sedi_dma_event_cb() 214 if (xfer->callback) { in sedi_dma_event_cb() 219 if (xfer->callback) { in sedi_dma_event_cb() 224 } else if (ctxt->operation == WRITE) { in sedi_dma_event_cb() 225 if (event == SEDI_DMA_EVENT_TRANSFER_DONE) { in sedi_dma_event_cb() 230 if (xfer->callback) { in sedi_dma_event_cb() 235 if (xfer->callback) { in sedi_dma_event_cb() [all …]
|
| /hal_intel-latest/bsp_sedi/drivers/ipc/ |
| D | sedi_ipc.c | 118 if (!ipc_contexts[ipc_device].initialized) { in check_ipc_available() 157 if (sb) { in sedi_ipc_init() 161 if (SEDI_PREG_RBFV_IS_SET(IPC, ISH2AGENT_DOORBELL_AGENT, BUSY, 1, in sedi_ipc_init() 170 if (SEDI_PREG_RBFV_IS_SET(IPC, ISH_IPC_BUSY_CLEAR_AGENT, in sedi_ipc_init() 200 if (sb) { in sedi_ipc_uninit() 216 if (ret != SEDI_DRIVER_OK) { in sedi_ipc_set_power() 231 if (ret != SEDI_DRIVER_OK) { in sedi_ipc_write_msg() 241 if (sb) { in sedi_ipc_write_msg() 255 if (size % sizeof(uint32_t)) { in sedi_ipc_write_msg() 270 if (ret != SEDI_DRIVER_OK) { in sedi_ipc_write_dbl() [all …]
|
| /hal_intel-latest/zephyr/iut_test/test_zephyr/i2c/ |
| D | test_i2c_log.c | 30 #if defined(CONFIG_I2C_ASYNC) 53 if (!i2c_dev) { in impl_test_log_i2c() 58 if (ret) { in impl_test_log_i2c() 69 if (mode & POLLING) { in impl_test_log_i2c() 72 #if defined(CONFIG_I2C_ASYNC) in impl_test_log_i2c() 73 } else if (mode & ASYNC) { in impl_test_log_i2c() 82 if (ret == -EWOULDBLOCK) { in impl_test_log_i2c() 92 if (ret) { in impl_test_log_i2c() 93 if (retry >= LOG_I2C_RETRY_CNT) { in impl_test_log_i2c() 103 if (!(loop % 100)) { in impl_test_log_i2c() [all …]
|
| /hal_intel-latest/bsp_sedi/drivers/spi/ |
| D | sedi_spi_dw_apb.c | 168 if (SEDI_PREG_RBFV_GET(SPI, SSIENR, SSI_EN, &spi->ssienr) == val) { in lld_spi_enable() 181 if (enable) { in lld_spi_dma_enable() 234 * 16, if SSI_MAX_XFER_SIZE is configured to 32, then writing to this field in lld_spi_default_config() 294 * 16, if SSI_MAX_XFER_SIZE is configured to 32, then writing to this field in lld_spi_config_width() 323 if (data_out == NULL) { in lld_spi_set_transfer_mode() 327 } else if (data_in == NULL) { in lld_spi_set_transfer_mode() 347 if ((context->is_quad) && (context->quad_config)) { in lld_spi_fill_fifo() 357 if (context->transfer_mode == SEDI_RBFV(SPI, CTRLR0, TMOD, RX_ONLY)) { in lld_spi_fill_fifo() 371 if (buff) { in lld_spi_fill_fifo() 408 if (buff) { in lld_spi_receive_fifo() [all …]
|
| /hal_intel-latest/bsp_sedi/drivers/dma/ |
| D | sedi_dma_ann_1p0.c | 104 if (sedi_dev_is_self_owned(SEDI_DEVID_DMA0 + dma_device)) { in sedi_dma_get_capabilities() 118 if (dma_context[dma_device].vnn_status == 0) { in dma_vnn_req() 129 if (dma_context[dma_device].vnn_status & (BIT(channel_id))) { in dma_vnn_dereq() 131 if (dma_context[dma_device].vnn_status == 0) { in dma_vnn_dereq() 256 if (dma_context[dma_device].power_status == 0) { in sedi_dma_set_power() 266 if (dma_context[dma_device].power_status == 0) { in sedi_dma_set_power() 270 if (dma_context[dma_device].power_status == 0) { in sedi_dma_set_power() 381 if (config->direction != DMA_MEMORY_TO_MEMORY) { in dma_apply_other_regs() 409 if ((config->direction == DMA_MEMORY_TO_PERIPHERAL) || in dma_apply_other_regs() 413 if (config->sr_mem_type == DMA_UMA_MEM) { in dma_apply_other_regs() [all …]
|
| /hal_intel-latest/bsp_sedi/soc/intel_ish/pm/aon/ |
| D | aon_task.c | 234 if (ret != DMA_RC_OK) { in store_main_fw() 276 if (ret != DMA_RC_OK) { in restore_main_fw() 299 if (ret != DMA_RC_OK) { in restore_main_fw() 336 if (enable && (pmu_sram_val & pmu_toggle_bit)) { in sram_toggle_tile() 343 } else if (!enable && (~pmu_sram_val & pmu_toggle_bit)) { in sram_toggle_tile() 360 if (enable) { in sram_toggle_bank() 361 if (sram_toggle_tile(tile_id, enable) && in sram_toggle_bank() 432 * size unit, and using 0 based length, i.e if set 0, will erase one in sram_power() 439 if (on && (BANK_PG_STATUS(i))) { in sram_power() 498 if (system_power_state) in is_ipapg_allowed() [all …]
|
| /hal_intel-latest/zephyr/iut_test/src/ |
| D | main.c | 36 if (argc) { in iut_run() 45 if (ut == NULL) { in iut_run() 50 if ((char *)ut >= __iut_cases_end) { 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() 74 if (ret != IUT_ERR_OK) { in iut_run() 88 if (k_sem_take(&sem_trigger, K_NO_WAIT) != 0) { in iut_trigger() 95 if ((argc < ARGC_MIN_NUM) || (argc > ARGC_MAX_NUM)) { in iut_trigger() 104 if ((argv_buf_pos + len + 1) > sizeof(argv_buf)) { in iut_trigger() [all …]
|
| D | shell_iut.c | 35 if (argc < 2) in cmd_iut_run() 44 if (argc < 2) in cmd_iut_grun() 64 if (!sh_uart) { in iut_shell_suspend() 68 if (shell_ptr == NULL) { in iut_shell_suspend() 76 if (sh_uart == NULL) { in iut_shell_suspend() 87 if (sh_uart) { in iut_shell_resume()
|
| /hal_intel-latest/bsp_sedi/drivers/gpio/ |
| D | sedi_gpio.c | 120 if (access_type == SEDI_GPIO_8BITS_ACCESS) { in gpio_write_pin_port() 122 } else if (access_type == SEDI_GPIO_16BITS_ACCESS) { in gpio_write_pin_port() 131 if (state == SEDI_GPIO_STATE_HIGH) { in gpio_write_pin_port() 151 if (access_type == SEDI_GPIO_8BITS_ACCESS) { in gpio_read_pin_port() 153 } else if (access_type == SEDI_GPIO_16BITS_ACCESS) { in gpio_read_pin_port() 182 if ((context->cb_event) && (gisr != 0)) { in gpio_isr() 197 if (sedi_dev_is_self_owned(SEDI_DEVID_GPIO0 + gpio_device)) { in sedi_gpio_get_capabilities() 212 if (!sedi_dev_is_self_owned(SEDI_DEVID_GPIO0 + gpio_device)) { in sedi_gpio_init() 216 if (gpio_context[gpio_device].flag == GPIO_FLAG_INIT) in sedi_gpio_init() 267 if (pin_config.direction == SEDI_GPIO_DIR_MODE_OUTPUT) { in sedi_gpio_config_pin() [all …]
|
| /hal_intel-latest/bsp_sedi/soc/intel_ish/pm/ |
| D | ish_pm.c | 86 * If both edges are configured, then the ISH can't stay in low power mode 106 if (read32(ISH_GPIO_GIMR) & BIT(i) && read32(ISH_GPIO_GRER) & BIT(i) && in convert_both_edge_gpio_to_single_edge() 111 if (read32(ISH_GPIO_GPLR) & BIT(i)) { in convert_both_edge_gpio_to_single_edge() 215 if (aon_share->magic_id != AON_MAGIC_ID) { in init_aon_task() 269 if (aon_share->last_error != AON_SUCCESS) { in check_aon_task_status() 281 if ((((uint64_t)1) << i & current_ioapic_state) && (i != SEDI_IRQ_PMU2IOAPIC) in pm_disable_irqs() 292 if ((((uint64_t)1) << i & current_ioapic_state) && (i != SEDI_IRQ_PMU2IOAPIC) in pm_enable_irqs() 441 if (pm_ctx.aon_share->pg_exit) in enter_d0i2() 456 if (pm_ctx.aon_share->pg_exit) in enter_d0i2() 490 if (pm_ctx.aon_share->pg_exit) in enter_d0i3() [all …]
|
| D | ish_dma.c | 9 static int dma_init_called; /* If ish_dma_init is called */ 23 if ((read32(addr) & mask) == expected) { in dma_poll() 117 if (rc != DMA_RC_OK) in ish_dma_copy() 150 if (read32(DMA_EN_REG) & DMA_CH_EN_BIT(channel)) { in ish_dma_disable()
|
| D | ish_dma.h | 60 * @return DMA_RC_OK, or non-zero if error. 77 * @return DMA_RC_OK, or non-zero if error.
|
| /hal_intel-latest/bsp_sedi/drivers/hpet/ |
| D | sedi_hpet.c | 46 uint32_t valid : 1; /* Check if the position has been token */ 130 if ((timer_id != HPET_0) && (value >> 32)) { in sedi_hpet_set_comparator() 138 if (timer_id == HPET_0) { in sedi_hpet_set_comparator() 143 if (diff < hpet_min_delay) { in sedi_hpet_set_comparator() 269 if (!(SEDI_REG_GET(HPET, GIS_LOW) & BIT(timer_id))) in sedi_hpet_timer_int_handler() 275 if (bsp_timers[timer_id].callback) { in sedi_hpet_timer_int_handler() 279 if (bsp_timers[timer_id].one_shot) { in sedi_hpet_timer_int_handler() 294 /* Check if timer is being used */ in sedi_hpet_config_timer() 306 if (bsp_timers[timer_id].timeout < hpet_min_delay) { in sedi_hpet_config_timer()
|
| /hal_intel-latest/zephyr/ |
| D | CMakeLists.txt | 5 if(CONFIG_INTEL_HAL) 21 if(CONFIG_DMA_SEDI OR CONFIG_I2C_SEDI OR CONFIG_SPI_SEDI) 27 if(DEFINED CONFIG_SOC_FAMILY_INTEL_ISH) 38 if(EXISTS ${BSP_SEDI_SOC_DIR}/sedi_soc.c)
|
| /hal_intel-latest/zephyr/iut_test/test_zephyr/dma/ |
| D | test_dma_m2m.c | 12 #if defined(CONFIG_CACHE_MANAGEMENT) 31 if (status != 0) { in test_done() 53 if (argc) { in test_dma_m2m() 61 #if defined(CONFIG_CACHE_MANAGEMENT) in test_dma_m2m() 84 #if defined(CONFIG_CACHE_MANAGEMENT) in test_dma_m2m()
|
| /hal_intel-latest/zephyr/iut_test/test_zephyr/ |
| D | CMakeLists.txt | 6 if(CONFIG_DMA_SEDI) 10 if(CONFIG_I2C_SEDI) 14 if(CONFIG_GPIO_SEDI)
|
| /hal_intel-latest/zephyr/iut_test/test_sedi/ |
| D | test_sedi_rtc.c | 19 if (argc) { in test_rtc_inc() 29 if (cnt < cnt_rtc) { in test_rtc_inc() 34 if (us < us_rtc) { in test_rtc_inc()
|
| /hal_intel-latest/bsp_sedi/soc/intel_ish/ |
| D | sedi_soc.c | 46 if (!vnn_req_counter[vnn_id]) in PM_VNN_DRIVER_REQ() 60 if (vnn_req_counter[vnn_id] == 0) { in PM_VNN_DRIVER_DEREQ() 64 if (vnn_req_counter[vnn_id] != 0) { in PM_VNN_DRIVER_DEREQ()
|
| /hal_intel-latest/bsp_sedi/include/driver/ |
| D | sedi_driver_uart.h | 213 * @param[in] len Length of the UART transfer if successful, 0 297 * Retrieve UART interface status. Return SEDI_UART_BUSY if transmitting 298 * data; SEDI_UART_IDLE if available for transfer; SEDI_UART_TX_ERROR if an 490 * @retval false if no irq is pending. 491 * true if irq is pending. 506 * @retval true if both transmit holding register and transmitter are empty. 523 * @retval false if IRQ is not due to rx data. 524 * true if IRQ is due to rx data.. 537 * @retval false if transmit holding register is not empty. 538 * true if transmit holding register is empty [all …]
|
| D | sedi_driver_common.h | 203 if (!(condition)) { \ 221 if (!(condition)) { \ 408 if (((int64_t)(us_cur - us_start) > ((_ms) * 1000)) && (_cond)) { \ 409 if (!(_mute)) { \
|
| /hal_intel-latest/zephyr/subsys/logging/backends/ |
| D | Kconfig.i2c | 7 if LOG 16 if LOG_BACKEND_I2C
|
| D | log_backend_i2c.c | 72 #if DT_HAS_CHOSEN(zephyr_log_i2c) in log_backend_i2c_init() 76 if (ret) { in log_backend_i2c_init()
|
| /hal_intel-latest/bsp_sedi/soc/intel_ish/include/ |
| D | sedi_driver_core.h | 108 if ((key & 0x00000200U) != 0U) { /* 'IF' bit */ in sedi_core_irq_unlock() 119 if (!(read32(SEDI_IOAPIC_WDW) & SEDI_IOAPIC_REDTBL_MASK)) { in sedi_core_get_irq_map()
|