Searched refs:dev_type (Results 1 – 9 of 9) sorted by relevance
254 switch (hdev->dev_type) { in hci_init1_req()262 bt_dev_err(hdev, "Unknown device type %d", hdev->dev_type); in hci_init1_req()419 if (hdev->dev_type == HCI_AMP) in hci_init2_req()883 if (hdev->dev_type != HCI_PRIMARY) in __hci_init()1290 if (hdev->dev_type != HCI_PRIMARY) { in hci_inquiry()1421 hdev->dev_type == HCI_PRIMARY && in hci_dev_do_open()1555 hdev->dev_type == HCI_PRIMARY) { in hci_dev_do_open()1722 if (!auto_off && hdev->dev_type == HCI_PRIMARY && in hci_dev_do_close()1962 if (hdev->dev_type != HCI_PRIMARY) { in hci_dev_cmd()2120 di.type = (hdev->bus & 0x0f) | ((hdev->dev_type & 0x03) << 4); in hci_get_dev_info()[all …]
102 if (hdev->dev_type == HCI_AMP) { in __a2mp_add_cl()166 if (hdev->dev_type == HCI_AMP) in a2mp_discover_req()305 if (!hdev || hdev->dev_type != HCI_AMP) { in a2mp_getinfo_req()
367 if (d->dev_type == HCI_PRIMARY && in read_index_list()392 if (d->dev_type == HCI_PRIMARY && in read_index_list()427 if (d->dev_type == HCI_PRIMARY && in read_unconf_index_list()452 if (d->dev_type == HCI_PRIMARY && in read_unconf_index_list()486 if (d->dev_type == HCI_PRIMARY || d->dev_type == HCI_AMP) in read_ext_index_list()509 if (d->dev_type == HCI_PRIMARY) { in read_ext_index_list()514 } else if (d->dev_type == HCI_AMP) { in read_ext_index_list()6926 switch (hdev->dev_type) { in mgmt_index_added()6959 switch (hdev->dev_type) { in mgmt_index_removed()
419 ni->type = hdev->dev_type; in create_monitor_event()934 if (hdev->dev_type != HCI_PRIMARY) in hci_sock_bound_ioctl()
631 d->dev_type != HCI_PRIMARY) in hci_get_route()
4571 if (hdev->dev_type != HCI_AMP || !test_bit(HCI_UP, &hdev->flags)) { in l2cap_create_channel_req()5009 if (!hdev || hdev->dev_type != HCI_AMP || in l2cap_move_channel_req()7586 if (!conn && hcon->hdev->dev_type != HCI_PRIMARY) in l2cap_recv_acldata()
3705 switch (hdev->dev_type) { in __hci_conn_lookup_handle()3714 bt_dev_err(hdev, "unknown dev_type %d", hdev->dev_type); in __hci_conn_lookup_handle()
685 u16 dev_type = dev->type; in arp_process() local700 switch (dev_type) { in arp_process()703 htons(dev_type) != arp->ar_hrd) in arp_process()749 switch (dev_type) { in arp_process()778 if (dev_type == ARPHRD_DLCI) in arp_process()
125 int dev_type = (gre_proto == htons(ETH_P_TEB) || in ip6gre_tunnel_lookup() local139 t->dev->type != dev_type) in ip6gre_tunnel_lookup()145 if (t->dev->type != dev_type) in ip6gre_tunnel_lookup()163 t->dev->type != dev_type) in ip6gre_tunnel_lookup()169 if (t->dev->type != dev_type) in ip6gre_tunnel_lookup()189 t->dev->type != dev_type) in ip6gre_tunnel_lookup()195 if (t->dev->type != dev_type) in ip6gre_tunnel_lookup()212 t->dev->type != dev_type) in ip6gre_tunnel_lookup()218 if (t->dev->type != dev_type) in ip6gre_tunnel_lookup()