Home
last modified time | relevance | path

Searched refs:read_buffer (Results 1 – 19 of 19) sorted by relevance

/Zephyr-latest/drivers/sensor/explorir_m/
Dexplorir_m.c51 uint8_t read_buffer[EXPLORIR_M_BUFFER_LENGTH]; member
95 memset(data->read_buffer, 0, data->read_index); in explorir_m_buffer_reset()
101 char buffer_type = data->read_buffer[EXPLORIR_M_TYPE_INDEX]; in explorir_m_buffer_verify()
103 if (data->read_buffer[0] == EXPLORIR_M_NOT_RECOGNISED_CHAR) { in explorir_m_buffer_verify()
113 if (data->read_buffer[0] != EXPLORIR_M_BEGIN_CHAR || in explorir_m_buffer_verify()
114 data->read_buffer[2] != EXPLORIR_M_SEPARATOR_CHAR || in explorir_m_buffer_verify()
115 data->read_buffer[data->read_index - 2] != EXPLORIR_M_PRE_END_CHAR) { in explorir_m_buffer_verify()
116 LOG_HEXDUMP_WRN(data->read_buffer, data->read_index, "Invalid buffer"); in explorir_m_buffer_verify()
136 data->scaling = strtol(&data->read_buffer[EXPLORIR_M_VALUE_INDEX], NULL, 10); in explorir_m_buffer_process()
140 data->filtered = strtol(&data->read_buffer[EXPLORIR_M_VALUE_INDEX], NULL, 10); in explorir_m_buffer_process()
[all …]
/Zephyr-latest/tests/subsys/display/cfb/basic/src/
Dclear.c34 memset(read_buffer, 0xAA, sizeof(read_buffer)); in cfb_test_before()
35 zassert_ok(display_write(dev, 0, 0, &desc, read_buffer)); in cfb_test_before()
Dutils.c19 uint8_t read_buffer[DT_PROP(DT_CHOSEN(zephyr_display), width) * variable
33 const uint8_t *ptr = read_buffer + (display_width * (y / 8) + x); in display_pixel()
61 zassert_ok(display_read(dev, 0, 0, &desc, read_buffer), "display_read failed"); in verify_pixel()
75 zassert_ok(display_read(dev, 0, 0, &desc, read_buffer), "display_read failed"); in verify_image()
85 LOG_INF("disp@(0, %d) %p", y, read_buffer + (y * width / 8)); in verify_image()
86 LOG_HEXDUMP_INF(read_buffer + (y * width / 8), 64, ""); in verify_image()
106 zassert_ok(display_read(dev, 0, 0, &desc, read_buffer), "display_read failed"); in verify_color_inside_rect()
Dinvert.c34 memset(read_buffer, 0, sizeof(read_buffer)); in cfb_test_before()
35 zassert_ok(display_write(dev, 0, 0, &desc, read_buffer)); in cfb_test_before()
Dinvert_area.c34 memset(read_buffer, 0, sizeof(read_buffer)); in cfb_test_before()
35 zassert_ok(display_write(dev, 0, 0, &desc, read_buffer)); in cfb_test_before()
Ddraw_line.c34 memset(read_buffer, 0, sizeof(read_buffer)); in cfb_test_before()
35 zassert_ok(display_write(dev, 0, 0, &desc, read_buffer)); in cfb_test_before()
Ddraw_point.c34 memset(read_buffer, 0, sizeof(read_buffer)); in cfb_test_before()
35 zassert_ok(display_write(dev, 0, 0, &desc, read_buffer)); in cfb_test_before()
Ddraw_rect.c34 memset(read_buffer, 0, sizeof(read_buffer)); in cfb_test_before()
35 zassert_ok(display_write(dev, 0, 0, &desc, read_buffer)); in cfb_test_before()
Ddraw_text_rectspace1016.c37 memset(read_buffer, 0, sizeof(read_buffer)); in cfb_test_before()
38 zassert_ok(display_write(dev, 0, 0, &desc, read_buffer)); in cfb_test_before()
Dprint_rectspace1016.c37 memset(read_buffer, 0, sizeof(read_buffer)); in cfb_test_before()
38 zassert_ok(display_write(dev, 0, 0, &desc, read_buffer)); in cfb_test_before()
Dutils.h14 extern uint8_t read_buffer[DT_PROP(DT_CHOSEN(zephyr_display), width) *
/Zephyr-latest/drivers/sensor/nct75/
Dnct75.c41 uint16_t read_buffer; in nct75_sample_fetch() local
55 result = i2c_write_read_dt(&config->i2c, &write_buffer, sizeof(write_buffer), &read_buffer, in nct75_sample_fetch()
56 sizeof(read_buffer)); in nct75_sample_fetch()
62 raw_value = arithmetic_shift_right(sys_be16_to_cpu(read_buffer), 4); in nct75_sample_fetch()
/Zephyr-latest/include/zephyr/fs/
Dlittlefs.h42 uint8_t *read_buffer; member
97 .read_buffer = name ## _read_buffer, \
/Zephyr-latest/tests/subsys/fs/littlefs/src/
Dtest_lfs_perf.c185 lcp->read_buffer = malloc(lcp->cache_size); in custom_write_test()
189 TC_PRINT("bufs %p %p %p\n", lcp->read_buffer, lcp->prog_buffer, lcp->lookahead_buffer); in custom_write_test()
191 if ((lcp->read_buffer == NULL) in custom_write_test()
201 if (lcp->read_buffer) { in custom_write_test()
202 free(lcp->read_buffer); in custom_write_test()
Dtestfs_lfs.c49 .read_buffer = large_read_buffer,
/Zephyr-latest/drivers/modem/
Dsimcom-sim7080.h155 char *read_buffer; member
Dsimcom-sim7080.c1629 out_len = net_buf_linearize(mdata.ftp.read_buffer, mdata.ftp.nread, data->rx_buf, in MODEM_CMD_DEFINE()
1654 mdata.ftp.read_buffer = dst; in mdm_sim7080_ftp_get_read()
1794 mdata.ftp.read_buffer = NULL; in mdm_sim7080_ftp_get_start()
2389 mdata.ftp.read_buffer = NULL; in modem_init()
/Zephyr-latest/drivers/i2c/
Di2c_mchp_mss.c162 static int mss_i2c_read(const struct device *dev, uint8_t serial_addr, uint8_t *read_buffer, in mss_i2c_read() argument
173 data->controller_rx_buffer = read_buffer; in mss_i2c_read()
/Zephyr-latest/subsys/fs/
Dlittlefs_fs.c1102 .read_buffer = read_buffer_##inst, \