Home
last modified time | relevance | path

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

/hal_espressif-latest/components/bt/host/bluedroid/stack/include/stack/
Dbtm_api.h1256 #define BTM_SEC_ARRAY_BITS 32 /* Number of bits in each array element */ macro
1257 #define BTM_SEC_SERVICE_ARRAY_SIZE (((UINT32)BTM_SEC_MAX_SERVICES / BTM_SEC_ARRAY_BITS) + \
1258 (((UINT32)BTM_SEC_MAX_SERVICES % BTM_SEC_ARRAY_BITS) ? 1 : 0))
1330 #define BTM_SEC_SET_SERVICE(p, service) (((UINT32 *)(p))[(((UINT32)(service)) / BTM_SEC_ARRAY_BITS
1331 ((UINT32)1 << (((UINT32)(service)) % BTM_SEC_ARRAY_BITS)))
1335 #define BTM_SEC_CLR_SERVICE(p, service) (((UINT32 *)(p))[(((UINT32)(service)) / BTM_SEC_ARRAY_BITS
1336 ~((UINT32)1 << (((UINT32)(service)) % BTM_SEC_ARRAY_BITS)))
1339 …ERVICE_TRUSTED(p, service) (((((UINT32 *)(p))[(((UINT32)(service)) / BTM_SEC_ARRAY_BITS)]) & \
1340 … (UINT32)(((UINT32)1 << (((UINT32)(service)) % BTM_SEC_ARRAY_BITS)))) ? TRUE : FALSE)
/hal_espressif-latest/components/bt/host/bluedroid/bta/dm/
Dbta_dm_act.c1124 btm_mask_index = bta_service_id_to_btm_srv_id_lkup_tbl[index] / BTM_SEC_ARRAY_BITS; in bta_dm_add_device()