Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/wireless/realtek/rtw88/
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()
/linux-6.12.1/drivers/net/wireless/realtek/rtw89/
Dwow.c904 u8 mask_hw[RTW89_MAX_PATTERN_MASK_SIZE * 4] = {0}; in rtw89_wow_pattern_generate() local
945 mask_hw[i] = u8_get_bits(mask[i], GENMASK(7, 6)) | in rtw89_wow_pattern_generate()
948 mask_hw[i] = u8_get_bits(mask[i], GENMASK(7, 6)); in rtw89_wow_pattern_generate()
951 mask_hw[0] &= ~GENMASK(5, 0); in rtw89_wow_pattern_generate()
953 memcpy(rtw_pattern->mask, mask_hw, sizeof(rtw_pattern->mask)); in rtw89_wow_pattern_generate()