Home
last modified time | relevance | path

Searched refs:chmap (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/tests/bluetooth/controller/ctrl_hci/src/
Dmain.c435 uint8_t chmap[5] = {0}; in ZTEST() local
439 err = ll_chm_update(chmap); in ZTEST()
449 err = ll_chm_get(conn_handle + 1, chmap); in ZTEST()
452 err = ll_chm_get(conn_handle, chmap); in ZTEST()
454 zassert_mem_equal(chmap, chmap_default, sizeof(chmap), "Channel map invalid"); in ZTEST()
458 err = ll_chm_get(conn_handle, chmap); in ZTEST()
460 zassert_mem_equal(chmap, chmap_default, sizeof(chmap), "Channel map invalid"); in ZTEST()
465 err = ll_chm_get(conn_handle, chmap); in ZTEST()
467 zassert_mem_equal(chmap, chmap_test, sizeof(chmap), "Channel map invalid"); in ZTEST()
/Zephyr-latest/include/zephyr/bluetooth/
Dcs.h38 #define BT_LE_CS_CHANNEL_BIT_GET(chmap, bit) (((chmap)[(bit) / 8] >> ((bit) % 8)) & 1) argument
47 #define BT_LE_CS_CHANNEL_BIT_SET_VAL(chmap, bit, val) \ argument
48 ((chmap)[(bit) / 8] = ((chmap)[(bit) / 8] & ~BIT((bit) % 8)) | ((val) << ((bit) % 8)))