Lines Matching refs:idx

626 	int idx = requester & WLAN_SCAN_REQUESTER_ID_MASK;  in ucfg_get_scan_requester_name()  local
640 if ((idx < WLAN_MAX_REQUESTORS) && in ucfg_get_scan_requester_name()
641 (requesters[idx].requester == requester)) { in ucfg_get_scan_requester_name()
642 return requesters[idx].module; in ucfg_get_scan_requester_name()
668 uint32_t idx; in ucfg_scan_register_event_handler() local
691 for (idx = 0; idx < MAX_SCAN_EVENT_HANDLERS_PER_PDEV; in ucfg_scan_register_event_handler()
692 idx++, cb_handler++) { in ucfg_scan_register_event_handler()
880 uint32_t idx; in ucfg_scan_unregister_event_handler() local
910 for (idx = 0; idx < MAX_SCAN_EVENT_HANDLERS_PER_PDEV; in ucfg_scan_unregister_event_handler()
911 idx++, cb_handler++) { in ucfg_scan_unregister_event_handler()
1053 uint32_t idx; in ucfg_scan_init_chanlist_params() local
1099 for (idx = 0, num_chans = 0; in ucfg_scan_init_chanlist_params()
1100 (idx < NUM_CHANNELS && num_chans < max_chans); idx++) in ucfg_scan_init_chanlist_params()
1102 &reg_chan_list[idx], in ucfg_scan_init_chanlist_params()
1107 reg_chan_list[idx].center_freq)) || in ucfg_scan_init_chanlist_params()
1110 reg_chan_list[idx].center_freq) || in ucfg_scan_init_chanlist_params()
1112 reg_chan_list[idx].center_freq) || in ucfg_scan_init_chanlist_params()
1114 reg_chan_list[idx].center_freq))))) in ucfg_scan_init_chanlist_params()
1116 reg_chan_list[idx].center_freq; in ucfg_scan_init_chanlist_params()
1144 for (idx = 0; idx < num_chans; idx++) { in ucfg_scan_init_chanlist_params()
1145 req->scan_req.chan_list.chan[idx].freq = in ucfg_scan_init_chanlist_params()
1146 (chan_list[idx] > WLAN_24_GHZ_BASE_FREQ) ? in ucfg_scan_init_chanlist_params()
1147 chan_list[idx] : in ucfg_scan_init_chanlist_params()
1148 wlan_reg_legacy_chan_to_freq(pdev, chan_list[idx]); in ucfg_scan_init_chanlist_params()
1150 req->scan_req.chan_list.chan[idx].phymode = in ucfg_scan_init_chanlist_params()
1151 phymode[idx]; in ucfg_scan_init_chanlist_params()
1152 else if (req->scan_req.chan_list.chan[idx].freq <= in ucfg_scan_init_chanlist_params()
1154 req->scan_req.chan_list.chan[idx].phymode = in ucfg_scan_init_chanlist_params()
1156 else if (req->scan_req.chan_list.chan[idx].freq <= in ucfg_scan_init_chanlist_params()
1158 req->scan_req.chan_list.chan[idx].phymode = in ucfg_scan_init_chanlist_params()
1161 req->scan_req.chan_list.chan[idx].phymode = in ucfg_scan_init_chanlist_params()