Home
last modified time | relevance | path

Searched refs:hwm (Results 1 – 11 of 11) 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.c353 struct hwmon_pmu *hwm; in hwmon_pmu__new()
364 hwm = zalloc(sizeof(*hwm)); in hwmon_pmu__new()
365 if (!hwm) in hwmon_pmu__new()
368 if (perf_pmu__init(&hwm->pmu, type, buf) != 0) { in hwmon_pmu__new()
369 perf_pmu__delete(&hwm->pmu); in hwmon_pmu__new()
373 hwm->hwmon_dir = strdup(hwmon_dir); in hwmon_pmu__new()
374 if (!hwm->hwmon_dir) { in hwmon_pmu__new()
375 perf_pmu__delete(&hwm->pmu); in hwmon_pmu__new()
378 hwm in hwmon_pmu__new()
349 struct hwmon_pmu *hwm; hwmon_pmu__new() local
395 struct hwmon_pmu *hwm = container_of(pmu, struct hwmon_pmu, pmu); hwmon_pmu__exit() local
410 hwmon_pmu__describe_items(struct hwmon_pmu * hwm,char * out_buf,size_t out_buf_len,union hwmon_pmu_event_key key,const unsigned long * items,bool is_alarm) hwmon_pmu__describe_items() argument
461 struct hwmon_pmu *hwm = container_of(pmu, struct hwmon_pmu, pmu); hwmon_pmu__for_each_event() local
547 struct hwmon_pmu *hwm = container_of(pmu, struct hwmon_pmu, pmu); hwmon_pmu__num_events() local
555 struct hwmon_pmu *hwm = container_of(pmu, struct hwmon_pmu, pmu); hwmon_pmu__have_event() local
585 hwmon_pmu__config_term(const struct hwmon_pmu * hwm,struct perf_event_attr * attr,struct parse_events_term * term,struct parse_events_error * err) hwmon_pmu__config_term() argument
651 struct hwmon_pmu *hwm = container_of(pmu, struct hwmon_pmu, pmu); hwmon_pmu__config_terms() local
762 struct hwmon_pmu *hwm = container_of(evsel->pmu, struct hwmon_pmu, pmu); evsel__hwmon_pmu_open() local
[all...]
/linux/tools/perf/tests/
H A Dhwmon_pmu.c43 static int test_pmu_put(const char *dir, struct perf_pmu *hwm) in test_pmu_put()
56 list_del(&hwm->list);
57 perf_pmu__delete(hwm);
81 struct perf_pmu *hwm = NULL; in test_pmu_get()
140 hwm = perf_pmus__add_test_hwmon_pmu(dir, "hwmon1234", test_hwmon_name); in test_pmu_get()
141 if (!hwm) in test_pmu_get()
145 if (!hwm) { in test_pmu_get()
146 test_pmu_put(dir, hwm); in test_pmu_get()
152 return hwm; in do_test()
38 test_pmu_put(const char * dir,struct perf_pmu * hwm) test_pmu_put() argument
76 struct perf_pmu *hwm = NULL; test_pmu_get() local
/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/fs/jfs/
H A Djfs_txnmgr.h186 struct lv hwm; /* 2: high water mark */ member
/linux/drivers/net/ethernet/intel/igb/
H A Digb_main.c2295 u32 pba, hwm; in igb_reset() local
2372 hwm = (pba << 10) - (adapter->max_frame_size + MAX_JUMBO_FRAME_SIZE); in igb_reset()
2374 fc->high_water = hwm & 0xFFFFFFF0; /* 16-byte granularity */ in igb_reset()
10113 u16 hwm; in igb_init_dmac() local
10122 * than the Rx threshold. Set hwm to PBA - max frame in igb_init_dmac()
10125 hwm = 64 * (pba - 6); in igb_init_dmac()
10128 reg |= FIELD_PREP(E1000_FCRTC_RTH_COAL_MASK, hwm); in igb_init_dmac()
/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()
/linux/drivers/net/ethernet/intel/e1000e/
H A Dnetdev.c3986 u16 hwm; in e1000e_reset()
4061 hwm = min(((pba << 10) * 9 / 10), in e1000e_reset()
4064 fc->high_water = hwm & E1000_FCRTH_RTH; /* 8-byte granularity */ in e1000e_reset()
3974 u16 hwm; e1000e_reset() local