Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/rtl8188eu/hal/
Drtl8188eu_xmit.c114 static void fill_txdesc_vcs(struct pkt_attrib *pattrib, __le32 *pdw) in fill_txdesc_vcs() argument
118 *pdw |= cpu_to_le32(RTS_EN); in fill_txdesc_vcs()
121 *pdw |= cpu_to_le32(CTS_2_SELF); in fill_txdesc_vcs()
128 *pdw |= cpu_to_le32(HW_RTS_EN); in fill_txdesc_vcs()
131 *pdw |= (pattrib->bwmode&HT_CHANNEL_WIDTH_40) ? cpu_to_le32(BIT(27)) : 0; in fill_txdesc_vcs()
134 *pdw |= cpu_to_le32((0x01 << 28) & 0x30000000); in fill_txdesc_vcs()
136 *pdw |= cpu_to_le32((0x02 << 28) & 0x30000000); in fill_txdesc_vcs()
138 *pdw |= 0; in fill_txdesc_vcs()
140 *pdw |= cpu_to_le32((0x03 << 28) & 0x30000000); in fill_txdesc_vcs()
145 static void fill_txdesc_phy(struct pkt_attrib *pattrib, __le32 *pdw) in fill_txdesc_phy() argument
[all …]
/Linux-v4.19/net/xfrm/
Dxfrm_hash.h58 unsigned int pdw; in __xfrm6_pref_hash() local
62 pdw = prefixlen >> 5; /* num of whole u32 in prefix */ in __xfrm6_pref_hash()
70 initval = (__force u32)(addr->a6[pdw] & mask); in __xfrm6_pref_hash()
73 return jhash2((__force u32 *)addr->a6, pdw, initval); in __xfrm6_pref_hash()
/Linux-v4.19/include/net/
Dipv6.h561 unsigned int pdw, pbi; in ipv6_prefix_equal() local
564 pdw = prefixlen >> 5; in ipv6_prefix_equal()
565 if (pdw && memcmp(a1, a2, pdw << 2)) in ipv6_prefix_equal()
570 if (pbi && ((a1[pdw] ^ a2[pdw]) & htonl((0xffffffff) << (32 - pbi)))) in ipv6_prefix_equal()
Dxfrm.h876 unsigned int pdw; in addr_match() local
879 pdw = prefixlen >> 5; /* num of whole u32 in prefix */ in addr_match()
882 if (pdw) in addr_match()
883 if (memcmp(a1, a2, pdw << 2)) in addr_match()
891 if ((a1[pdw] ^ a2[pdw]) & mask) in addr_match()