Home
last modified time | relevance | path

Searched refs:HCI_COMMAND_HDR_SIZE (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/drivers/bluetooth/
H A Dhci_bcsp.c202 u8 desc = *(data + HCI_COMMAND_HDR_SIZE); in bcsp_prepare_pkt()
205 data += HCI_COMMAND_HDR_SIZE + 1; in bcsp_prepare_pkt()
206 len -= HCI_COMMAND_HDR_SIZE + 1; in bcsp_prepare_pkt()
H A Dhci_ath.c224 ath->cur_sleep = skb->data[HCI_COMMAND_HDR_SIZE]; in ath_enqueue()
H A Dbtmrvl_main.c166 skb = bt_skb_alloc(HCI_COMMAND_HDR_SIZE + len, GFP_KERNEL); in btmrvl_send_sync_cmd()
172 hdr = skb_put(skb, HCI_COMMAND_HDR_SIZE); in btmrvl_send_sync_cmd()
H A Dbtnxpuart.c1199 if (hdr->plen != (skb->len - HCI_COMMAND_HDR_SIZE)) in nxp_enqueue()
1205 memcpy(&ps_parm, skb->data + HCI_COMMAND_HDR_SIZE, hdr->plen); in nxp_enqueue()
1217 memcpy(&wakeup_parm, skb->data + HCI_COMMAND_HDR_SIZE, hdr->plen); in nxp_enqueue()
1236 memcpy(&baudrate_parm, skb->data + HCI_COMMAND_HDR_SIZE, hdr->plen); in nxp_enqueue()
H A Dhci_nokia.c368 fw_ptr + 3 + HCI_COMMAND_HDR_SIZE, in nokia_setup_fw()
H A Dbtrtl.c1122 cmd = skb_put(skb, HCI_COMMAND_HDR_SIZE); in btrtl_initialize()
H A Dbtintel.c1531 if (remain > HCI_COMMAND_HDR_SIZE && *fw_ptr[0] != 0x01) { in btintel_legacy_rom_patching()
/openbmc/linux/net/bluetooth/
H A Dhci_request.c217 int len = HCI_COMMAND_HDR_SIZE + plen; in hci_prepare_cmd()
225 hdr = skb_put(skb, HCI_COMMAND_HDR_SIZE); in hci_prepare_cmd()
H A Dhci_core.c3077 if (!skb || skb->len < HCI_COMMAND_HDR_SIZE) in hci_cmd_data()
3085 return skb->data + HCI_COMMAND_HDR_SIZE; in hci_cmd_data()
H A Dhci_sync.c56 int len = HCI_COMMAND_HDR_SIZE + plen; in hci_cmd_sync_alloc()
64 hdr = skb_put(skb, HCI_COMMAND_HDR_SIZE); in hci_cmd_sync_alloc()
/openbmc/linux/include/net/bluetooth/
H A Dhci.h2820 #define HCI_COMMAND_HDR_SIZE 3 macro