Lines Matching refs:settings_io_cb
22 } static settings_io_cb; variable
33 uint8_t wbs = settings_io_cb.rwbs; in settings_line_write()
60 rc = settings_io_cb.write_cb(cb_arg, w_loc, w_buf, w_size); in settings_line_write()
71 rc = settings_io_cb.write_cb(cb_arg, w_loc, name, w_size); in settings_line_write()
107 rc = settings_io_cb.write_cb(cb_arg, w_loc, w_buf, w_size); in settings_line_write()
179 uint8_t rbs = settings_io_cb.rwbs; in settings_line_raw_read_until()
195 rc = settings_io_cb.read_cb(cb_arg, off, temp_buf, &read_size); in settings_line_raw_read_until()
253 len = settings_io_cb.get_len_cb(read_cb_ctx); in settings_line_val_get_len()
285 rc = settings_io_cb.read_cb(src_ctx, src_off, buf, &chunk_size); in settings_line_entry_copy()
292 if (chunk_size % settings_io_cb.rwbs) { in settings_line_entry_copy()
293 write_size += settings_io_cb.rwbs - in settings_line_entry_copy()
294 chunk_size % settings_io_cb.rwbs; in settings_line_entry_copy()
297 rc = settings_io_cb.write_cb(dst_ctx, dst_off, buf, write_size); in settings_line_entry_copy()
318 settings_io_cb.read_cb = read_cb; in settings_line_io_init()
319 settings_io_cb.write_cb = write_cb; in settings_line_io_init()
320 settings_io_cb.get_len_cb = get_len_cb; in settings_line_io_init()
321 settings_io_cb.rwbs = io_rwbs; in settings_line_io_init()