Lines Matching defs:spec
1008 struct hw_mode_spec *spec)
1017 if (spec->supported_rates & SUPPORT_RATE_CCK)
1019 if (spec->supported_rates & SUPPORT_RATE_OFDM)
1022 channels = kcalloc(spec->num_channels, sizeof(*channels), GFP_KERNEL);
1039 for (i = 0; i < spec->num_channels; i++) {
1041 spec->channels[i].channel,
1042 spec->channels_info[i].max_power, i);
1050 if (spec->supported_bands & SUPPORT_BAND_2GHZ) {
1058 &spec->ht, sizeof(spec->ht));
1066 if (spec->supported_bands & SUPPORT_BAND_5GHZ) {
1068 spec->num_channels - 14;
1076 &spec->ht, sizeof(spec->ht));
1099 kfree(rt2x00dev->spec.channels_info);
1104 struct hw_mode_spec *spec = &rt2x00dev->spec;
1113 status = rt2x00lib_probe_hw_modes(rt2x00dev, spec);