cfp 1110 drivers/net/dsa/bcm_sf2.c mutex_init(&priv->cfp.lock); cfp 1111 drivers/net/dsa/bcm_sf2.c INIT_LIST_HEAD(&priv->cfp.rules_list); cfp 1116 drivers/net/dsa/bcm_sf2.c set_bit(0, priv->cfp.used); cfp 1117 drivers/net/dsa/bcm_sf2.c set_bit(0, priv->cfp.unique); cfp 109 drivers/net/dsa/bcm_sf2.h struct bcm_sf2_cfp_priv cfp; cfp 365 drivers/net/dsa/bcm_sf2_cfp.c rule_index = find_first_zero_bit(priv->cfp.used, cfp 458 drivers/net/dsa/bcm_sf2_cfp.c set_bit(rule_index, priv->cfp.used); cfp 459 drivers/net/dsa/bcm_sf2_cfp.c set_bit(rule_index, priv->cfp.unique); cfp 547 drivers/net/dsa/bcm_sf2_cfp.c list_for_each_entry(rule, &priv->cfp.rules_list, next) { cfp 562 drivers/net/dsa/bcm_sf2_cfp.c if (list_empty(&priv->cfp.rules_list)) cfp 565 drivers/net/dsa/bcm_sf2_cfp.c list_for_each_entry(rule, &priv->cfp.rules_list, next) { cfp 646 drivers/net/dsa/bcm_sf2_cfp.c rule_index[1] = find_first_zero_bit(priv->cfp.used, cfp 656 drivers/net/dsa/bcm_sf2_cfp.c set_bit(rule_index[1], priv->cfp.used); cfp 658 drivers/net/dsa/bcm_sf2_cfp.c rule_index[0] = find_first_zero_bit(priv->cfp.used, cfp 807 drivers/net/dsa/bcm_sf2_cfp.c set_bit(rule_index[0], priv->cfp.used); cfp 808 drivers/net/dsa/bcm_sf2_cfp.c set_bit(rule_index[1], priv->cfp.unique); cfp 816 drivers/net/dsa/bcm_sf2_cfp.c clear_bit(rule_index[1], priv->cfp.used); cfp 890 drivers/net/dsa/bcm_sf2_cfp.c test_bit(fs->location, priv->cfp.used)) cfp 909 drivers/net/dsa/bcm_sf2_cfp.c list_add_tail(&rule->next, &priv->cfp.rules_list); cfp 945 drivers/net/dsa/bcm_sf2_cfp.c clear_bit(loc, priv->cfp.used); cfp 946 drivers/net/dsa/bcm_sf2_cfp.c clear_bit(loc, priv->cfp.unique); cfp 980 drivers/net/dsa/bcm_sf2_cfp.c if (!test_bit(loc, priv->cfp.unique) || loc == 0) cfp 1034 drivers/net/dsa/bcm_sf2_cfp.c for_each_set_bit_from(index, priv->cfp.unique, priv->num_cfp_rules) { cfp 1053 drivers/net/dsa/bcm_sf2_cfp.c mutex_lock(&priv->cfp.lock); cfp 1058 drivers/net/dsa/bcm_sf2_cfp.c nfc->rule_cnt = bitmap_weight(priv->cfp.unique, cfp 1074 drivers/net/dsa/bcm_sf2_cfp.c mutex_unlock(&priv->cfp.lock); cfp 1096 drivers/net/dsa/bcm_sf2_cfp.c mutex_lock(&priv->cfp.lock); cfp 1111 drivers/net/dsa/bcm_sf2_cfp.c mutex_unlock(&priv->cfp.lock); cfp 1122 drivers/net/dsa/bcm_sf2_cfp.c mutex_lock(&priv->cfp.lock); cfp 1124 drivers/net/dsa/bcm_sf2_cfp.c mutex_unlock(&priv->cfp.lock); cfp 1161 drivers/net/dsa/bcm_sf2_cfp.c if (list_empty(&priv->cfp.rules_list)) cfp 1164 drivers/net/dsa/bcm_sf2_cfp.c list_for_each_entry_safe_reverse(rule, n, &priv->cfp.rules_list, next) cfp 1175 drivers/net/dsa/bcm_sf2_cfp.c if (list_empty(&priv->cfp.rules_list)) cfp 1186 drivers/net/dsa/bcm_sf2_cfp.c list_for_each_entry(rule, &priv->cfp.rules_list, next) { cfp 1259 drivers/net/dsa/bcm_sf2_cfp.c mutex_lock(&priv->cfp.lock); cfp 1278 drivers/net/dsa/bcm_sf2_cfp.c mutex_unlock(&priv->cfp.lock); cfp 314 drivers/net/wireless/marvell/mwifiex/cfp.c struct mwifiex_chan_freq_power *cfp = NULL; cfp 320 drivers/net/wireless/marvell/mwifiex/cfp.c return cfp; cfp 331 drivers/net/wireless/marvell/mwifiex/cfp.c return cfp; cfp 357 drivers/net/wireless/marvell/mwifiex/cfp.c return cfp; cfp 359 drivers/net/wireless/marvell/mwifiex/cfp.c priv->cfp.channel = ch->hw_value; cfp 360 drivers/net/wireless/marvell/mwifiex/cfp.c priv->cfp.freq = ch->center_freq; cfp 361 drivers/net/wireless/marvell/mwifiex/cfp.c priv->cfp.max_tx_power = ch->max_power; cfp 362 drivers/net/wireless/marvell/mwifiex/cfp.c cfp = &priv->cfp; cfp 365 drivers/net/wireless/marvell/mwifiex/cfp.c return cfp; cfp 907 drivers/net/wireless/marvell/mwifiex/join.c struct mwifiex_chan_freq_power *cfp; cfp 908 drivers/net/wireless/marvell/mwifiex/join.c cfp = mwifiex_get_cfp(priv, adapter->adhoc_start_band, cfp 910 drivers/net/wireless/marvell/mwifiex/join.c if (cfp) cfp 911 drivers/net/wireless/marvell/mwifiex/join.c priv->adhoc_channel = (u8) cfp->channel; cfp 647 drivers/net/wireless/marvell/mwifiex/main.h struct mwifiex_chan_freq_power cfp; cfp 1760 drivers/net/wireless/marvell/mwifiex/scan.c struct mwifiex_chan_freq_power *cfp; cfp 1883 drivers/net/wireless/marvell/mwifiex/scan.c cfp = mwifiex_get_cfp(priv, band, channel, 0); cfp 1885 drivers/net/wireless/marvell/mwifiex/scan.c freq = cfp ? cfp->freq : 0; cfp 1850 drivers/scsi/mesh.c const int *cfp; cfp 1938 drivers/scsi/mesh.c if ((cfp = of_get_property(mesh, "clock-frequency", NULL))) cfp 1939 drivers/scsi/mesh.c ms->clk_freq = *cfp; cfp 289 drivers/staging/comedi/comedi_fops.c struct comedi_file *cfp = file->private_data; cfp 290 drivers/staging/comedi/comedi_fops.c struct comedi_device *dev = cfp->dev; cfp 303 drivers/staging/comedi/comedi_fops.c cfp->last_attached = dev->attached; cfp 304 drivers/staging/comedi/comedi_fops.c cfp->last_detach_count = dev->detach_count; cfp 305 drivers/staging/comedi/comedi_fops.c WRITE_ONCE(cfp->read_subdev, read_s); cfp 306 drivers/staging/comedi/comedi_fops.c WRITE_ONCE(cfp->write_subdev, write_s); cfp 311 drivers/staging/comedi/comedi_fops.c struct comedi_file *cfp = file->private_data; cfp 312 drivers/staging/comedi/comedi_fops.c struct comedi_device *dev = cfp->dev; cfp 314 drivers/staging/comedi/comedi_fops.c if (cfp->last_attached != dev->attached || cfp 315 drivers/staging/comedi/comedi_fops.c cfp->last_detach_count != dev->detach_count) cfp 321 drivers/staging/comedi/comedi_fops.c struct comedi_file *cfp = file->private_data; cfp 324 drivers/staging/comedi/comedi_fops.c return READ_ONCE(cfp->read_subdev); cfp 329 drivers/staging/comedi/comedi_fops.c struct comedi_file *cfp = file->private_data; cfp 332 drivers/staging/comedi/comedi_fops.c return READ_ONCE(cfp->write_subdev); cfp 2077 drivers/staging/comedi/comedi_fops.c struct comedi_file *cfp = file->private_data; cfp 2100 drivers/staging/comedi/comedi_fops.c WRITE_ONCE(cfp->read_subdev, s_new); cfp 2120 drivers/staging/comedi/comedi_fops.c struct comedi_file *cfp = file->private_data; cfp 2143 drivers/staging/comedi/comedi_fops.c WRITE_ONCE(cfp->write_subdev, s_new); cfp 2151 drivers/staging/comedi/comedi_fops.c struct comedi_file *cfp = file->private_data; cfp 2152 drivers/staging/comedi/comedi_fops.c struct comedi_device *dev = cfp->dev; cfp 2299 drivers/staging/comedi/comedi_fops.c struct comedi_file *cfp = file->private_data; cfp 2300 drivers/staging/comedi/comedi_fops.c struct comedi_device *dev = cfp->dev; cfp 2404 drivers/staging/comedi/comedi_fops.c struct comedi_file *cfp = file->private_data; cfp 2405 drivers/staging/comedi/comedi_fops.c struct comedi_device *dev = cfp->dev; cfp 2451 drivers/staging/comedi/comedi_fops.c struct comedi_file *cfp = file->private_data; cfp 2452 drivers/staging/comedi/comedi_fops.c struct comedi_device *dev = cfp->dev; cfp 2587 drivers/staging/comedi/comedi_fops.c struct comedi_file *cfp = file->private_data; cfp 2588 drivers/staging/comedi/comedi_fops.c struct comedi_device *dev = cfp->dev; cfp 2718 drivers/staging/comedi/comedi_fops.c struct comedi_file *cfp; cfp 2727 drivers/staging/comedi/comedi_fops.c cfp = kzalloc(sizeof(*cfp), GFP_KERNEL); cfp 2728 drivers/staging/comedi/comedi_fops.c if (!cfp) { cfp 2733 drivers/staging/comedi/comedi_fops.c cfp->dev = dev; cfp 2756 drivers/staging/comedi/comedi_fops.c file->private_data = cfp; cfp 2764 drivers/staging/comedi/comedi_fops.c kfree(cfp); cfp 2771 drivers/staging/comedi/comedi_fops.c struct comedi_file *cfp = file->private_data; cfp 2772 drivers/staging/comedi/comedi_fops.c struct comedi_device *dev = cfp->dev; cfp 2779 drivers/staging/comedi/comedi_fops.c struct comedi_file *cfp = file->private_data; cfp 2780 drivers/staging/comedi/comedi_fops.c struct comedi_device *dev = cfp->dev; cfp 2806 drivers/staging/comedi/comedi_fops.c kfree(cfp);