Home
last modified time | relevance | path

Searched refs:xgbe_prv_data (Results 1 – 16 of 16) sorted by relevance

/drivers/net/ethernet/amd/xgbe/
A Dxgbe.h265 struct xgbe_prv_data;
416 struct xgbe_prv_data *pdata;
715 int (*init)(struct xgbe_prv_data *);
716 int (*exit)(struct xgbe_prv_data *);
791 int (*init)(struct xgbe_prv_data *);
792 void (*exit)(struct xgbe_prv_data *);
795 int (*reset)(struct xgbe_prv_data *);
796 int (*start)(struct xgbe_prv_data *);
797 void (*stop)(struct xgbe_prv_data *);
830 void (*an_pre)(struct xgbe_prv_data *);
[all …]
A Dxgbe-mdio.c29 static int xgbe_phy_module_info(struct xgbe_prv_data *pdata, in xgbe_phy_module_info()
110 static void xgbe_kr_mode(struct xgbe_prv_data *pdata) in xgbe_kr_mode()
137 static void xgbe_sfi_mode(struct xgbe_prv_data *pdata) in xgbe_sfi_mode()
150 static void xgbe_x_mode(struct xgbe_prv_data *pdata) in xgbe_x_mode()
237 static bool xgbe_set_mode(struct xgbe_prv_data *pdata, in xgbe_set_mode()
248 static bool xgbe_use_mode(struct xgbe_prv_data *pdata, in xgbe_use_mode()
623 struct xgbe_prv_data *pdata = (struct xgbe_prv_data *)data; in xgbe_an_isr()
642 struct xgbe_prv_data *pdata = container_of(work, in xgbe_an_irq_work()
643 struct xgbe_prv_data, in xgbe_an_irq_work()
828 struct xgbe_prv_data *pdata = container_of(work, in xgbe_an_state_machine()
[all …]
A Dxgbe-i2c.c35 static int xgbe_i2c_abort(struct xgbe_prv_data *pdata) in xgbe_i2c_abort()
71 static int xgbe_i2c_disable(struct xgbe_prv_data *pdata) in xgbe_i2c_disable()
89 static int xgbe_i2c_enable(struct xgbe_prv_data *pdata) in xgbe_i2c_enable()
109 static void xgbe_i2c_write(struct xgbe_prv_data *pdata) in xgbe_i2c_write()
137 static void xgbe_i2c_read(struct xgbe_prv_data *pdata) in xgbe_i2c_read()
213 struct xgbe_prv_data *pdata = (struct xgbe_prv_data *)data; in xgbe_i2c_isr()
223 static void xgbe_i2c_set_mode(struct xgbe_prv_data *pdata) in xgbe_i2c_set_mode()
236 static void xgbe_i2c_get_features(struct xgbe_prv_data *pdata) in xgbe_i2c_get_features()
328 static void xgbe_i2c_stop(struct xgbe_prv_data *pdata) in xgbe_i2c_stop()
347 static int xgbe_i2c_start(struct xgbe_prv_data *pdata) in xgbe_i2c_start()
[all …]
A Dxgbe-debugfs.c68 struct xgbe_prv_data *pdata = filp->private_data; in xgmac_reg_addr_read()
77 struct xgbe_prv_data *pdata = filp->private_data; in xgmac_reg_addr_write()
86 struct xgbe_prv_data *pdata = filp->private_data; in xgmac_reg_value_read()
98 struct xgbe_prv_data *pdata = filp->private_data; in xgmac_reg_value_write()
128 struct xgbe_prv_data *pdata = filp->private_data; in xpcs_mmd_read()
136 struct xgbe_prv_data *pdata = filp->private_data; in xpcs_mmd_write()
145 struct xgbe_prv_data *pdata = filp->private_data; in xpcs_reg_addr_read()
153 struct xgbe_prv_data *pdata = filp->private_data; in xpcs_reg_addr_write()
162 struct xgbe_prv_data *pdata = filp->private_data; in xpcs_reg_value_read()
175 struct xgbe_prv_data *pdata = filp->private_data; in xpcs_reg_value_write()
[all …]
A Dxgbe-dev.c71 static int xgbe_config_pbl_val(struct xgbe_prv_data *pdata) in xgbe_config_pbl_val()
314 static int xgbe_enable_rss(struct xgbe_prv_data *pdata) in xgbe_enable_rss()
340 static int xgbe_disable_rss(struct xgbe_prv_data *pdata) in xgbe_disable_rss()
350 static void xgbe_config_rss(struct xgbe_prv_data *pdata) in xgbe_config_rss()
1527 struct xgbe_prv_data *pdata = channel->pdata; in xgbe_rx_desc_init()
1564 struct xgbe_prv_data *pdata = channel->pdata; in xgbe_tx_start_xmit()
1588 struct xgbe_prv_data *pdata = channel->pdata; in xgbe_dev_xmit()
1826 struct xgbe_prv_data *pdata = channel->pdata; in xgbe_dev_read()
2079 static int __xgbe_exit(struct xgbe_prv_data *pdata) in __xgbe_exit()
2101 static int xgbe_exit(struct xgbe_prv_data *pdata) in xgbe_exit()
[all …]
A Dxgbe-phy-v2.c282 static void xgbe_phy_rrc(struct xgbe_prv_data *pdata);
287 static int xgbe_phy_i2c_xfer(struct xgbe_prv_data *pdata, in xgbe_phy_i2c_xfer()
546 struct xgbe_prv_data *pdata = mii->priv; in xgbe_phy_mii_write_c22()
569 struct xgbe_prv_data *pdata = mii->priv; in xgbe_phy_mii_write_c45()
635 struct xgbe_prv_data *pdata = mii->priv; in xgbe_phy_mii_read_c22()
658 struct xgbe_prv_data *pdata = mii->priv; in xgbe_phy_mii_read_c45()
2105 static void xgbe_phy_rrc(struct xgbe_prv_data *pdata) in xgbe_phy_rrc()
3240 static void xgbe_phy_stop(struct xgbe_prv_data *pdata) in xgbe_phy_stop()
3261 static int xgbe_phy_start(struct xgbe_prv_data *pdata) in xgbe_phy_start()
3311 static int xgbe_phy_reset(struct xgbe_prv_data *pdata) in xgbe_phy_reset()
[all …]
A Dxgbe-ptp.c18 struct xgbe_prv_data *pdata = container_of(info, in xgbe_adjfine()
19 struct xgbe_prv_data, in xgbe_adjfine()
37 struct xgbe_prv_data *pdata = container_of(info, in xgbe_adjtime()
38 struct xgbe_prv_data, in xgbe_adjtime()
74 struct xgbe_prv_data *pdata = container_of(info, in xgbe_gettimex()
75 struct xgbe_prv_data, in xgbe_gettimex()
94 struct xgbe_prv_data *pdata = container_of(info, in xgbe_settime()
95 struct xgbe_prv_data, in xgbe_settime()
112 void xgbe_ptp_register(struct xgbe_prv_data *pdata) in xgbe_ptp_register()
141 void xgbe_ptp_unregister(struct xgbe_prv_data *pdata) in xgbe_ptp_unregister()
A Dxgbe-phy-v1.c113 static void xgbe_phy_kr_training_pre(struct xgbe_prv_data *pdata) in xgbe_phy_kr_training_pre()
198 static int xgbe_phy_an_config(struct xgbe_prv_data *pdata) in xgbe_phy_an_config()
258 static void xgbe_phy_kr_mode(struct xgbe_prv_data *pdata) in xgbe_phy_kr_mode()
301 static void xgbe_phy_kx_2500_mode(struct xgbe_prv_data *pdata) in xgbe_phy_kx_2500_mode()
344 static void xgbe_phy_kx_1000_mode(struct xgbe_prv_data *pdata) in xgbe_phy_kx_1000_mode()
462 static bool xgbe_phy_check_mode(struct xgbe_prv_data *pdata, in xgbe_phy_check_mode()
532 static void xgbe_phy_stop(struct xgbe_prv_data *pdata) in xgbe_phy_stop()
537 static int xgbe_phy_start(struct xgbe_prv_data *pdata) in xgbe_phy_start()
543 static int xgbe_phy_reset(struct xgbe_prv_data *pdata) in xgbe_phy_reset()
564 static void xgbe_phy_exit(struct xgbe_prv_data *pdata) in xgbe_phy_exit()
[all …]
A Dxgbe-ethtool.c24 offsetof(struct xgbe_prv_data, mmc_stats._var), \
30 offsetof(struct xgbe_prv_data, ext_stats._var), \
84 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_get_strings()
109 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_get_ethtool_stats()
130 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_get_sset_count()
150 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_get_pauseparam()
160 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_set_pauseparam()
199 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_get_link_ksettings()
225 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_set_link_ksettings()
294 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_get_drvinfo()
[all …]
A Dxgbe-drv.c50 static void xgbe_stop(struct xgbe_prv_data *);
167 struct xgbe_prv_data *pdata = channel->pdata; in xgbe_maybe_stop_tx_queue()
357 struct xgbe_prv_data *pdata = data; in xgbe_ecc_isr()
496 struct xgbe_prv_data *pdata = data; in xgbe_isr()
509 struct xgbe_prv_data *pdata = channel->pdata; in xgbe_dma_isr()
539 struct xgbe_prv_data *pdata = channel->pdata; in xgbe_tx_timer()
568 struct xgbe_prv_data, in xgbe_service()
1318 struct xgbe_prv_data, in xgbe_stopdev()
1364 struct xgbe_prv_data, in xgbe_restart()
2031 struct xgbe_prv_data *pdata = channel->pdata; in xgbe_rx_refresh()
[all …]
A Dxgbe-hwtstamp.c13 void xgbe_update_tstamp_time(struct xgbe_prv_data *pdata, in xgbe_update_tstamp_time()
37 void xgbe_update_tstamp_addend(struct xgbe_prv_data *pdata, in xgbe_update_tstamp_addend()
55 void xgbe_set_tstamp_time(struct xgbe_prv_data *pdata, unsigned int sec, in xgbe_set_tstamp_time()
73 u64 xgbe_get_tstamp_time(struct xgbe_prv_data *pdata) in xgbe_get_tstamp_time()
84 u64 xgbe_get_tx_tstamp(struct xgbe_prv_data *pdata) in xgbe_get_tx_tstamp()
125 void xgbe_config_tstamp(struct xgbe_prv_data *pdata, unsigned int mac_tscr) in xgbe_config_tstamp()
136 struct xgbe_prv_data *pdata = container_of(work, in xgbe_tx_tstamp()
137 struct xgbe_prv_data, in xgbe_tx_tstamp()
160 int xgbe_get_hwtstamp_settings(struct xgbe_prv_data *pdata, struct ifreq *ifreq) in xgbe_get_hwtstamp_settings()
298 void xgbe_prep_tx_tstamp(struct xgbe_prv_data *pdata, in xgbe_prep_tx_tstamp()
[all …]
A Dxgbe-platform.c27 static int xgbe_acpi_support(struct xgbe_prv_data *pdata) in xgbe_acpi_support()
54 static int xgbe_acpi_support(struct xgbe_prv_data *pdata) in xgbe_acpi_support()
61 static int xgbe_of_support(struct xgbe_prv_data *pdata) in xgbe_of_support()
84 static struct platform_device *xgbe_of_get_phy_pdev(struct xgbe_prv_data *pdata) in xgbe_of_get_phy_pdev()
109 static int xgbe_of_support(struct xgbe_prv_data *pdata) in xgbe_of_support()
114 static struct platform_device *xgbe_of_get_phy_pdev(struct xgbe_prv_data *pdata) in xgbe_of_get_phy_pdev()
136 static struct platform_device *xgbe_get_phy_pdev(struct xgbe_prv_data *pdata) in xgbe_get_phy_pdev()
152 struct xgbe_prv_data *pdata; in xgbe_platform_probe()
368 struct xgbe_prv_data *pdata = platform_get_drvdata(pdev); in xgbe_platform_remove()
380 struct xgbe_prv_data *pdata = dev_get_drvdata(dev); in xgbe_platform_suspend()
[all …]
A Dxgbe-main.c30 static void xgbe_default_config(struct xgbe_prv_data *pdata) in xgbe_default_config()
53 static void xgbe_init_all_fptrs(struct xgbe_prv_data *pdata) in xgbe_init_all_fptrs()
63 struct xgbe_prv_data *xgbe_alloc_pdata(struct device *dev) in xgbe_alloc_pdata()
65 struct xgbe_prv_data *pdata; in xgbe_alloc_pdata()
68 netdev = alloc_etherdev_mq(sizeof(struct xgbe_prv_data), in xgbe_alloc_pdata()
95 void xgbe_free_pdata(struct xgbe_prv_data *pdata) in xgbe_free_pdata()
102 void xgbe_set_counts(struct xgbe_prv_data *pdata) in xgbe_set_counts()
153 int xgbe_config_netdev(struct xgbe_prv_data *pdata) in xgbe_config_netdev()
306 void xgbe_deconfig_netdev(struct xgbe_prv_data *pdata) in xgbe_deconfig_netdev()
324 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_netdev_event()
A Dxgbe-desc.c11 static void xgbe_unmap_rdata(struct xgbe_prv_data *, struct xgbe_ring_data *);
13 static void xgbe_free_ring(struct xgbe_prv_data *pdata, in xgbe_free_ring()
63 static void xgbe_free_ring_resources(struct xgbe_prv_data *pdata) in xgbe_free_ring_resources()
106 static int xgbe_init_ring(struct xgbe_prv_data *pdata, in xgbe_init_ring()
137 static int xgbe_alloc_ring_resources(struct xgbe_prv_data *pdata) in xgbe_alloc_ring_resources()
176 static int xgbe_alloc_pages(struct xgbe_prv_data *pdata, in xgbe_alloc_pages()
247 static int xgbe_map_rx_buffer(struct xgbe_prv_data *pdata, in xgbe_map_rx_buffer()
282 static void xgbe_wrapper_tx_descriptor_init(struct xgbe_prv_data *pdata) in xgbe_wrapper_tx_descriptor_init()
323 static void xgbe_wrapper_rx_descriptor_init(struct xgbe_prv_data *pdata) in xgbe_wrapper_rx_descriptor_init()
366 static void xgbe_unmap_rdata(struct xgbe_prv_data *pdata, in xgbe_unmap_rdata()
[all …]
A Dxgbe-dcb.c17 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_dcb_ieee_getets()
38 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_dcb_ieee_setets()
104 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_dcb_ieee_getpfc()
121 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_dcb_ieee_setpfc()
155 struct xgbe_prv_data *pdata = netdev_priv(netdev); in xgbe_dcb_setdcbx()
A Dxgbe-pci.c17 static int xgbe_config_multi_msi(struct xgbe_prv_data *pdata) in xgbe_config_multi_msi()
56 static int xgbe_config_irqs(struct xgbe_prv_data *pdata) in xgbe_config_irqs()
105 struct xgbe_prv_data *pdata; in xgbe_pci_probe()
343 struct xgbe_prv_data *pdata = pci_get_drvdata(pdev); in xgbe_pci_remove()
357 struct xgbe_prv_data *pdata = dev_get_drvdata(dev); in xgbe_pci_suspend()
373 struct xgbe_prv_data *pdata = dev_get_drvdata(dev); in xgbe_pci_resume()

Completed in 49 milliseconds