Home
last modified time | relevance | path

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

/linux/drivers/net/dsa/
H A 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 …]
H A Dbcm_sf2.c1431 mutex_init(&priv->cfp.lock); in bcm_sf2_sw_probe()
1432 INIT_LIST_HEAD(&priv->cfp.rules_list); in bcm_sf2_sw_probe()
1437 set_bit(0, priv->cfp.used); in bcm_sf2_sw_probe()
1438 set_bit(0, priv->cfp.unique); in bcm_sf2_sw_probe()
/linux/drivers/comedi/
H A Dcomedi_fops.c281 struct comedi_file *cfp = file->private_data; in comedi_file_reset() local
282 struct comedi_device *dev = cfp->dev; in comedi_file_reset()
295 cfp->last_attached = dev->attached; in comedi_file_reset()
296 cfp->last_detach_count = dev->detach_count; in comedi_file_reset()
297 WRITE_ONCE(cfp->read_subdev, read_s); in comedi_file_reset()
298 WRITE_ONCE(cfp->write_subdev, write_s); in comedi_file_reset()
303 struct comedi_file *cfp = file->private_data; in comedi_file_check() local
304 struct comedi_device *dev = cfp->dev; in comedi_file_check()
306 if (cfp->last_attached != dev->attached || in comedi_file_check()
307 cfp->last_detach_count != dev->detach_count) in comedi_file_check()
[all …]
/linux/drivers/net/wireless/marvell/mwifiex/
H A DMakefile9 mwifiex-y += cfp.o
H A Djoin.c938 struct mwifiex_chan_freq_power *cfp; in mwifiex_cmd_802_11_ad_hoc_start() local
939 cfp = mwifiex_get_cfp(priv, adapter->adhoc_start_band, in mwifiex_cmd_802_11_ad_hoc_start()
941 if (cfp) in mwifiex_cmd_802_11_ad_hoc_start()
942 priv->adhoc_channel = (u8) cfp->channel; in mwifiex_cmd_802_11_ad_hoc_start()
H A Dscan.c1732 struct mwifiex_chan_freq_power *cfp; in mwifiex_parse_single_response_buf() local
1855 cfp = mwifiex_get_cfp(priv, band, channel, 0); in mwifiex_parse_single_response_buf()
1857 freq = cfp ? cfp->freq : 0; in mwifiex_parse_single_response_buf()