Lines Matching refs:idx
1869 "WMI vdev install key idx %d cipher %d len %d\n",
3497 u16 idx;
3527 for (idx = 0; idx < arg->num_mem_chunks; ++idx) {
3528 host_mem_chunks[idx].tlv_header =
3532 host_mem_chunks[idx].ptr = cpu_to_le32(arg->mem_chunks[idx].paddr);
3533 host_mem_chunks[idx].size = cpu_to_le32(arg->mem_chunks[idx].len);
3534 host_mem_chunks[idx].req_id = cpu_to_le32(arg->mem_chunks[idx].req_id);
3538 arg->mem_chunks[idx].req_id,
3539 (u64)arg->mem_chunks[idx].paddr,
3540 arg->mem_chunks[idx].len);
3567 for (idx = 0; idx < arg->num_band_to_mac; idx++) {
3573 band_to_mac->pdev_id = cpu_to_le32(arg->band_to_mac[idx].pdev_id);
3575 cpu_to_le32(arg->band_to_mac[idx].start_freq);
3577 cpu_to_le32(arg->band_to_mac[idx].end_freq);
4127 ath12k_warn(soc, "failed to extract mac caps, idx :%d\n",
5453 int band, ch, idx = 0;
5463 for (ch = 0; ch < sband->n_channels; ch++, idx++)
5469 return idx;
6332 int idx;
6373 idx = freq_to_idx(ar, le32_to_cpu(ch_info_ev.freq));
6374 if (idx >= ARRAY_SIZE(ar->survey)) {
6375 ath12k_warn(ab, "chan info: invalid frequency %d (idx %d out of bounds)\n",
6376 ch_info_ev.freq, idx);
6387 survey = &ar->survey[idx];
6409 int idx;
6448 idx = freq_to_idx(ar, le32_to_cpu(bss_ch_info_ev.freq));
6449 if (idx >= ARRAY_SIZE(ar->survey)) {
6450 ath12k_warn(ab, "bss chan info: invalid frequency %d (idx %d out of bounds)\n",
6451 bss_ch_info_ev.freq, idx);
6455 survey = &ar->survey[idx];
6486 "vdev install key ev idx %d flags %08x macaddr %pM status %d\n",