Home
last modified time | relevance | path

Searched refs:nf (Results 1 – 25 of 34) sorted by relevance

12

/linux-3.4.99/net/ipv4/
Dinet_fragment.c74 void inet_frags_init_net(struct netns_frags *nf) in inet_frags_init_net() argument
76 nf->nqueues = 0; in inet_frags_init_net()
77 atomic_set(&nf->mem, 0); in inet_frags_init_net()
78 INIT_LIST_HEAD(&nf->lru_list); in inet_frags_init_net()
88 void inet_frags_exit_net(struct netns_frags *nf, struct inet_frags *f) in inet_frags_exit_net() argument
90 nf->low_thresh = 0; in inet_frags_exit_net()
93 inet_frag_evictor(nf, f); in inet_frags_exit_net()
120 static inline void frag_kfree_skb(struct netns_frags *nf, struct inet_frags *f, in frag_kfree_skb() argument
126 atomic_sub(skb->truesize, &nf->mem); in frag_kfree_skb()
136 struct netns_frags *nf; in inet_frag_destroy() local
[all …]
/linux-3.4.99/drivers/media/video/ivtv/
Divtv-yuv.c983 struct yuv_frame_info *nf = &yi->new_frame_info[frame]; in ivtv_yuv_setup_frame() local
988 int update = nf->update; in ivtv_yuv_setup_frame()
991 nf->src_x = args->src.left; in ivtv_yuv_setup_frame()
992 nf->src_y = args->src.top; in ivtv_yuv_setup_frame()
993 nf->src_w = args->src.width; in ivtv_yuv_setup_frame()
994 nf->src_h = args->src.height; in ivtv_yuv_setup_frame()
995 nf->dst_x = args->dst.left; in ivtv_yuv_setup_frame()
996 nf->dst_y = args->dst.top; in ivtv_yuv_setup_frame()
997 nf->dst_w = args->dst.width; in ivtv_yuv_setup_frame()
998 nf->dst_h = args->dst.height; in ivtv_yuv_setup_frame()
[all …]
/linux-3.4.99/drivers/net/wireless/ath/ath9k/
Dcalib.c330 static void ath9k_hw_nf_sanitize(struct ath_hw *ah, s16 *nf) in ath9k_hw_nf_sanitize() argument
342 if (!nf[i]) in ath9k_hw_nf_sanitize()
347 (i >= 3 ? "ext" : "ctl"), i % 3, nf[i]); in ath9k_hw_nf_sanitize()
349 if (nf[i] > limit->max) { in ath9k_hw_nf_sanitize()
352 i, nf[i], limit->max); in ath9k_hw_nf_sanitize()
353 nf[i] = limit->max; in ath9k_hw_nf_sanitize()
354 } else if (nf[i] < limit->min) { in ath9k_hw_nf_sanitize()
357 i, nf[i], limit->min); in ath9k_hw_nf_sanitize()
358 nf[i] = limit->nominal; in ath9k_hw_nf_sanitize()
366 int16_t nf, nfThresh; in ath9k_hw_getnf() local
[all …]
Dar9002_phy.c480 int16_t nf; in ar9002_hw_do_getnf() local
482 nf = MS(REG_READ(ah, AR_PHY_CCA), AR9280_PHY_MINCCA_PWR); in ar9002_hw_do_getnf()
483 nfarray[0] = sign_extend32(nf, 8); in ar9002_hw_do_getnf()
485 nf = MS(REG_READ(ah, AR_PHY_EXT_CCA), AR9280_PHY_EXT_MINCCA_PWR); in ar9002_hw_do_getnf()
487 nfarray[3] = sign_extend32(nf, 8); in ar9002_hw_do_getnf()
492 nf = MS(REG_READ(ah, AR_PHY_CH1_CCA), AR9280_PHY_CH1_MINCCA_PWR); in ar9002_hw_do_getnf()
493 nfarray[1] = sign_extend32(nf, 8); in ar9002_hw_do_getnf()
495 nf = MS(REG_READ(ah, AR_PHY_CH1_EXT_CCA), AR9280_PHY_CH1_EXT_MINCCA_PWR); in ar9002_hw_do_getnf()
497 nfarray[4] = sign_extend32(nf, 8); in ar9002_hw_do_getnf()
Dar5008_phy.c1434 int16_t nf; in ar5008_hw_do_getnf() local
1436 nf = MS(REG_READ(ah, AR_PHY_CCA), AR_PHY_MINCCA_PWR); in ar5008_hw_do_getnf()
1437 nfarray[0] = sign_extend32(nf, 8); in ar5008_hw_do_getnf()
1439 nf = MS(REG_READ(ah, AR_PHY_CH1_CCA), AR_PHY_CH1_MINCCA_PWR); in ar5008_hw_do_getnf()
1440 nfarray[1] = sign_extend32(nf, 8); in ar5008_hw_do_getnf()
1442 nf = MS(REG_READ(ah, AR_PHY_CH2_CCA), AR_PHY_CH2_MINCCA_PWR); in ar5008_hw_do_getnf()
1443 nfarray[2] = sign_extend32(nf, 8); in ar5008_hw_do_getnf()
1448 nf = MS(REG_READ(ah, AR_PHY_EXT_CCA), AR_PHY_EXT_MINCCA_PWR); in ar5008_hw_do_getnf()
1449 nfarray[3] = sign_extend32(nf, 8); in ar5008_hw_do_getnf()
1451 nf = MS(REG_READ(ah, AR_PHY_CH1_EXT_CCA), AR_PHY_CH1_EXT_MINCCA_PWR); in ar5008_hw_do_getnf()
[all …]
Dar9003_phy.c1068 int16_t nf; in ar9003_hw_do_getnf() local
1073 nf = MS(REG_READ(ah, ah->nf_regs[i]), in ar9003_hw_do_getnf()
1075 nfarray[i] = sign_extend32(nf, 8); in ar9003_hw_do_getnf()
1080 nf = MS(REG_READ(ah, ah->nf_regs[ext_idx]), in ar9003_hw_do_getnf()
1082 nfarray[ext_idx] = sign_extend32(nf, 8); in ar9003_hw_do_getnf()
/linux-3.4.99/include/net/
Dinet_frag.h64 void inet_frags_init_net(struct netns_frags *nf);
65 void inet_frags_exit_net(struct netns_frags *nf, struct inet_frags *f);
70 int inet_frag_evictor(struct netns_frags *nf, struct inet_frags *f);
71 struct inet_frag_queue *inet_frag_find(struct netns_frags *nf,
/linux-3.4.99/drivers/video/console/
Dsticore.c488 struct sti_rom_font *nf; in sti_select_fbfont() local
506 nf = kzalloc(size, GFP_KERNEL); in sti_select_fbfont()
507 if (!nf) in sti_select_fbfont()
510 nf->first_char = 0; in sti_select_fbfont()
511 nf->last_char = 255; in sti_select_fbfont()
512 nf->width = fbfont->width; in sti_select_fbfont()
513 nf->height = fbfont->height; in sti_select_fbfont()
514 nf->font_type = STI_FONT_HPROMAN8; in sti_select_fbfont()
515 nf->bytes_per_char = bpc; in sti_select_fbfont()
516 nf->next_font = 0; in sti_select_fbfont()
[all …]
/linux-3.4.99/arch/arm/mach-prima2/
Dclock.c108 u32 nf = (cfg0 & (BIT(13) - 1)) + 1; in std_pll_get_rate() local
112 clk->rate = fin / MHZ * nf / nr / od * MHZ; in std_pll_get_rate()
120 unsigned long fin, nf, nr, od, reg; in std_pll_set_rate() local
127 nf = rate / MHZ; in std_pll_set_rate()
128 if (unlikely((rate % MHZ) || nf > BIT(13) || nf < 1)) in std_pll_set_rate()
139 reg = (nf - 1) | ((nr - 1) << 13) | ((od - 1) << 19); in std_pll_set_rate()
143 clkc_writel((nf >> 1) - 1, reg); in std_pll_set_rate()
/linux-3.4.99/drivers/media/video/omap3isp/
Disppreview.h112 struct omap3isp_prev_nf nf; member
138 struct omap3isp_prev_nf *nf; member
Disppreview.c276 const struct omap3isp_prev_nf *nf = prev_nf; in preview_config_noisefilter() local
279 isp_reg_writel(isp, nf->spread, OMAP3_ISP_IOMEM_PREV, ISPPRV_NF); in preview_config_noisefilter()
283 isp_reg_writel(isp, nf->table[i], in preview_config_noisefilter()
818 *param = &params->nf; in __preview_get_ptrs()
819 CHKARG(configs, config, nf) in __preview_get_ptrs()
820 return sizeof(params->nf); in __preview_get_ptrs()
1267 params->nf.spread = FLR_NF_STRGTH; in preview_init_params()
1268 memcpy(params->nf.table, noise_filter_table, sizeof(params->nf.table)); in preview_init_params()
/linux-3.4.99/drivers/md/
Ddm-bufio.c737 …atic struct dm_buffer *__alloc_buffer_wait_no_callback(struct dm_bufio_client *c, enum new_flag nf) in __alloc_buffer_wait_no_callback() argument
760 if (nf == NF_PREFETCH) in __alloc_buffer_wait_no_callback()
780 static struct dm_buffer *__alloc_buffer_wait(struct dm_bufio_client *c, enum new_flag nf) in __alloc_buffer_wait() argument
782 struct dm_buffer *b = __alloc_buffer_wait_no_callback(c, nf); in __alloc_buffer_wait()
906 enum new_flag nf, int *need_submit) in __bufio_new() argument
916 if (nf == NF_GET) in __bufio_new()
919 new_b = __alloc_buffer_wait(c, nf); in __bufio_new()
941 if (nf == NF_FRESH) { in __bufio_new()
952 if (nf == NF_PREFETCH) in __bufio_new()
961 if (nf == NF_GET && unlikely(test_bit(B_READING, &b->state))) in __bufio_new()
[all …]
/linux-3.4.99/Documentation/RCU/
Dtrace.txt336 0 np=255892 qsp=53936 rpq=85 cbr=0 cng=14417 gpc=10033 gps=24320 nf=6445 nn=146741
337 1 np=261224 qsp=54638 rpq=33 cbr=0 cng=25723 gpc=16310 gps=2849 nf=5912 nn=155792
338 2 np=237496 qsp=49664 rpq=23 cbr=0 cng=2762 gpc=45478 gps=1762 nf=1201 nn=136629
339 3 np=236249 qsp=48766 rpq=98 cbr=0 cng=286 gpc=48049 gps=1218 nf=207 nn=137723
340 4 np=221310 qsp=46850 rpq=7 cbr=0 cng=26 gpc=43161 gps=4634 nf=3529 nn=123110
341 5 np=237332 qsp=48449 rpq=9 cbr=0 cng=54 gpc=47920 gps=3252 nf=201 nn=137456
342 6 np=219995 qsp=46718 rpq=12 cbr=0 cng=50 gpc=42098 gps=6093 nf=4202 nn=120834
343 7 np=249893 qsp=49390 rpq=42 cbr=0 cng=72 gpc=38400 gps=17102 nf=41 nn=144888
345 0 np=146741 qsp=1419 rpq=6 cbr=0 cng=6 gpc=0 gps=0 nf=2 nn=145314
346 1 np=155792 qsp=12597 rpq=3 cbr=0 cng=0 gpc=4 gps=8 nf=3 nn=143180
[all …]
/linux-3.4.99/drivers/net/wireless/libertas/
Dcmd.c17 #define CAL_NF(nf) ((s32)(-(s32)(nf))) argument
18 #define CAL_RSSI(snr, nf) ((s32)((s32)(snr) + CAL_NF(nf))) argument
706 int lbs_get_rssi(struct lbs_private *priv, s8 *rssi, s8 *nf) in lbs_get_rssi() argument
714 BUG_ON(nf == NULL); in lbs_get_rssi()
723 *nf = CAL_NF(le16_to_cpu(cmd.nf)); in lbs_get_rssi()
724 *rssi = CAL_RSSI(le16_to_cpu(cmd.n_or_snr), le16_to_cpu(cmd.nf)); in lbs_get_rssi()
Dcmd.h129 int lbs_get_rssi(struct lbs_private *priv, s8 *snr, s8 *nf);
Drx.c249 radiotap_hdr.antsignal = prxpd->snr + prxpd->nf; in process_rxed_802_11_packet()
Dhost.h349 u8 nf; member
638 __le16 nf; /* most recent beacon noise floor */ member
/linux-3.4.99/drivers/block/aoe/
Daoecmd.c441 struct frame *f, *e, *nf; in sthtith() local
450 nf = freeframe(d); in sthtith()
451 if (!nf) in sthtith()
453 skb = nf->skb; in sthtith()
454 *nf = *f; in sthtith()
457 nf->waited = 0; in sthtith()
460 resend(d, *d->tgt, nf); in sthtith()
/linux-3.4.99/drivers/gpu/drm/gma500/
Doaktrail_hdmi.c102 struct intel_range vco, np, nr, nf; member
108 int nf; member
125 .nf = { .min = NF_MIN, .max = NF_MAX },
/linux-3.4.99/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_main.c1924 struct netxen_skb_frag *nf; in netxen_map_tx_skb() local
1930 nf = &pbuf->frag_array[0]; in netxen_map_tx_skb()
1937 nf->dma = map; in netxen_map_tx_skb()
1938 nf->length = skb_headlen(skb); in netxen_map_tx_skb()
1942 nf = &pbuf->frag_array[i+1]; in netxen_map_tx_skb()
1949 nf->dma = map; in netxen_map_tx_skb()
1950 nf->length = skb_frag_size(frag); in netxen_map_tx_skb()
1957 nf = &pbuf->frag_array[i+1]; in netxen_map_tx_skb()
1958 pci_unmap_page(pdev, nf->dma, nf->length, PCI_DMA_TODEVICE); in netxen_map_tx_skb()
1959 nf->dma = 0ULL; in netxen_map_tx_skb()
[all …]
/linux-3.4.99/drivers/staging/omapdrm/
Dtcm-sita.c66 struct nearness_factor *nf);
656 struct nearness_factor *nf) in get_nearness_factor() argument
662 nf->x = (s32)(area->p0.x - field->p0.x) * 1000 / in get_nearness_factor()
664 nf->y = (s32)(area->p0.y - field->p0.y) * 1000 / in get_nearness_factor()
/linux-3.4.99/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_main.c2121 struct qlcnic_skb_frag *nf; in qlcnic_map_tx_skb() local
2127 nf = &pbuf->frag_array[0]; in qlcnic_map_tx_skb()
2134 nf->dma = map; in qlcnic_map_tx_skb()
2135 nf->length = skb_headlen(skb); in qlcnic_map_tx_skb()
2139 nf = &pbuf->frag_array[i+1]; in qlcnic_map_tx_skb()
2146 nf->dma = map; in qlcnic_map_tx_skb()
2147 nf->length = skb_frag_size(frag); in qlcnic_map_tx_skb()
2154 nf = &pbuf->frag_array[i+1]; in qlcnic_map_tx_skb()
2155 pci_unmap_page(pdev, nf->dma, nf->length, PCI_DMA_TODEVICE); in qlcnic_map_tx_skb()
2158 nf = &pbuf->frag_array[0]; in qlcnic_map_tx_skb()
[all …]
/linux-3.4.99/drivers/net/wireless/ath/ath5k/
Dphy.c1600 s16 nf, threshold; in ath5k_hw_update_noise_floor() local
1616 nf = ath5k_hw_read_measured_noise_floor(ah); in ath5k_hw_update_noise_floor()
1619 if (nf > threshold) { in ath5k_hw_update_noise_floor()
1623 nf, threshold); in ath5k_hw_update_noise_floor()
1625 nf = AR5K_TUNE_CCA_MAX_GOOD_VALUE; in ath5k_hw_update_noise_floor()
1628 ath5k_hw_update_nfcal_hist(ah, nf); in ath5k_hw_update_noise_floor()
1629 nf = ath5k_hw_get_median_noise_floor(ah); in ath5k_hw_update_noise_floor()
1633 val |= (nf * 2) & AR5K_PHY_NF_M; in ath5k_hw_update_noise_floor()
1655 ah->ah_noise_floor = nf; in ath5k_hw_update_noise_floor()
1660 "noise floor calibrated: %d\n", nf); in ath5k_hw_update_noise_floor()
/linux-3.4.99/drivers/media/video/
Dnoon010pc30.c551 const struct noon010_format *nf; in noon010_set_fmt() local
555 nf = noon010_try_fmt(sd, &fmt->format); in noon010_set_fmt()
569 info->curr_fmt = nf; in noon010_set_fmt()
/linux-3.4.99/include/linux/
Domap3isp.h640 struct omap3isp_prev_nf __user *nf; member

12