Searched refs:pd (Results 1 – 1 of 1) sorted by relevance
391 #define BTM_COD_FORMAT_TYPE(u8, pd) {u8 = pd[2]&0x03;} argument392 #define BTM_COD_MINOR_CLASS(u8, pd) {u8 = pd[2]&0xFC;} argument393 #define BTM_COD_MAJOR_CLASS(u8, pd) {u8 = pd[1]&0x1F;} argument394 #define BTM_COD_SERVICE_CLASS(u16, pd) {u16 = pd[0]; u16<<=8; u16 += pd[1]&0xE0;} argument397 #define FIELDS_TO_COD(pd, mn, mj, sv) {pd[2] = mn; pd[1] = \ argument399 pd[0] = (sv) >> 8;}