Searched refs:dev_type (Results 1 – 11 of 11) sorted by relevance
125 int dev_type = (gre_proto == htons(ETH_P_TEB)) ? in ip6gre_tunnel_lookup() local137 t->dev->type != dev_type) in ip6gre_tunnel_lookup()143 if (t->dev->type != dev_type) in ip6gre_tunnel_lookup()161 t->dev->type != dev_type) in ip6gre_tunnel_lookup()167 if (t->dev->type != dev_type) in ip6gre_tunnel_lookup()187 t->dev->type != dev_type) in ip6gre_tunnel_lookup()193 if (t->dev->type != dev_type) in ip6gre_tunnel_lookup()210 t->dev->type != dev_type) in ip6gre_tunnel_lookup()216 if (t->dev->type != dev_type) in ip6gre_tunnel_lookup()
736 u16 dev_type = dev->type; in arp_process() local751 switch (dev_type) { in arp_process()754 htons(dev_type) != arp->ar_hrd) in arp_process()800 switch (dev_type) { in arp_process()820 if (dev_type == ARPHRD_DLCI) in arp_process()
1337 switch (hdev->dev_type) { in hci_init1_req()1347 BT_ERR("Unknown device type %d", hdev->dev_type); in hci_init1_req()1787 if (hdev->dev_type != HCI_BREDR) in __hci_init()2266 if (hdev->dev_type != HCI_BREDR) { in hci_inquiry()2371 hdev->dev_type == HCI_BREDR && in hci_dev_do_open()2448 hdev->dev_type == HCI_BREDR) { in hci_dev_do_open()2636 if (hdev->dev_type == HCI_BREDR) { in hci_dev_do_close()2814 if (hdev->dev_type != HCI_BREDR) { in hci_dev_cmd()2968 di.type = (hdev->bus & 0x0f) | ((hdev->dev_type & 0x03) << 4); in hci_get_dev_info()3042 (hdev->dev_type == HCI_BREDR && in hci_power_on()[all …]
143 return sprintf(buf, "%s\n", host_typetostr(hdev->dev_type)); in show_type()
90 if (hdev->dev_type == HCI_AMP) { in __a2mp_add_cl()154 if (hdev->dev_type == HCI_AMP) in a2mp_discover_req()283 if (!hdev || hdev->dev_type != HCI_AMP) { in a2mp_getinfo_req()
336 ni->type = hdev->dev_type; in create_monitor_event()542 if (hdev->dev_type != HCI_BREDR) in hci_sock_bound_ioctl()
371 if (d->dev_type == HCI_BREDR && in read_index_list()396 if (d->dev_type == HCI_BREDR && in read_index_list()431 if (d->dev_type == HCI_BREDR && in read_unconf_index_list()456 if (d->dev_type == HCI_BREDR && in read_unconf_index_list()5797 if (hdev->dev_type != HCI_BREDR) in mgmt_index_added()5813 if (hdev->dev_type != HCI_BREDR) in mgmt_index_removed()
566 d->dev_type != HCI_BREDR) in hci_get_route()
3029 switch (hdev->dev_type) { in __hci_conn_lookup_handle()3038 BT_ERR("%s unknown dev_type %d", hdev->name, hdev->dev_type); in __hci_conn_lookup_handle()
4463 if (hdev->dev_type != HCI_AMP || !test_bit(HCI_UP, &hdev->flags)) { in l2cap_create_channel_req()4903 if (!hdev || hdev->dev_type != HCI_AMP || in l2cap_move_channel_req()7396 if (!conn && hcon->hdev->dev_type != HCI_BREDR) in l2cap_recv_acldata()
307 static inline unsigned short netdev_lock_pos(unsigned short dev_type) in netdev_lock_pos() argument312 if (netdev_lock_type[i] == dev_type) in netdev_lock_pos()319 unsigned short dev_type) in netdev_set_xmit_lockdep_class() argument323 i = netdev_lock_pos(dev_type); in netdev_set_xmit_lockdep_class()339 unsigned short dev_type) in netdev_set_xmit_lockdep_class() argument