Searched refs:hw_feat (Results 1 – 8 of 8) sorted by relevance
| /freebsd/sys/dev/axgbe/ |
| H A D | xgbe-drv.c | 138 struct xgbe_hw_features *hw_feat = &pdata->hw_feat; in xgbe_get_all_hw_features() local 146 memset(hw_feat, 0, sizeof(*hw_feat)); in xgbe_get_all_hw_features() 148 hw_feat->version = XGMAC_IOREAD(pdata, MAC_VR); in xgbe_get_all_hw_features() 151 hw_feat->gmii = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, GMIISEL); in xgbe_get_all_hw_features() 152 hw_feat->vlhash = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, VLHASH); in xgbe_get_all_hw_features() 153 hw_feat->sma = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, SMASEL); in xgbe_get_all_hw_features() 154 hw_feat->rwk = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, RWKSEL); in xgbe_get_all_hw_features() 155 hw_feat->mgk = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, MGKSEL); in xgbe_get_all_hw_features() 156 hw_feat->mmc = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, MMCSEL); in xgbe_get_all_hw_features() 157 hw_feat->aoe = XGMAC_GET_BITS(mac_hfr0, MAC_HWF0R, ARPOFFSEL); in xgbe_get_all_hw_features() [all …]
|
| H A D | xgbe-dcb.c | 124 ets->ets_cap = pdata->hw_feat.tc_cnt; 175 if (max_tc >= pdata->hw_feat.tc_cnt) { 210 pfc->pfc_cap = pdata->hw_feat.tc_cnt; 230 if (pfc->pfc_en & ~((1 << pdata->hw_feat.tc_cnt) - 1)) {
|
| H A D | xgbe-dev.c | 432 if (!pdata->hw_feat.rss) in xgbe_enable_rss() 459 if (!pdata->hw_feat.rss) in xgbe_disable_rss() 474 if (!pdata->hw_feat.rss) in xgbe_config_rss() 615 ver = XGMAC_GET_BITS(pdata->hw_feat.version, MAC_VR, SNPSVER); in xgbe_enable_dma_interrupts() 674 q_count = max(pdata->hw_feat.tx_q_cnt, pdata->hw_feat.rx_q_cnt); in xgbe_enable_mtl_interrupts() 934 addn_macs = pdata->hw_feat.addn_mac; in xgbe_set_mac_addn_addrs() 1658 if (XGMAC_GET_BITS(pdata->hw_feat.version, MAC_VR, SNPSVER) < 0x21) in xgbe_flush_tx_queues() 1725 for (i = 0; i < pdata->hw_feat.tc_cnt; i++) { in xgbe_config_mtl_mode() 1836 pdata->hw_feat.tx_fifo_size)); in xgbe_get_tx_fifo_size() 1844 pdata->hw_feat.rx_fifo_size)); in xgbe_get_rx_fifo_size() [all …]
|
| H A D | xgbe-sysctl.c | 527 struct xgbe_hw_features *hw_feat = &pdata->hw_feat; in sysctl_get_drv_info_handler() local 542 XGMAC_GET_BITS(hw_feat->version, MAC_VR, USERVER), in sysctl_get_drv_info_handler() 543 XGMAC_GET_BITS(hw_feat->version, MAC_VR, DEVID), in sysctl_get_drv_info_handler() 544 XGMAC_GET_BITS(hw_feat->version, MAC_VR, SNPSVER)); in sysctl_get_drv_info_handler() 1083 rx = min(pdata->hw_feat.rx_ch_cnt, pdata->rx_max_channel_count); in sysctl_channels_handler() 1085 tx = min(pdata->hw_feat.tx_ch_cnt, pdata->tx_max_channel_count); in sysctl_channels_handler()
|
| H A D | if_axgbe_pci.c | 615 pdata->tx_max_channel_count = pdata->hw_feat.tx_ch_cnt; in axgbe_set_counts() 617 pdata->rx_max_channel_count = pdata->hw_feat.rx_ch_cnt; in axgbe_set_counts() 620 pdata->tx_max_q_count = pdata->hw_feat.tx_q_cnt; in axgbe_set_counts() 622 pdata->rx_max_q_count = pdata->hw_feat.rx_q_cnt; in axgbe_set_counts() 640 pdata->tx_ring_count = min(CPU_COUNT(&lcpus), pdata->hw_feat.tx_ch_cnt); in axgbe_set_counts() 647 pdata->rx_ring_count = min(CPU_COUNT(&lcpus), pdata->hw_feat.rx_ch_cnt); in axgbe_set_counts() 651 pdata->rx_q_count = min(pdata->hw_feat.rx_q_cnt, pdata->rx_max_q_count); in axgbe_set_counts() 1427 pdata->tx_max_fifo_size = pdata->hw_feat.tx_fifo_size; in axgbe_if_attach_post() 1429 pdata->rx_max_fifo_size = pdata->hw_feat.rx_fifo_size; in axgbe_if_attach_post()
|
| H A D | if_axgbe.c | 517 sc->prv.rx_q_count = sc->prv.hw_feat.rx_q_cnt; in axgbe_attach()
|
| H A D | xgbe.h | 1203 struct xgbe_hw_features hw_feat; member
|
| /freebsd/contrib/opencsd/decoder/include/opencsd/stm/ |
| H A D | trc_cmp_cfg_stm.h | 77 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()
|