/hal_intel-3.7.0/zephyr/iut_test/test_zephyr/i2c/ |
D | test_i2c_log.c | 43 uint8_t data[LOG_I2C_DATA_SIZE]; in impl_test_log_i2c() local 63 for (int i = 0; i < sizeof(data) - 2; i++) { in impl_test_log_i2c() 64 data[i] = ((loop + i) % 10) + 0x30; 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() 70 ret = sedi_i2c_master_poll_write(LOG_I2C_BUS, LOG_I2C_DEV_ADDR, data, in impl_test_log_i2c() 71 sizeof(data), false); in impl_test_log_i2c() 76 msg.buf = (uint8_t *)data; in impl_test_log_i2c() 77 msg.len = sizeof(data); in impl_test_log_i2c() 89 ret = i2c_write(i2c_dev, data, sizeof(data), LOG_I2C_DEV_ADDR); in impl_test_log_i2c()
|
/hal_intel-3.7.0/bsp_sedi/include/driver/ |
D | sedi_driver_uart.h | 203 uint8_t *data; /**< Pre-allocated write or read buffer. */ member 216 void (*callback)(void *data, int error, uint32_t status, uint32_t len); 239 void (*callback)(void *data, int error, uint32_t status, 264 uint8_t *data; /**< Data ptr. */ member 327 int sedi_uart_write(IN sedi_uart_t uart, IN uint8_t data); 343 int sedi_uart_read(IN sedi_uart_t uart, OUT uint8_t *const data, 362 int sedi_uart_read_buffer(IN sedi_uart_t uart, OUT uint8_t *const data, 378 int sedi_uart_write_non_block(IN sedi_uart_t uart, IN uint8_t data); 392 int sedi_uart_read_non_block(IN sedi_uart_t uart, OUT uint8_t *const data); 408 int sedi_uart_write_buffer(IN sedi_uart_t uart, IN uint8_t *const data, [all …]
|
D | sedi_driver_i2c.h | 362 IN uint8_t *data, IN uint32_t num, 376 OUT uint8_t *data, IN uint32_t num, 394 IN uint8_t *data, IN uint32_t num, IN bool pending, 415 OUT uint8_t *data, IN uint32_t num, IN bool pending, 431 IN uint8_t *data, IN uint32_t num, 445 OUT uint8_t *data, IN uint32_t num,
|
/hal_intel-3.7.0/bsp_sedi/drivers/i2c/ |
D | sedi_i2c_dw_apb_200a.c | 437 uint32_t data = SEDI_RBFVM(I2C, DATA_CMD, CMD, READ); in i2c_ask_data() local 473 data |= SEDI_RBFVM(I2C, DATA_CMD, RESTART, ENABLE); in i2c_ask_data() 478 data |= SEDI_RBFVM(I2C, DATA_CMD, STOP, ENABLE); in i2c_ask_data() 483 i2c->data_cmd = data; in i2c_ask_data() 488 data = SEDI_RBFVM(I2C, DATA_CMD, CMD, READ); in i2c_ask_data() 499 uint32_t data = 0; in i2c_send() local 518 data = buf[context->buf_index]; in i2c_send() 519 i2c->data_cmd = data; in i2c_send() 525 data = buf[context->buf_index]; in i2c_send() 535 SEDI_PREG_RBFV_SET(I2C, DATA_CMD, STOP, ENABLE, &data); in i2c_send() [all …]
|
/hal_intel-3.7.0/bsp_sedi/drivers/usart/ |
D | sedi_dw_uart.c | 271 static void io_vec_write_callback(void *data, int error, uint32_t status, uint32_t len) in io_vec_write_callback() argument 274 sedi_uart_t uart = (sedi_uart_t)(data); in io_vec_write_callback() 298 vec_write_ctxt[uart].xfer.data = vec_xfer->vec[current_count].base; in io_vec_write_callback() 312 static void io_vec_read_callback(void *data, int error, uint32_t status, uint32_t len) in io_vec_read_callback() argument 314 sedi_uart_t uart = (sedi_uart_t)(data); in io_vec_read_callback() 337 vec_read_ctxt[uart].xfer.data = vec_xfer->vec[current_count].base; in io_vec_read_callback() 468 regs->rbr_thr_dll = write_transfer->data[write_pos[uart]++]; in sedi_uart_isr_handler() 517 read_transfer->data[read_pos[uart]++] = regs->rbr_thr_dll; in sedi_uart_isr_handler() 684 int sedi_uart_write(IN sedi_uart_t uart, IN uint8_t data) in sedi_uart_write() argument 701 regs->rbr_thr_dll = data; in sedi_uart_write() [all …]
|
/hal_intel-3.7.0/zephyr/subsys/logging/backends/ |
D | log_backend_i2c.c | 23 static int log_i2c_char_out(uint8_t *data, size_t length, void *ctx) in log_i2c_char_out() argument 30 data, length, false); in log_i2c_char_out()
|
/hal_intel-3.7.0/bsp_sedi/drivers/spi/ |
D | sedi_spi_dw_apb.c | 344 uint32_t data = 0; in lld_spi_fill_fifo() local 374 data = (uint32_t)(*buff); in lld_spi_fill_fifo() 377 data = (uint32_t)(*(uint16_t *)buff); in lld_spi_fill_fifo() 385 data = context->dummy_data; in lld_spi_fill_fifo() 388 SEDI_PREG_SET(SPI, DR0, data, &spi->dr0); in lld_spi_fill_fifo() 399 uint32_t data; in lld_spi_receive_fifo() local 407 data = SEDI_PREG_GET(SPI, DR0, &spi->dr0); in lld_spi_receive_fifo() 411 *buff = (data & 0xFF); in lld_spi_receive_fifo() 414 buff[0] = (data & 0xFF); in lld_spi_receive_fifo() 415 buff[1] = ((data >> 8U) & 0xFF); in lld_spi_receive_fifo()
|
/hal_intel-3.7.0/docs/ |
D | bsp_sedi_doxyfile | 430 # with only public data fields or simple typedef fields will be shown inline in 1718 # search data is written to a file for indexing by an external tool. With the
|