Lines Matching refs:p_cod
159 bool utl_set_device_class(tBTA_UTL_COD* p_cod, uint8_t cmd) { in utl_set_device_class() argument
172 minor = p_cod->minor & BTM_COD_MINOR_CLASS_MASK; in utl_set_device_class()
173 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK; in utl_set_device_class()
178 p_cod->service &= BTM_COD_SERVICE_CLASS_MASK; in utl_set_device_class()
179 service = service | p_cod->service; in utl_set_device_class()
183 p_cod->service &= BTM_COD_SERVICE_CLASS_MASK; in utl_set_device_class()
184 service = service & (~p_cod->service); in utl_set_device_class()
188 minor = p_cod->minor & BTM_COD_MINOR_CLASS_MASK; in utl_set_device_class()
189 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK; in utl_set_device_class()
190 p_cod->service &= BTM_COD_SERVICE_CLASS_MASK; in utl_set_device_class()
191 service = service | p_cod->service; in utl_set_device_class()
195 minor = p_cod->minor & BTM_COD_MINOR_CLASS_MASK; in utl_set_device_class()
196 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK; in utl_set_device_class()
197 service = p_cod->service & BTM_COD_SERVICE_CLASS_MASK; in utl_set_device_class()