/linux-6.3-rc2/drivers/net/ethernet/amd/xgbe/ |
A D | xgbe.h | 350 struct xgbe_prv_data; 501 struct xgbe_prv_data *pdata; 799 int (*init)(struct xgbe_prv_data *); 800 int (*exit)(struct xgbe_prv_data *); 879 int (*init)(struct xgbe_prv_data *); 880 void (*exit)(struct xgbe_prv_data *); 883 int (*reset)(struct xgbe_prv_data *); 884 int (*start)(struct xgbe_prv_data *); 885 void (*stop)(struct xgbe_prv_data *); 918 void (*an_pre)(struct xgbe_prv_data *); [all …]
|
A D | xgbe-mdio.c | 219 static void xgbe_kr_mode(struct xgbe_prv_data *pdata) in xgbe_kr_mode() 246 static void xgbe_sfi_mode(struct xgbe_prv_data *pdata) in xgbe_sfi_mode() 259 static void xgbe_x_mode(struct xgbe_prv_data *pdata) in xgbe_x_mode() 346 static bool xgbe_set_mode(struct xgbe_prv_data *pdata, in xgbe_set_mode() 357 static bool xgbe_use_mode(struct xgbe_prv_data *pdata, in xgbe_use_mode() 728 struct xgbe_prv_data *pdata = (struct xgbe_prv_data *)data; in xgbe_an_isr() 747 struct xgbe_prv_data *pdata = container_of(work, in xgbe_an_irq_work() 748 struct xgbe_prv_data, in xgbe_an_irq_work() 933 struct xgbe_prv_data *pdata = container_of(work, in xgbe_an_state_machine() 934 struct xgbe_prv_data, in xgbe_an_state_machine() [all …]
|
A D | xgbe-i2c.c | 144 static int xgbe_i2c_abort(struct xgbe_prv_data *pdata) in xgbe_i2c_abort() 180 static int xgbe_i2c_disable(struct xgbe_prv_data *pdata) in xgbe_i2c_disable() 198 static int xgbe_i2c_enable(struct xgbe_prv_data *pdata) in xgbe_i2c_enable() 218 static void xgbe_i2c_write(struct xgbe_prv_data *pdata) in xgbe_i2c_write() 246 static void xgbe_i2c_read(struct xgbe_prv_data *pdata) in xgbe_i2c_read() 322 struct xgbe_prv_data *pdata = (struct xgbe_prv_data *)data; in xgbe_i2c_isr() 332 static void xgbe_i2c_set_mode(struct xgbe_prv_data *pdata) in xgbe_i2c_set_mode() 345 static void xgbe_i2c_get_features(struct xgbe_prv_data *pdata) in xgbe_i2c_get_features() 437 static void xgbe_i2c_stop(struct xgbe_prv_data *pdata) in xgbe_i2c_stop() 456 static int xgbe_i2c_start(struct xgbe_prv_data *pdata) in xgbe_i2c_start() [all …]
|
A D | xgbe-ptp.c | 127 struct xgbe_prv_data *pdata = container_of(cc, in xgbe_cc_read() 128 struct xgbe_prv_data, in xgbe_cc_read() 139 struct xgbe_prv_data *pdata = container_of(info, in xgbe_adjfine() 140 struct xgbe_prv_data, in xgbe_adjfine() 158 struct xgbe_prv_data *pdata = container_of(info, in xgbe_adjtime() 159 struct xgbe_prv_data, in xgbe_adjtime() 172 struct xgbe_prv_data *pdata = container_of(info, in xgbe_gettime() 173 struct xgbe_prv_data, in xgbe_gettime() 192 struct xgbe_prv_data *pdata = container_of(info, in xgbe_settime() 193 struct xgbe_prv_data, in xgbe_settime() [all …]
|
A D | xgbe-debugfs.c | 177 struct xgbe_prv_data *pdata = filp->private_data; in xgmac_reg_addr_read() 186 struct xgbe_prv_data *pdata = filp->private_data; in xgmac_reg_addr_write() 195 struct xgbe_prv_data *pdata = filp->private_data; in xgmac_reg_value_read() 207 struct xgbe_prv_data *pdata = filp->private_data; in xgmac_reg_value_write() 237 struct xgbe_prv_data *pdata = filp->private_data; in xpcs_mmd_read() 245 struct xgbe_prv_data *pdata = filp->private_data; in xpcs_mmd_write() 254 struct xgbe_prv_data *pdata = filp->private_data; in xpcs_reg_addr_read() 262 struct xgbe_prv_data *pdata = filp->private_data; in xpcs_reg_addr_write() 271 struct xgbe_prv_data *pdata = filp->private_data; in xpcs_reg_value_read() 284 struct xgbe_prv_data *pdata = filp->private_data; in xpcs_reg_value_write() [all …]
|
A D | xgbe-dev.c | 409 static int xgbe_enable_rss(struct xgbe_prv_data *pdata) in xgbe_enable_rss() 435 static int xgbe_disable_rss(struct xgbe_prv_data *pdata) in xgbe_disable_rss() 445 static void xgbe_config_rss(struct xgbe_prv_data *pdata) in xgbe_config_rss() 1545 struct xgbe_prv_data *pdata = channel->pdata; in xgbe_rx_desc_init() 1701 struct xgbe_prv_data *pdata = channel->pdata; in xgbe_tx_start_xmit() 1725 struct xgbe_prv_data *pdata = channel->pdata; in xgbe_dev_xmit() 1963 struct xgbe_prv_data *pdata = channel->pdata; in xgbe_dev_read() 2216 static int __xgbe_exit(struct xgbe_prv_data *pdata) in __xgbe_exit() 2238 static int xgbe_exit(struct xgbe_prv_data *pdata) in xgbe_exit() 2738 static void xgbe_config_tc(struct xgbe_prv_data *pdata) in xgbe_config_tc() [all …]
|
A D | xgbe-phy-v1.c | 299 static void xgbe_phy_an_advertising(struct xgbe_prv_data *pdata, in xgbe_phy_an_advertising() 307 static int xgbe_phy_an_config(struct xgbe_prv_data *pdata) in xgbe_phy_an_config() 367 static void xgbe_phy_kr_mode(struct xgbe_prv_data *pdata) in xgbe_phy_kr_mode() 410 static void xgbe_phy_kx_2500_mode(struct xgbe_prv_data *pdata) in xgbe_phy_kx_2500_mode() 453 static void xgbe_phy_kx_1000_mode(struct xgbe_prv_data *pdata) in xgbe_phy_kx_1000_mode() 571 static bool xgbe_phy_check_mode(struct xgbe_prv_data *pdata, in xgbe_phy_check_mode() 641 static void xgbe_phy_stop(struct xgbe_prv_data *pdata) in xgbe_phy_stop() 646 static int xgbe_phy_start(struct xgbe_prv_data *pdata) in xgbe_phy_start() 652 static int xgbe_phy_reset(struct xgbe_prv_data *pdata) in xgbe_phy_reset() 673 static void xgbe_phy_exit(struct xgbe_prv_data *pdata) in xgbe_phy_exit() [all …]
|
A D | xgbe-phy-v2.c | 391 static void xgbe_phy_rrc(struct xgbe_prv_data *pdata); 655 struct xgbe_prv_data *pdata = mii->priv; in xgbe_phy_mii_write_c22() 678 struct xgbe_prv_data *pdata = mii->priv; in xgbe_phy_mii_write_c45() 744 struct xgbe_prv_data *pdata = mii->priv; in xgbe_phy_mii_read_c22() 767 struct xgbe_prv_data *pdata = mii->priv; in xgbe_phy_mii_read_c45() 2229 static void xgbe_phy_rrc(struct xgbe_prv_data *pdata) in xgbe_phy_rrc() 3357 static void xgbe_phy_stop(struct xgbe_prv_data *pdata) in xgbe_phy_stop() 3378 static int xgbe_phy_start(struct xgbe_prv_data *pdata) in xgbe_phy_start() 3428 static int xgbe_phy_reset(struct xgbe_prv_data *pdata) in xgbe_phy_reset() 3450 static void xgbe_phy_exit(struct xgbe_prv_data *pdata) in xgbe_phy_exit() [all …]
|
A D | xgbe-platform.c | 149 static int xgbe_acpi_support(struct xgbe_prv_data *pdata) in xgbe_acpi_support() 181 static int xgbe_acpi_support(struct xgbe_prv_data *pdata) in xgbe_acpi_support() 190 static struct xgbe_version_data *xgbe_of_vdata(struct xgbe_prv_data *pdata) in xgbe_of_vdata() 199 static int xgbe_of_support(struct xgbe_prv_data *pdata) in xgbe_of_support() 247 static struct xgbe_version_data *xgbe_of_vdata(struct xgbe_prv_data *pdata) in xgbe_of_vdata() 252 static int xgbe_of_support(struct xgbe_prv_data *pdata) in xgbe_of_support() 293 static struct xgbe_version_data *xgbe_get_vdata(struct xgbe_prv_data *pdata) in xgbe_get_vdata() 301 struct xgbe_prv_data *pdata; in xgbe_platform_probe() 517 struct xgbe_prv_data *pdata = platform_get_drvdata(pdev); in xgbe_platform_remove() 531 struct xgbe_prv_data *pdata = dev_get_drvdata(dev); in xgbe_platform_suspend() [all …]
|
A D | xgbe-drv.c | 159 static void xgbe_stop(struct xgbe_prv_data *); 276 struct xgbe_prv_data *pdata = channel->pdata; in xgbe_maybe_stop_tx_queue() 466 struct xgbe_prv_data *pdata = data; in xgbe_ecc_isr() 605 struct xgbe_prv_data *pdata = data; in xgbe_isr() 618 struct xgbe_prv_data *pdata = channel->pdata; in xgbe_dma_isr() 647 struct xgbe_prv_data *pdata = channel->pdata; in xgbe_tx_timer() 676 struct xgbe_prv_data, in xgbe_service() 1411 struct xgbe_prv_data, in xgbe_stopdev() 1457 struct xgbe_prv_data, in xgbe_restart() 1470 struct xgbe_prv_data, in xgbe_tx_tstamp() [all …]
|
A D | xgbe-ethtool.c | 133 offsetof(struct xgbe_prv_data, mmc_stats._var), \ 139 offsetof(struct xgbe_prv_data, ext_stats._var), \ 193 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_get_strings() 222 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_get_ethtool_stats() 243 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_get_sset_count() 263 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_get_pauseparam() 273 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_set_pauseparam() 312 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_get_link_ksettings() 333 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_set_link_ksettings() 402 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_get_drvinfo() [all …]
|
A D | xgbe-main.c | 139 static void xgbe_default_config(struct xgbe_prv_data *pdata) in xgbe_default_config() 162 static void xgbe_init_all_fptrs(struct xgbe_prv_data *pdata) in xgbe_init_all_fptrs() 172 struct xgbe_prv_data *xgbe_alloc_pdata(struct device *dev) in xgbe_alloc_pdata() 174 struct xgbe_prv_data *pdata; in xgbe_alloc_pdata() 177 netdev = alloc_etherdev_mq(sizeof(struct xgbe_prv_data), in xgbe_alloc_pdata() 204 void xgbe_free_pdata(struct xgbe_prv_data *pdata) in xgbe_free_pdata() 211 void xgbe_set_counts(struct xgbe_prv_data *pdata) in xgbe_set_counts() 262 int xgbe_config_netdev(struct xgbe_prv_data *pdata) in xgbe_config_netdev() 415 void xgbe_deconfig_netdev(struct xgbe_prv_data *pdata) in xgbe_deconfig_netdev() 433 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_netdev_event()
|
A D | xgbe-dcb.c | 126 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_dcb_ieee_getets() 147 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_dcb_ieee_setets() 213 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_dcb_ieee_getpfc() 230 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_dcb_ieee_setpfc() 264 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_dcb_setdcbx()
|
A D | xgbe-desc.c | 120 static void xgbe_unmap_rdata(struct xgbe_prv_data *, struct xgbe_ring_data *); 122 static void xgbe_free_ring(struct xgbe_prv_data *pdata, in xgbe_free_ring() 172 static void xgbe_free_ring_resources(struct xgbe_prv_data *pdata) in xgbe_free_ring_resources() 215 static int xgbe_init_ring(struct xgbe_prv_data *pdata, in xgbe_init_ring() 246 static int xgbe_alloc_ring_resources(struct xgbe_prv_data *pdata) in xgbe_alloc_ring_resources() 285 static int xgbe_alloc_pages(struct xgbe_prv_data *pdata, in xgbe_alloc_pages() 356 static int xgbe_map_rx_buffer(struct xgbe_prv_data *pdata, in xgbe_map_rx_buffer() 386 static void xgbe_wrapper_tx_descriptor_init(struct xgbe_prv_data *pdata) in xgbe_wrapper_tx_descriptor_init() 427 static void xgbe_wrapper_rx_descriptor_init(struct xgbe_prv_data *pdata) in xgbe_wrapper_rx_descriptor_init() 470 static void xgbe_unmap_rdata(struct xgbe_prv_data *pdata, in xgbe_unmap_rdata() [all …]
|
A D | xgbe-pci.c | 125 static int xgbe_config_multi_msi(struct xgbe_prv_data *pdata) in xgbe_config_multi_msi() 164 static int xgbe_config_irqs(struct xgbe_prv_data *pdata) in xgbe_config_irqs() 210 struct xgbe_prv_data *pdata; in xgbe_pci_probe() 425 struct xgbe_prv_data *pdata = pci_get_drvdata(pdev); in xgbe_pci_remove() 439 struct xgbe_prv_data *pdata = dev_get_drvdata(dev); in xgbe_pci_suspend() 455 struct xgbe_prv_data *pdata = dev_get_drvdata(dev); in xgbe_pci_resume()
|