Home
last modified time | relevance | path

Searched refs:hw_feat (Results 1 – 5 of 5) sorted by relevance

/freebsd-12-stable/sys/dev/axgbe/
Dxgbe-drv.c369 struct xgbe_hw_features *hw_feat = &pdata->hw_feat; in xgbe_get_all_hw_features() local
377 memset(hw_feat, 0, sizeof(*hw_feat)); in xgbe_get_all_hw_features()
379 hw_feat->version = XGMAC_IOREAD(pdata, MAC_VR); in xgbe_get_all_hw_features()
382 hw_feat->gmii = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, GMIISEL); in xgbe_get_all_hw_features()
383 hw_feat->vlhash = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, VLHASH); in xgbe_get_all_hw_features()
384 hw_feat->sma = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, SMASEL); in xgbe_get_all_hw_features()
385 hw_feat->rwk = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, RWKSEL); in xgbe_get_all_hw_features()
386 hw_feat->mgk = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, MGKSEL); in xgbe_get_all_hw_features()
387 hw_feat->mmc = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, MMCSEL); in xgbe_get_all_hw_features()
388 hw_feat->aoe = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, ARPOFFSEL); in xgbe_get_all_hw_features()
[all …]
Dxgbe-dev.c360 if (!pdata->hw_feat.rss) in xgbe_disable_rss()
371 if (!pdata->hw_feat.rss) in xgbe_config_rss()
530 q_count = max(pdata->hw_feat.tx_q_cnt, pdata->hw_feat.rx_q_cnt); in xgbe_enable_mtl_interrupts()
718 addn_macs = pdata->hw_feat.addn_mac; in xgbe_set_mac_addn_addrs()
1301 if (XGMAC_GET_BITS(pdata->hw_feat.version, MAC_VR, SNPSVER) < 0x21) in xgbe_flush_tx_queues()
1364 for (i = 0; i < pdata->hw_feat.tc_cnt; i++) { in xgbe_config_mtl_mode()
1404 fifo_size = xgbe_calculate_per_queue_fifo(pdata->hw_feat.tx_fifo_size, in xgbe_config_tx_fifo_size()
1416 fifo_size = xgbe_calculate_per_queue_fifo(pdata->hw_feat.rx_fifo_size, in xgbe_config_rx_fifo_size()
1434 qptc = pdata->tx_q_count / pdata->hw_feat.tc_cnt; in xgbe_config_queue_mapping()
1435 qptc_extra = pdata->tx_q_count % pdata->hw_feat.tc_cnt; in xgbe_config_queue_mapping()
[all …]
Dxgbe.h802 struct xgbe_hw_features hw_feat; member
Dif_axgbe.c518 sc->prv.rx_q_count = sc->prv.hw_feat.rx_q_cnt; in axgbe_attach()
/freebsd-12-stable/contrib/opencsd/decoder/include/opencsd/stm/
Dtrc_cmp_cfg_stm.h77 void setHWTraceFeat(const hw_event_feat_t hw_feat); //!< set usage of STM HW event trace.
121 inline void STMConfig::setHWTraceFeat(const hw_event_feat_t hw_feat) in setHWTraceFeat() argument
123 m_cfg.hw_event = hw_feat; in setHWTraceFeat()