Searched refs:aq_hw_caps (Results 1 – 11 of 11) sorted by relevance
46 readl(hw->mmio + hw->aq_nic_cfg->aq_hw_caps->hw_alive_check_addr) == U32_MAX) in aq_hw_read_reg()65 if (hw->aq_nic_cfg->aq_hw_caps->op64bit) in aq_hw_read_reg64()71 readl(hw->mmio + hw->aq_nic_cfg->aq_hw_caps->hw_alive_check_addr) == U32_MAX) in aq_hw_read_reg64()79 if (hw->aq_nic_cfg->aq_hw_caps->op64bit) in aq_hw_write_reg64()
73 cfg->vecs = min(cfg->aq_hw_caps->vecs, AQ_CFG_VECS_DEF); in aq_nic_cfg_update_num_vecs()123 cfg->rxds = min(cfg->aq_hw_caps->rxds_max, AQ_CFG_RXDS_DEF); in aq_nic_cfg_start()124 cfg->txds = min(cfg->aq_hw_caps->txds_max, AQ_CFG_TXDS_DEF); in aq_nic_cfg_start()131 (cfg->aq_hw_caps->vecs == 1U) || in aq_nic_cfg_start()146 cfg->link_speed_msk &= cfg->aq_hw_caps->link_speed_msk; in aq_nic_cfg_start()147 cfg->features = cfg->aq_hw_caps->hw_features; in aq_nic_cfg_start()371 const struct aq_hw_caps_s *aq_hw_caps = self->aq_nic_cfg.aq_hw_caps; in aq_nic_ndev_init() local374 self->ndev->hw_features |= aq_hw_caps->hw_features; in aq_nic_ndev_init()375 self->ndev->features = aq_hw_caps->hw_features; in aq_nic_ndev_init()380 self->ndev->priv_flags = aq_hw_caps->hw_priv_flags; in aq_nic_ndev_init()[all …]
243 &aq_nic_get_cfg(self)->aq_hw_caps); in aq_pci_probe()253 if (self->aq_hw->aq_nic_cfg->aq_hw_caps->priv_data_len) { in aq_pci_probe()254 int len = self->aq_hw->aq_nic_cfg->aq_hw_caps->priv_data_len; in aq_pci_probe()294 aq_nic_get_cfg(self)->aq_hw_caps->msix_irqs); in aq_pci_probe()
829 ring->rx_max_pending = cfg->aq_hw_caps->rxds_max; in aq_get_ringparam()830 ring->tx_max_pending = cfg->aq_hw_caps->txds_max; in aq_get_ringparam()845 hw_caps = cfg->aq_hw_caps; in aq_set_ringparam()989 if (aq_nic->aq_nic_cfg.aq_hw_caps->media_type != AQ_HW_MEDIA_TYPE_FIBRE || in aq_ethtool_get_module_info()
42 const struct aq_hw_caps_s *aq_hw_caps; member
300 const struct aq_hw_caps_s *aq_hw_caps,
172 self->dx_size = aq_nic_cfg->aq_hw_caps->txd_size; in aq_ring_tx_alloc()185 self->dx_size = aq_nic_cfg->aq_hw_caps->rxd_size; in aq_ring_rx_alloc()
474 const struct aq_hw_caps_s *aq_hw_caps) in hw_atl_utils_init_ucp() argument603 err = hw_atl_utils_init_ucp(self, self->aq_nic_cfg->aq_hw_caps); in hw_atl_utils_mpi_create()950 const struct aq_hw_caps_s *aq_hw_caps, in hw_atl_utils_hw_get_regs() argument955 for (i = 0; i < aq_hw_caps->mac_regs_count; i++) in hw_atl_utils_hw_get_regs()
608 const struct aq_hw_caps_s *aq_hw_caps,
349 fixed_max_credit = nic_cfg->aq_hw_caps->mtu / 64; in hw_atl_b0_hw_init_tx_tc_rate_limit()611 hw_atl_itr_irq_auto_masklsw_set(self, aq_nic_cfg->aq_hw_caps->irq_mask); in hw_atl_b0_hw_init()
257 fixed_max_credit = nic_cfg->aq_hw_caps->mtu / 64; in hw_atl2_hw_init_tx_tc_rate_limit()259 fixed_max_credit_4b = nic_cfg->aq_hw_caps->mtu / 4; in hw_atl2_hw_init_tx_tc_rate_limit()584 hw_atl_itr_irq_auto_masklsw_set(self, aq_nic_cfg->aq_hw_caps->irq_mask); in hw_atl2_hw_init()