Searched refs:aq_hw_caps (Results 1 – 14 of 14) sorted by relevance
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_hw_utils.c | 45 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()
|
H A D | aq_nic.c | 73 cfg->vecs = min(cfg->aq_hw_caps->vecs, AQ_CFG_VECS_DEF); in aq_nic_cfg_update_num_vecs() 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() 1001 self->aq_nic_cfg.aq_hw_caps, in aq_nic_get_regs() 1015 return self->aq_nic_cfg.aq_hw_caps->mac_regs_count; in aq_nic_get_regs_count() [all …]
|
H A D | aq_pci_func.c | 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()
|
H A D | aq_main.c | 185 if (aq_cfg->aq_hw_caps->hw_features & NETIF_F_LRO) { in aq_ndev_set_features() 384 const unsigned int tcs_max = min_t(u8, aq_nic_cfg->aq_hw_caps->tcs_max, in aq_validate_mqprio_opt()
|
H A D | aq_ethtool.c | 837 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()
|
H A D | aq_nic.h | 42 const struct aq_hw_caps_s *aq_hw_caps; member
|
H A D | aq_hw.h | 298 const struct aq_hw_caps_s *aq_hw_caps,
|
H A D | aq_ring.c | 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()
|
H A D | aq_ptp.c | 977 aq_nic->aq_nic_cfg.aq_hw_caps->rxd_size); in aq_ptp_ring_alloc()
|
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
H A D | hw_atl_utils.c | 474 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()
|
H A D | hw_atl_utils.h | 609 const struct aq_hw_caps_s *aq_hw_caps,
|
H A D | hw_atl_b0.c | 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()
|
H A D | hw_atl_a0.c | 390 hw_atl_itr_irq_auto_masklsw_set(self, aq_nic_cfg->aq_hw_caps->irq_mask); in hw_atl_a0_hw_init()
|
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
H A D | hw_atl2.c | 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()
|