Lines Matching refs:elem_offset
535 int i, elem_offset; in add_items_to_page() local
541 elem_offset = mod->rt->elem_idx - mod_rel_list[i].elem_base; in add_items_to_page()
544 elem_offset < 4 && in add_items_to_page()
545 elem_offset > -5) { in add_items_to_page()
547 if (elem_offset < 0) { in add_items_to_page()
548 elem_offset += 8; in add_items_to_page()
551 elem_offset |= mod_idx << 3; in add_items_to_page()
552 data_buf_add_u8_offset(buf, elem_offset, offset); in add_items_to_page()
555 if (elem_offset < 0) { in add_items_to_page()
556 elem_offset += 256; in add_items_to_page()
558 data_buf_add_u8_offset(buf, elem_offset, offset); in add_items_to_page()
697 data_buf_add_mem_offset(buf, dev_comp2->record[i].elem_offset, in bt_mesh_comp_data_get_page_2()