Home
last modified time | relevance | path

Searched refs:mask_hw (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/wireless/realtek/rtw88/
H A Dwow.c169 u8 mask_hw[RTW_MAX_PATTERN_MASK_SIZE] = {0}; in rtw_wow_pattern_generate() local
216 mask_hw[i] = u8_get_bits(mask[i], GENMASK(7, 6)); in rtw_wow_pattern_generate()
217 mask_hw[i] |= u8_get_bits(mask[i + 1], GENMASK(5, 0)) << 2; in rtw_wow_pattern_generate()
219 mask_hw[i] = u8_get_bits(mask[i], GENMASK(7, 6)); in rtw_wow_pattern_generate()
222 mask_hw[0] &= (~GENMASK(5, 0)); in rtw_wow_pattern_generate()
224 memcpy(rtw_pattern->mask, mask_hw, RTW_MAX_PATTERN_MASK_SIZE); in rtw_wow_pattern_generate()
/openbmc/linux/drivers/net/wireless/realtek/rtw89/
H A Dwow.c252 u8 mask_hw[RTW89_MAX_PATTERN_MASK_SIZE * 4] = {0}; in rtw89_wow_pattern_generate() local
293 mask_hw[i] = u8_get_bits(mask[i], GENMASK(7, 6)) | in rtw89_wow_pattern_generate()
296 mask_hw[i] = u8_get_bits(mask[i], GENMASK(7, 6)); in rtw89_wow_pattern_generate()
299 mask_hw[0] &= ~GENMASK(5, 0); in rtw89_wow_pattern_generate()
301 memcpy(rtw_pattern->mask, mask_hw, sizeof(rtw_pattern->mask)); in rtw89_wow_pattern_generate()