Lines Matching refs:ocf

63 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()
130 switch (ocf) { in hci_cc_host_ctl()
227 BT_DBG("%s Command complete: ogf HOST_CTL ocf %x", hdev->name, ocf); in hci_cc_host_ctl()
233 static void hci_cc_info_param(struct hci_dev *hdev, __u16 ocf, struct sk_buff *skb) in hci_cc_info_param() argument
239 BT_DBG("%s ocf 0x%x", hdev->name, ocf); in hci_cc_info_param()
241 switch (ocf) { in hci_cc_info_param()
301 BT_DBG("%s Command complete: ogf INFO_PARAM ocf %x", hdev->name, ocf); in hci_cc_info_param()
342 static void hci_cs_link_ctl(struct hci_dev *hdev, __u16 ocf, __u8 status) in hci_cs_link_ctl() argument
344 BT_DBG("%s ocf 0x%x", hdev->name, ocf); in hci_cs_link_ctl()
346 switch (ocf) { in hci_cs_link_ctl()
389 hdev->name, ocf, status); in hci_cs_link_ctl()
395 static void hci_cs_link_policy(struct hci_dev *hdev, __u16 ocf, __u8 status) in hci_cs_link_policy() argument
397 BT_DBG("%s ocf 0x%x", hdev->name, ocf); in hci_cs_link_policy()
399 switch (ocf) { in hci_cs_link_policy()
401 BT_DBG("%s Command status: ogf HOST_POLICY ocf %x", hdev->name, ocf); in hci_cs_link_policy()
407 static void hci_cs_host_ctl(struct hci_dev *hdev, __u16 ocf, __u8 status) in hci_cs_host_ctl() argument
409 BT_DBG("%s ocf 0x%x", hdev->name, ocf); in hci_cs_host_ctl()
411 switch (ocf) { in hci_cs_host_ctl()
413 BT_DBG("%s Command status: ogf HOST_CTL ocf %x", hdev->name, ocf); in hci_cs_host_ctl()
419 static void hci_cs_info_param(struct hci_dev *hdev, __u16 ocf, __u8 status) in hci_cs_info_param() argument
421 BT_DBG("%s: hci_cs_info_param: ocf 0x%x", hdev->name, ocf); in hci_cs_info_param()
423 switch (ocf) { in hci_cs_info_param()
425 BT_DBG("%s Command status: ogf INFO_PARAM ocf %x", hdev->name, ocf); in hci_cs_info_param()
755 __u16 opcode, ocf, ogf; in hci_event_packet() local
808 ocf = cmd_opcode_ocf(opcode); in hci_event_packet()
812 hci_cs_info_param(hdev, ocf, cs->status); in hci_event_packet()
816 hci_cs_host_ctl(hdev, ocf, cs->status); in hci_event_packet()
820 hci_cs_link_ctl(hdev, ocf, cs->status); in hci_event_packet()
824 hci_cs_link_policy(hdev, ocf, cs->status); in hci_event_packet()
845 ocf = cmd_opcode_ocf(opcode); in hci_event_packet()
849 hci_cc_info_param(hdev, ocf, skb); in hci_event_packet()
853 hci_cc_host_ctl(hdev, ocf, skb); in hci_event_packet()
857 hci_cc_link_ctl(hdev, ocf, skb); in hci_event_packet()
861 hci_cc_link_policy(hdev, ocf, skb); in hci_event_packet()