Home
last modified time | relevance | path

Searched refs:aq_hw_caps (Results 1 – 11 of 11) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/aquantia/atlantic/
Daq_nic.c92 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() local
248 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 …]
Daq_ethtool.c350 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()
Daq_hw_utils.c45 hw->aq_nic_cfg->aq_hw_caps->hw_alive_check_addr)) in aq_hw_read_reg()
Daq_ring.c57 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()
Daq_pci_func.c224 &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()
Daq_nic.h25 const struct aq_hw_caps_s *aq_hw_caps; member
Daq_hw.h200 const struct aq_hw_caps_s *aq_hw_caps,
/Linux-v4.19/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_utils.c364 const struct aq_hw_caps_s *aq_hw_caps) in hw_atl_utils_init_ucp() argument
479 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() argument
816 for (i = 0; i < aq_hw_caps->mac_regs_count; i++) in hw_atl_utils_hw_get_regs()
Dhw_atl_utils.h306 const struct aq_hw_caps_s *aq_hw_caps,
Dhw_atl_b0.c422 hw_atl_itr_irq_auto_masklsw_set(self, aq_nic_cfg->aq_hw_caps->irq_mask); in hw_atl_b0_hw_init()
Dhw_atl_a0.c382 hw_atl_itr_irq_auto_masklsw_set(self, aq_nic_cfg->aq_hw_caps->irq_mask); in hw_atl_a0_hw_init()