Searched refs:i2c_dev (Results 1 – 2 of 2) sorted by relevance
/hal_intel-3.5.0/zephyr/iut_test/test_zephyr/i2c/ |
D | test_i2c_log.c | 44 const struct device *i2c_dev = DEVICE_DT_GET(DT_DRV_INST(0)); in impl_test_log_i2c() local 53 if (!i2c_dev) { in impl_test_log_i2c() 57 ret = i2c_configure(i2c_dev, i2c_cfg); 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() 89 ret = i2c_write(i2c_dev, data, sizeof(data), LOG_I2C_DEV_ADDR); in impl_test_log_i2c()
|
/hal_intel-3.5.0/bsp_sedi/drivers/i2c/ |
D | sedi_i2c_dw_apb_200a.c | 729 static int config_and_enable_dma_channel(sedi_i2c_t i2c_dev, int dma, int handshake, int chan, in config_and_enable_dma_channel() argument 737 struct i2c_context *context = &contexts[i2c_dev]; in config_and_enable_dma_channel() 742 ret = sedi_dma_init(dma, chan, callback_tx_dma_transfer, (void *)i2c_dev); in config_and_enable_dma_channel() 753 ret = sedi_dma_init(dma, chan, callback_rx_dma_transfer, (void *)i2c_dev); in config_and_enable_dma_channel() 764 ret = sedi_dma_init(dma, chan, callback_rx_cmd_dma_transfer, (void *)i2c_dev); in config_and_enable_dma_channel()
|