Searched refs:cfp (Results 1 – 5 of 5) sorted by relevance
86 struct chan_freq_power *cfp; in lbs_get_chan_11d() local89 cfp = channel_freq_power_UN_BG; in lbs_get_chan_11d()93 if ((cfp + i)->channel == firstchan) { in lbs_get_chan_11d()102 *chan = (cfp + i + nrchan)->channel; in lbs_get_chan_11d()225 struct chan_freq_power *cfp; in lbs_generate_parsed_region_chan_11d() local232 cfp = region_chan->CFP; in lbs_generate_parsed_region_chan_11d()233 if (cfp == NULL) { in lbs_generate_parsed_region_chan_11d()246 for (i = 0; i < region_chan->nrcfp; i++, cfp++) { in lbs_generate_parsed_region_chan_11d()247 parsed_region_chan->chanpwr[i].chan = cfp->channel; in lbs_generate_parsed_region_chan_11d()248 parsed_region_chan->chanpwr[i].pwr = cfp->maxtxpower; in lbs_generate_parsed_region_chan_11d()[all …]
62 struct chan_freq_power *cfp = NULL; in lbs_find_cfp_by_band_and_channel() local66 for (j = 0; !cfp && (j < ARRAY_SIZE(priv->region_channel)); j++) { in lbs_find_cfp_by_band_and_channel()77 cfp = &rc->CFP[i]; in lbs_find_cfp_by_band_and_channel()83 if (!cfp && channel) in lbs_find_cfp_by_band_and_channel()87 return cfp; in lbs_find_cfp_by_band_and_channel()103 struct chan_freq_power *cfp = NULL; in find_cfp_by_band_and_freq() local107 for (j = 0; !cfp && (j < ARRAY_SIZE(priv->region_channel)); j++) { in find_cfp_by_band_and_freq()118 cfp = &rc->CFP[i]; in find_cfp_by_band_and_freq()124 if (!cfp && freq) in find_cfp_by_band_and_freq()128 return cfp; in find_cfp_by_band_and_freq()[all …]
148 struct chan_freq_power *cfp; in lbs_scan_create_channel_list() local182 cfp = scanregion->CFP + nextchan; in lbs_scan_create_channel_list()185 scantype = lbs_get_scan_type_11d(cfp->channel, in lbs_scan_create_channel_list()199 chan->channumber = cfp->channel; in lbs_scan_create_channel_list()788 struct chan_freq_power *cfp; in lbs_translate_scan() local799 cfp = lbs_find_cfp_by_band_and_channel(priv, 0, bss->channel); in lbs_translate_scan()800 if (!cfp) { in lbs_translate_scan()825 iwe.u.freq.m = (long)cfp->freq * 100000; in lbs_translate_scan()
1544 struct chan_freq_power *cfp; in lbs_set_regiontable() local1551 cfp = lbs_get_region_cfp_table(region, &cfp_no); in lbs_set_regiontable()1552 if (cfp != NULL) { in lbs_set_regiontable()1554 priv->region_channel[i].CFP = cfp; in lbs_set_regiontable()
1850 const int *cfp; in mesh_probe() local1939 if ((cfp = of_get_property(mesh, "clock-frequency", NULL))) in mesh_probe()1940 ms->clk_freq = *cfp; in mesh_probe()