Lines Matching refs:plen
212 struct sk_buff *hci_prepare_cmd(struct hci_dev *hdev, u16 opcode, u32 plen, in hci_prepare_cmd() argument
215 int len = HCI_COMMAND_HDR_SIZE + plen; in hci_prepare_cmd()
225 hdr->plen = plen; in hci_prepare_cmd()
227 if (plen) in hci_prepare_cmd()
228 skb_put_data(skb, param, plen); in hci_prepare_cmd()
239 void hci_req_add_ev(struct hci_request *req, u16 opcode, u32 plen, in hci_req_add_ev() argument
245 bt_dev_dbg(hdev, "opcode 0x%4.4x plen %d", opcode, plen); in hci_req_add_ev()
253 skb = hci_prepare_cmd(hdev, opcode, plen, param); in hci_req_add_ev()
269 void hci_req_add(struct hci_request *req, u16 opcode, u32 plen, in hci_req_add() argument
273 hci_req_add_ev(req, opcode, plen, param, 0); in hci_req_add()
567 u32 plen; in hci_req_start_scan() local
576 plen = sizeof(*ext_param_cp); in hci_req_start_scan()
586 plen += sizeof(*phy_params); in hci_req_start_scan()
598 plen += sizeof(*phy_params); in hci_req_start_scan()
603 plen, ext_param_cp); in hci_req_start_scan()