Home
last modified time | relevance | path

Searched refs:io (Results 1 – 25 of 683) sorted by relevance

12345678910>>...28

/Zephyr-Core-3.7.0/tests/drivers/sdhc/src/
Dmain.c14 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-Core-3.7.0/tests/drivers/build_all/adc/boards/
Dnative_sim.overlay23 #io-channel-cells = <1>;
46 #io-channel-cells = <1>;
52 #io-channel-cells = <1>;
58 #io-channel-cells = <1>;
64 #io-channel-cells = <1>;
70 #io-channel-cells = <1>;
76 #io-channel-cells = <1>;
82 #io-channel-cells = <1>;
88 #io-channel-cells = <1>;
95 #io-channel-cells = <1>;
[all …]
/Zephyr-Core-3.7.0/subsys/bluetooth/mesh/
Dblob_io_flash.c17 #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 …]
Dblob_srv.c104 if (!srv->io->open) { in io_open()
108 return srv->io->open(srv->io, &srv->state.xfer, BT_MESH_BLOB_WRITE); in io_open()
113 if (!srv->io->close) { in io_close()
117 srv->io->close(srv->io, &srv->state.xfer); in io_close()
700 if (srv->io->block_start) { in handle_block_start()
701 err = srv->io->block_start(srv->io, &srv->state.xfer, in handle_block_start()
770 err = srv->io->wr(srv->io, &srv->state.xfer, &srv->block, &chunk); in handle_chunk()
784 if (srv->io->block_end) { in handle_chunk()
785 srv->io->block_end(srv->io, &srv->state.xfer, &srv->block); in handle_chunk()
916 srv->io = NULL; in blob_srv_start()
[all …]
/Zephyr-Core-3.7.0/tests/bluetooth/mesh/blob_io_flash/src/
Dmain.c91 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-Core-3.7.0/tests/drivers/build_all/sensor/
Dadc.dtsi14 io-channels = <&test_adc 0>;
20 io-channels = <&test_adc 1>;
21 io-channel-names = "VOLTAGE";
30 io-channels = <&test_adc 2>;
31 io-channel-names = "CURRENT_AMP";
42 #io-channel-cells = <1>;
48 io-channels = <&test_adc 0>;
58 io-channels = <&test_adc 0>;
67 io-channels = <&test_adc 0>;
76 io-channels = <&adc0 0>;
[all …]
/Zephyr-Core-3.7.0/tests/drivers/build_all/dac/
Dapp.overlay37 #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-Core-3.7.0/include/zephyr/bluetooth/mesh/
Dblob.h156 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,
Dblob_srv.h127 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,
Ddfd_srv.h112 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-Core-3.7.0/samples/subsys/ipc/openamp/remote/src/
Dmain.c62 static struct metal_io_region *io; variable
174 io = metal_device_io_region(device, 0); in app_task()
175 if (io == NULL) { in app_task()
209 rvrings[0].io = io; in app_task()
215 rvrings[1].io = io; in app_task()
224 status = rpmsg_init_vdev(&rvdev, &vdev, NULL, io, NULL); in app_task()
/Zephyr-Core-3.7.0/drivers/audio/
Dmpxxdtyy-i2s.c108 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-Core-3.7.0/samples/subsys/ipc/openamp/src/
Dmain.c63 static struct metal_io_region *io; variable
197 io = metal_device_io_region(device, 0); in app_task()
198 if (io == NULL) { in app_task()
232 rvrings[0].io = io; in app_task()
238 rvrings[1].io = io; in app_task()
248 status = rpmsg_init_vdev(&rvdev, &vdev, ns_bind_cb, io, &shpool); in app_task()
/Zephyr-Core-3.7.0/tests/drivers/adc/adc_rescale/boards/
Dnative_sim.overlay12 io-channels = <&adc0 0>;
19 io-channels = <&adc0 1>;
25 io-channels = <&adc0 2>;
35 #io-channel-cells = <1>;
/Zephyr-Core-3.7.0/samples/drivers/adc/adc_dt/boards/
Dbeagleconnect_freedom.overlay10 io-channels = <&adc0 0x09>;
11 io-channel-names = "MB1_AN";
14 * io-channels = <&adc0 0x0a>;
15 * io-channel-names = "MB2_AN";
/Zephyr-Core-3.7.0/subsys/ipc/rpmsg_service/
Drpmsg_backend.c183 int rpmsg_backend_init(struct metal_io_region **io, struct virtio_device *vdev) in rpmsg_backend_init() argument
217 *io = metal_device_io_region(device, 0); in rpmsg_backend_init()
218 if (!*io) { in rpmsg_backend_init()
271 rvrings[0].io = *io; in rpmsg_backend_init()
277 rvrings[1].io = *io; in rpmsg_backend_init()
Drpmsg_service.c25 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-Core-3.7.0/drivers/i2c/
Di2c_bitbang.h29 const struct i2c_bitbang_io *io; member
44 const struct i2c_bitbang_io *io, void *io_context);
Di2c_bitbang.c81 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-Core-3.7.0/drivers/spi/
Dspi_emul.c80 __ASSERT_NO_MSG(emul->api->io); in spi_emul_io()
82 if (emul->mock_api != NULL && emul->mock_api->io != NULL) { in spi_emul_io()
83 ret = emul->mock_api->io(emul->target, config, tx_bufs, rx_bufs); in spi_emul_io()
89 return api->io(emul->target, config, tx_bufs, rx_bufs); in spi_emul_io()
/Zephyr-Core-3.7.0/boards/google/twinkie_v2/
Dgoogle_twinkie_v2.dts48 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-Core-3.7.0/dts/arm/renesas/rz/
Drzt2m.dtsi75 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-Core-3.7.0/dts/arm/st/g4/
Dstm32g473.dtsi36 #io-channel-cells = <1>;
51 #io-channel-cells = <1>;
75 #io-channel-cells = <1>;
83 #io-channel-cells = <1>;
/Zephyr-Core-3.7.0/samples/bluetooth/bthome_sensor_template/
DREADME.rst6 Template for a `BTHome <https://bthome.io/>`_ sensor.
12 * A BTHome compatible listener, for example `Home Assistant <https://www.home-assistant.io/>`_ with…
/Zephyr-Core-3.7.0/dts/arm/nxp/
Dnxp_ke1xf.dtsi62 io-channels = <&adc0 26>, <&adc0 27>;
63 io-channel-names = "SENSOR", "BANDGAP";
73 io-channels = <&adc1 26>, <&adc1 27>;
74 io-channel-names = "SENSOR", "BANDGAP";
84 io-channels = <&adc2 26>, <&adc2 27>;
85 io-channel-names = "SENSOR", "BANDGAP";
283 #io-channel-cells = <1>;
511 #io-channel-cells = <1>;
522 #io-channel-cells = <1>;
533 #io-channel-cells = <1>;
[all …]

12345678910>>...28