Lines Matching refs:plen
115 struct sk_buff *__hci_cmd_sync_ev(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_sync_ev() argument
127 hci_req_add_ev(&req, opcode, plen, param, event); in __hci_cmd_sync_ev()
180 struct sk_buff *__hci_cmd_sync(struct hci_dev *hdev, u16 opcode, u32 plen, in __hci_cmd_sync() argument
183 return __hci_cmd_sync_ev(hdev, opcode, plen, param, 0, timeout); in __hci_cmd_sync()
289 struct sk_buff *hci_prepare_cmd(struct hci_dev *hdev, u16 opcode, u32 plen, in hci_prepare_cmd() argument
292 int len = HCI_COMMAND_HDR_SIZE + plen; in hci_prepare_cmd()
302 hdr->plen = plen; in hci_prepare_cmd()
304 if (plen) in hci_prepare_cmd()
305 memcpy(skb_put(skb, plen), param, plen); in hci_prepare_cmd()
316 void hci_req_add_ev(struct hci_request *req, u16 opcode, u32 plen, in hci_req_add_ev() argument
322 BT_DBG("%s opcode 0x%4.4x plen %d", hdev->name, opcode, plen); in hci_req_add_ev()
330 skb = hci_prepare_cmd(hdev, opcode, plen, param); in hci_req_add_ev()
346 void hci_req_add(struct hci_request *req, u16 opcode, u32 plen, in hci_req_add() argument
349 hci_req_add_ev(req, opcode, plen, param, 0); in hci_req_add()