Home
last modified time | relevance | path

Searched refs:pdw (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/drivers/staging/r8188eu/hal/
Drtl8188eu_xmit.c103 static void fill_txdesc_vcs(struct pkt_attrib *pattrib, __le32 *pdw) in fill_txdesc_vcs() argument
107 *pdw |= cpu_to_le32(RTS_EN); in fill_txdesc_vcs()
110 *pdw |= cpu_to_le32(CTS_2_SELF); in fill_txdesc_vcs()
117 *pdw |= cpu_to_le32(HW_RTS_EN); in fill_txdesc_vcs()
120 *pdw |= (pattrib->bwmode & HT_CHANNEL_WIDTH_40) ? cpu_to_le32(BIT(27)) : 0; in fill_txdesc_vcs()
123 *pdw |= cpu_to_le32((0x01 << 28) & 0x30000000); in fill_txdesc_vcs()
125 *pdw |= cpu_to_le32((0x02 << 28) & 0x30000000); in fill_txdesc_vcs()
127 *pdw |= 0; in fill_txdesc_vcs()
129 *pdw |= cpu_to_le32((0x03 << 28) & 0x30000000); in fill_txdesc_vcs()
134 static void fill_txdesc_phy(struct pkt_attrib *pattrib, __le32 *pdw) in fill_txdesc_phy() argument
[all …]
/linux-5.19.10/net/xfrm/
Dxfrm_hash.h57 unsigned int pdw; in __xfrm6_pref_hash() local
61 pdw = prefixlen >> 5; /* num of whole u32 in prefix */ in __xfrm6_pref_hash()
69 initval = (__force u32)(addr->a6[pdw] & mask); in __xfrm6_pref_hash()
72 return jhash2((__force u32 *)addr->a6, pdw, initval); in __xfrm6_pref_hash()
Dxfrm_policy.c798 unsigned int pdw, pbi; in xfrm_policy_addr_delta() local
814 pdw = prefixlen >> 5; in xfrm_policy_addr_delta()
817 if (pdw) { in xfrm_policy_addr_delta()
818 delta = memcmp(a->a6, b->a6, pdw << 2); in xfrm_policy_addr_delta()
824 ma = ntohl(a->a6[pdw]) & mask; in xfrm_policy_addr_delta()
825 mb = ntohl(b->a6[pdw]) & mask; in xfrm_policy_addr_delta()
/linux-5.19.10/include/net/
Dipv6.h677 unsigned int pdw, pbi; in ipv6_prefix_equal() local
680 pdw = prefixlen >> 5; in ipv6_prefix_equal()
681 if (pdw && memcmp(a1, a2, pdw << 2)) in ipv6_prefix_equal()
686 if (pbi && ((a1[pdw] ^ a2[pdw]) & htonl((0xffffffff) << (32 - pbi)))) in ipv6_prefix_equal()
Dxfrm.h812 unsigned int pdw; in addr_match() local
815 pdw = prefixlen >> 5; /* num of whole u32 in prefix */ in addr_match()
818 if (pdw) in addr_match()
819 if (memcmp(a1, a2, pdw << 2)) in addr_match()
827 if ((a1[pdw] ^ a2[pdw]) & mask) in addr_match()