Home
last modified time | relevance | path

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

/linux/drivers/net/fddi/skfp/
H A Dhwmtm.c263 if (!(smc->os.hwm.descr_p = (union s_fp_descr volatile *) in mac_drv_init()
273 smc->os.hwm.mbuf_pool.mb_start=(SMbuf *)(&smc->os.hwm.mbuf_pool.mb[0]) ; in mac_drv_init()
276 if (!(smc->os.hwm.mbuf_pool.mb_start = (SMbuf *) mac_drv_get_space(smc, in mac_drv_init()
356 ds = (struct s_smt_fp_txd volatile *) ((char *)smc->os.hwm.descr_p + in init_txd_ring()
393 ds = (struct s_smt_fp_rxd volatile *) smc->os.hwm.descr_p ; in init_rxd_ring()
426 mb = smc->os.hwm.mbuf_pool.mb_start ; in init_fddi_driver()
427 smc->os.hwm.mbuf_pool.mb_free = (SMbuf *)NULL ; in init_fddi_driver()
449 smc->os.hwm.llc_rx_pipe = smc->os.hwm.llc_rx_tail = (SMbuf *)NULL ; in init_fddi_driver()
450 smc->os.hwm.txd_tx_pipe = smc->os.hwm.txd_tx_tail = NULL ; in init_fddi_driver()
451 smc->os.hwm.pass_SMT = smc->os.hwm.pass_NSA = smc->os.hwm.pass_DB = 0 ; in init_fddi_driver()
[all …]
/linux/tools/perf/util/
H A Dhwmon_pmu.c349 struct hwmon_pmu *hwm; in hwmon_pmu__new() local
360 hwm = zalloc(sizeof(*hwm)); in hwmon_pmu__new()
361 if (!hwm) in hwmon_pmu__new()
364 if (perf_pmu__init(&hwm->pmu, type, buf) != 0) { in hwmon_pmu__new()
365 perf_pmu__delete(&hwm->pmu); in hwmon_pmu__new()
369 hwm->hwmon_dir = strdup(hwmon_dir); in hwmon_pmu__new()
370 if (!hwm->hwmon_dir) { in hwmon_pmu__new()
371 perf_pmu__delete(&hwm->pmu); in hwmon_pmu__new()
374 hwm->pmu.alias_name = strdup(sysfs_name); in hwmon_pmu__new()
375 if (!hwm->pmu.alias_name) { in hwmon_pmu__new()
[all …]
/linux/tools/perf/tests/
H A Dhwmon_pmu.c38 static int test_pmu_put(const char *dir, struct perf_pmu *hwm) in test_pmu_put() argument
51 list_del(&hwm->list); in test_pmu_put()
52 perf_pmu__delete(hwm); in test_pmu_put()
76 struct perf_pmu *hwm = NULL; in test_pmu_get() local
135 hwm = perf_pmus__add_test_hwmon_pmu(dir, "hwmon1234", test_hwmon_name); in test_pmu_get()
136 if (!hwm) in test_pmu_get()
140 if (!hwm) { in test_pmu_get()
141 test_pmu_put(dir, hwm); in test_pmu_get()
147 return hwm; in test_pmu_get()
/linux/fs/jfs/
H A Djfs_txnmgr.c793 xtlck->hwm.offset = 0; in txLock()
1667 int next, lwm, hwm; in xtLog() local
1817 hwm = xtlck->hwm.offset; in xtLog()
1819 cpu_to_le16(hwm - XTENTRYSTART + 1); in xtLog()
1822 xtlck->header.length = hwm - XTENTRYSTART + 1; in xtLog()
1831 xadlock->count = hwm - XTENTRYSTART + 1; in xtLog()
1901 hwm = xtlck->hwm.offset; in xtLog()
1944 if (hwm >= next) { in xtLog()
1953 hwm = xtlck->hwm.offset; in xtLog()
1955 cpu_to_le16(hwm - next + 1); in xtLog()
[all …]
H A Djfs_txnmgr.h186 struct lv hwm; /* 2: high water mark */ member
/linux/drivers/net/ethernet/chelsio/cxgb3/
H A 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/drivers/hwmon/
H A Dmlxreg-fan.c602 struct device *hwm; in mlxreg_fan_probe() local
622 hwm = devm_hwmon_device_register_with_info(dev, "mlxreg_fan", in mlxreg_fan_probe()
626 if (IS_ERR(hwm)) { in mlxreg_fan_probe()
628 return PTR_ERR(hwm); in mlxreg_fan_probe()
/linux/drivers/net/fddi/skfp/h/
H A Dtargetos.h151 struct hw_modul hwm ; member
/linux/drivers/net/ethernet/intel/e1000/
H A De1000_main.c550 u16 hwm; in e1000_reset() local
660 hwm = min(((pba << 10) * 9 / 10), in e1000_reset()
663 hw->fc_high_water = hwm & 0xFFF8; /* 8-byte granularity */ in e1000_reset()
/linux/drivers/net/ethernet/intel/igc/
H A Digc_main.c84 u32 pba, hwm; in igc_reset() local
97 hwm = (pba << 10) - (adapter->max_frame_size + MAX_JUMBO_FRAME_SIZE); in igc_reset()
99 fc->high_water = hwm & 0xFFFFFFF0; /* 16-byte granularity */ in igc_reset()