Lines Matching refs:spec
1003 struct hw_mode_spec *spec)
1012 if (spec->supported_rates & SUPPORT_RATE_CCK)
1014 if (spec->supported_rates & SUPPORT_RATE_OFDM)
1017 channels = kcalloc(spec->num_channels, sizeof(*channels), GFP_KERNEL);
1034 for (i = 0; i < spec->num_channels; i++) {
1036 spec->channels[i].channel,
1037 spec->channels_info[i].max_power, i);
1045 if (spec->supported_bands & SUPPORT_BAND_2GHZ) {
1053 &spec->ht, sizeof(spec->ht));
1061 if (spec->supported_bands & SUPPORT_BAND_5GHZ) {
1063 spec->num_channels - 14;
1071 &spec->ht, sizeof(spec->ht));
1094 kfree(rt2x00dev->spec.channels_info);
1113 struct hw_mode_spec *spec = &rt2x00dev->spec;
1122 status = rt2x00lib_probe_hw_modes(rt2x00dev, spec);