Home
last modified time | relevance | path

Searched refs:tpriv (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_selftests.c246 struct stmmac_test_priv *tpriv = pt->af_packet_priv; in stmmac_test_loopback_validate() local
263 if (tpriv->packet->dst) { in stmmac_test_loopback_validate()
264 if (!ether_addr_equal(ehdr->h_dest, tpriv->packet->dst)) in stmmac_test_loopback_validate()
267 if (tpriv->packet->sarc) { in stmmac_test_loopback_validate()
270 } else if (tpriv->packet->src) { in stmmac_test_loopback_validate()
271 if (!ether_addr_equal(ehdr->h_source, tpriv->packet->src)) in stmmac_test_loopback_validate()
276 if (tpriv->double_vlan) in stmmac_test_loopback_validate()
279 if (tpriv->packet->tcp) { in stmmac_test_loopback_validate()
284 if (thdr->dest != htons(tpriv->packet->dport)) in stmmac_test_loopback_validate()
293 if (uhdr->dest != htons(tpriv->packet->dport)) in stmmac_test_loopback_validate()
[all …]
/Linux-v5.4/drivers/infiniband/ulp/ipoib/
Dipoib_vlan.c56 struct ipoib_dev_priv *tpriv; in is_child_unique() local
77 list_for_each_entry(tpriv, &ppriv->child_intfs, list) { in is_child_unique()
78 if (tpriv->pkey == priv->pkey && in is_child_unique()
79 tpriv->child_type == IPOIB_LEGACY_CHILD) in is_child_unique()
245 struct ipoib_dev_priv *ppriv, *priv, *tpriv; in ipoib_vlan_delete() local
262 list_for_each_entry_safe(priv, tpriv, &ppriv->child_intfs, list) { in ipoib_vlan_delete()
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/
Dpci.c327 struct rtl_priv *tpriv; in rtl_pci_check_buddy_priv() local
331 list_for_each_entry(tpriv, &rtlpriv->glb_var->glb_priv_list, in rtl_pci_check_buddy_priv()
333 tpcipriv = (struct rtl_pci_priv *)tpriv->priv; in rtl_pci_check_buddy_priv()
357 *buddy_priv = tpriv; in rtl_pci_check_buddy_priv()