Searched refs:ogf (Results 1 – 5 of 5) sorted by relevance
/linux-2.4.37.9/net/bluetooth/ |
D | hci_event.c | 755 __u16 opcode, ocf, ogf; in hci_event_packet() local 807 ogf = cmd_opcode_ogf(opcode); in hci_event_packet() 810 switch (ogf) { in hci_event_packet() 828 BT_DBG("%s Command Status OGF %x", hdev->name, ogf); in hci_event_packet() 844 ogf = cmd_opcode_ogf(opcode); in hci_event_packet() 847 switch (ogf) { in hci_event_packet() 865 BT_DBG("%s Command Completed OGF %x", hdev->name, ogf); in hci_event_packet()
|
D | hci_sock.c | 398 u16 ogf = cmd_opcode_ogf(opcode); in hci_sock_sendmsg() local 401 if (((ogf > HCI_SFLT_MAX_OGF) || in hci_sock_sendmsg() 402 !hci_test_bit(ocf & HCI_FLT_OCF_BITS, &hci_sec_filter.ocf_mask[ogf])) && in hci_sock_sendmsg() 408 if (test_bit(HCI_RAW, &hdev->flags) || (ogf == OGF_VENDOR_CMD)) { in hci_sock_sendmsg()
|
D | hci_core.c | 985 int hci_send_cmd(struct hci_dev *hdev, __u16 ogf, __u16 ocf, __u32 plen, void *param) in hci_send_cmd() argument 991 BT_DBG("%s ogf 0x%x ocf 0x%x plen %d", hdev->name, ogf, ocf, plen); in hci_send_cmd() 999 hc->opcode = __cpu_to_le16(cmd_opcode_pack(ogf, ocf)); in hci_send_cmd() 1016 void *hci_sent_cmd_data(struct hci_dev *hdev, __u16 ogf, __u16 ocf) in hci_sent_cmd_data() argument 1025 if (hc->opcode != __cpu_to_le16(cmd_opcode_pack(ogf, ocf))) in hci_sent_cmd_data() 1028 BT_DBG("%s ogf 0x%x ocf 0x%x", hdev->name, ogf, ocf); in hci_sent_cmd_data()
|
/linux-2.4.37.9/include/net/bluetooth/ |
D | hci_core.h | 445 int hci_send_cmd(struct hci_dev *hdev, __u16 ogf, __u16 ocf, __u32 plen, void *param); 449 void *hci_sent_cmd_data(struct hci_dev *hdev, __u16 ogf, __u16 ocf);
|
D | hci.h | 664 #define cmd_opcode_pack(ogf, ocf) (__u16)((ocf & 0x03ff)|(ogf << 10)) argument
|