Lines Matching defs:p_cod
751 ** p_cod - Pointer to the device class to set to
766 UINT16 GAP_SetDeviceClass(tGAP_COD *p_cod, UINT8 cmd)
782 minor = p_cod->minor & BTM_COD_MINOR_CLASS_MASK;
783 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK;
788 p_cod->service &= BTM_COD_SERVICE_CLASS_MASK;
789 service = service | p_cod->service;
793 p_cod->service &= BTM_COD_SERVICE_CLASS_MASK;
794 service = service & (~p_cod->service);
798 minor = p_cod->minor & BTM_COD_MINOR_CLASS_MASK;
799 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK;
800 p_cod->service &= BTM_COD_SERVICE_CLASS_MASK;
801 service = service | p_cod->service;
805 minor = p_cod->minor & BTM_COD_MINOR_CLASS_MASK;
806 major = p_cod->major & BTM_COD_MAJOR_CLASS_MASK;
807 service = p_cod->service & BTM_COD_SERVICE_CLASS_MASK;
832 UINT16 GAP_ReadDeviceClass(tGAP_COD *p_cod)
838 BTM_COD_SERVICE_CLASS( p_cod->service, dev );
839 BTM_COD_MINOR_CLASS( p_cod->minor, dev );
840 BTM_COD_MAJOR_CLASS( p_cod->major, dev );