Lines Matching refs:start_index

6807 static int __dp_get_supported_rates(int shortgi, int start_index,  in __dp_get_supported_rates()  argument
6814 if (start_index < 0 || start_index >= DP_RATE_TABLE_SIZE || in __dp_get_supported_rates()
6819 for (i = start_index; i <= end_index; i++) { in __dp_get_supported_rates()
6829 for (i = start_index; i <= end_index; i++) { in __dp_get_supported_rates()
6839 for (i = start_index; i <= end_index; i++) { in __dp_get_supported_rates()
6849 for (i = start_index; i <= end_index; i++) { in __dp_get_supported_rates()
6874 int start_index = -1, end_index = -1; in dp_get_supported_rates() local
6879 start_index = CCK_RATE_TABLE_INDEX; in dp_get_supported_rates()
6885 start_index = OFDM_RATE_TABLE_INDEX; in dp_get_supported_rates()
6891 start_index = CCK_RATE_TABLE_INDEX; in dp_get_supported_rates()
6898 start_index = dp_get_start_index(CMN_BW_20MHZ, in dp_get_supported_rates()
6907 start_index = dp_get_start_index(CMN_BW_20MHZ, in dp_get_supported_rates()
6917 start_index = dp_get_start_index(CMN_BW_20MHZ, in dp_get_supported_rates()
6925 return __dp_get_supported_rates(shortgi, start_index, end_index, rates); in dp_get_supported_rates()
6940 int start_index = -1, end_index = -1; in dp_get_supported_rates() local
6945 start_index = CCK_RATE_TABLE_INDEX; in dp_get_supported_rates()
6951 start_index = OFDM_RATE_TABLE_INDEX; in dp_get_supported_rates()
6957 start_index = CCK_RATE_TABLE_INDEX; in dp_get_supported_rates()
6964 start_index = dp_get_start_index(ch_width, in dp_get_supported_rates()
6972 start_index = dp_get_start_index(ch_width, in dp_get_supported_rates()
6981 start_index = dp_get_start_index(ch_width, in dp_get_supported_rates()
6988 return __dp_get_supported_rates(shortgi, start_index, end_index, rates); in dp_get_supported_rates()
7005 int start_index = -1, end_index = -1; in dp_get_kbps_to_mcs() local
7026 start_index = dp_get_start_index(CMN_BW_20MHZ, in dp_get_kbps_to_mcs()
7036 start_index = dp_get_start_index(CMN_BW_20MHZ, in dp_get_kbps_to_mcs()
7046 start_index = dp_get_start_index(CMN_BW_20MHZ, in dp_get_kbps_to_mcs()
7055 if (start_index < 0 || in dp_get_kbps_to_mcs()
7056 start_index >= DP_RATE_TABLE_SIZE || in dp_get_kbps_to_mcs()
7069 return (i - start_index) % num_mcs; in dp_get_kbps_to_mcs()
7080 for (i = end_index; i >= start_index; i--) { in dp_get_kbps_to_mcs()
7085 return (i - start_index) % num_mcs; in dp_get_kbps_to_mcs()
7096 for (i = end_index; i >= start_index; i--) { in dp_get_kbps_to_mcs()
7101 return (i - start_index) % num_mcs; in dp_get_kbps_to_mcs()
7111 return (i - start_index) % num_mcs; in dp_get_kbps_to_mcs()
7122 for (i = end_index; i >= start_index; i--) { in dp_get_kbps_to_mcs()
7127 return (i - start_index) % num_mcs; in dp_get_kbps_to_mcs()
7148 int start_index = -1, end_index = -1; variable
7157 start_index = CCK_RATE_TABLE_INDEX;
7163 start_index = OFDM_RATE_TABLE_INDEX;
7169 start_index = CCK_RATE_TABLE_INDEX;
7175 start_index = dp_get_start_index(ch_width,
7184 start_index = dp_get_start_index(ch_width,
7193 start_index = dp_get_start_index(ch_width,
7202 if (start_index < 0 ||
7203 start_index >= DP_RATE_TABLE_SIZE ||
7216 return (i - start_index) % num_mcs;
7229 for (i = end_index; i >= start_index; i--) {
7234 return (i - start_index) % num_mcs;
7247 for (i = end_index; i >= start_index; i--) {
7252 return (i - start_index) % num_mcs;
7262 return (i - start_index) % num_mcs;
7275 for (i = end_index; i >= start_index; i--) {
7280 return (i - start_index) % num_mcs;