Home
last modified time | relevance | path

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

12

/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/aquantia/atlantic/
H 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()
367 const struct aq_hw_caps_s *aq_hw_caps = self->aq_nic_cfg.aq_hw_caps; in aq_nic_ndev_init() local
370 self->ndev->hw_features |= aq_hw_caps->hw_features; in aq_nic_ndev_init()
371 self->ndev->features = aq_hw_caps->hw_features; in aq_nic_ndev_init()
376 self->ndev->priv_flags = aq_hw_caps->hw_priv_flags; in aq_nic_ndev_init()
856 self->aq_nic_cfg.aq_hw_caps, in aq_nic_get_regs()
870 return self->aq_nic_cfg.aq_hw_caps->mac_regs_count; in aq_nic_get_regs_count()
[all …]
H 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()
H A Daq_pci_func.c244 &aq_nic_get_cfg(self)->aq_hw_caps); in aq_pci_probe()
254 if (self->aq_hw->aq_nic_cfg->aq_hw_caps->priv_data_len) { in aq_pci_probe()
255 int len = self->aq_hw->aq_nic_cfg->aq_hw_caps->priv_data_len; in aq_pci_probe()
295 aq_nic_get_cfg(self)->aq_hw_caps->msix_irqs); in aq_pci_probe()
H A Daq_main.c172 if (aq_cfg->aq_hw_caps->hw_features & NETIF_F_LRO) { in aq_ndev_set_features()
355 const unsigned int tcs_max = min_t(u8, aq_nic_cfg->aq_hw_caps->tcs_max, in aq_validate_mqprio_opt()
H A Daq_ethtool.c821 ring->rx_max_pending = cfg->aq_hw_caps->rxds_max; in aq_get_ringparam()
822 ring->tx_max_pending = cfg->aq_hw_caps->txds_max; in aq_get_ringparam()
835 hw_caps = cfg->aq_hw_caps; in aq_set_ringparam()
H A Daq_nic.h40 const struct aq_hw_caps_s *aq_hw_caps; member
H A Daq_ring.c147 self->dx_size = aq_nic_cfg->aq_hw_caps->txd_size; in aq_ring_tx_alloc()
174 self->dx_size = aq_nic_cfg->aq_hw_caps->rxd_size; in aq_ring_rx_alloc()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/aquantia/atlantic/
H 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()
367 const struct aq_hw_caps_s *aq_hw_caps = self->aq_nic_cfg.aq_hw_caps; in aq_nic_ndev_init() local
370 self->ndev->hw_features |= aq_hw_caps->hw_features; in aq_nic_ndev_init()
371 self->ndev->features = aq_hw_caps->hw_features; in aq_nic_ndev_init()
376 self->ndev->priv_flags = aq_hw_caps->hw_priv_flags; in aq_nic_ndev_init()
856 self->aq_nic_cfg.aq_hw_caps, in aq_nic_get_regs()
870 return self->aq_nic_cfg.aq_hw_caps->mac_regs_count; in aq_nic_get_regs_count()
[all …]
H 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()
H A Daq_pci_func.c244 &aq_nic_get_cfg(self)->aq_hw_caps); in aq_pci_probe()
254 if (self->aq_hw->aq_nic_cfg->aq_hw_caps->priv_data_len) { in aq_pci_probe()
255 int len = self->aq_hw->aq_nic_cfg->aq_hw_caps->priv_data_len; in aq_pci_probe()
295 aq_nic_get_cfg(self)->aq_hw_caps->msix_irqs); in aq_pci_probe()
H A Daq_main.c172 if (aq_cfg->aq_hw_caps->hw_features & NETIF_F_LRO) { in aq_ndev_set_features()
355 const unsigned int tcs_max = min_t(u8, aq_nic_cfg->aq_hw_caps->tcs_max, in aq_validate_mqprio_opt()
H A Daq_ethtool.c821 ring->rx_max_pending = cfg->aq_hw_caps->rxds_max; in aq_get_ringparam()
822 ring->tx_max_pending = cfg->aq_hw_caps->txds_max; in aq_get_ringparam()
835 hw_caps = cfg->aq_hw_caps; in aq_set_ringparam()
H A Daq_nic.h40 const struct aq_hw_caps_s *aq_hw_caps; member
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/aquantia/atlantic/
H 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()
367 const struct aq_hw_caps_s *aq_hw_caps = self->aq_nic_cfg.aq_hw_caps; in aq_nic_ndev_init() local
370 self->ndev->hw_features |= aq_hw_caps->hw_features; in aq_nic_ndev_init()
371 self->ndev->features = aq_hw_caps->hw_features; in aq_nic_ndev_init()
376 self->ndev->priv_flags = aq_hw_caps->hw_priv_flags; in aq_nic_ndev_init()
856 self->aq_nic_cfg.aq_hw_caps, in aq_nic_get_regs()
870 return self->aq_nic_cfg.aq_hw_caps->mac_regs_count; in aq_nic_get_regs_count()
[all …]
H 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()
H A Daq_pci_func.c244 &aq_nic_get_cfg(self)->aq_hw_caps); in aq_pci_probe()
254 if (self->aq_hw->aq_nic_cfg->aq_hw_caps->priv_data_len) { in aq_pci_probe()
255 int len = self->aq_hw->aq_nic_cfg->aq_hw_caps->priv_data_len; in aq_pci_probe()
295 aq_nic_get_cfg(self)->aq_hw_caps->msix_irqs); in aq_pci_probe()
H A Daq_main.c172 if (aq_cfg->aq_hw_caps->hw_features & NETIF_F_LRO) { in aq_ndev_set_features()
355 const unsigned int tcs_max = min_t(u8, aq_nic_cfg->aq_hw_caps->tcs_max, in aq_validate_mqprio_opt()
H A Daq_ethtool.c821 ring->rx_max_pending = cfg->aq_hw_caps->rxds_max; in aq_get_ringparam()
822 ring->tx_max_pending = cfg->aq_hw_caps->txds_max; in aq_get_ringparam()
835 hw_caps = cfg->aq_hw_caps; in aq_set_ringparam()
H A Daq_nic.h40 const struct aq_hw_caps_s *aq_hw_caps; member
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_utils.c474 const struct aq_hw_caps_s *aq_hw_caps) in hw_atl_utils_init_ucp() argument
593 err = hw_atl_utils_init_ucp(self, self->aq_nic_cfg->aq_hw_caps); in hw_atl_utils_mpi_create()
929 const struct aq_hw_caps_s *aq_hw_caps, in hw_atl_utils_hw_get_regs() argument
934 for (i = 0; i < aq_hw_caps->mac_regs_count; i++) in hw_atl_utils_hw_get_regs()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_utils.c474 const struct aq_hw_caps_s *aq_hw_caps) in hw_atl_utils_init_ucp() argument
593 err = hw_atl_utils_init_ucp(self, self->aq_nic_cfg->aq_hw_caps); in hw_atl_utils_mpi_create()
929 const struct aq_hw_caps_s *aq_hw_caps, in hw_atl_utils_hw_get_regs() argument
934 for (i = 0; i < aq_hw_caps->mac_regs_count; i++) in hw_atl_utils_hw_get_regs()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_utils.c474 const struct aq_hw_caps_s *aq_hw_caps) in hw_atl_utils_init_ucp() argument
593 err = hw_atl_utils_init_ucp(self, self->aq_nic_cfg->aq_hw_caps); in hw_atl_utils_mpi_create()
929 const struct aq_hw_caps_s *aq_hw_caps, in hw_atl_utils_hw_get_regs() argument
934 for (i = 0; i < aq_hw_caps->mac_regs_count; i++) in hw_atl_utils_hw_get_regs()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
H A Dhw_atl2.c243 fixed_max_credit = nic_cfg->aq_hw_caps->mtu / 64; in hw_atl2_hw_init_tx_tc_rate_limit()
245 fixed_max_credit_4b = nic_cfg->aq_hw_caps->mtu / 4; in hw_atl2_hw_init_tx_tc_rate_limit()
570 hw_atl_itr_irq_auto_masklsw_set(self, aq_nic_cfg->aq_hw_caps->irq_mask); in hw_atl2_hw_init()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
H A Dhw_atl2.c243 fixed_max_credit = nic_cfg->aq_hw_caps->mtu / 64; in hw_atl2_hw_init_tx_tc_rate_limit()
245 fixed_max_credit_4b = nic_cfg->aq_hw_caps->mtu / 4; in hw_atl2_hw_init_tx_tc_rate_limit()
570 hw_atl_itr_irq_auto_masklsw_set(self, aq_nic_cfg->aq_hw_caps->irq_mask); in hw_atl2_hw_init()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
H A Dhw_atl2.c243 fixed_max_credit = nic_cfg->aq_hw_caps->mtu / 64; in hw_atl2_hw_init_tx_tc_rate_limit()
245 fixed_max_credit_4b = nic_cfg->aq_hw_caps->mtu / 4; in hw_atl2_hw_init_tx_tc_rate_limit()
570 hw_atl_itr_irq_auto_masklsw_set(self, aq_nic_cfg->aq_hw_caps->irq_mask); in hw_atl2_hw_init()

12