hwm 470 drivers/hwmon/mlxreg-fan.c struct device *hwm; hwm 490 drivers/hwmon/mlxreg-fan.c hwm = devm_hwmon_device_register_with_info(dev, "mlxreg_fan", hwm 494 drivers/hwmon/mlxreg-fan.c if (IS_ERR(hwm)) { hwm 496 drivers/hwmon/mlxreg-fan.c return PTR_ERR(hwm); hwm 339 drivers/net/ethernet/chelsio/cxgb3/xgmac.c int hwm; hwm 341 drivers/net/ethernet/chelsio/cxgb3/xgmac.c hwm = max(MAC_RXFIFO_SIZE - 3 * mtu, (MAC_RXFIFO_SIZE * 38) / 100); hwm 342 drivers/net/ethernet/chelsio/cxgb3/xgmac.c return min(hwm, MAC_RXFIFO_SIZE - 8192); hwm 347 drivers/net/ethernet/chelsio/cxgb3/xgmac.c int hwm, lwm, divisor; hwm 395 drivers/net/ethernet/chelsio/cxgb3/xgmac.c hwm = rx_fifo_hwm(mtu); hwm 402 drivers/net/ethernet/chelsio/cxgb3/xgmac.c V_RXFIFOPAUSEHWM(hwm / 8); hwm 421 drivers/net/ethernet/chelsio/cxgb3/xgmac.c (hwm - lwm) * 4 / divisor); hwm 555 drivers/net/ethernet/intel/e1000/e1000_main.c u16 hwm; hwm 665 drivers/net/ethernet/intel/e1000/e1000_main.c hwm = min(((pba << 10) * 9 / 10), hwm 668 drivers/net/ethernet/intel/e1000/e1000_main.c hw->fc_high_water = hwm & 0xFFF8; /* 8-byte granularity */ hwm 3951 drivers/net/ethernet/intel/e1000e/netdev.c u16 hwm; hwm 4026 drivers/net/ethernet/intel/e1000e/netdev.c hwm = min(((pba << 10) * 9 / 10), hwm 4029 drivers/net/ethernet/intel/e1000e/netdev.c fc->high_water = hwm & E1000_FCRTH_RTH; /* 8-byte granularity */ hwm 2266 drivers/net/ethernet/intel/igb/igb_main.c u32 pba, hwm; hwm 2343 drivers/net/ethernet/intel/igb/igb_main.c hwm = (pba << 10) - (adapter->max_frame_size + MAX_JUMBO_FRAME_SIZE); hwm 2345 drivers/net/ethernet/intel/igb/igb_main.c fc->high_water = hwm & 0xFFFFFFF0; /* 16-byte granularity */ hwm 9385 drivers/net/ethernet/intel/igb/igb_main.c u16 hwm; hwm 9398 drivers/net/ethernet/intel/igb/igb_main.c hwm = 64 * (pba - 6); hwm 9401 drivers/net/ethernet/intel/igb/igb_main.c reg |= ((hwm << E1000_FCRTC_RTH_COAL_SHIFT) hwm 84 drivers/net/ethernet/intel/igc/igc_main.c u32 pba, hwm; hwm 97 drivers/net/ethernet/intel/igc/igc_main.c hwm = (pba << 10) - (adapter->max_frame_size + MAX_JUMBO_FRAME_SIZE); hwm 99 drivers/net/ethernet/intel/igc/igc_main.c fc->high_water = hwm & 0xFFFFFFF0; /* 16-byte granularity */ hwm 151 drivers/net/fddi/skfp/h/targetos.h struct hw_modul hwm ; hwm 267 drivers/net/fddi/skfp/hwmtm.c if (!(smc->os.hwm.descr_p = (union s_fp_descr volatile *) hwm 277 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.mbuf_pool.mb_start=(SMbuf *)(&smc->os.hwm.mbuf_pool.mb[0]) ; hwm 280 drivers/net/fddi/skfp/hwmtm.c if (!(smc->os.hwm.mbuf_pool.mb_start = (SMbuf *) mac_drv_get_space(smc, hwm 360 drivers/net/fddi/skfp/hwmtm.c ds = (struct s_smt_fp_txd volatile *) ((char *)smc->os.hwm.descr_p + hwm 397 drivers/net/fddi/skfp/hwmtm.c ds = (struct s_smt_fp_rxd volatile *) smc->os.hwm.descr_p ; hwm 430 drivers/net/fddi/skfp/hwmtm.c mb = smc->os.hwm.mbuf_pool.mb_start ; hwm 431 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.mbuf_pool.mb_free = (SMbuf *)NULL ; hwm 453 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.llc_rx_pipe = smc->os.hwm.llc_rx_tail = (SMbuf *)NULL ; hwm 454 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.txd_tx_pipe = smc->os.hwm.txd_tx_tail = NULL ; hwm 455 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.pass_SMT = smc->os.hwm.pass_NSA = smc->os.hwm.pass_DB = 0 ; hwm 456 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.pass_llc_promisc = TRUE ; hwm 457 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.queued_rx_frames = smc->os.hwm.queued_txd_mb = 0 ; hwm 458 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.detec_count = 0 ; hwm 459 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.rx_break = 0 ; hwm 460 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.rx_len_error = 0 ; hwm 461 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.isr_flag = FALSE ; hwm 466 drivers/net/fddi/skfp/hwmtm.c i = 16 - ((long)smc->os.hwm.descr_p & 0xf) ; hwm 469 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.descr_p = (union s_fp_descr volatile *) hwm 470 drivers/net/fddi/skfp/hwmtm.c ((char *)smc->os.hwm.descr_p+i) ; hwm 472 drivers/net/fddi/skfp/hwmtm.c DB_GEN(3, "pt to descr area = %p", smc->os.hwm.descr_p); hwm 487 drivers/net/fddi/skfp/hwmtm.c mb = smc->os.hwm.mbuf_pool.mb_free ; hwm 493 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.mbuf_pool.mb_free = mb->sm_next ; hwm 518 drivers/net/fddi/skfp/hwmtm.c mb->sm_next = smc->os.hwm.mbuf_pool.mb_free ; hwm 519 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.mbuf_pool.mb_free = mb ; hwm 716 drivers/net/fddi/skfp/hwmtm.c if (smc->os.hwm.rx_break) { hwm 719 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.rx_break = 0 ; hwm 723 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.detec_count = 0 ; hwm 728 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.isr_flag = TRUE ; hwm 732 drivers/net/fddi/skfp/hwmtm.c if (smc->os.hwm.leave_isr) { hwm 733 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.leave_isr = FALSE ; hwm 777 drivers/net/fddi/skfp/hwmtm.c if (++smc->os.hwm.detec_count > 4) { hwm 835 drivers/net/fddi/skfp/hwmtm.c if (smc->os.hwm.leave_isr) { hwm 856 drivers/net/fddi/skfp/hwmtm.c if (!offDepth && smc->os.hwm.rx_break) { hwm 871 drivers/net/fddi/skfp/hwmtm.c if (smc->os.hwm.leave_isr) { hwm 880 drivers/net/fddi/skfp/hwmtm.c if (smc->os.hwm.leave_isr && force_irq) { hwm 884 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.isr_flag = FALSE ; hwm 992 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.pass_SMT = TRUE ; hwm 995 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.pass_SMT = FALSE ; hwm 998 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.pass_NSA = TRUE ; hwm 1001 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.pass_NSA = FALSE ; hwm 1004 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.pass_DB = TRUE ; hwm 1007 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.pass_DB = FALSE ; hwm 1010 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.pass_SMT = smc->os.hwm.pass_NSA = FALSE ; hwm 1011 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.pass_DB = FALSE ; hwm 1012 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.pass_llc_promisc = TRUE ; hwm 1016 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.pass_llc_promisc = FALSE ; hwm 1019 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.pass_llc_promisc = TRUE ; hwm 1055 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.detec_count = 0 ; hwm 1064 drivers/net/fddi/skfp/hwmtm.c if (smc->os.hwm.leave_isr) { hwm 1070 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.rx_break = 1 ; hwm 1073 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.rx_break = 0 ; hwm 1076 drivers/net/fddi/skfp/hwmtm.c if (smc->os.hwm.rx_break) { hwm 1104 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.detec_count = 0 ; hwm 1214 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.rx_len_error++ ; hwm 1241 drivers/net/fddi/skfp/hwmtm.c if (!smc->os.hwm.pass_llc_promisc) { hwm 1295 drivers/net/fddi/skfp/hwmtm.c if (smc->os.hwm.pass_SMT) { hwm 1314 drivers/net/fddi/skfp/hwmtm.c if (smc->os.hwm.pass_NSA || hwm 1315 drivers/net/fddi/skfp/hwmtm.c (smc->os.hwm.pass_SMT && hwm 1329 drivers/net/fddi/skfp/hwmtm.c if (smc->os.hwm.pass_DB) { hwm 1381 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.r.len = mb->sm_len ; hwm 1382 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.r.mb_pos = smtod(mb,char *) ; hwm 1383 drivers/net/fddi/skfp/hwmtm.c fc = *smc->os.hwm.r.mb_pos ; hwm 1385 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.r.mb_pos,(int)mb->sm_len) ; hwm 1550 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.tx_p = smc->hw.fp.tx[frame_status & QUEUE_A0] ; hwm 1551 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.tx_descr = TX_DESCRIPTOR | (((u_long)(frame_len-1)&3)<<27) ; hwm 1552 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.tx_len = frame_len ; hwm 1578 drivers/net/fddi/skfp/hwmtm.c if (frag_count > smc->os.hwm.tx_p->tx_free) { hwm 1581 drivers/net/fddi/skfp/hwmtm.c if (frag_count > smc->os.hwm.tx_p->tx_free) { hwm 1593 drivers/net/fddi/skfp/hwmtm.c NDD_TRACE("THiE",frame_status,smc->os.hwm.tx_p->tx_free,0) ; hwm 1631 drivers/net/fddi/skfp/hwmtm.c queue = smc->os.hwm.tx_p ; hwm 1646 drivers/net/fddi/skfp/hwmtm.c t->txd_txdscr = cpu_to_le32(smc->os.hwm.tx_descr) ; hwm 1675 drivers/net/fddi/skfp/hwmtm.c if(!(smc->os.hwm.tx_mb = smt_get_mbuf(smc))) { hwm 1680 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.tx_data = hwm 1681 drivers/net/fddi/skfp/hwmtm.c smtod(smc->os.hwm.tx_mb,char *) - 1 ; hwm 1684 drivers/net/fddi/skfp/hwmtm.c hwm_cpy_txd2mb(t,smc->os.hwm.tx_data, hwm 1685 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.tx_len) ; hwm 1690 drivers/net/fddi/skfp/hwmtm.c if (smc->os.hwm.tx_mb) { hwm 1693 drivers/net/fddi/skfp/hwmtm.c memcpy(smc->os.hwm.tx_data,virt,len) ; hwm 1694 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.tx_data += len ; hwm 1706 drivers/net/fddi/skfp/hwmtm.c hwm_cpy_txd2mb(t,smc->os.hwm.tx_data, hwm 1707 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.tx_len) ; hwm 1710 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.tx_data = hwm 1711 drivers/net/fddi/skfp/hwmtm.c smtod(smc->os.hwm.tx_mb,char *) - 1 ; hwm 1712 drivers/net/fddi/skfp/hwmtm.c *(char *)smc->os.hwm.tx_mb->sm_data = hwm 1713 drivers/net/fddi/skfp/hwmtm.c *smc->os.hwm.tx_data ; hwm 1714 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.tx_data++ ; hwm 1715 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.tx_mb->sm_len = hwm 1716 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.tx_len - 1 ; hwm 1718 drivers/net/fddi/skfp/hwmtm.c smt_received_pack(smc,smc->os.hwm.tx_mb, hwm 1733 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.queued_rx_frames++ ; hwm 1735 drivers/net/fddi/skfp/hwmtm.c if (smc->os.hwm.llc_rx_pipe == NULL) { hwm 1736 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.llc_rx_pipe = mb ; hwm 1739 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.llc_rx_tail->sm_next = mb ; hwm 1741 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.llc_rx_tail = mb ; hwm 1746 drivers/net/fddi/skfp/hwmtm.c if (!smc->os.hwm.isr_flag) { hwm 1758 drivers/net/fddi/skfp/hwmtm.c if ((mb = smc->os.hwm.llc_rx_pipe)) { hwm 1759 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.queued_rx_frames-- ; hwm 1760 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.llc_rx_pipe = mb->sm_next ; hwm 1773 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.queued_txd_mb++ ; hwm 1775 drivers/net/fddi/skfp/hwmtm.c if (smc->os.hwm.txd_tx_pipe == NULL) { hwm 1776 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.txd_tx_pipe = mb ; hwm 1779 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.txd_tx_tail->sm_next = mb ; hwm 1781 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.txd_tx_tail = mb ; hwm 1791 drivers/net/fddi/skfp/hwmtm.c if ((mb = smc->os.hwm.txd_tx_pipe)) { hwm 1792 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.queued_txd_mb-- ; hwm 1793 drivers/net/fddi/skfp/hwmtm.c smc->os.hwm.txd_tx_pipe = mb->sm_next ; hwm 1854 drivers/net/fddi/skfp/hwmtm.c if ((smc->os.hwm.pass_NSA &&(fc == FC_SMT_NSA)) || hwm 1855 drivers/net/fddi/skfp/hwmtm.c (smc->os.hwm.pass_SMT &&(fc == FC_SMT_INFO))) hwm 594 fs/jfs/jfs_dmap.c s64 hwm = 0; hwm 627 fs/jfs/jfs_dmap.c } else if (bmp->db_agfree[agpref] > hwm) { hwm 629 fs/jfs/jfs_dmap.c hwm = bmp->db_agfree[agpref]; hwm 787 fs/jfs/jfs_txnmgr.c xtlck->hwm.offset = 0; hwm 1698 fs/jfs/jfs_txnmgr.c int next, lwm, hwm; hwm 1848 fs/jfs/jfs_txnmgr.c hwm = xtlck->hwm.offset; hwm 1850 fs/jfs/jfs_txnmgr.c cpu_to_le16(hwm - XTENTRYSTART + 1); hwm 1853 fs/jfs/jfs_txnmgr.c xtlck->header.length = hwm - XTENTRYSTART + 1; hwm 1862 fs/jfs/jfs_txnmgr.c xadlock->count = hwm - XTENTRYSTART + 1; hwm 1932 fs/jfs/jfs_txnmgr.c hwm = xtlck->hwm.offset; hwm 1975 fs/jfs/jfs_txnmgr.c if (hwm >= next) { hwm 1984 fs/jfs/jfs_txnmgr.c hwm = xtlck->hwm.offset; hwm 1986 fs/jfs/jfs_txnmgr.c cpu_to_le16(hwm - next + 1); hwm 1989 fs/jfs/jfs_txnmgr.c xtlck->header.length = hwm - next + 1; hwm 2036 fs/jfs/jfs_txnmgr.c ip, mp, pxdlock->count, hwm); hwm 2044 fs/jfs/jfs_txnmgr.c if (hwm >= next) { hwm 2051 fs/jfs/jfs_txnmgr.c xadlock->count = hwm - next + 1; hwm 2055 fs/jfs/jfs_txnmgr.c tlck->ip, mp, xadlock->count, next, hwm); hwm 186 fs/jfs/jfs_txnmgr.h struct lv hwm; /* 2: high water mark */ hwm 3287 fs/jfs/jfs_xtree.c xtlck->hwm.offset = le16_to_cpu(p->header.nextindex) - 1; hwm 3490 fs/jfs/jfs_xtree.c xtlck->hwm.offset = hwm 3565 fs/jfs/jfs_xtree.c xtlck->hwm.offset = hwm 3784 fs/jfs/jfs_xtree.c xtlck->hwm.offset = index; hwm 3816 fs/jfs/jfs_xtree.c xtlck->hwm.offset = le16_to_cpu(p->header.nextindex) - 1;