Lines Matching refs:cam_info
105 struct rtw89_cam_info *cam_info = &rtwdev->cam_info; in rtw89_cam_get_avail_sec_cam() local
110 idx = find_first_zero_bit(cam_info->sec_cam_map, sec_cam_num); in rtw89_cam_get_avail_sec_cam()
114 set_bit(idx, cam_info->sec_cam_map); in rtw89_cam_get_avail_sec_cam()
121 idx = find_next_zero_bit(cam_info->sec_cam_map, sec_cam_num, idx); in rtw89_cam_get_avail_sec_cam()
125 if (test_bit(idx + 1, cam_info->sec_cam_map)) { in rtw89_cam_get_avail_sec_cam()
130 set_bit(idx, cam_info->sec_cam_map); in rtw89_cam_get_avail_sec_cam()
131 set_bit(idx + 1, cam_info->sec_cam_map); in rtw89_cam_get_avail_sec_cam()
272 struct rtw89_cam_info *cam_info = &rtwdev->cam_info; in rtw89_cam_sec_key_install() local
317 clear_bit(sec_cam_idx, cam_info->sec_cam_map); in rtw89_cam_sec_key_install()
319 clear_bit(sec_cam_idx + 1, cam_info->sec_cam_map); in rtw89_cam_sec_key_install()
384 struct rtw89_cam_info *cam_info = &rtwdev->cam_info; in rtw89_cam_sec_key_del() local
419 clear_bit(sec_cam_idx, cam_info->sec_cam_map); in rtw89_cam_sec_key_del()
421 clear_bit(sec_cam_idx + 1, cam_info->sec_cam_map); in rtw89_cam_sec_key_del()
442 struct rtw89_cam_info *cam_info = &rtwdev->cam_info; in rtw89_cam_deinit_addr_cam() local
445 clear_bit(addr_cam->addr_cam_idx, cam_info->addr_cam_map); in rtw89_cam_deinit_addr_cam()
451 struct rtw89_cam_info *cam_info = &rtwdev->cam_info; in rtw89_cam_deinit_bssid_cam() local
454 clear_bit(bssid_cam->bssid_cam_idx, cam_info->bssid_cam_map); in rtw89_cam_deinit_bssid_cam()
477 struct rtw89_cam_info *cam_info = &rtwdev->cam_info; in rtw89_cam_get_avail_addr_cam() local
481 idx = find_first_zero_bit(cam_info->addr_cam_map, addr_cam_num); in rtw89_cam_get_avail_addr_cam()
485 set_bit(idx, cam_info->addr_cam_map); in rtw89_cam_get_avail_addr_cam()
535 struct rtw89_cam_info *cam_info = &rtwdev->cam_info; in rtw89_cam_get_avail_bssid_cam() local
539 idx = find_first_zero_bit(cam_info->bssid_cam_map, bssid_cam_num); in rtw89_cam_get_avail_bssid_cam()
543 set_bit(idx, cam_info->bssid_cam_map); in rtw89_cam_get_avail_bssid_cam()