Searched refs:aq_hw_caps (Results 1 – 12 of 12) sorted by relevance
87 cfg->rxds = min(cfg->aq_hw_caps->rxds_max, AQ_CFG_RXDS_DEF); in aq_nic_cfg_start()88 cfg->txds = min(cfg->aq_hw_caps->txds_max, AQ_CFG_TXDS_DEF); in aq_nic_cfg_start()91 cfg->vecs = min(cfg->aq_hw_caps->vecs, AQ_CFG_VECS_DEF); in aq_nic_cfg_start()112 (cfg->aq_hw_caps->vecs == 1U) || in aq_nic_cfg_start()127 cfg->link_speed_msk &= cfg->aq_hw_caps->link_speed_msk; in aq_nic_cfg_start()128 cfg->features = cfg->aq_hw_caps->hw_features; in aq_nic_cfg_start()285 const struct aq_hw_caps_s *aq_hw_caps = self->aq_nic_cfg.aq_hw_caps; in aq_nic_ndev_init() local288 self->ndev->hw_features |= aq_hw_caps->hw_features; in aq_nic_ndev_init()289 self->ndev->features = aq_hw_caps->hw_features; in aq_nic_ndev_init()293 self->ndev->priv_flags = aq_hw_caps->hw_priv_flags; in aq_nic_ndev_init()[all …]
42 hw->aq_nic_cfg->aq_hw_caps->hw_alive_check_addr)) in aq_hw_read_reg()
228 &aq_nic_get_cfg(self)->aq_hw_caps); in aq_pci_probe()270 aq_nic_get_cfg(self)->aq_hw_caps->msix_irqs); in aq_pci_probe()
531 ring->rx_max_pending = aq_nic_cfg->aq_hw_caps->rxds_max; in aq_get_ringparam()532 ring->tx_max_pending = aq_nic_cfg->aq_hw_caps->txds_max; in aq_get_ringparam()542 const struct aq_hw_caps_s *hw_caps = aq_nic_cfg->aq_hw_caps; in aq_set_ringparam()
22 const struct aq_hw_caps_s *aq_hw_caps; member
133 self->dx_size = aq_nic_cfg->aq_hw_caps->txd_size; in aq_ring_tx_alloc()159 self->dx_size = aq_nic_cfg->aq_hw_caps->rxd_size; in aq_ring_rx_alloc()
142 if (aq_cfg->aq_hw_caps->hw_features & NETIF_F_LRO) { in aq_ndev_set_features()
228 const struct aq_hw_caps_s *aq_hw_caps,
395 const struct aq_hw_caps_s *aq_hw_caps) in hw_atl_utils_init_ucp() argument505 err = hw_atl_utils_init_ucp(self, self->aq_nic_cfg->aq_hw_caps); in hw_atl_utils_mpi_create()832 const struct aq_hw_caps_s *aq_hw_caps, in hw_atl_utils_hw_get_regs() argument837 for (i = 0; i < aq_hw_caps->mac_regs_count; i++) in hw_atl_utils_hw_get_regs()
461 const struct aq_hw_caps_s *aq_hw_caps,
388 hw_atl_itr_irq_auto_masklsw_set(self, aq_nic_cfg->aq_hw_caps->irq_mask); in hw_atl_a0_hw_init()
440 hw_atl_itr_irq_auto_masklsw_set(self, aq_nic_cfg->aq_hw_caps->irq_mask); in hw_atl_b0_hw_init()