Home
last modified time | relevance | path

Searched refs:cfp (Results 1 – 5 of 5) sorted by relevance

/drivers/net/wireless/libertas/
D11d.c86 struct chan_freq_power *cfp; in lbs_get_chan_11d() local
89 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() local
232 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 …]
Dwext.c62 struct chan_freq_power *cfp = NULL; in lbs_find_cfp_by_band_and_channel() local
66 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() local
107 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 …]
Dscan.c148 struct chan_freq_power *cfp; in lbs_scan_create_channel_list() local
182 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() local
799 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()
Dmain.c1544 struct chan_freq_power *cfp; in lbs_set_regiontable() local
1551 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()
/drivers/scsi/
Dmesh.c1850 const int *cfp; in mesh_probe() local
1939 if ((cfp = of_get_property(mesh, "clock-frequency", NULL))) in mesh_probe()
1940 ms->clk_freq = *cfp; in mesh_probe()