Home
last modified time | relevance | path

Searched refs:hwm (Results 1 – 10 of 10) sorted by relevance

/linux-4.4.14/drivers/net/fddi/skfp/
Dhwmtm.c271 if (!(smc->os.hwm.descr_p = (union s_fp_descr volatile *) in mac_drv_init()
281 smc->os.hwm.mbuf_pool.mb_start=(SMbuf *)(&smc->os.hwm.mbuf_pool.mb[0]) ; in mac_drv_init()
284 if (!(smc->os.hwm.mbuf_pool.mb_start = (SMbuf *) mac_drv_get_space(smc, in mac_drv_init()
364 ds = (struct s_smt_fp_txd volatile *) ((char *)smc->os.hwm.descr_p + in init_txd_ring()
401 ds = (struct s_smt_fp_rxd volatile *) smc->os.hwm.descr_p ; in init_rxd_ring()
434 mb = smc->os.hwm.mbuf_pool.mb_start ; in init_fddi_driver()
435 smc->os.hwm.mbuf_pool.mb_free = (SMbuf *)NULL ; in init_fddi_driver()
457 smc->os.hwm.llc_rx_pipe = smc->os.hwm.llc_rx_tail = (SMbuf *)NULL ; in init_fddi_driver()
458 smc->os.hwm.txd_tx_pipe = smc->os.hwm.txd_tx_tail = NULL ; in init_fddi_driver()
459 smc->os.hwm.pass_SMT = smc->os.hwm.pass_NSA = smc->os.hwm.pass_DB = 0 ; in init_fddi_driver()
[all …]
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/
Dxgmac.c339 int hwm; in rx_fifo_hwm() local
341 hwm = max(MAC_RXFIFO_SIZE - 3 * mtu, (MAC_RXFIFO_SIZE * 38) / 100); in rx_fifo_hwm()
342 return min(hwm, MAC_RXFIFO_SIZE - 8192); in rx_fifo_hwm()
347 int hwm, lwm, divisor; in t3_mac_set_mtu() local
395 hwm = rx_fifo_hwm(mtu); in t3_mac_set_mtu()
402 V_RXFIFOPAUSEHWM(hwm / 8); in t3_mac_set_mtu()
421 (hwm - lwm) * 4 / divisor); in t3_mac_set_mtu()
/linux-4.4.14/fs/jfs/
Djfs_txnmgr.c800 xtlck->hwm.offset = 0; in txLock()
1711 int next, lwm, hwm; in xtLog() local
1861 hwm = xtlck->hwm.offset; in xtLog()
1863 cpu_to_le16(hwm - XTENTRYSTART + 1); in xtLog()
1866 xtlck->header.length = hwm - XTENTRYSTART + 1; in xtLog()
1875 xadlock->count = hwm - XTENTRYSTART + 1; in xtLog()
1946 hwm = xtlck->hwm.offset; in xtLog()
1989 if (hwm >= next) { in xtLog()
1998 hwm = xtlck->hwm.offset; in xtLog()
2000 cpu_to_le16(hwm - next + 1); in xtLog()
[all …]
Djfs_txnmgr.h199 struct lv hwm; /* 2: high water mark */ member
Djfs_xtree.c3300 xtlck->hwm.offset = le16_to_cpu(p->header.nextindex) - 1; in xtTruncate()
3503 xtlck->hwm.offset = in xtTruncate()
3578 xtlck->hwm.offset = in xtTruncate()
3797 xtlck->hwm.offset = index; in xtTruncate_pmap()
3829 xtlck->hwm.offset = le16_to_cpu(p->header.nextindex) - 1; in xtTruncate_pmap()
Djfs_dmap.c607 s64 hwm = 0; in dbNextAG() local
640 } else if (bmp->db_agfree[agpref] > hwm) { in dbNextAG()
642 hwm = bmp->db_agfree[agpref]; in dbNextAG()
/linux-4.4.14/drivers/net/fddi/skfp/h/
Dtargetos.h155 struct hw_modul hwm ; member
/linux-4.4.14/drivers/net/ethernet/intel/igb/
Digb_main.c1866 u32 pba = 0, tx_space, min_tx_space, min_rx_space, hwm; in igb_reset() local
1944 hwm = min(((pba << 10) * 9 / 10), in igb_reset()
1947 fc->high_water = hwm & 0xFFFFFFF0; /* 16-byte granularity */ in igb_reset()
7941 u16 hwm; in igb_init_dmac() local
7954 hwm = 64 * pba - adapter->max_frame_size / 16; in igb_init_dmac()
7955 if (hwm < 64 * (pba - 6)) in igb_init_dmac()
7956 hwm = 64 * (pba - 6); in igb_init_dmac()
7959 reg |= ((hwm << E1000_FCRTC_RTH_COAL_SHIFT) in igb_init_dmac()
/linux-4.4.14/drivers/net/ethernet/intel/e1000/
De1000_main.c574 u16 hwm; in e1000_reset() local
684 hwm = min(((pba << 10) * 9 / 10), in e1000_reset()
687 hw->fc_high_water = hwm & 0xFFF8; /* 8-byte granularity */ in e1000_reset()
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/
Dnetdev.c3915 u16 hwm; in e1000e_reset() local
3990 hwm = min(((pba << 10) * 9 / 10), in e1000e_reset()
3993 fc->high_water = hwm & E1000_FCRTH_RTH; /* 8-byte granularity */ in e1000e_reset()