Home
last modified time | relevance | path

Searched refs:priv_tmp (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/pci/controller/dwc/
H A Dpcie-designware-debugfs.c557 struct dwc_pcie_rasdes_priv *priv_tmp; in dwc_pcie_rasdes_debugfs_init() local
591 priv_tmp = devm_kzalloc(dev, sizeof(*priv_tmp), GFP_KERNEL); in dwc_pcie_rasdes_debugfs_init()
592 if (!priv_tmp) { in dwc_pcie_rasdes_debugfs_init()
597 priv_tmp->idx = i; in dwc_pcie_rasdes_debugfs_init()
598 priv_tmp->pci = pci; in dwc_pcie_rasdes_debugfs_init()
599 debugfs_create_file(err_inj_list[i].name, 0200, rasdes_err_inj, priv_tmp, in dwc_pcie_rasdes_debugfs_init()
605 priv_tmp = devm_kzalloc(dev, sizeof(*priv_tmp), GFP_KERNEL); in dwc_pcie_rasdes_debugfs_init()
606 if (!priv_tmp) { in dwc_pcie_rasdes_debugfs_init()
611 priv_tmp->idx = i; in dwc_pcie_rasdes_debugfs_init()
612 priv_tmp->pci = pci; in dwc_pcie_rasdes_debugfs_init()
[all …]
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dwmm.c1087 struct mwifiex_private *priv_tmp; in mwifiex_wmm_get_highest_priolist_ptr() local
1101 priv_tmp = adapter->bss_prio_tbl[j].bss_prio_cur->priv; in mwifiex_wmm_get_highest_priolist_ptr()
1103 if (((priv_tmp->bss_mode != NL80211_IFTYPE_ADHOC) && in mwifiex_wmm_get_highest_priolist_ptr()
1104 !priv_tmp->port_open) || in mwifiex_wmm_get_highest_priolist_ptr()
1105 (atomic_read(&priv_tmp->wmm.tx_pkts_queued) == 0)) in mwifiex_wmm_get_highest_priolist_ptr()
1109 !adapter->if_ops.is_port_ready(priv_tmp)) in mwifiex_wmm_get_highest_priolist_ptr()
1113 hqp = &priv_tmp->wmm.highest_queued_prio; in mwifiex_wmm_get_highest_priolist_ptr()
1116 spin_lock_bh(&priv_tmp->wmm.ra_list_spinlock); in mwifiex_wmm_get_highest_priolist_ptr()
1118 tid_ptr = &(priv_tmp)->wmm. in mwifiex_wmm_get_highest_priolist_ptr()
1131 spin_unlock_bh(&priv_tmp->wmm.ra_list_spinlock); in mwifiex_wmm_get_highest_priolist_ptr()
[all …]
/linux/drivers/net/wireless/nxp/nxpwifi/
H A Dwmm.c898 struct nxpwifi_private *priv_tmp; in nxpwifi_wmm_get_highest_priolist_ptr() local
912 priv_tmp = adapter->bss_prio_tbl[j].bss_prio_cur->priv; in nxpwifi_wmm_get_highest_priolist_ptr()
914 if (!priv_tmp->port_open || in nxpwifi_wmm_get_highest_priolist_ptr()
915 (atomic_read(&priv_tmp->wmm.tx_pkts_queued) == 0)) in nxpwifi_wmm_get_highest_priolist_ptr()
919 hqp = &priv_tmp->wmm.highest_queued_prio; in nxpwifi_wmm_get_highest_priolist_ptr()
921 spin_lock_bh(&priv_tmp->wmm.ra_list_spinlock); in nxpwifi_wmm_get_highest_priolist_ptr()
924 tid_ptr = &(priv_tmp)->wmm.tid_tbl_ptr[to_tid]; in nxpwifi_wmm_get_highest_priolist_ptr()
935 spin_unlock_bh(&priv_tmp->wmm.ra_list_spinlock); in nxpwifi_wmm_get_highest_priolist_ptr()
938 if (atomic_read(&priv_tmp->wmm.tx_pkts_queued) != 0) { in nxpwifi_wmm_get_highest_priolist_ptr()
939 atomic_set(&priv_tmp->wmm.highest_queued_prio, in nxpwifi_wmm_get_highest_priolist_ptr()
[all …]
H A Dmain.h1244 struct nxpwifi_private *priv_tmp; in nxpwifi_is_any_intf_active() local
1248 priv_tmp = priv->adapter->priv[i]; in nxpwifi_is_any_intf_active()
1249 if ((GET_BSS_ROLE(priv_tmp) == NXPWIFI_BSS_ROLE_UAP && in nxpwifi_is_any_intf_active()
1250 priv_tmp->bss_started) || in nxpwifi_is_any_intf_active()
1251 (GET_BSS_ROLE(priv_tmp) == NXPWIFI_BSS_ROLE_STA && in nxpwifi_is_any_intf_active()
1252 priv_tmp->media_connected)) in nxpwifi_is_any_intf_active()