/Zephyr-latest/tests/drivers/sdhc/src/ |
D | main.c | 14 static struct sdhc_io io; variable 28 io.clock = props.f_min; in sdhc_power_on() 29 io.bus_mode = SDHC_BUSMODE_PUSHPULL; in sdhc_power_on() 30 io.power_mode = SDHC_POWER_ON; in sdhc_power_on() 31 io.bus_width = SDHC_BUS_WIDTH1BIT; in sdhc_power_on() 32 io.timing = SDHC_TIMING_LEGACY; in sdhc_power_on() 33 io.signal_voltage = SD_VOL_3_3_V; in sdhc_power_on() 35 ret = sdhc_set_io(sdhc_dev, &io); in sdhc_power_on() 84 io.clock = props.f_min; in ZTEST() 85 io.bus_mode = SDHC_BUSMODE_PUSHPULL; in ZTEST() [all …]
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | blob_io_flash.c | 17 #define FLASH_IO(_io) CONTAINER_OF(_io, struct bt_mesh_blob_io_flash, io) 40 static int io_open(const struct bt_mesh_blob_io *io, in io_open() argument 44 struct bt_mesh_blob_io_flash *flash = FLASH_IO(io); in io_open() 51 static void io_close(const struct bt_mesh_blob_io *io, in io_close() argument 54 struct bt_mesh_blob_io_flash *flash = FLASH_IO(io); in io_close() 59 static int block_start(const struct bt_mesh_blob_io *io, in block_start() argument 63 struct bt_mesh_blob_io_flash *flash = FLASH_IO(io); in block_start() 95 static int rd_chunk(const struct bt_mesh_blob_io *io, in rd_chunk() argument 100 struct bt_mesh_blob_io_flash *flash = FLASH_IO(io); in rd_chunk() 107 static int wr_chunk(const struct bt_mesh_blob_io *io, in wr_chunk() argument [all …]
|
D | blob_srv.c | 102 if (!srv->io->open) { in io_open() 106 return srv->io->open(srv->io, &srv->state.xfer, BT_MESH_BLOB_WRITE); in io_open() 111 if (!srv->io->close) { in io_close() 115 srv->io->close(srv->io, &srv->state.xfer); in io_close() 699 if (srv->io->block_start) { in handle_block_start() 700 err = srv->io->block_start(srv->io, &srv->state.xfer, in handle_block_start() 769 err = srv->io->wr(srv->io, &srv->state.xfer, &srv->block, &chunk); in handle_chunk() 783 if (srv->io->block_end) { in handle_chunk() 784 srv->io->block_end(srv->io, &srv->state.xfer, &srv->block); in handle_chunk() 915 srv->io = NULL; in blob_srv_start() [all …]
|
/Zephyr-latest/tests/drivers/build_all/adc/boards/ |
D | native_sim.overlay | 23 #io-channel-cells = <1>; 46 #io-channel-cells = <1>; 53 #io-channel-cells = <1>; 60 #io-channel-cells = <1>; 66 #io-channel-cells = <1>; 73 #io-channel-cells = <1>; 80 #io-channel-cells = <1>; 86 #io-channel-cells = <1>; 92 #io-channel-cells = <1>; 99 #io-channel-cells = <1>; [all …]
|
/Zephyr-latest/tests/bluetooth/mesh/blob_io_flash/src/ |
D | main.c | 91 err = blob_flash_stream.io.open(&blob_flash_stream.io, &xfer, BT_MESH_BLOB_READ); in ZTEST() 106 err = blob_flash_stream.io.block_start(&blob_flash_stream.io, &xfer, &block); in ZTEST() 124 err = blob_flash_stream.io.rd(&blob_flash_stream.io, &xfer, &block, &chunk); in ZTEST() 143 err = blob_flash_stream.io.rd(&blob_flash_stream.io, &xfer, &block, &chunk); in ZTEST() 148 err = blob_flash_stream.io.rd(&blob_flash_stream.io, &xfer, &block, &chunk); in ZTEST() 153 err = blob_flash_stream.io.rd(&blob_flash_stream.io, &xfer, &block, &chunk); in ZTEST() 156 blob_flash_stream.io.close(&blob_flash_stream.io, &xfer); in ZTEST() 186 err = blob_flash_stream.io.open(&blob_flash_stream.io, &xfer, BT_MESH_BLOB_WRITE); in ZTEST() 203 err = blob_flash_stream.io.block_start(&blob_flash_stream.io, &xfer, &block); in ZTEST() 222 err = blob_flash_stream.io.wr(&blob_flash_stream.io, &xfer, &block, &chunk); in ZTEST() [all …]
|
/Zephyr-latest/tests/drivers/build_all/sensor/ |
D | adc.dtsi | 16 io-channels = <&test_adc 0>; 22 io-channels = <&test_adc 1>; 23 io-channel-names = "VOLTAGE"; 32 io-channels = <&test_adc 2>; 33 io-channel-names = "CURRENT_AMP"; 54 #io-channel-cells = <1>; 60 io-channels = <&test_adc 0>; 70 io-channels = <&test_adc 0>; 79 io-channels = <&test_adc 0>; 88 io-channels = <&test_adc 0>; [all …]
|
/Zephyr-latest/tests/drivers/build_all/dac/ |
D | app.overlay | 37 #io-channel-cells = <1>; 43 #io-channel-cells = <1>; 54 #io-channel-cells = <1>; 61 #io-channel-cells = <1>; 67 #io-channel-cells = <1>; 84 #io-channel-cells = < 1 >; 91 #io-channel-cells = < 1 >; 98 #io-channel-cells = < 1 >; 133 #io-channel-cells = <1>; 149 #io-channel-cells = <1>; [all …]
|
/Zephyr-latest/samples/drivers/adc/adc_dt/boards/ |
D | beagleconnect_freedom.overlay | 10 io-channels = <&adc0 0x09>; 11 io-channel-names = "MB1_AN"; 14 * io-channels = <&adc0 0x0a>; 15 * io-channel-names = "MB2_AN";
|
/Zephyr-latest/include/zephyr/bluetooth/mesh/ |
D | blob.h | 156 int (*open)(const struct bt_mesh_blob_io *io, 167 void (*close)(const struct bt_mesh_blob_io *io, 181 int (*block_start)(const struct bt_mesh_blob_io *io, 195 void (*block_end)(const struct bt_mesh_blob_io *io, 225 int (*wr)(const struct bt_mesh_blob_io *io, 250 int (*rd)(const struct bt_mesh_blob_io *io,
|
D | blob_srv.h | 127 const struct bt_mesh_blob_io **io); 136 const struct bt_mesh_blob_io *io; member 177 const struct bt_mesh_blob_io *io, uint8_t ttl,
|
D | dfd_srv.h | 112 const struct bt_mesh_blob_io **io); 198 const struct bt_mesh_blob_io **io); 217 const struct bt_mesh_blob_io *io; member
|
/Zephyr-latest/samples/subsys/ipc/openamp/remote/src/ |
D | main.c | 43 static struct metal_io_region *io = &shm_io_data; variable 143 metal_io_init(io, (void *)SHM_START_ADDR, shm_physmap, SHM_SIZE, -1, 0, NULL); in app_task() 174 rvrings[0].io = io; in app_task() 180 rvrings[1].io = io; in app_task() 189 status = rpmsg_init_vdev(&rvdev, &vdev, NULL, io, NULL); in app_task()
|
/Zephyr-latest/drivers/audio/ |
D | mpxxdtyy-i2s.c | 108 if (cfg->io.min_pdm_clk_freq < MPXXDTYY_MIN_PDM_FREQ || in mpxxdtyy_i2s_configure() 109 cfg->io.min_pdm_clk_freq > cfg->io.max_pdm_clk_freq) { in mpxxdtyy_i2s_configure() 114 if (cfg->io.max_pdm_clk_freq > MPXXDTYY_MAX_PDM_FREQ || in mpxxdtyy_i2s_configure() 115 cfg->io.max_pdm_clk_freq < cfg->io.min_pdm_clk_freq) { in mpxxdtyy_i2s_configure()
|
/Zephyr-latest/tests/drivers/adc/adc_rescale/boards/ |
D | native_sim.overlay | 12 io-channels = <&adc0 0>; 19 io-channels = <&adc0 1>; 25 io-channels = <&adc0 2>; 35 #io-channel-cells = <1>;
|
/Zephyr-latest/samples/subsys/ipc/openamp/src/ |
D | main.c | 44 static struct metal_io_region *io = &shm_io_data; variable 166 metal_io_init(io, (void *)SHM_START_ADDR, shm_physmap, SHM_SIZE, -1, 0, NULL); in app_task() 197 rvrings[0].io = io; in app_task() 203 rvrings[1].io = io; in app_task() 213 status = rpmsg_init_vdev(&rvdev, &vdev, ns_bind_cb, io, &shpool); in app_task()
|
/Zephyr-latest/subsys/ipc/rpmsg_service/ |
D | rpmsg_backend.c | 164 int rpmsg_backend_init(struct metal_io_region **io, struct virtio_device *vdev) in rpmsg_backend_init() argument 187 *io = &shm_io; in rpmsg_backend_init() 237 rvrings[0].io = *io; in rpmsg_backend_init() 243 rvrings[1].io = *io; in rpmsg_backend_init()
|
D | rpmsg_service.c | 25 static struct metal_io_region *io; variable 84 err = rpmsg_backend_init(&io, &vdev); in rpmsg_service_init() 92 err = rpmsg_init_vdev(&rvdev, &vdev, ns_bind_cb, io, &shpool); in rpmsg_service_init() 94 err = rpmsg_init_vdev(&rvdev, &vdev, NULL, io, NULL); in rpmsg_service_init()
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_bitbang.h | 29 const struct i2c_bitbang_io *io; member 44 const struct i2c_bitbang_io *io, void *io_context);
|
D | i2c_bitbang.c | 81 context->io->set_scl(context->io_context, state); in i2c_set_scl() 86 context->io->set_sda(context->io_context, state); in i2c_set_sda() 91 return context->io->get_sda(context->io_context); in i2c_get_sda() 318 const struct i2c_bitbang_io *io, void *io_context) in i2c_bitbang_init() argument 320 context->io = io; in i2c_bitbang_init()
|
/Zephyr-latest/drivers/spi/ |
D | spi_emul.c | 81 __ASSERT_NO_MSG(emul->api->io); in spi_emul_io() 83 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() 90 return api->io(emul->target, config, tx_bufs, rx_bufs); in spi_emul_io()
|
/Zephyr-latest/boards/google/twinkie_v2/ |
D | google_twinkie_v2.dts | 48 io-channels = <&adc1 1>; 54 io-channels = <&adc1 3>; 60 io-channels = <&adc1 15>; 67 io-channels = <&adc1 17>; 74 io-channels = <&adc1 18>;
|
/Zephyr-latest/dts/arm/renesas/rz/ |
D | rzt2m.dtsi | 75 reg-io-width = <4>; 82 reg-io-width = <4>; 89 reg-io-width = <4>; 96 reg-io-width = <4>; 103 reg-io-width = <4>; 110 reg-io-width = <4>;
|
/Zephyr-latest/dts/arm/st/g4/ |
D | stm32g473.dtsi | 36 #io-channel-cells = <1>; 52 #io-channel-cells = <1>; 77 #io-channel-cells = <1>; 85 #io-channel-cells = <1>;
|
/Zephyr-latest/dts/arm/nuvoton/npcm/ |
D | npcm4.dtsi | 17 reg-io-width = <1>; 23 reg-io-width = <2>;
|
/Zephyr-latest/samples/bluetooth/bthome_sensor_template/ |
D | README.rst | 10 This code sample provides a template for implementing a `BTHome <https://bthome.io/>`_ sensor. 16 * A BTHome compatible listener, for example `Home Assistant <https://www.home-assistant.io/>`_ with…
|