Searched refs:p_cod (Results 1 – 4 of 4) sorted by relevance
182 BOOLEAN utl_set_device_class(tBTA_UTL_COD *p_cod, UINT8 cmd) in utl_set_device_class() argument196 minor = p_cod->minor & BTM_COD_MINOR_CLASS_MASK; in utl_set_device_class()197 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK; in utl_set_device_class()202 p_cod->service &= BTM_COD_SERVICE_CLASS_MASK; in utl_set_device_class()203 service = service | p_cod->service; in utl_set_device_class()207 p_cod->service &= BTM_COD_SERVICE_CLASS_MASK; in utl_set_device_class()208 service = service & (~p_cod->service); in utl_set_device_class()212 minor = p_cod->minor & BTM_COD_MINOR_CLASS_MASK; in utl_set_device_class()213 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK; in utl_set_device_class()214 p_cod->service &= BTM_COD_SERVICE_CLASS_MASK; in utl_set_device_class()[all …]
137 extern BOOLEAN utl_set_device_class(tBTA_UTL_COD *p_cod, UINT8 cmd);152 extern BOOLEAN utl_get_device_class(tBTA_UTL_COD *p_cod);
594 tBTA_UTL_COD p_cod; in btc_gap_bt_set_cod() local596 p_cod.minor = cod->minor << 2; in btc_gap_bt_set_cod()597 p_cod.major = cod->major; in btc_gap_bt_set_cod()598 p_cod.service = cod->service << 5; in btc_gap_bt_set_cod()599 bool ret = utl_set_device_class(&p_cod, arg->set_cod.mode); in btc_gap_bt_set_cod()607 tBTA_UTL_COD p_cod; in btc_gap_bt_get_cod() local608 bool ret = utl_get_device_class(&p_cod); in btc_gap_bt_get_cod()613 cod->minor = p_cod.minor >> 2; in btc_gap_bt_get_cod()614 cod->major = p_cod.major; in btc_gap_bt_get_cod()615 cod->service = p_cod.service >> 5; in btc_gap_bt_get_cod()
165 UINT8 *p_cod; in BTM_SetDiscoverability() local251 p_cod = BTM_ReadDeviceClass(); in BTM_SetDiscoverability()252 BTM_COD_SERVICE_CLASS(service_class, p_cod); in BTM_SetDiscoverability()256 BTM_COD_MINOR_CLASS(minor, p_cod ); in BTM_SetDiscoverability()257 BTM_COD_MAJOR_CLASS(major, p_cod ); in BTM_SetDiscoverability()