Lines Matching defs:rq
1003 struct hci_request rq;
1032 memset(&rq, 0, sizeof(rq));
1033 rq.ogf = OGF_LINK_CTL;
1034 rq.ocf = OCF_PERIODIC_INQUIRY;
1035 rq.cparam = &cp;
1036 rq.clen = PERIODIC_INQUIRY_CP_SIZE;
1038 if (hci_send_req(dd, &rq, 100) < 0) {
1694 struct hci_request rq;
1743 memset(&rq, 0, sizeof(rq));
1744 rq.ogf = OGF_LINK_CTL;
1745 rq.ocf = OCF_SET_CONN_PTYPE;
1746 rq.cparam = &cp;
1747 rq.clen = SET_CONN_PTYPE_CP_SIZE;
1748 rq.rparam = &rp;
1749 rq.rlen = EVT_CONN_PTYPE_CHANGED_SIZE;
1750 rq.event = EVT_CONN_PTYPE_CHANGED;
1752 if (hci_send_req(dd, &rq, 100) < 0) {