Home
last modified time | relevance | path

Searched refs:ocf (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/net/bluetooth/
Dhci_event.c63 static void hci_cc_link_ctl(struct hci_dev *hdev, __u16 ocf, struct sk_buff *skb) in hci_cc_link_ctl() argument
67 BT_DBG("%s ocf 0x%x", hdev->name, ocf); in hci_cc_link_ctl()
69 switch (ocf) { in hci_cc_link_ctl()
82 BT_DBG("%s Command complete: ogf LINK_CTL ocf %x", hdev->name, ocf); in hci_cc_link_ctl()
88 static void hci_cc_link_policy(struct hci_dev *hdev, __u16 ocf, struct sk_buff *skb) in hci_cc_link_policy() argument
93 BT_DBG("%s ocf 0x%x", hdev->name, ocf); in hci_cc_link_policy()
95 switch (ocf) { in hci_cc_link_policy()
117 hdev->name, ocf); in hci_cc_link_policy()
123 static void hci_cc_host_ctl(struct hci_dev *hdev, __u16 ocf, struct sk_buff *skb) in hci_cc_host_ctl() argument
128 BT_DBG("%s ocf 0x%x", hdev->name, ocf); in hci_cc_host_ctl()
[all …]
Dhci_core.c985 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()
Dhci_sock.c399 u16 ocf = cmd_opcode_ocf(opcode); in hci_sock_sendmsg() local
402 !hci_test_bit(ocf & HCI_FLT_OCF_BITS, &hci_sec_filter.ocf_mask[ogf])) && in hci_sock_sendmsg()
/linux-2.4.37.9/include/net/bluetooth/
Dhci_core.h445 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);
Dhci.h664 #define cmd_opcode_pack(ogf, ocf) (__u16)((ocf & 0x03ff)|(ogf << 10)) argument