Home
last modified time | relevance | path

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

/linux-5.19.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.h118 struct bcm_sf2_cfp_priv cfp; member
Dbcm_sf2.c1409 mutex_init(&priv->cfp.lock); in bcm_sf2_sw_probe()
1410 INIT_LIST_HEAD(&priv->cfp.rules_list); in bcm_sf2_sw_probe()
1415 set_bit(0, priv->cfp.used); in bcm_sf2_sw_probe()
1416 set_bit(0, priv->cfp.unique); in bcm_sf2_sw_probe()
/linux-5.19.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.c1757 struct mwifiex_chan_freq_power *cfp; in mwifiex_parse_single_response_buf() local
1880 cfp = mwifiex_get_cfp(priv, band, channel, 0); in mwifiex_parse_single_response_buf()
1882 freq = cfp ? cfp->freq : 0; in mwifiex_parse_single_response_buf()
Dmain.h648 struct mwifiex_chan_freq_power cfp; member
/linux-5.19.10/drivers/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 …]
/linux-5.19.10/drivers/scsi/
Dmesh.c1852 const int *cfp; in mesh_probe() local
1940 if ((cfp = of_get_property(mesh, "clock-frequency", NULL))) in mesh_probe()
1941 ms->clk_freq = *cfp; in mesh_probe()