Searched refs:aq_hw_caps (Results 1 – 11 of 11) sorted by relevance
92 cfg->rxds = min(cfg->aq_hw_caps->rxds_max, AQ_CFG_RXDS_DEF); in aq_nic_cfg_start()93 cfg->txds = min(cfg->aq_hw_caps->txds_max, AQ_CFG_TXDS_DEF); in aq_nic_cfg_start()96 cfg->vecs = min(cfg->aq_hw_caps->vecs, AQ_CFG_VECS_DEF); in aq_nic_cfg_start()114 (cfg->aq_hw_caps->vecs == 1U) || in aq_nic_cfg_start()120 cfg->link_speed_msk &= cfg->aq_hw_caps->link_speed_msk; in aq_nic_cfg_start()121 cfg->hw_features = cfg->aq_hw_caps->hw_features; in aq_nic_cfg_start()245 const struct aq_hw_caps_s *aq_hw_caps = self->aq_nic_cfg.aq_hw_caps; in aq_nic_ndev_init() local248 self->ndev->hw_features |= aq_hw_caps->hw_features; in aq_nic_ndev_init()249 self->ndev->features = aq_hw_caps->hw_features; in aq_nic_ndev_init()252 self->ndev->priv_flags = aq_hw_caps->hw_priv_flags; in aq_nic_ndev_init()[all …]
350 ring->rx_max_pending = aq_nic_cfg->aq_hw_caps->rxds_max; in aq_get_ringparam()351 ring->tx_max_pending = aq_nic_cfg->aq_hw_caps->txds_max; in aq_get_ringparam()361 const struct aq_hw_caps_s *hw_caps = aq_nic_cfg->aq_hw_caps; in aq_set_ringparam()
45 hw->aq_nic_cfg->aq_hw_caps->hw_alive_check_addr)) in aq_hw_read_reg()
57 self->dx_size = aq_nic_cfg->aq_hw_caps->txd_size; in aq_ring_tx_alloc()83 self->dx_size = aq_nic_cfg->aq_hw_caps->rxd_size; in aq_ring_rx_alloc()
224 &aq_nic_get_cfg(self)->aq_hw_caps); in aq_pci_probe()266 aq_nic_get_cfg(self)->aq_hw_caps->msix_irqs); in aq_pci_probe()
25 const struct aq_hw_caps_s *aq_hw_caps; member
200 const struct aq_hw_caps_s *aq_hw_caps,
364 const struct aq_hw_caps_s *aq_hw_caps) in hw_atl_utils_init_ucp() argument479 err = hw_atl_utils_init_ucp(self, self->aq_nic_cfg->aq_hw_caps); in hw_atl_utils_mpi_create()811 const struct aq_hw_caps_s *aq_hw_caps, in hw_atl_utils_hw_get_regs() argument816 for (i = 0; i < aq_hw_caps->mac_regs_count; i++) in hw_atl_utils_hw_get_regs()
306 const struct aq_hw_caps_s *aq_hw_caps,
422 hw_atl_itr_irq_auto_masklsw_set(self, aq_nic_cfg->aq_hw_caps->irq_mask); in hw_atl_b0_hw_init()
382 hw_atl_itr_irq_auto_masklsw_set(self, aq_nic_cfg->aq_hw_caps->irq_mask); in hw_atl_a0_hw_init()