Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/ethernet/aquantia/atlantic/
A 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()
A Daq_nic.c73 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 …]
A 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()
A Daq_main.c185 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()
A 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()
A Daq_nic.h42 const struct aq_hw_caps_s *aq_hw_caps; member
A Daq_hw.h298 const struct aq_hw_caps_s *aq_hw_caps,
A Daq_ring.c175 self->dx_size = aq_nic_cfg->aq_hw_caps->txd_size; in aq_ring_tx_alloc()
202 self->dx_size = aq_nic_cfg->aq_hw_caps->rxd_size; in aq_ring_rx_alloc()
A Daq_ptp.c983 aq_nic->aq_nic_cfg.aq_hw_caps->rxd_size); in aq_ptp_ring_alloc()
/linux-6.3-rc2/drivers/net/ethernet/aquantia/atlantic/hw_atl/
A 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()
A Dhw_atl_utils.h609 const struct aq_hw_caps_s *aq_hw_caps,
A 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()
A 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()
/linux-6.3-rc2/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
A 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()

Completed in 31 milliseconds