Home
last modified time | relevance | path

Searched refs:i2c_dev (Results 1 – 2 of 2) sorted by relevance

/hal_intel-3.6.0/zephyr/iut_test/test_zephyr/i2c/
Dtest_i2c_log.c44 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.6.0/bsp_sedi/drivers/i2c/
Dsedi_i2c_dw_apb_200a.c742 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
753 ret = sedi_dma_init(dma, chan, callback_tx_dma_transfer, (void *)i2c_dev); in config_and_enable_dma_channel()
758 ret = sedi_dma_init(dma, chan, callback_rx_dma_transfer, (void *)i2c_dev); in config_and_enable_dma_channel()
763 ret = sedi_dma_init(dma, chan, callback_rx_cmd_dma_transfer, (void *)i2c_dev); in config_and_enable_dma_channel()