| /OK3568_Linux_fs/kernel/net/wireless/ |
| H A D | util.c | 1010 struct net_device *dev, enum nl80211_iftype ntype, in cfg80211_change_iface() argument 1023 if (ntype == NL80211_IFTYPE_P2P_DEVICE || in cfg80211_change_iface() 1024 ntype == NL80211_IFTYPE_NAN) in cfg80211_change_iface() 1028 !(rdev->wiphy.interface_modes & (1 << ntype))) in cfg80211_change_iface() 1031 if (ntype != otype) { in cfg80211_change_iface() 1034 (ntype == NL80211_IFTYPE_ADHOC || in cfg80211_change_iface() 1035 ntype == NL80211_IFTYPE_STATION || in cfg80211_change_iface() 1036 ntype == NL80211_IFTYPE_P2P_CLIENT)) in cfg80211_change_iface() 1074 err = rdev_change_virtual_intf(rdev, dev, ntype, params); in cfg80211_change_iface() 1076 WARN_ON(!err && dev->ieee80211_ptr->iftype != ntype); in cfg80211_change_iface() [all …]
|
| H A D | core.h | 458 struct net_device *dev, enum nl80211_iftype ntype,
|
| H A D | nl80211.c | 3758 enum nl80211_iftype otype, ntype; in nl80211_set_interface() local 3764 otype = ntype = dev->ieee80211_ptr->iftype; in nl80211_set_interface() 3767 ntype = nla_get_u32(info->attrs[NL80211_ATTR_IFTYPE]); in nl80211_set_interface() 3768 if (otype != ntype) in nl80211_set_interface() 3775 if (ntype != NL80211_IFTYPE_MESH_POINT) in nl80211_set_interface() 3793 err = nl80211_valid_4addr(rdev, dev, params.use_4addr, ntype); in nl80211_set_interface() 3800 err = nl80211_parse_mon_options(rdev, ntype, info, ¶ms); in nl80211_set_interface() 3807 err = cfg80211_change_iface(rdev, dev, ntype, ¶ms); in nl80211_set_interface()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/bus/ |
| H A D | Sbus.c | 504 int len, ntype = type; in promWalkNode2Pathname() local 512 ntype = PROM_NODE_SBUS; in promWalkNode2Pathname() 514 ntype = PROM_NODE_EBUS; in promWalkNode2Pathname() 516 ntype = PROM_NODE_PCI; in promWalkNode2Pathname() 526 ntype)) in promWalkNode2Pathname()
|
| /OK3568_Linux_fs/u-boot/drivers/mtd/ubi/ |
| H A D | build.c | 183 int ubi_volume_notify(struct ubi_device *ubi, struct ubi_volume *vol, int ntype) in ubi_volume_notify() argument 191 switch (ntype) { in ubi_volume_notify() 201 return blocking_notifier_call_chain(&ubi_notifiers, ntype, &nt); in ubi_volume_notify() 215 int ubi_notify_all(struct ubi_device *ubi, int ntype, struct notifier_block *nb) in ubi_notify_all() argument 238 nb->notifier_call(nb, ntype, &nt); in ubi_notify_all() 240 ret = blocking_notifier_call_chain(&ubi_notifiers, ntype, in ubi_notify_all()
|
| H A D | ubi.h | 908 int ntype); 909 int ubi_notify_all(struct ubi_device *ubi, int ntype,
|
| /OK3568_Linux_fs/kernel/drivers/mtd/ubi/ |
| H A D | build.c | 154 int ubi_volume_notify(struct ubi_device *ubi, struct ubi_volume *vol, int ntype) in ubi_volume_notify() argument 162 switch (ntype) { in ubi_volume_notify() 172 return blocking_notifier_call_chain(&ubi_notifiers, ntype, &nt); in ubi_volume_notify() 186 int ubi_notify_all(struct ubi_device *ubi, int ntype, struct notifier_block *nb) in ubi_notify_all() argument 205 nb->notifier_call(nb, ntype, &nt); in ubi_notify_all() 207 blocking_notifier_call_chain(&ubi_notifiers, ntype, in ubi_notify_all()
|
| H A D | ubi.h | 949 int ntype); 950 int ubi_notify_all(struct ubi_device *ubi, int ntype,
|
| /OK3568_Linux_fs/kernel/drivers/usb/dwc3/ |
| H A D | core.c | 885 int ntype; in dwc3_set_incr_burst_type() local 898 ntype = device_property_count_u32(dev, "snps,incr-burst-type-adjustment"); in dwc3_set_incr_burst_type() 899 if (ntype <= 0) in dwc3_set_incr_burst_type() 902 vals = kcalloc(ntype, sizeof(u32), GFP_KERNEL); in dwc3_set_incr_burst_type() 910 "snps,incr-burst-type-adjustment", vals, ntype); in dwc3_set_incr_burst_type() 919 if (ntype > 1) { in dwc3_set_incr_burst_type() 922 for (i = 1; i < ntype; i++) { in dwc3_set_incr_burst_type()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/lpfc/ |
| H A D | lpfc_nvme.c | 696 uint16_t ntype, nstate; in __lpfc_nvme_ls_req() local 706 ntype = ndlp->nlp_type; in __lpfc_nvme_ls_req() 708 if ((ntype & NLP_NVME_TARGET && nstate != NLP_STE_MAPPED_NODE) || in __lpfc_nvme_ls_req() 709 (ntype & NLP_NVME_INITIATOR && nstate != NLP_STE_UNMAPPED_NODE)) { in __lpfc_nvme_ls_req() 713 ndlp->nlp_DID, ntype, nstate); in __lpfc_nvme_ls_req()
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/bnxt_re/ |
| H A D | ib_verbs.c | 615 static u8 bnxt_re_stack_to_dev_nw_type(enum rdma_network_type ntype) in bnxt_re_stack_to_dev_nw_type() argument 619 switch (ntype) { in bnxt_re_stack_to_dev_nw_type()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | wl_cfg80211.c | 15949 enum nl80211_iftype ntype; in wl_cfg80211_net_attach() local 15960 ntype = NL80211_IFTYPE_AP; in wl_cfg80211_net_attach() 15962 ntype = NL80211_IFTYPE_STATION; in wl_cfg80211_net_attach() 15965 if (wl_cfg80211_register_static_if(cfg, ntype, in wl_cfg80211_net_attach()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | wl_cfg80211.c | 15828 enum nl80211_iftype ntype; in wl_cfg80211_net_attach() local 15839 ntype = NL80211_IFTYPE_AP; in wl_cfg80211_net_attach() 15841 ntype = NL80211_IFTYPE_STATION; in wl_cfg80211_net_attach() 15844 if (wl_cfg80211_register_static_if(cfg, ntype, in wl_cfg80211_net_attach()
|