Lines Matching refs:mod_idx
308 int mod_idx, int offset) in verify_model_item() argument
310 ASSERT_EQUAL(test_p1_elem_models[elem_idx][mod_idx + offset].cor_present, in verify_model_item()
312 ASSERT_EQUAL(test_p1_elem_models[elem_idx][mod_idx + offset].format, mod_item->format); in verify_model_item()
313 ASSERT_EQUAL(test_p1_elem_models[elem_idx][mod_idx + offset].ext_item_cnt, in verify_model_item()
316 ASSERT_EQUAL(test_p1_elem_models[elem_idx][mod_idx + offset].cor_id, in verify_model_item()
321 static void verify_ext_item(struct bt_mesh_comp_p1_ext_item *ext_item, int elem_idx, int mod_idx, in verify_ext_item() argument
326 switch (elem_idx * 100 + (mod_idx + offset)) { in verify_ext_item()
341 mod_idx, offset); in verify_ext_item()
369 for (int mod_idx = 0; mod_idx < p1_elem->nsig; mod_idx++) { in verify_cdp1() local
371 verify_model_item(mod_item, elem_idx, mod_idx, 0); in verify_cdp1()
377 verify_ext_item(ext_item, elem_idx, mod_idx, 0); in verify_cdp1()
381 for (int mod_idx = 0; mod_idx < p1_elem->nvnd; mod_idx++) { in verify_cdp1() local
383 verify_model_item(mod_item, elem_idx, mod_idx, p1_elem->nsig); in verify_cdp1()
389 verify_ext_item(ext_item, elem_idx, mod_idx, p1_elem->nsig); in verify_cdp1()