| /OK3568_Linux_fs/u-boot/drivers/block/ |
| H A D | blkcache.c | 17 int iftype; member 32 static struct block_cache_node *cache_find(int iftype, int devnum, in cache_find() argument 39 if ((node->iftype == iftype) && in cache_find() 54 int blkcache_read(int iftype, int devnum, in blkcache_read() argument 58 struct block_cache_node *node = cache_find(iftype, devnum, start, in blkcache_read() 75 void blkcache_fill(int iftype, int devnum, in blkcache_fill() argument 119 node->iftype = iftype; in blkcache_fill() 129 void blkcache_invalidate(int iftype, int devnum) in blkcache_invalidate() argument 136 if ((node->iftype == iftype) && in blkcache_invalidate()
|
| /OK3568_Linux_fs/kernel/net/wireless/ |
| H A D | util.c | 543 const u8 *addr, enum nl80211_iftype iftype, in ieee80211_data_to_8023_exthdr() argument 574 if (iftype == NL80211_IFTYPE_MESH_POINT) in ieee80211_data_to_8023_exthdr() 582 if (unlikely(iftype != NL80211_IFTYPE_AP && in ieee80211_data_to_8023_exthdr() 583 iftype != NL80211_IFTYPE_AP_VLAN && in ieee80211_data_to_8023_exthdr() 584 iftype != NL80211_IFTYPE_P2P_GO)) in ieee80211_data_to_8023_exthdr() 588 if (unlikely(iftype != NL80211_IFTYPE_WDS && in ieee80211_data_to_8023_exthdr() 589 iftype != NL80211_IFTYPE_MESH_POINT && in ieee80211_data_to_8023_exthdr() 590 iftype != NL80211_IFTYPE_AP_VLAN && in ieee80211_data_to_8023_exthdr() 591 iftype != NL80211_IFTYPE_STATION)) in ieee80211_data_to_8023_exthdr() 593 if (iftype == NL80211_IFTYPE_MESH_POINT) { in ieee80211_data_to_8023_exthdr() [all …]
|
| H A D | chan.c | 491 enum nl80211_iftype iftype) in cfg80211_chandef_dfs_required() argument 499 switch (iftype) { in cfg80211_chandef_dfs_required() 664 switch (wdev->iftype) { in cfg80211_beaconing_iface_active() 1090 enum nl80211_iftype iftype, in cfg80211_ir_permissive_chan() argument 1103 if (iftype != NL80211_IFTYPE_P2P_GO && in cfg80211_ir_permissive_chan() 1104 iftype != NL80211_IFTYPE_STATION && in cfg80211_ir_permissive_chan() 1105 iftype != NL80211_IFTYPE_P2P_CLIENT) in cfg80211_ir_permissive_chan() 1127 if (wdev->iftype == NL80211_IFTYPE_STATION && in cfg80211_ir_permissive_chan() 1138 if (iftype == NL80211_IFTYPE_P2P_GO && in cfg80211_ir_permissive_chan() 1139 wdev->iftype == NL80211_IFTYPE_P2P_GO && in cfg80211_ir_permissive_chan() [all …]
|
| H A D | wext-compat.c | 62 if (type == wdev->iftype) in cfg80211_wext_siwmode() 79 switch (wdev->iftype) { in cfg80211_wext_giwmode() 421 if (wdev->iftype != NL80211_IFTYPE_ADHOC && in __cfg80211_set_encryption() 422 wdev->iftype != NL80211_IFTYPE_STATION) in __cfg80211_set_encryption() 445 wdev->iftype == NL80211_IFTYPE_ADHOC) { in __cfg80211_set_encryption() 521 if (wdev->iftype == NL80211_IFTYPE_ADHOC && in __cfg80211_set_encryption() 573 if (wdev->iftype != NL80211_IFTYPE_STATION && in cfg80211_wext_siwencode() 574 wdev->iftype != NL80211_IFTYPE_ADHOC) in cfg80211_wext_siwencode() 636 if (wdev->iftype != NL80211_IFTYPE_STATION && in cfg80211_wext_siwencodeext() 637 wdev->iftype != NL80211_IFTYPE_ADHOC) in cfg80211_wext_siwencodeext() [all …]
|
| H A D | wext-sme.c | 75 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_siwfreq() 124 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_giwfreq() 154 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_siwessid() 208 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_giwessid() 249 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_siwap() 297 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_STATION)) in cfg80211_mgd_wext_giwap() 321 if (wdev->iftype != NL80211_IFTYPE_STATION) in cfg80211_wext_siwgenie() 376 if (wdev->iftype != NL80211_IFTYPE_STATION) in cfg80211_wext_siwmlme()
|
| H A D | core.c | 227 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_P2P_DEVICE)) in cfg80211_stop_p2p_device() 252 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_NAN)) in cfg80211_stop_nan() 277 switch (wdev->iftype) { in cfg80211_shutdown_all_interfaces() 1119 switch (wdev->iftype) { in __cfg80211_unregister_wdev() 1155 enum nl80211_iftype iftype, int num) in cfg80211_update_iface_num() argument 1160 if (iftype == NL80211_IFTYPE_MONITOR) in cfg80211_update_iface_num() 1175 switch (wdev->iftype) { in __cfg80211_leave() 1277 if ((wdev->iftype == NL80211_IFTYPE_STATION || in cfg80211_init_wdev() 1278 wdev->iftype == NL80211_IFTYPE_P2P_CLIENT || in cfg80211_init_wdev() 1279 wdev->iftype == NL80211_IFTYPE_ADHOC) && !wdev->use_4addr) in cfg80211_init_wdev() [all …]
|
| H A D | ibss.c | 27 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in __cfg80211_ibss_joined() 319 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_siwfreq() 374 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_giwfreq() 404 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_siwessid() 441 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_giwessid() 471 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_siwap() 525 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_ADHOC)) in cfg80211_ibss_wext_giwap()
|
| H A D | ap.c | 21 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && in __cfg80211_stop_ap() 22 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) in __cfg80211_stop_ap()
|
| H A D | ocb.c | 26 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_OCB) in __cfg80211_join_ocb() 64 if (dev->ieee80211_ptr->iftype != NL80211_IFTYPE_OCB) in __cfg80211_leave_ocb()
|
| H A D | nl80211.c | 1399 switch (wdev->iftype) { in nl80211_key_allowed() 2611 capab->iftype) || in nl80211_send_wiphy() 2886 wdev->iftype == NL80211_IFTYPE_AP || in nl80211_can_set_dev_channel() 2887 wdev->iftype == NL80211_IFTYPE_MESH_POINT || in nl80211_can_set_dev_channel() 2888 wdev->iftype == NL80211_IFTYPE_MONITOR || in nl80211_can_set_dev_channel() 2889 wdev->iftype == NL80211_IFTYPE_P2P_GO; in nl80211_can_set_dev_channel() 3023 enum nl80211_iftype iftype = NL80211_IFTYPE_MONITOR; in __nl80211_set_channel() local 3031 iftype = wdev->iftype; in __nl80211_set_channel() 3037 switch (iftype) { in __nl80211_set_channel() 3041 iftype)) { in __nl80211_set_channel() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/microchip/wilc1000/ |
| H A D | cfg80211.c | 183 if (vif->iftype != WILC_CLIENT_MODE) in cfg_connect_result() 209 if (vif->iftype != WILC_CLIENT_MODE) { in cfg_connect_result() 418 if (vif->iftype != WILC_CLIENT_MODE) in connect() 434 if (vif->iftype != WILC_CLIENT_MODE) in connect() 473 if (vif->iftype != WILC_CLIENT_MODE) in disconnect() 557 if (priv->wdev.iftype == NL80211_IFTYPE_AP) { in add_key() 584 if (priv->wdev.iftype == NL80211_IFTYPE_AP || in add_key() 585 priv->wdev.iftype == NL80211_IFTYPE_P2P_GO) { in add_key() 735 if (vif->iftype == WILC_AP_MODE || vif->iftype == WILC_GO_MODE) { in get_station() 754 } else if (vif->iftype == WILC_STATION_MODE) { in get_station() [all …]
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | blk.h | 142 int blkcache_read(int iftype, int dev, 158 void blkcache_fill(int iftype, int dev, 169 void blkcache_invalidate(int iftype, int dev); 199 static inline int blkcache_read(int iftype, int dev, in blkcache_read() argument 206 static inline void blkcache_fill(int iftype, int dev, in blkcache_fill() argument 210 static inline void blkcache_invalidate(int iftype, int dev) {} in blkcache_invalidate() argument
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/quantenna/qtnfmac/ |
| H A D | cfg80211.c | 92 if (vif->wdev.iftype != NL80211_IFTYPE_UNSPECIFIED) in qtnf_validate_iface_combinations() 93 params.iftype_num[vif->wdev.iftype]++; in qtnf_validate_iface_combinations() 98 params.iftype_num[change_vif->wdev.iftype]--; in qtnf_validate_iface_combinations() 113 if (vif && vif->wdev.iftype == NL80211_IFTYPE_AP && in qtnf_validate_iface_combinations() 155 vif->wdev.iftype = type; in qtnf_change_virtual_intf() 191 vif->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; in qtnf_del_virtual_intf() 234 vif->wdev.iftype = type; in qtnf_add_virtual_intf() 282 vif->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; in qtnf_add_virtual_intf() 501 switch (vif->wdev.iftype) { in qtnf_dump_station() 521 if (vif->wdev.iftype == NL80211_IFTYPE_AP) { in qtnf_dump_station() [all …]
|
| H A D | core.c | 103 if (unlikely(vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED)) { in qtnf_netdev_hard_start_xmit() 192 ret = qtnf_cmd_send_change_intf_type(vif, vif->wdev.iftype, in qtnf_netdev_set_mac_address() 280 if (vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) in qtnf_mac_get_free_vif() 293 if (vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) in qtnf_mac_get_base_vif() 335 if (vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) { in qtnf_vif_reset_handler() 354 vif->wdev.iftype = NL80211_IFTYPE_STATION; in qtnf_mac_init_primary_intf() 399 vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) in qtnf_vif_send_data_high_pri() 445 vif->wdev.iftype = NL80211_IFTYPE_UNSPECIFIED; in qtnf_core_mac_alloc() 528 vif->wdev.iftype != NL80211_IFTYPE_UNSPECIFIED) { in qtnf_core_mac_detach() 588 ret = qtnf_cmd_send_add_intf(vif, vif->wdev.iftype, in qtnf_core_mac_attach() [all …]
|
| H A D | event.c | 38 if (vif->wdev.iftype != NL80211_IFTYPE_AP) { in qtnf_event_handle_sta_assoc() 116 if (vif->wdev.iftype != NL80211_IFTYPE_AP) { in qtnf_event_handle_sta_deauth() 159 if (vif->wdev.iftype != NL80211_IFTYPE_STATION) { in qtnf_event_handle_bss_join() 294 if (vif->wdev.iftype != NL80211_IFTYPE_STATION) { in qtnf_event_handle_bss_leave() 469 if (vif->wdev.iftype == NL80211_IFTYPE_UNSPECIFIED) in qtnf_event_handle_freq_change() 472 if (vif->wdev.iftype == NL80211_IFTYPE_STATION && in qtnf_event_handle_freq_change() 612 if (vif->wdev.iftype != NL80211_IFTYPE_STATION) { in qtnf_event_handle_mic_failure() 650 if (vif->wdev.iftype != NL80211_IFTYPE_AP) { in qtnf_event_handle_update_owe()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/libertas/ |
| H A D | tx.c | 116 if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR) { in lbs_hard_start_xmit() 152 if (priv->wdev->iftype == NL80211_IFTYPE_MONITOR) { in lbs_hard_start_xmit() 184 if (priv->wdev->iftype != NL80211_IFTYPE_MONITOR || in lbs_send_tx_feedback()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | wl_cfgvif.c | 514 if (p2p_ndev->ieee80211_ptr->iftype == NL80211_IFTYPE_P2P_GO) { in wl_cfg80211_get_sec_iface() 521 if (p2p_ndev->ieee80211_ptr->iftype == NL80211_IFTYPE_STATION) { in wl_cfg80211_get_sec_iface() 526 if (p2p_ndev->ieee80211_ptr->iftype == NL80211_IFTYPE_P2P_CLIENT) { in wl_cfg80211_get_sec_iface() 1080 WL_DBG(("Enter wdev:%p iftype: %d\n", wdev, wdev->iftype)); in wl_cfg80211_del_virtual_iface() 1081 if (cfg80211_to_wl_iftype(wdev->iftype, &wl_iftype, &wl_mode) < 0) { in wl_cfg80211_del_virtual_iface() 1082 WL_ERR(("Wrong iftype: %d\n", wdev->iftype)); in wl_cfg80211_del_virtual_iface() 1109 WL_INFORM_MEM(("Enter. current_role:%d new_role:%d \n", ndev->ieee80211_ptr->iftype, type)); in wl_cfg80211_change_p2prole() 1224 ndev->name, ndev->ieee80211_ptr->iftype, type)); in wl_cfg80211_change_virtual_iface() 1242 ndev->ieee80211_ptr->iftype = type; in wl_cfg80211_change_virtual_iface() 1260 ndev->ieee80211_ptr->iftype = type; in wl_cfg80211_change_virtual_iface() [all …]
|
| H A D | wl_cfg80211.h | 1183 wl_iftype_t iftype; member 2040 s32 wl_iftype_to_mode(wl_iftype_t iftype); 2136 struct wireless_dev * wdev, wl_iftype_t iftype, bool pm_block, u8 bssidx, u8 ifidx) in wl_alloc_netinfo() argument 2167 _net_info->iftype = iftype; in wl_alloc_netinfo() 2393 mode = wl_iftype_to_mode(_net_info->iftype); in wl_get_mode_by_netdev() 2538 ((wdev->iftype == NL80211_IFTYPE_P2P_CLIENT) ? 1 : 0) 2540 ((wdev->iftype == NL80211_IFTYPE_P2P_GO) ? 1 : 0) 2541 #define is_p2p_group_iface(wdev) (((wdev->iftype == NL80211_IFTYPE_P2P_GO) || \ 2542 (wdev->iftype == NL80211_IFTYPE_P2P_CLIENT)) ? 1 : 0) 2553 ((wdev->iftype == NL80211_IFTYPE_P2P_DEVICE) || \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | wl_cfgvif.c | 514 if (p2p_ndev->ieee80211_ptr->iftype == NL80211_IFTYPE_P2P_GO) { in wl_cfg80211_get_sec_iface() 521 if (p2p_ndev->ieee80211_ptr->iftype == NL80211_IFTYPE_STATION) { in wl_cfg80211_get_sec_iface() 526 if (p2p_ndev->ieee80211_ptr->iftype == NL80211_IFTYPE_P2P_CLIENT) { in wl_cfg80211_get_sec_iface() 1074 WL_DBG(("Enter wdev:%p iftype: %d\n", wdev, wdev->iftype)); in wl_cfg80211_del_virtual_iface() 1075 if (cfg80211_to_wl_iftype(wdev->iftype, &wl_iftype, &wl_mode) < 0) { in wl_cfg80211_del_virtual_iface() 1076 WL_ERR(("Wrong iftype: %d\n", wdev->iftype)); in wl_cfg80211_del_virtual_iface() 1103 WL_INFORM_MEM(("Enter. current_role:%d new_role:%d \n", ndev->ieee80211_ptr->iftype, type)); in wl_cfg80211_change_p2prole() 1218 ndev->name, ndev->ieee80211_ptr->iftype, type)); in wl_cfg80211_change_virtual_iface() 1236 ndev->ieee80211_ptr->iftype = type; in wl_cfg80211_change_virtual_iface() 1254 ndev->ieee80211_ptr->iftype = type; in wl_cfg80211_change_virtual_iface() [all …]
|
| H A D | wl_cfg80211.h | 1183 wl_iftype_t iftype; member 2037 s32 wl_iftype_to_mode(wl_iftype_t iftype); 2133 struct wireless_dev * wdev, wl_iftype_t iftype, bool pm_block, u8 bssidx, u8 ifidx) in wl_alloc_netinfo() argument 2164 _net_info->iftype = iftype; in wl_alloc_netinfo() 2390 mode = wl_iftype_to_mode(_net_info->iftype); in wl_get_mode_by_netdev() 2535 ((wdev->iftype == NL80211_IFTYPE_P2P_CLIENT) ? 1 : 0) 2537 ((wdev->iftype == NL80211_IFTYPE_P2P_GO) ? 1 : 0) 2538 #define is_p2p_group_iface(wdev) (((wdev->iftype == NL80211_IFTYPE_P2P_GO) || \ 2539 (wdev->iftype == NL80211_IFTYPE_P2P_CLIENT)) ? 1 : 0) 2550 ((wdev->iftype == NL80211_IFTYPE_P2P_DEVICE) || \ [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | wl_cfg80211.h | 750 wl_iftype_t iftype; member 1477 s32 wl_iftype_to_mode(wl_iftype_t iftype); 1572 struct wireless_dev * wdev, wl_iftype_t iftype, bool pm_block, u8 bssidx, u8 ifidx) in wl_alloc_netinfo() argument 1603 _net_info->iftype = iftype; in wl_alloc_netinfo() 1832 mode = wl_iftype_to_mode(_net_info->iftype); in wl_get_mode_by_netdev() 2040 #define is_p2p_group_iface(wdev) (((wdev->iftype == NL80211_IFTYPE_P2P_GO) || \ 2041 (wdev->iftype == NL80211_IFTYPE_P2P_CLIENT)) ? 1 : 0) 2052 ((wdev->iftype == NL80211_IFTYPE_P2P_DEVICE) || \ 2053 (wdev->iftype == NL80211_IFTYPE_P2P_GO) || \ 2054 (wdev->iftype == NL80211_IFTYPE_P2P_CLIENT))) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | wl_cfg80211.h | 758 wl_iftype_t iftype; member 1541 s32 wl_iftype_to_mode(wl_iftype_t iftype); 1636 struct wireless_dev * wdev, wl_iftype_t iftype, bool pm_block, u8 bssidx, u8 ifidx) in wl_alloc_netinfo() argument 1667 _net_info->iftype = iftype; in wl_alloc_netinfo() 1896 mode = wl_iftype_to_mode(_net_info->iftype); in wl_get_mode_by_netdev() 2104 #define is_p2p_group_iface(wdev) (((wdev->iftype == NL80211_IFTYPE_P2P_GO) || \ 2105 (wdev->iftype == NL80211_IFTYPE_P2P_CLIENT)) ? 1 : 0) 2116 ((wdev->iftype == NL80211_IFTYPE_P2P_DEVICE) || \ 2117 (wdev->iftype == NL80211_IFTYPE_P2P_GO) || \ 2118 (wdev->iftype == NL80211_IFTYPE_P2P_CLIENT))) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | wl_cfg80211.h | 758 wl_iftype_t iftype; member 1541 s32 wl_iftype_to_mode(wl_iftype_t iftype); 1636 struct wireless_dev * wdev, wl_iftype_t iftype, bool pm_block, u8 bssidx, u8 ifidx) in wl_alloc_netinfo() argument 1667 _net_info->iftype = iftype; in wl_alloc_netinfo() 1896 mode = wl_iftype_to_mode(_net_info->iftype); in wl_get_mode_by_netdev() 2104 #define is_p2p_group_iface(wdev) (((wdev->iftype == NL80211_IFTYPE_P2P_GO) || \ 2105 (wdev->iftype == NL80211_IFTYPE_P2P_CLIENT)) ? 1 : 0) 2116 ((wdev->iftype == NL80211_IFTYPE_P2P_DEVICE) || \ 2117 (wdev->iftype == NL80211_IFTYPE_P2P_GO) || \ 2118 (wdev->iftype == NL80211_IFTYPE_P2P_CLIENT))) [all …]
|
| /OK3568_Linux_fs/kernel/drivers/char/ipmi/ |
| H A D | ipmi_plat_data.c | 24 if (p->iftype == IPMI_PLAT_IF_SI) { in ipmi_platform_add() 36 } else if (p->iftype == IPMI_PLAT_IF_SSIF) { in ipmi_platform_add()
|
| /OK3568_Linux_fs/kernel/net/ieee802154/ |
| H A D | core.c | 248 int iftype, int num) in cfg802154_update_iface_num() argument 280 cfg802154_update_iface_num(rdev, wpan_dev->iftype, -1); in cfg802154_netdev_notifier_call() 286 cfg802154_update_iface_num(rdev, wpan_dev->iftype, 1); in cfg802154_netdev_notifier_call()
|