• Home
  • Raw
  • Download

Lines Matching refs:bdaddr

1219 setbdaddr(const char *name, bdaddr_t *bdaddr)  in setbdaddr()  argument
1230 *bdaddr = (ULONGLONG)(b0 & 0xFF); in setbdaddr()
1231 *bdaddr |= ((ULONGLONG)(b1 & 0xFF) << 8); in setbdaddr()
1232 *bdaddr |= ((ULONGLONG)(b2 & 0xFF) << 16); in setbdaddr()
1233 *bdaddr |= ((ULONGLONG)(b3 & 0xFF) << 24); in setbdaddr()
1234 *bdaddr |= ((ULONGLONG)(b4 & 0xFF) << 32); in setbdaddr()
1235 *bdaddr |= ((ULONGLONG)(b5 & 0xFF) << 40); in setbdaddr()
1237 bdaddr->b[0] = b0; in setbdaddr()
1238 bdaddr->b[1] = b1; in setbdaddr()
1239 bdaddr->b[2] = b2; in setbdaddr()
1240 bdaddr->b[3] = b3; in setbdaddr()
1241 bdaddr->b[4] = b4; in setbdaddr()
1242 bdaddr->b[5] = b5; in setbdaddr()
1257 makebdaddr(bdaddr_t *bdaddr) in makebdaddr() argument
1266 octets[i] = ((*bdaddr) >> (8 * i)) & 0xFF; in makebdaddr()
1274 bdaddr->b[5], bdaddr->b[4], bdaddr->b[3], in makebdaddr()
1275 bdaddr->b[2], bdaddr->b[1], bdaddr->b[0]); in makebdaddr()
1379 PyObject *addrobj = makebdaddr(&_BT_L2_MEMB(a, bdaddr)); in makesockaddr()
1395 PyObject *addrobj = makebdaddr(&_BT_RC_MEMB(a, bdaddr)); in makesockaddr()
1411 return makebdaddr(&_BT_HCI_MEMB(a, bdaddr)); in makesockaddr()
1423 return makebdaddr(&_BT_SCO_MEMB(a, bdaddr)); in makesockaddr()
1899 if (setbdaddr(straddr, &_BT_L2_MEMB(addr, bdaddr)) < 0) in getsockaddrarg()
1917 if (setbdaddr(straddr, &_BT_RC_MEMB(addr, bdaddr)) < 0) in getsockaddrarg()
1936 if (setbdaddr(straddr, &_BT_HCI_MEMB(addr, bdaddr)) < 0) in getsockaddrarg()
1962 if (setbdaddr(straddr, &_BT_SCO_MEMB(addr, bdaddr)) < 0) in getsockaddrarg()