Lines Matching refs:item

65 ng_hci_lp_con_req(ng_hci_unit_p unit, item_p item, hook_p hook)
72 NG_FREE_ITEM(item);
77 if (NGI_MSG(item)->header.arglen != sizeof(ng_hci_lp_con_req_ep)) {
81 NGI_MSG(item)->header.arglen);
83 NG_FREE_ITEM(item);
88 if (((ng_hci_lp_con_req_ep *)(NGI_MSG(item)->data))->link_type == NG_HCI_LINK_ACL)
89 return (ng_hci_lp_acl_con_req(unit, item, hook));
96 NG_FREE_ITEM(item);
101 return (ng_hci_lp_sco_con_req(unit, item, hook));
109 ng_hci_lp_acl_con_req(ng_hci_unit_p unit, item_p item, hook_p hook)
121 ep = (ng_hci_lp_con_req_ep *)(NGI_MSG(item)->data);
169 NGI_GET_MSG(item, msg);
184 * This will forward item back to
185 * sender and set item to NULL
188 _NGI_MSG(item) = msg;
189 NG_FWD_ITEM_HOOK(error, item, hook);
298 if (item != NULL)
299 NG_FREE_ITEM(item);
309 ng_hci_lp_sco_con_req(ng_hci_unit_p unit, item_p item, hook_p hook)
320 ep = (ng_hci_lp_con_req_ep *)(NGI_MSG(item)->data);
467 NG_FREE_ITEM(item);
477 ng_hci_lp_discon_req(ng_hci_unit_p unit, item_p item, hook_p hook)
498 if (NGI_MSG(item)->header.arglen != sizeof(*ep)) {
502 NGI_MSG(item)->header.arglen);
508 ep = (ng_hci_lp_discon_req_ep *)(NGI_MSG(item)->data);
558 NG_FREE_ITEM(item);
682 ng_hci_lp_con_rsp(ng_hci_unit_p unit, item_p item, hook_p hook)
706 if (NGI_MSG(item)->header.arglen != sizeof(*ep)) {
710 NGI_MSG(item)->header.arglen);
716 ep = (ng_hci_lp_con_rsp_ep *)(NGI_MSG(item)->data);
866 NG_FREE_ITEM(item);
934 ng_hci_lp_qos_req(ng_hci_unit_p unit, item_p item, hook_p hook)
955 if (NGI_MSG(item)->header.arglen != sizeof(*ep)) {
959 NGI_MSG(item)->header.arglen);
965 ep = (ng_hci_lp_qos_req_ep *)(NGI_MSG(item)->data);
1037 NG_FREE_ITEM(item);