Home
last modified time | relevance | path

Searched refs:dtr (Results 1 – 17 of 17) sorted by relevance

/Zephyr-latest/tests/boards/nrf/dmm/src/
Dmain.c74 static bool dmm_buffer_in_region_check(struct dmm_test_region *dtr, void *buf, size_t size) in dmm_buffer_in_region_check() argument
78 return ((start >= dtr->start) && ((start + size) <= (dtr->start + dtr->size))); in dmm_buffer_in_region_check()
81 static void dmm_check_output_buffer(struct dmm_test_region *dtr, uint32_t *fill_value, in dmm_check_output_buffer() argument
88 retval = dmm_buffer_out_prepare(dtr->mem_reg, data, size, &buf); in dmm_check_output_buffer()
100 zassert_true(dmm_buffer_in_region_check(dtr, buf, size)); in dmm_check_output_buffer()
107 retval = dmm_buffer_out_release(dtr->mem_reg, buf); in dmm_check_output_buffer()
111 static void dmm_check_input_buffer(struct dmm_test_region *dtr, uint32_t *fill_value, in dmm_check_input_buffer() argument
120 retval = dmm_buffer_in_prepare(dtr->mem_reg, data, size, &buf); in dmm_check_input_buffer()
132 zassert_true(dmm_buffer_in_region_check(dtr, buf, size)); in dmm_check_input_buffer()
147 retval = dmm_buffer_in_release(dtr->mem_reg, data, size, buf); in dmm_check_input_buffer()
[all …]
/Zephyr-latest/samples/subsys/usb/console/src/
Dmain.c42 uint32_t dtr = 0; in main() local
55 while (!dtr) { in main()
56 uart_line_ctrl_get(dev, UART_LINE_CTRL_DTR, &dtr); in main()
/Zephyr-latest/samples/subsys/usb/cdc_acm/src/
Dmain.c74 uint32_t dtr = 0U; in sample_msg_cb() local
76 uart_line_ctrl_get(msg->dev, UART_LINE_CTRL_DTR, &dtr); in sample_msg_cb()
77 if (dtr) { in sample_msg_cb()
200 uint32_t dtr = 0U; in main() local
202 uart_line_ctrl_get(uart_dev, UART_LINE_CTRL_DTR, &dtr); in main()
203 if (dtr) { in main()
/Zephyr-latest/tests/drivers/uart/uart_basic_api/src/
Dmain.c52 uint32_t dtr = 0; in uart_basic_setup() local
59 while (!dtr) { in uart_basic_setup()
60 uart_line_ctrl_get(dev, UART_LINE_CTRL_DTR, &dtr); in uart_basic_setup()
/Zephyr-latest/tests/bluetooth/shell/src/
Dmain.c128 uint32_t dtr = 0; in main() local
135 while (!dtr) { in main()
136 uart_line_ctrl_get(dev, UART_LINE_CTRL_DTR, &dtr); in main()
/Zephyr-latest/samples/subsys/modbus/rtu_server/src/
Dmain.c148 uint32_t dtr = 0; in main() local
154 while (!dtr) { in main()
155 uart_line_ctrl_get(dev, UART_LINE_CTRL_DTR, &dtr); in main()
/Zephyr-latest/arch/arc/arcmwdt/
DCMakeLists.txt4 zephyr_sources(arcmwdt-dtr-stubs.c)
/Zephyr-latest/drivers/spi/
Dspi_xlnx_axi_quadspi.c241 uint32_t dtr = 0U; in xlnx_quadspi_start_tx() local
276 dtr = UNALIGNED_GET((uint8_t *)(ctx->tx_buf)); in xlnx_quadspi_start_tx()
279 dtr = UNALIGNED_GET((uint16_t *)(ctx->tx_buf)); in xlnx_quadspi_start_tx()
282 dtr = UNALIGNED_GET((uint32_t *)(ctx->tx_buf)); in xlnx_quadspi_start_tx()
289 dtr = 0U; in xlnx_quadspi_start_tx()
292 xlnx_quadspi_write32(dev, dtr, SPI_DTR_OFFSET); in xlnx_quadspi_start_tx()
Dspi_it8xxx2.c76 uint8_t dtr: 1; member
/Zephyr-latest/samples/subsys/shell/shell_module/src/
Dmain.c378 uint32_t dtr = 0; in main() local
385 while (!dtr) { in main()
386 uart_line_ctrl_get(dev, UART_LINE_CTRL_DTR, &dtr); in main()
/Zephyr-latest/samples/boards/st/sensortile_box/src/
Dmain.c257 uint32_t dtr = 0; in main() local
265 while (!dtr) { in main()
266 uart_line_ctrl_get(dev, UART_LINE_CTRL_DTR, &dtr); in main()
/Zephyr-latest/samples/net/wpan_serial/src/
Dmain.c537 uint32_t baudrate, dtr = 0U; in main() local
556 uart_line_ctrl_get(uart_dev, UART_LINE_CTRL_DTR, &dtr); in main()
557 if (dtr) { in main()
/Zephyr-latest/boards/contextualelectronics/abc/
Dcontextualelectronics_abc.dts75 mdm-dtr-gpios = <&gpio0 22 0>;
/Zephyr-latest/tests/drivers/build_all/modem/
Duart.dtsi62 mdm-dtr-gpios = <&test_gpio 0 0>;
/Zephyr-latest/subsys/shell/backends/
Dshell_uart.c141 int dtr, err; in uart_dtr_check() local
143 err = uart_line_ctrl_get(dev, UART_LINE_CTRL_DTR, &dtr); in uart_dtr_check()
148 return dtr; in uart_dtr_check()
/Zephyr-latest/doc/connectivity/usb/device/
Dusb_device.rst147 uint32_t dtr = 0;
153 while (!dtr) {
154 uart_line_ctrl_get(dev, UART_LINE_CTRL_DTR, &dtr);
/Zephyr-latest/doc/releases/
Drelease-notes-2.0.rst1192 * :github:`15759` - usb: cdc_acm: uart_line_ctrl_set(dev, LINE_CTRL_DTR, &dtr) should always return…