Lines Matching refs:p_cod
160 bool utl_set_device_class(tBTA_UTL_COD* p_cod, uint8_t cmd) { in utl_set_device_class() argument
173 minor = p_cod->minor & BTM_COD_MINOR_CLASS_MASK; in utl_set_device_class()
174 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK; in utl_set_device_class()
179 p_cod->service &= BTM_COD_SERVICE_CLASS_MASK; in utl_set_device_class()
180 service = service | p_cod->service; in utl_set_device_class()
184 p_cod->service &= BTM_COD_SERVICE_CLASS_MASK; in utl_set_device_class()
185 service = service & (~p_cod->service); in utl_set_device_class()
189 minor = p_cod->minor & BTM_COD_MINOR_CLASS_MASK; in utl_set_device_class()
190 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK; in utl_set_device_class()
191 p_cod->service &= BTM_COD_SERVICE_CLASS_MASK; in utl_set_device_class()
192 service = service | p_cod->service; in utl_set_device_class()
196 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()
198 service = p_cod->service & BTM_COD_SERVICE_CLASS_MASK; in utl_set_device_class()