Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/dsa/
Dbcm_sf2_cfp.c385 rule_index = find_first_zero_bit(priv->cfp.used, in bcm_sf2_cfp_ipv4_rule_set()
471 set_bit(rule_index, priv->cfp.used); in bcm_sf2_cfp_ipv4_rule_set()
472 set_bit(rule_index, priv->cfp.unique); in bcm_sf2_cfp_ipv4_rule_set()
572 list_for_each_entry(rule, &priv->cfp.rules_list, next) { in bcm_sf2_cfp_rule_find()
587 if (list_empty(&priv->cfp.rules_list)) in bcm_sf2_cfp_rule_cmp()
590 list_for_each_entry(rule, &priv->cfp.rules_list, next) { in bcm_sf2_cfp_rule_cmp()
683 rule_index[1] = find_first_zero_bit(priv->cfp.used, in bcm_sf2_cfp_ipv6_rule_set()
693 set_bit(rule_index[1], priv->cfp.used); in bcm_sf2_cfp_ipv6_rule_set()
695 rule_index[0] = find_first_zero_bit(priv->cfp.used, in bcm_sf2_cfp_ipv6_rule_set()
833 set_bit(rule_index[0], priv->cfp.used); in bcm_sf2_cfp_ipv6_rule_set()
[all …]
Dbcm_sf2.h116 struct bcm_sf2_cfp_priv cfp; member
Dbcm_sf2.c1267 mutex_init(&priv->cfp.lock); in bcm_sf2_sw_probe()
1268 INIT_LIST_HEAD(&priv->cfp.rules_list); in bcm_sf2_sw_probe()
1273 set_bit(0, priv->cfp.used); in bcm_sf2_sw_probe()
1274 set_bit(0, priv->cfp.unique); in bcm_sf2_sw_probe()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
Dcfp.c314 struct mwifiex_chan_freq_power *cfp = NULL; in mwifiex_get_cfp() local
320 return cfp; in mwifiex_get_cfp()
331 return cfp; in mwifiex_get_cfp()
357 return cfp; in mwifiex_get_cfp()
359 priv->cfp.channel = ch->hw_value; in mwifiex_get_cfp()
360 priv->cfp.freq = ch->center_freq; in mwifiex_get_cfp()
361 priv->cfp.max_tx_power = ch->max_power; in mwifiex_get_cfp()
362 cfp = &priv->cfp; in mwifiex_get_cfp()
365 return cfp; in mwifiex_get_cfp()
DMakefile20 mwifiex-y += cfp.o
Djoin.c909 struct mwifiex_chan_freq_power *cfp; in mwifiex_cmd_802_11_ad_hoc_start() local
910 cfp = mwifiex_get_cfp(priv, adapter->adhoc_start_band, in mwifiex_cmd_802_11_ad_hoc_start()
912 if (cfp) in mwifiex_cmd_802_11_ad_hoc_start()
913 priv->adhoc_channel = (u8) cfp->channel; in mwifiex_cmd_802_11_ad_hoc_start()
Dscan.c1758 struct mwifiex_chan_freq_power *cfp; in mwifiex_parse_single_response_buf() local
1881 cfp = mwifiex_get_cfp(priv, band, channel, 0); in mwifiex_parse_single_response_buf()
1883 freq = cfp ? cfp->freq : 0; in mwifiex_parse_single_response_buf()
Dmain.h647 struct mwifiex_chan_freq_power cfp; member
/kernel/linux/linux-5.10/drivers/staging/comedi/
Dcomedi_fops.c291 struct comedi_file *cfp = file->private_data; in comedi_file_reset() local
292 struct comedi_device *dev = cfp->dev; in comedi_file_reset()
305 cfp->last_attached = dev->attached; in comedi_file_reset()
306 cfp->last_detach_count = dev->detach_count; in comedi_file_reset()
307 WRITE_ONCE(cfp->read_subdev, read_s); in comedi_file_reset()
308 WRITE_ONCE(cfp->write_subdev, write_s); in comedi_file_reset()
313 struct comedi_file *cfp = file->private_data; in comedi_file_check() local
314 struct comedi_device *dev = cfp->dev; in comedi_file_check()
316 if (cfp->last_attached != dev->attached || in comedi_file_check()
317 cfp->last_detach_count != dev->detach_count) in comedi_file_check()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/
Dmesh.c1856 const int *cfp; in mesh_probe() local
1944 if ((cfp = of_get_property(mesh, "clock-frequency", NULL))) in mesh_probe()
1945 ms->clk_freq = *cfp; in mesh_probe()