Searched refs:hw_feat (Results 1 – 12 of 12) sorted by relevance
/linux-6.3-rc2/drivers/net/ethernet/synopsys/ |
A D | dwc-xlgmac-common.c | 181 if (pdata->hw_feat.tso) { in xlgmac_init() 197 if (pdata->hw_feat.rss) in xlgmac_init() 205 if (pdata->hw_feat.vlhash) in xlgmac_init() 361 struct xlgmac_hw_features *hw_feat = &pdata->hw_feat; in xlgmac_get_all_hw_features() local 368 memset(hw_feat, 0, sizeof(*hw_feat)); in xlgmac_get_all_hw_features() 492 hw_feat->dma_width = 32; in xlgmac_get_all_hw_features() 507 hw_feat->rx_q_cnt++; in xlgmac_get_all_hw_features() 508 hw_feat->tx_q_cnt++; in xlgmac_get_all_hw_features() 509 hw_feat->rx_ch_cnt++; in xlgmac_get_all_hw_features() 510 hw_feat->tx_ch_cnt++; in xlgmac_get_all_hw_features() [all …]
|
A D | dwc-xlgmac-hw.c | 303 addn_macs = pdata->hw_feat.addn_mac; in xlgmac_set_mac_addn_addrs() 365 if (pdata->hw_feat.hash_table_size) in xlgmac_add_mac_addresses() 380 if (pdata->hw_feat.hash_table_size) { in xlgmac_config_mac_address() 1388 if (pdata->hw_feat.tso) { in xlgmac_config_tso_mode() 1485 for (i = 0; i < pdata->hw_feat.tc_cnt; i++) { in xlgmac_config_mtl_mode() 1637 pdata->hw_feat.tx_fifo_size, in xlgmac_config_tx_fifo_size() 1659 pdata->hw_feat.rx_fifo_size, in xlgmac_config_rx_fifo_size() 2389 if (!pdata->hw_feat.rss) in xlgmac_enable_rss() 2418 if (!pdata->hw_feat.rss) in xlgmac_disable_rss() 2433 if (!pdata->hw_feat.rss) in xlgmac_config_rss() [all …]
|
A D | dwc-xlgmac-ethtool.c | 102 u32 ver = pdata->hw_feat.version; in xlgmac_ethtool_get_drvinfo()
|
A D | dwc-xlgmac.h | 559 struct xlgmac_hw_features hw_feat; member
|
/linux-6.3-rc2/drivers/net/ethernet/amd/xgbe/ |
A D | xgbe-drv.c | 733 struct xgbe_hw_features *hw_feat = &pdata->hw_feat; in xgbe_get_all_hw_features() local 739 memset(hw_feat, 0, sizeof(*hw_feat)); in xgbe_get_all_hw_features() 820 hw_feat->rx_q_cnt++; in xgbe_get_all_hw_features() 821 hw_feat->tx_q_cnt++; in xgbe_get_all_hw_features() 822 hw_feat->rx_ch_cnt++; in xgbe_get_all_hw_features() 823 hw_feat->tx_ch_cnt++; in xgbe_get_all_hw_features() 824 hw_feat->tc_cnt++; in xgbe_get_all_hw_features() 827 hw_feat->rx_fifo_size = 1 << (hw_feat->rx_fifo_size + 7); in xgbe_get_all_hw_features() 828 hw_feat->tx_fifo_size = 1 << (hw_feat->tx_fifo_size + 7); in xgbe_get_all_hw_features() 857 hw_feat->addn_mac); in xgbe_get_all_hw_features() [all …]
|
A D | xgbe-main.c | 221 pdata->tx_max_channel_count = pdata->hw_feat.tx_ch_cnt; in xgbe_set_counts() 223 pdata->rx_max_channel_count = pdata->hw_feat.rx_ch_cnt; in xgbe_set_counts() 226 pdata->tx_max_q_count = pdata->hw_feat.tx_q_cnt; in xgbe_set_counts() 228 pdata->rx_max_q_count = pdata->hw_feat.rx_q_cnt; in xgbe_set_counts() 238 pdata->hw_feat.tx_ch_cnt); in xgbe_set_counts() 247 pdata->hw_feat.rx_ch_cnt); in xgbe_set_counts() 292 DMA_BIT_MASK(pdata->hw_feat.dma_width)); in xgbe_config_netdev() 300 pdata->tx_max_fifo_size = pdata->hw_feat.tx_fifo_size; in xgbe_config_netdev() 302 pdata->rx_max_fifo_size = pdata->hw_feat.rx_fifo_size; in xgbe_config_netdev() 356 if (pdata->hw_feat.rss) in xgbe_config_netdev() [all …]
|
A D | xgbe-dcb.c | 129 ets->ets_cap = pdata->hw_feat.tc_cnt; in xgbe_dcb_ieee_getets() 181 if (max_tc >= pdata->hw_feat.tc_cnt) { in xgbe_dcb_ieee_setets() 216 pfc->pfc_cap = pdata->hw_feat.tc_cnt; in xgbe_dcb_ieee_getpfc() 237 if (pfc->pfc_en & ~((1 << pdata->hw_feat.tc_cnt) - 1)) { in xgbe_dcb_ieee_setpfc()
|
A D | xgbe-ethtool.c | 403 struct xgbe_hw_features *hw_feat = &pdata->hw_feat; in xgbe_get_drvinfo() local 409 XGMAC_GET_BITS(hw_feat->version, MAC_VR, USERVER), in xgbe_get_drvinfo() 410 XGMAC_GET_BITS(hw_feat->version, MAC_VR, DEVID), in xgbe_get_drvinfo() 411 XGMAC_GET_BITS(hw_feat->version, MAC_VR, SNPSVER)); in xgbe_get_drvinfo() 702 rx = min(pdata->hw_feat.rx_ch_cnt, pdata->rx_max_channel_count); in xgbe_get_channels() 704 tx = min(pdata->hw_feat.tx_ch_cnt, pdata->tx_max_channel_count); in xgbe_get_channels() 747 rx = min(pdata->hw_feat.rx_ch_cnt, pdata->rx_max_channel_count); in xgbe_set_channels() 749 tx = min(pdata->hw_feat.tx_ch_cnt, pdata->tx_max_channel_count); in xgbe_set_channels()
|
A D | xgbe-dev.c | 413 if (!pdata->hw_feat.rss) in xgbe_enable_rss() 437 if (!pdata->hw_feat.rss) in xgbe_disable_rss() 449 if (!pdata->hw_feat.rss) in xgbe_config_rss() 494 if (!pdata->hw_feat.vxn) in xgbe_enable_vxlan() 512 if (!pdata->hw_feat.vxn) in xgbe_disable_vxlan() 725 q_count = max(pdata->hw_feat.tx_q_cnt, pdata->hw_feat.rx_q_cnt); in xgbe_enable_mtl_interrupts() 1023 addn_macs = pdata->hw_feat.addn_mac; in xgbe_set_mac_addn_addrs() 1085 if (pdata->hw_feat.hash_table_size) in xgbe_add_mac_addresses() 2424 pdata->hw_feat.tx_fifo_size); in xgbe_get_tx_fifo_size() 2431 pdata->hw_feat.rx_fifo_size); in xgbe_get_rx_fifo_size() [all …]
|
A D | xgbe-phy-v2.c | 2255 ver = XGMAC_GET_BITS(pdata->hw_feat.version, MAC_VR, SNPSVER); in enable_rx_adap() 2786 ver = XGMAC_GET_BITS(pdata->hw_feat.version, MAC_VR, SNPSVER); in xgbe_phy_valid_speed_baset_mode() 2810 ver = XGMAC_GET_BITS(pdata->hw_feat.version, MAC_VR, SNPSVER); in xgbe_phy_valid_speed_sfp_mode() 3162 ver = XGMAC_GET_BITS(pdata->hw_feat.version, MAC_VR, SNPSVER); in xgbe_phy_port_mode_mismatch()
|
A D | xgbe.h | 1243 struct xgbe_hw_features hw_feat; member
|
/linux-6.3-rc2/drivers/gpu/drm/panfrost/ |
A D | panfrost_gpu.c | 213 u64 hw_feat = 0; in panfrost_gpu_init_features() local 278 hw_feat = model->features; in panfrost_gpu_init_features() 294 bitmap_from_u64(pfdev->features.hw_features, hw_feat); in panfrost_gpu_init_features()
|
Completed in 45 milliseconds