Home
last modified time | relevance | path

Searched refs:ntype (Results 1 – 13 of 13) sorted by relevance

/OK3568_Linux_fs/kernel/net/wireless/
H A Dutil.c1010 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 Dcore.h458 struct net_device *dev, enum nl80211_iftype ntype,
H A Dnl80211.c3758 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, &params); in nl80211_set_interface()
3807 err = cfg80211_change_iface(rdev, dev, ntype, &params); in nl80211_set_interface()
/OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/bus/
H A DSbus.c504 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 Dbuild.c183 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 Dubi.h908 int ntype);
909 int ubi_notify_all(struct ubi_device *ubi, int ntype,
/OK3568_Linux_fs/kernel/drivers/mtd/ubi/
H A Dbuild.c154 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 Dubi.h949 int ntype);
950 int ubi_notify_all(struct ubi_device *ubi, int ntype,
/OK3568_Linux_fs/kernel/drivers/usb/dwc3/
H A Dcore.c885 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 Dlpfc_nvme.c696 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 Dib_verbs.c615 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 Dwl_cfg80211.c15949 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 Dwl_cfg80211.c15828 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()