Home
last modified time | relevance | path

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

/device/soc/esp/esp32/components/bt/host/bluedroid/stack/include/stack/
Dbtm_api.h1196 #define BTM_SEC_ARRAY_BITS 32 /* Number of bits in each array element */ macro
1197 #define BTM_SEC_SERVICE_ARRAY_SIZE (((UINT32)BTM_SEC_MAX_SERVICES / BTM_SEC_ARRAY_BITS) + \
1198 (((UINT32)BTM_SEC_MAX_SERVICES % BTM_SEC_ARRAY_BITS) ? 1 : 0))
1267 #define BTM_SEC_SET_SERVICE(p, service) (((UINT32 *)(p))[(((UINT32)(service)) / BTM_SEC_ARRAY_BITS
1268 ((UINT32)1 << (((UINT32)(service)) % BTM_SEC_ARRAY_BITS)))
1272 #define BTM_SEC_CLR_SERVICE(p, service) (((UINT32 *)(p))[(((UINT32)(service)) / BTM_SEC_ARRAY_BITS
1273 ~((UINT32)1 << (((UINT32)(service)) % BTM_SEC_ARRAY_BITS)))
1276 …ERVICE_TRUSTED(p, service) (((((UINT32 *)(p))[(((UINT32)(service)) / BTM_SEC_ARRAY_BITS)]) & \
1277 … (UINT32)(((UINT32)1 << (((UINT32)(service)) % BTM_SEC_ARRAY_BITS)))) ? 1 : 0)
/device/soc/esp/esp32/components/bt/host/bluedroid/bta/dm/
Dbta_dm_act.c1061 btm_mask_index = bta_service_id_to_btm_srv_id_lkup_tbl[index] / BTM_SEC_ARRAY_BITS; in bta_dm_add_device()