Home
last modified time | relevance | path

Searched refs:mock_api (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/tests/subsys/mgmt/ec_host_cmd/uart/src/
Duart_mock.c62 static DEVICE_API(uart, mock_api) = {
70 .api = &mock_api,
/Zephyr-latest/drivers/spi/
Dspi_emul.c83 if (emul->mock_api != NULL && emul->mock_api->io != NULL) { in spi_emul_io()
84 ret = emul->mock_api->io(emul->target, config, tx_bufs, rx_bufs); in spi_emul_io()
/Zephyr-latest/include/zephyr/drivers/
Di2c_emul.h50 struct i2c_emul_api *mock_api; member
Dspi_emul.h50 struct spi_emul_api *mock_api; member
/Zephyr-latest/tests/drivers/sensor/bmi160/src/
Di2c.c36 fixture->emul_i2c->bus.i2c->mock_api = &mock_bus_api; in ZTEST_USER_F()
Dspi.c36 fixture->emul_spi->bus.spi->mock_api = &mock_bus_api; in ZTEST_USER_F()
/Zephyr-latest/drivers/i2c/
Di2c_emul.c229 if (emul->mock_api != NULL && emul->mock_api->transfer != NULL) { in i2c_emul_transfer()
230 ret = emul->mock_api->transfer(emul->target, msgs, num_msgs, addr); in i2c_emul_transfer()