Home
last modified time | relevance | path

Searched refs:cw (Results 1 – 21 of 21) sorted by relevance

/linux-3.4.99/net/netfilter/ipvs/
Dip_vs_wrr.c37 int cw; /* current weight */ member
92 mark->cw = 0; in ip_vs_wrr_init_svc()
119 if (mark->cw > mark->mw) in ip_vs_wrr_update_svc()
120 mark->cw = 0; in ip_vs_wrr_update_svc()
157 mark->cw -= mark->di; in ip_vs_wrr_schedule()
158 if (mark->cw <= 0) { in ip_vs_wrr_schedule()
159 mark->cw = mark->mw; in ip_vs_wrr_schedule()
163 if (mark->cw == 0) { in ip_vs_wrr_schedule()
178 atomic_read(&dest->weight) >= mark->cw) { in ip_vs_wrr_schedule()
184 if (mark->cl == p && mark->cw == mark->di) { in ip_vs_wrr_schedule()
/linux-3.4.99/drivers/pps/clients/
Dpps_parport.c56 unsigned int cw; /* port clear timeout */ member
77 if (dev->cw == 0) in parport_irq()
102 for (i = dev->cw; i; i--) in parport_irq()
116 dev->cw = 0; in parport_irq()
175 device->cw = clear_wait; in parport_attach()
/linux-3.4.99/drivers/media/dvb/ttpci/
Dav7110_ca.c315 (descr->cw[0]<<8)|descr->cw[1], in dvb_ca_ioctl()
316 (descr->cw[2]<<8)|descr->cw[3], in dvb_ca_ioctl()
317 (descr->cw[4]<<8)|descr->cw[5], in dvb_ca_ioctl()
318 (descr->cw[6]<<8)|descr->cw[7]); in dvb_ca_ioctl()
/linux-3.4.99/drivers/infiniband/hw/qib/
Dqib_pcie.c419 u16 cw, new; in qib_enable_intx() local
423 pci_read_config_word(pdev, PCI_COMMAND, &cw); in qib_enable_intx()
424 new = cw & ~PCI_COMMAND_INTX_DISABLE; in qib_enable_intx()
425 if (new != cw) in qib_enable_intx()
431 pci_read_config_word(pdev, pos + PCI_MSI_FLAGS, &cw); in qib_enable_intx()
432 new = cw & ~PCI_MSI_FLAGS_ENABLE; in qib_enable_intx()
433 if (new != cw) in qib_enable_intx()
439 pci_read_config_word(pdev, pos + PCI_MSIX_FLAGS, &cw); in qib_enable_intx()
440 new = cw & ~PCI_MSIX_FLAGS_ENABLE; in qib_enable_intx()
441 if (new != cw) in qib_enable_intx()
/linux-3.4.99/net/mac80211/
Drc80211_minstrel_ht.c468 unsigned int cw = mp->cw_min; in minstrel_calc_retransmit() local
488 ctime = (t_slot * cw) >> 1; in minstrel_calc_retransmit()
489 cw = min((cw << 1) | 1, mp->cw_max); in minstrel_calc_retransmit()
490 ctime += (t_slot * cw) >> 1; in minstrel_calc_retransmit()
491 cw = min((cw << 1) | 1, mp->cw_max); in minstrel_calc_retransmit()
500 ctime = (t_slot * cw) >> 1; in minstrel_calc_retransmit()
501 cw = min((cw << 1) | 1, mp->cw_max); in minstrel_calc_retransmit()
Drc80211_minstrel.c396 unsigned int cw = mp->cw_min; in minstrel_rate_init() local
419 tx_time_single += (t_slot * cw) >> 1; in minstrel_rate_init()
420 cw = min((cw << 1) | 1, mp->cw_max); in minstrel_rate_init()
/linux-3.4.99/drivers/media/video/gspca/
Dw996Xcf.c395 int start_cropx, start_cropy, x, y, fw, fh, cw, ch, in w9968cf_set_crop_window() local
428 cw = (fw >= fh) ? max_width : SC(sd->gspca_dev.width) / fh; in w9968cf_set_crop_window()
434 x = (max_width - cw) / 2; in w9968cf_set_crop_window()
439 reg_w(sd, 0x12, start_cropx + x + cw); in w9968cf_set_crop_window()
/linux-3.4.99/include/linux/dvb/
Dca.h73 unsigned char cw[8]; member
/linux-3.4.99/arch/x86/include/asm/
Dsigcontext32.h28 __u32 cw; member
Dsigcontext.h73 unsigned long cw; member
/linux-3.4.99/drivers/net/wireless/ath/ath9k/
Dmac.c191 u32 cw; in ath9k_hw_set_txq_props() local
213 cw = min(qinfo->tqi_cwmin, 1024U); in ath9k_hw_set_txq_props()
215 while (qi->tqi_cwmin < cw) in ath9k_hw_set_txq_props()
220 cw = min(qinfo->tqi_cwmax, 1024U); in ath9k_hw_set_txq_props()
222 while (qi->tqi_cwmax < cw) in ath9k_hw_set_txq_props()
/linux-3.4.99/drivers/net/wireless/rtl818x/rtl8180/
Drtl8180.h34 u8 cw; member
/linux-3.4.99/drivers/ata/
Dsata_mv.c2009 __le16 *cw; in mv_qc_prep() local
2045 cw = &pp->crqb[in_index].ata_cmd[0]; in mv_qc_prep()
2060 mv_crqb_pack_cmd(cw++, tf->hob_nsect, ATA_REG_NSECT, 0); in mv_qc_prep()
2064 mv_crqb_pack_cmd(cw++, tf->hob_feature, ATA_REG_FEATURE, 0); in mv_qc_prep()
2065 mv_crqb_pack_cmd(cw++, tf->feature, ATA_REG_FEATURE, 0); in mv_qc_prep()
2079 mv_crqb_pack_cmd(cw++, tf->nsect, ATA_REG_NSECT, 0); in mv_qc_prep()
2080 mv_crqb_pack_cmd(cw++, tf->hob_lbal, ATA_REG_LBAL, 0); in mv_qc_prep()
2081 mv_crqb_pack_cmd(cw++, tf->lbal, ATA_REG_LBAL, 0); in mv_qc_prep()
2082 mv_crqb_pack_cmd(cw++, tf->hob_lbam, ATA_REG_LBAM, 0); in mv_qc_prep()
2083 mv_crqb_pack_cmd(cw++, tf->lbam, ATA_REG_LBAM, 0); in mv_qc_prep()
[all …]
/linux-3.4.99/drivers/staging/omapdrm/
Domap_fb.c272 int cw = w + (x - crtc->x) - cx; in omap_framebuffer_flush() local
275 omap_connector_flush(connector, cx, cy, cw, ch); in omap_framebuffer_flush()
/linux-3.4.99/drivers/video/console/
Dbitblit.c209 unsigned int cw = vc->vc_font.width; in bit_clear_margins() local
211 unsigned int rw = info->var.xres - (vc->vc_cols*cw); in bit_clear_margins()
Dfbcon_ccw.c194 unsigned int cw = vc->vc_font.width; in ccw_clear_margins() local
196 unsigned int rw = info->var.yres - (vc->vc_cols*cw); in ccw_clear_margins()
Dfbcon_cw.c178 unsigned int cw = vc->vc_font.width; in cw_clear_margins() local
180 unsigned int rw = info->var.yres - (vc->vc_cols*cw); in cw_clear_margins()
Dfbcon_ud.c225 unsigned int cw = vc->vc_font.width; in ud_clear_margins() local
227 unsigned int rw = info->var.xres - (vc->vc_cols*cw); in ud_clear_margins()
/linux-3.4.99/fs/dlm/
Dlock.c1869 static int grant_pending_convert(struct dlm_rsb *r, int high, int *cw) in grant_pending_convert() argument
1907 if (cw && lkb->lkb_rqmode == DLM_LOCK_CW) in grant_pending_convert()
1908 *cw = 1; in grant_pending_convert()
1921 static int grant_pending_wait(struct dlm_rsb *r, int high, int *cw) in grant_pending_wait() argument
1931 *cw = 1; in grant_pending_wait()
1943 static int lock_requires_bast(struct dlm_lkb *gr, int high, int cw) in lock_requires_bast() argument
1945 if (gr->lkb_grmode == DLM_LOCK_PR && cw) { in lock_requires_bast()
1961 int cw = 0; in grant_pending_locks() local
1965 high = grant_pending_convert(r, high, &cw); in grant_pending_locks()
1966 high = grant_pending_wait(r, high, &cw); in grant_pending_locks()
[all …]
/linux-3.4.99/drivers/mtd/
Dmtdswap.c1226 unsigned int i, cw = 0, cwp = 0, cwecount = 0, bb_cnt, mapped, pages; in mtdswap_show() local
1247 cw = 1; in mtdswap_show()
1283 if (cw) in mtdswap_show()
/linux-3.4.99/drivers/tty/
Dsynclink_gt.c3052 static void remove_cond_wait(struct cond_wait **head, struct cond_wait *cw) in remove_cond_wait() argument
3055 remove_wait_queue(&cw->q, &cw->wait); in remove_cond_wait()
3058 if (w == cw) { in remove_cond_wait()