Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/wireless/realtek/rtw88/
Dwow.c77 struct rtw_wow_pattern *rtw_pattern) in rtw_wow_pattern_write_cam_ent() argument
85 wdata = rtw_pattern->mask[i * 4]; in rtw_wow_pattern_write_cam_ent()
86 wdata |= rtw_pattern->mask[i * 4 + 1] << 8; in rtw_wow_pattern_write_cam_ent()
87 wdata |= rtw_pattern->mask[i * 4 + 2] << 16; in rtw_wow_pattern_write_cam_ent()
88 wdata |= rtw_pattern->mask[i * 4 + 3] << 24; in rtw_wow_pattern_write_cam_ent()
92 wdata = rtw_pattern->crc; in rtw_wow_pattern_write_cam_ent()
95 switch (rtw_pattern->type) { in rtw_wow_pattern_write_cam_ent()
165 struct rtw_wow_pattern *rtw_pattern) in rtw_wow_pattern_generate() argument
182 memset(rtw_pattern, 0, sizeof(*rtw_pattern)); in rtw_wow_pattern_generate()
187 rtw_pattern->type = RTW_PATTERN_BROADCAST; in rtw_wow_pattern_generate()
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtw89/
Dwow.c869 struct rtw89_wow_cam_info *rtw_pattern, in rtw89_wow_pattern_get_type() argument
885 rtw_pattern->bc = true; in rtw89_wow_pattern_get_type()
887 rtw_pattern->mc = true; in rtw89_wow_pattern_get_type()
890 rtw_pattern->uc = true; in rtw89_wow_pattern_get_type()
902 struct rtw89_wow_cam_info *rtw_pattern) in rtw89_wow_pattern_generate() argument
917 memset(rtw_pattern, 0, sizeof(*rtw_pattern)); in rtw89_wow_pattern_generate()
919 ret = rtw89_wow_pattern_get_type(rtwvif, rtw_pattern, pattern, in rtw89_wow_pattern_generate()
953 memcpy(rtw_pattern->mask, mask_hw, sizeof(rtw_pattern->mask)); in rtw89_wow_pattern_generate()
967 rtw_pattern->crc = rtw89_calc_crc(content, count); in rtw89_wow_pattern_generate()
977 struct rtw89_wow_cam_info *rtw_pattern = rtw_wow->patterns; in rtw89_wow_parse_patterns() local
[all …]