Home
last modified time | relevance | path

Searched refs:hwm (Results 1 - 25 of 26) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/fddi/skfp/
H A Dhwmtm.c263 if (!(smc->os.hwm.descr_p = (union s_fp_descr volatile *) in mac_drv_init()
266 return 1; /* no space the hwm modul can't work */ 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()
278 return 1; /* no space the hwm modul can't work */ in mac_drv_init()
284 return 1; /* no space the hwm modul can't work */ 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 in init_fddi_driver()
[all...]
/kernel/linux/linux-6.6/drivers/net/fddi/skfp/
H A Dhwmtm.c263 if (!(smc->os.hwm.descr_p = (union s_fp_descr volatile *) in mac_drv_init()
266 return 1; /* no space the hwm modul can't work */ 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()
278 return 1; /* no space the hwm modul can't work */ in mac_drv_init()
284 return 1; /* no space the hwm modul can't work */ 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 in init_fddi_driver()
[all...]
/kernel/linux/linux-5.10/fs/jfs/
H A Djfs_txnmgr.c792 xtlck->hwm.offset = 0; in txLock()
1703 int next, lwm, hwm; in xtLog() local
1847 * XAD[XTENTRYSTART:hwm) from the deleted page itself in xtLog()
1853 hwm = xtlck->hwm.offset; in xtLog()
1855 cpu_to_le16(hwm - XTENTRYSTART + 1); in xtLog()
1858 xtlck->header.length = hwm - XTENTRYSTART + 1; in xtLog()
1863 * to free extents of XAD[XTENTRYSTART:hwm) from the in xtLog()
1867 xadlock->count = hwm - XTENTRYSTART + 1; in xtLog()
1917 * | | hwm in xtLog()
[all...]
H A Djfs_txnmgr.h186 struct lv hwm; /* 2: high water mark */ member
H A Djfs_xtree.c3287 xtlck->hwm.offset = le16_to_cpu(p->header.nextindex) - 1; in xtTruncate()
3417 * free data extents covered by leaf [XTENTRYSTART:hwm); in xtTruncate()
3490 xtlck->hwm.offset = in xtTruncate()
3565 xtlck->hwm.offset = in xtTruncate()
3784 xtlck->hwm.offset = index; in xtTruncate_pmap()
3816 xtlck->hwm.offset = le16_to_cpu(p->header.nextindex) - 1; in xtTruncate_pmap()
H A Djfs_dmap.c632 s64 hwm = 0; in dbNextAG() local
665 } else if (bmp->db_agfree[agpref] > hwm) { in dbNextAG()
667 hwm = bmp->db_agfree[agpref]; in dbNextAG()
/kernel/linux/linux-6.6/fs/jfs/
H A Djfs_txnmgr.c792 xtlck->hwm.offset = 0; in txLock()
1666 int next, lwm, hwm; in xtLog() local
1810 * XAD[XTENTRYSTART:hwm) from the deleted page itself in xtLog()
1816 hwm = xtlck->hwm.offset; in xtLog()
1818 cpu_to_le16(hwm - XTENTRYSTART + 1); in xtLog()
1821 xtlck->header.length = hwm - XTENTRYSTART + 1; in xtLog()
1826 * to free extents of XAD[XTENTRYSTART:hwm) from the in xtLog()
1830 xadlock->count = hwm - XTENTRYSTART + 1; in xtLog()
1880 * | | hwm in xtLog()
[all...]
H A Djfs_txnmgr.h186 struct lv hwm; /* 2: high water mark */ member
H A Djfs_xtree.c2326 xtlck->hwm.offset = le16_to_cpu(p->header.nextindex) - 1; in xtTruncate()
2456 * free data extents covered by leaf [XTENTRYSTART:hwm); in xtTruncate()
2529 xtlck->hwm.offset = in xtTruncate()
2604 xtlck->hwm.offset = in xtTruncate()
2823 xtlck->hwm.offset = index; in xtTruncate_pmap()
2855 xtlck->hwm.offset = le16_to_cpu(p->header.nextindex) - 1; in xtTruncate_pmap()
H A Djfs_dmap.c632 s64 hwm = 0; in dbNextAG() local
665 } else if (bmp->db_agfree[agpref] > hwm) { in dbNextAG()
667 hwm = bmp->db_agfree[agpref]; in dbNextAG()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dmlxreg-fan.c482 struct device *hwm; in mlxreg_fan_probe() local
502 hwm = devm_hwmon_device_register_with_info(dev, "mlxreg_fan", in mlxreg_fan_probe()
506 if (IS_ERR(hwm)) { in mlxreg_fan_probe()
508 return PTR_ERR(hwm); in mlxreg_fan_probe()
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dmlxreg-fan.c583 struct device *hwm; in mlxreg_fan_probe() local
603 hwm = devm_hwmon_device_register_with_info(dev, "mlxreg_fan", in mlxreg_fan_probe()
607 if (IS_ERR(hwm)) { in mlxreg_fan_probe()
609 return PTR_ERR(hwm); in mlxreg_fan_probe()
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/h/
H A Dtargetos.h151 struct hw_modul hwm ; member
/kernel/linux/linux-6.6/drivers/net/fddi/skfp/h/
H A Dtargetos.h151 struct hw_modul hwm ; member
/kernel/linux/linux-5.10/block/
H A Dblk-iocost.c1169 u32 hwm = WEIGHT_ONE; in current_hweight_max() local
1181 hwm = div64_u64((u64)hwm * inuse, child_inuse_sum); in current_hweight_max()
1186 return max_t(u32, hwm, 1); in current_hweight_max()
1685 * capacity. @hwm is the upper bound and used to signal no donation. This
1688 static u32 hweight_after_donation(struct ioc_gq *iocg, u32 old_hwi, u32 hwm, in hweight_after_donation() argument
1702 return hwm; in hweight_after_donation()
1734 return clamp_t(s64, new_hwi, 1, hwm); in hweight_after_donation()
2255 u32 hwa, old_hwi, hwm, new_hwi; in ioc_timer_fn() local
2262 hwm in ioc_timer_fn()
[all...]
/kernel/linux/linux-6.6/block/
H A Dblk-iocost.c1226 u32 hwm = WEIGHT_ONE; in current_hweight_max() local
1238 hwm = div64_u64((u64)hwm * inuse, child_inuse_sum); in current_hweight_max()
1243 return max_t(u32, hwm, 1); in current_hweight_max()
1736 * capacity. @hwm is the upper bound and used to signal no donation. This
1739 static u32 hweight_after_donation(struct ioc_gq *iocg, u32 old_hwi, u32 hwm, in hweight_after_donation() argument
1753 return hwm; in hweight_after_donation()
1785 return clamp_t(s64, new_hwi, 1, hwm); in hweight_after_donation()
2307 u32 hwa, old_hwi, hwm, new_hwi, usage; in ioc_timer_fn() local
2334 hwm in ioc_timer_fn()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/
H A Digb_main.c2268 u32 pba, hwm; in igb_reset() local
2345 hwm = (pba << 10) - (adapter->max_frame_size + MAX_JUMBO_FRAME_SIZE); in igb_reset()
2347 fc->high_water = hwm & 0xFFFFFFF0; /* 16-byte granularity */ in igb_reset()
9852 u16 hwm; in igb_init_dmac() local
9861 * than the Rx threshold. Set hwm to PBA - max frame in igb_init_dmac()
9864 hwm = 64 * (pba - 6); in igb_init_dmac()
9867 reg |= ((hwm << E1000_FCRTC_RTH_COAL_SHIFT) in igb_init_dmac()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igb/
H A Digb_main.c2289 u32 pba, hwm; in igb_reset() local
2366 hwm = (pba << 10) - (adapter->max_frame_size + MAX_JUMBO_FRAME_SIZE); in igb_reset()
2368 fc->high_water = hwm & 0xFFFFFFF0; /* 16-byte granularity */ in igb_reset()
9976 u16 hwm; in igb_init_dmac() local
9985 * than the Rx threshold. Set hwm to PBA - max frame in igb_init_dmac()
9988 hwm = 64 * (pba - 6); in igb_init_dmac()
9991 reg |= ((hwm << E1000_FCRTC_RTH_COAL_SHIFT) in igb_init_dmac()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/
H A Digc_main.c75 u32 pba, hwm; in igc_reset() local
88 hwm = (pba << 10) - (adapter->max_frame_size + MAX_JUMBO_FRAME_SIZE); in igc_reset()
90 fc->high_water = hwm & 0xFFFFFFF0; /* 16-byte granularity */ in igc_reset()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000/
H A De1000_main.c556 u16 hwm; in e1000_reset() local
666 hwm = min(((pba << 10) * 9 / 10), in e1000_reset()
669 hw->fc_high_water = hwm & 0xFFF8; /* 8-byte granularity */ in e1000_reset()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/e1000/
H A De1000_main.c556 u16 hwm; in e1000_reset() local
666 hwm = min(((pba << 10) * 9 / 10), in e1000_reset()
669 hw->fc_high_water = hwm & 0xFFF8; /* 8-byte granularity */ in e1000_reset()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/e1000e/
H A Dnetdev.c3970 u16 hwm; in e1000e_reset() local
4045 hwm = min(((pba << 10) * 9 / 10), in e1000e_reset()
4048 fc->high_water = hwm & E1000_FCRTH_RTH; /* 8-byte granularity */ in e1000e_reset()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/e1000e/
H A Dnetdev.c3962 u16 hwm; in e1000e_reset() local
4037 hwm = min(((pba << 10) * 9 / 10), in e1000e_reset()
4040 fc->high_water = hwm & E1000_FCRTH_RTH; /* 8-byte granularity */ in e1000e_reset()

Completed in 99 milliseconds

12