Lines Matching refs:hw_feat
303 addn_macs = pdata->hw_feat.addn_mac; in xlgmac_set_mac_addn_addrs()
338 hash_table_shift = 26 - (pdata->hw_feat.hash_table_size >> 7); in xlgmac_set_mac_hash_table()
339 hash_table_count = pdata->hw_feat.hash_table_size / 32; in xlgmac_set_mac_hash_table()
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()
1515 qptc = pdata->tx_q_count / pdata->hw_feat.tc_cnt; in xlgmac_config_queue_mapping()
1516 qptc_extra = pdata->tx_q_count % pdata->hw_feat.tc_cnt; in xlgmac_config_queue_mapping()
1518 for (i = 0, queue = 0; i < pdata->hw_feat.tc_cnt; i++) { in xlgmac_config_queue_mapping()
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()
2516 q_count = max(pdata->hw_feat.tx_q_cnt, pdata->hw_feat.rx_q_cnt); in xlgmac_enable_mtl_interrupts()