Home
last modified time | relevance | path

Searched refs:cfp (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/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 in bcm_sf2_cfp_ipv6_rule_set()
[all...]
H A Dbcm_sf2.h116 struct bcm_sf2_cfp_priv cfp; member
H A Dbcm_sf2.c1278 mutex_init(&priv->cfp.lock); in bcm_sf2_sw_probe()
1279 INIT_LIST_HEAD(&priv->cfp.rules_list); in bcm_sf2_sw_probe()
1284 set_bit(0, priv->cfp.used); in bcm_sf2_sw_probe()
1285 set_bit(0, priv->cfp.unique); in bcm_sf2_sw_probe()
/kernel/linux/linux-6.6/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 in bcm_sf2_cfp_ipv6_rule_set()
[all...]
H A Dbcm_sf2.h118 struct bcm_sf2_cfp_priv cfp; member
H A Dbcm_sf2.c1411 mutex_init(&priv->cfp.lock); in bcm_sf2_sw_probe()
1412 INIT_LIST_HEAD(&priv->cfp.rules_list); in bcm_sf2_sw_probe()
1417 set_bit(0, priv->cfp.used); in bcm_sf2_sw_probe()
1418 set_bit(0, priv->cfp.unique); in bcm_sf2_sw_probe()
/kernel/linux/linux-5.10/drivers/staging/comedi/
H A 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 in comedi_file_check()
323 struct comedi_file *cfp = file->private_data; comedi_file_read_subdevice() local
331 struct comedi_file *cfp = file->private_data; comedi_file_write_subdevice() local
2041 struct comedi_file *cfp = file->private_data; do_setrsubd_ioctl() local
2084 struct comedi_file *cfp = file->private_data; do_setwsubd_ioctl() local
2115 struct comedi_file *cfp = file->private_data; comedi_unlocked_ioctl() local
2318 struct comedi_file *cfp = file->private_data; comedi_mmap() local
2423 struct comedi_file *cfp = file->private_data; comedi_poll() local
2470 struct comedi_file *cfp = file->private_data; comedi_write() local
2606 struct comedi_file *cfp = file->private_data; comedi_read() local
2737 struct comedi_file *cfp; comedi_open() local
2790 struct comedi_file *cfp = file->private_data; comedi_fasync() local
2798 struct comedi_file *cfp = file->private_data; comedi_close() local
2896 struct comedi_file *cfp = file->private_data; compat_chaninfo() local
2920 struct comedi_file *cfp = file->private_data; compat_rangeinfo() local
2998 struct comedi_file *cfp = file->private_data; compat_cmd() local
3023 struct comedi_file *cfp = file->private_data; compat_cmdtest() local
3065 struct comedi_file *cfp = file->private_data; compat_insnlist() local
3100 struct comedi_file *cfp = file->private_data; compat_insn() local
[all...]
/kernel/linux/linux-6.6/drivers/comedi/
H A Dcomedi_fops.c278 struct comedi_file *cfp = file->private_data; in comedi_file_reset() local
279 struct comedi_device *dev = cfp->dev; in comedi_file_reset()
292 cfp->last_attached = dev->attached; in comedi_file_reset()
293 cfp->last_detach_count = dev->detach_count; in comedi_file_reset()
294 WRITE_ONCE(cfp->read_subdev, read_s); in comedi_file_reset()
295 WRITE_ONCE(cfp->write_subdev, write_s); in comedi_file_reset()
300 struct comedi_file *cfp = file->private_data; in comedi_file_check() local
301 struct comedi_device *dev = cfp->dev; in comedi_file_check()
303 if (cfp->last_attached != dev->attached || in comedi_file_check()
304 cfp in comedi_file_check()
310 struct comedi_file *cfp = file->private_data; comedi_file_read_subdevice() local
318 struct comedi_file *cfp = file->private_data; comedi_file_write_subdevice() local
2046 struct comedi_file *cfp = file->private_data; do_setrsubd_ioctl() local
2089 struct comedi_file *cfp = file->private_data; do_setwsubd_ioctl() local
2120 struct comedi_file *cfp = file->private_data; comedi_unlocked_ioctl() local
2323 struct comedi_file *cfp = file->private_data; comedi_mmap() local
2428 struct comedi_file *cfp = file->private_data; comedi_poll() local
2475 struct comedi_file *cfp = file->private_data; comedi_write() local
2611 struct comedi_file *cfp = file->private_data; comedi_read() local
2742 struct comedi_file *cfp; comedi_open() local
2795 struct comedi_file *cfp = file->private_data; comedi_fasync() local
2803 struct comedi_file *cfp = file->private_data; comedi_close() local
2901 struct comedi_file *cfp = file->private_data; compat_chaninfo() local
2925 struct comedi_file *cfp = file->private_data; compat_rangeinfo() local
3003 struct comedi_file *cfp = file->private_data; compat_cmd() local
3028 struct comedi_file *cfp = file->private_data; compat_cmdtest() local
3070 struct comedi_file *cfp = file->private_data; compat_insnlist() local
3105 struct comedi_file *cfp = file->private_data; compat_insn() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
H A Dcfp.c314 struct mwifiex_chan_freq_power *cfp = NULL; in mwifiex_get_cfp() local
320 return cfp; in mwifiex_get_cfp()
329 "%s: cannot find cfp by band %d\n", in mwifiex_get_cfp()
331 return cfp; in mwifiex_get_cfp()
352 "%s: cannot find cfp by band %d\t" 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 in mwifiex_get_cfp()
[all...]
H A 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()
H A 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()
H A Dmain.h647 struct mwifiex_chan_freq_power cfp; member
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/mwifiex/
H A Dcfp.c302 struct mwifiex_chan_freq_power *cfp = NULL; in mwifiex_get_cfp() local
308 return cfp; in mwifiex_get_cfp()
317 "%s: cannot find cfp by band %d\n", in mwifiex_get_cfp()
319 return cfp; in mwifiex_get_cfp()
340 "%s: cannot find cfp by band %d\t" in mwifiex_get_cfp()
345 return cfp; in mwifiex_get_cfp()
347 priv->cfp.channel = ch->hw_value; in mwifiex_get_cfp()
348 priv->cfp.freq = ch->center_freq; in mwifiex_get_cfp()
349 priv->cfp.max_tx_power = ch->max_power; in mwifiex_get_cfp()
350 cfp in mwifiex_get_cfp()
[all...]
H A Djoin.c897 struct mwifiex_chan_freq_power *cfp; in mwifiex_cmd_802_11_ad_hoc_start() local
898 cfp = mwifiex_get_cfp(priv, adapter->adhoc_start_band, in mwifiex_cmd_802_11_ad_hoc_start()
900 if (cfp) in mwifiex_cmd_802_11_ad_hoc_start()
901 priv->adhoc_channel = (u8) cfp->channel; in mwifiex_cmd_802_11_ad_hoc_start()
H A Dscan.c1740 struct mwifiex_chan_freq_power *cfp; in mwifiex_parse_single_response_buf() local
1863 cfp = mwifiex_get_cfp(priv, band, channel, 0); in mwifiex_parse_single_response_buf()
1865 freq = cfp ? cfp->freq : 0; in mwifiex_parse_single_response_buf()
H A Dmain.h629 struct mwifiex_chan_freq_power cfp; member
/kernel/linux/linux-5.10/drivers/scsi/
H A 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()
/kernel/linux/linux-6.6/drivers/scsi/
H A Dmesh.c1852 const int *cfp; in mesh_probe() local
1935 if ((cfp = of_get_property(mesh, "clock-frequency", NULL))) in mesh_probe()
1936 ms->clk_freq = *cfp; in mesh_probe()

Completed in 38 milliseconds