Lines Matching refs:idx
1310 uint8_t idx; in os_if_son_reg_get_ap_hw_cap() local
1334 for (idx = 0; reg_ap_cap[idx].op_class && idx < n_opclasses; idx++) { in os_if_son_reg_get_ap_hw_cap()
1336 idx, reg_ap_cap[idx].op_class, in os_if_son_reg_get_ap_hw_cap()
1337 reg_ap_cap[idx].ch_width, in os_if_son_reg_get_ap_hw_cap()
1338 reg_ap_cap[idx].max_tx_pwr_dbm); in os_if_son_reg_get_ap_hw_cap()
1339 if (reg_ap_cap[idx].ch_width == BW_160_MHZ) in os_if_son_reg_get_ap_hw_cap()
1342 wlan_reg_is_6ghz_op_class(pdev, reg_ap_cap[idx].op_class)) { in os_if_son_reg_get_ap_hw_cap()
1344 reg_ap_cap[idx].op_class); in os_if_son_reg_get_ap_hw_cap()
1347 hwcap->opclasses[nsoc].opclass = reg_ap_cap[idx].op_class; in os_if_son_reg_get_ap_hw_cap()
1349 reg_ap_cap[idx].max_tx_pwr_dbm; in os_if_son_reg_get_ap_hw_cap()
1351 reg_ap_cap[idx].num_non_supported_chan; in os_if_son_reg_get_ap_hw_cap()
1353 reg_ap_cap[idx].non_sup_chan_list, in os_if_son_reg_get_ap_hw_cap()
1354 reg_ap_cap[idx].num_non_supported_chan); in os_if_son_reg_get_ap_hw_cap()
1371 uint8_t idx; in os_if_son_reg_get_op_channels() local
1403 for (idx = 0; reg_ap_cap[idx].op_class && idx < n_opclasses; idx++) { in os_if_son_reg_get_op_channels()
1404 if ((reg_ap_cap[idx].ch_width == BW_160_MHZ) || in os_if_son_reg_get_op_channels()
1405 (op_chan->opclass != reg_ap_cap[idx].op_class)) in os_if_son_reg_get_op_channels()
1408 idx, reg_ap_cap[idx].op_class, in os_if_son_reg_get_op_channels()
1409 reg_ap_cap[idx].ch_width, in os_if_son_reg_get_op_channels()
1410 reg_ap_cap[idx].max_tx_pwr_dbm); in os_if_son_reg_get_op_channels()
1411 if (reg_ap_cap[idx].op_class == op_chan->opclass) { in os_if_son_reg_get_op_channels()
1412 switch (reg_ap_cap[idx].ch_width) { in os_if_son_reg_get_op_channels()
1421 if (reg_ap_cap[idx].behav_limit == BIT(BEHAV_BW80_PLUS) && in os_if_son_reg_get_op_channels()
1435 reg_ap_cap[idx].num_supported_chan; in os_if_son_reg_get_op_channels()
1437 reg_ap_cap[idx].sup_chan_list, in os_if_son_reg_get_op_channels()
1438 reg_ap_cap[idx].num_supported_chan); in os_if_son_reg_get_op_channels()
1469 uint8_t idx; in os_if_son_reg_get_opclass_details() local
1489 for (idx = 0; reg_ap_cap[idx].op_class && idx < n_opclasses; idx++) { in os_if_son_reg_get_opclass_details()
1491 idx, reg_ap_cap[idx].op_class, in os_if_son_reg_get_opclass_details()
1492 reg_ap_cap[idx].ch_width); in os_if_son_reg_get_opclass_details()
1493 if ((op_class->opclass != reg_ap_cap[idx].op_class) || in os_if_son_reg_get_opclass_details()
1494 (reg_ap_cap[idx].ch_width == BW_160_MHZ)) in os_if_son_reg_get_opclass_details()
1496 switch (reg_ap_cap[idx].ch_width) { in os_if_son_reg_get_opclass_details()
1505 if (reg_ap_cap[idx].behav_limit == BIT(BEHAV_BW80_PLUS)) in os_if_son_reg_get_opclass_details()
1517 switch (reg_ap_cap[idx].behav_limit) { in os_if_son_reg_get_opclass_details()
1535 reg_ap_cap[idx].num_supported_chan, in os_if_son_reg_get_opclass_details()
1536 reg_ap_cap[idx].num_non_supported_chan); in os_if_son_reg_get_opclass_details()
1539 while ((i < reg_ap_cap[idx].num_supported_chan) && in os_if_son_reg_get_opclass_details()
1542 reg_ap_cap[idx].sup_chan_list[i++]; in os_if_son_reg_get_opclass_details()
1544 while ((i < reg_ap_cap[idx].num_non_supported_chan) && in os_if_son_reg_get_opclass_details()
1547 reg_ap_cap[idx].non_sup_chan_list[i++]; in os_if_son_reg_get_opclass_details()