Home
last modified time | relevance | path

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

/drivers/net/ethernet/aquantia/atlantic/
Daq_nic.c73 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() local
374 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 …]
Daq_hw_utils.c45 readl(hw->mmio + hw->aq_nic_cfg->aq_hw_caps->hw_alive_check_addr) == U32_MAX) in aq_hw_read_reg()
64 if (hw->aq_nic_cfg->aq_hw_caps->op64bit) in aq_hw_read_reg64()
70 readl(hw->mmio + hw->aq_nic_cfg->aq_hw_caps->hw_alive_check_addr) == U32_MAX) in aq_hw_read_reg64()
78 if (hw->aq_nic_cfg->aq_hw_caps->op64bit) in aq_hw_write_reg64()
Daq_pci_func.c243 &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()
Daq_main.c184 if (aq_cfg->aq_hw_caps->hw_features & NETIF_F_LRO) { in aq_ndev_set_features()
383 const unsigned int tcs_max = min_t(u8, aq_nic_cfg->aq_hw_caps->tcs_max, in aq_validate_mqprio_opt()
Daq_ethtool.c837 ring->rx_max_pending = cfg->aq_hw_caps->rxds_max; in aq_get_ringparam()
838 ring->tx_max_pending = cfg->aq_hw_caps->txds_max; in aq_get_ringparam()
853 hw_caps = cfg->aq_hw_caps; in aq_set_ringparam()
Daq_nic.h42 const struct aq_hw_caps_s *aq_hw_caps; member
Daq_hw.h298 const struct aq_hw_caps_s *aq_hw_caps,
Daq_ring.c172 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()
Daq_ptp.c977 aq_nic->aq_nic_cfg.aq_hw_caps->rxd_size); in aq_ptp_ring_alloc()
/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_utils.c474 const struct aq_hw_caps_s *aq_hw_caps) in hw_atl_utils_init_ucp() argument
603 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() argument
955 for (i = 0; i < aq_hw_caps->mac_regs_count; i++) in hw_atl_utils_hw_get_regs()
Dhw_atl_utils.h609 const struct aq_hw_caps_s *aq_hw_caps,
Dhw_atl_b0.c349 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()
Dhw_atl_a0.c390 hw_atl_itr_irq_auto_masklsw_set(self, aq_nic_cfg->aq_hw_caps->irq_mask); in hw_atl_a0_hw_init()
/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
Dhw_atl2.c257 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()