Searched refs:hci_pi (Results 1 – 2 of 2) sorted by relevance
102 if (sk->state != BT_BOUND || hci_pi(sk)->hdev != hdev) in hci_send_to_sock()110 flt = &hci_pi(sk)->filter; in hci_send_to_sock()143 struct hci_dev *hdev = hci_pi(sk)->hdev; in hci_sock_release()171 struct hci_dev *hdev = hci_pi(sk)->hdev; in hci_sock_bound_ioctl()272 if (hci_pi(sk)->hdev) { in hci_sock_bind()286 hci_pi(sk)->hdev = hdev; in hci_sock_bind()305 haddr->hci_dev = hci_pi(sk)->hdev->id; in hci_sock_getname()313 __u32 mask = hci_pi(sk)->cmsg_mask; in hci_sock_cmsg()379 if (!(hdev = hci_pi(sk)->hdev)) { in hci_sock_sendmsg()454 hci_pi(sk)->cmsg_mask |= HCI_CMSG_DIR; in hci_sock_setsockopt()[all …]
457 #define hci_pi(sk) ((struct hci_pinfo *) &sk->tp_pinfo) macro