| /linux-6.15/drivers/net/ethernet/wangxun/libwx/ |
| H A D | wx_ptp.c | 65 struct wx *wx = container_of(ptp, struct wx, ptp_caps); in wx_ptp_adjfine() local 84 struct wx *wx = container_of(ptp, struct wx, ptp_caps); in wx_ptp_adjtime() local 92 wx->ptp_setup_sdp(wx); in wx_ptp_adjtime() 101 struct wx *wx = container_of(ptp, struct wx, ptp_caps); in wx_ptp_gettimex64() local 114 struct wx *wx = container_of(ptp, struct wx, ptp_caps); in wx_ptp_settime64() local 125 wx->ptp_setup_sdp(wx); in wx_ptp_settime64() 319 struct wx *wx = container_of(ptp, struct wx, ptp_caps); in wx_ptp_do_aux_work() local 412 struct wx *wx = container_of(ptp, struct wx, ptp_caps); in wx_ptp_feature_enable() local 643 struct wx *wx = container_of(hw_cc, struct wx, hw_cc); in wx_ptp_read() local 753 wx->ptp_setup_sdp(wx); in wx_ptp_reset() [all …]
|
| H A D | wx_hw.c | 17 struct wx *wx = bus->priv; in wx_phy_read_reg_mdi() local 46 struct wx *wx = bus->priv; in wx_phy_write_reg_mdi() local 72 struct wx *wx = bus->priv; in wx_phy_read_reg_mdi_c22() local 81 struct wx *wx = bus->priv; in wx_phy_write_reg_mdi_c22() local 90 struct wx *wx = bus->priv; in wx_phy_read_reg_mdi_c45() local 100 struct wx *wx = bus->priv; in wx_phy_write_reg_mdi_c45() local 152 void wx_irq_disable(struct wx *wx) in wx_irq_disable() argument 235 int wx_mng_present(struct wx *wx) in wx_mng_present() argument 1919 wx->configure_fdir(wx); in wx_configure() 2103 int wx_sw_init(struct wx *wx) in wx_sw_init() argument [all …]
|
| H A D | wx_hw.h | 15 void wx_irq_disable(struct wx *wx); 18 int wx_mng_present(struct wx *wx); 27 void wx_init_rx_addrs(struct wx *wx); 31 void wx_disable_rx(struct wx *wx); 37 void wx_configure_rx(struct wx *wx); 38 void wx_configure(struct wx *wx); 39 void wx_start_hw(struct wx *wx); 41 int wx_stop_adapter(struct wx *wx); 42 void wx_reset_misc(struct wx *wx); 44 int wx_sw_init(struct wx *wx); [all …]
|
| H A D | wx_ethtool.c | 71 struct wx *wx = netdev_priv(netdev); in wx_get_sset_count() local 85 struct wx *wx = netdev_priv(netdev); in wx_get_strings() local 113 struct wx *wx = netdev_priv(netdev); in wx_get_ethtool_stats() local 170 struct wx *wx = netdev_priv(netdev); in wx_get_mac_stats() local 186 struct wx *wx = netdev_priv(netdev); in wx_get_pause_stats() local 200 struct wx *wx = netdev_priv(netdev); in wx_get_drvinfo() local 220 struct wx *wx = netdev_priv(netdev); in wx_nway_reset() local 433 struct wx *wx = netdev_priv(dev); in wx_get_channels() local 456 struct wx *wx = netdev_priv(dev); in wx_set_channels() local 494 struct wx *wx = netdev_priv(dev); in wx_get_ts_info() local [all …]
|
| H A D | wx_lib.h | 15 void wx_napi_enable_all(struct wx *wx); 16 void wx_napi_disable_all(struct wx *wx); 19 int wx_init_interrupt_scheme(struct wx *wx); 21 void wx_free_irq(struct wx *wx); 22 int wx_setup_isb_resources(struct wx *wx); 23 void wx_free_isb_resources(struct wx *wx); 26 void wx_configure_vectors(struct wx *wx); 27 void wx_clean_all_rx_rings(struct wx *wx); 28 void wx_clean_all_tx_rings(struct wx *wx); 29 void wx_free_resources(struct wx *wx); [all …]
|
| H A D | wx_lib.c | 851 struct wx *wx = q_vector->wx; in wx_poll() local 1577 struct wx *wx = netdev_priv(netdev); in wx_xmit_frame() local 1835 q_vector->wx = wx; in wx_alloc_q_vector() 2081 void wx_free_irq(struct wx *wx) in wx_free_irq() argument 2145 wx->isb_mem, wx->isb_dma); in wx_free_isb_resources() 2204 struct wx *wx = q_vector->wx; in wx_write_eitr() local 2485 void wx_free_resources(struct wx *wx) in wx_free_resources() argument 2690 int wx_setup_resources(struct wx *wx) in wx_setup_resources() argument 2727 struct wx *wx = netdev_priv(netdev); in wx_get_stats64() local 2780 struct wx *wx = netdev_priv(netdev); in wx_set_features() local [all …]
|
| H A D | wx_ptp.h | 7 void wx_ptp_check_pps_event(struct wx *wx); 8 void wx_ptp_reset_cyclecounter(struct wx *wx); 9 void wx_ptp_reset(struct wx *wx); 10 void wx_ptp_init(struct wx *wx); 11 void wx_ptp_suspend(struct wx *wx); 12 void wx_ptp_stop(struct wx *wx); 13 void wx_ptp_rx_hwtstamp(struct wx *wx, struct sk_buff *skb);
|
| H A D | wx_type.h | 1027 struct wx *wx; member 1121 struct wx { struct 1217 void (*configure_fdir)(struct wx *wx); argument 1219 int (*ptp_setup_sdp)(struct wx *wx); argument 1256 rd32m(struct wx *wx, u32 reg, u32 mask) in rd32m() argument 1265 wr32m(struct wx *wx, u32 reg, u32 mask, u32 field) in wr32m() argument 1272 wr32(wx, reg, val); in wr32m() 1276 rd64(struct wx *wx, u32 reg) in rd64() argument 1287 rd32ptp(struct wx *wx, u32 reg) in rd32ptp() argument 1296 wr32ptp(struct wx *wx, u32 reg, u32 value) in wr32ptp() argument [all …]
|
| /linux-6.15/drivers/net/ethernet/wangxun/ngbe/ |
| H A D | ngbe_main.c | 87 static int ngbe_sw_init(struct wx *wx) in ngbe_sw_init() argument 169 struct wx *wx = data; in ngbe_intr() local 205 struct wx *wx = data; in ngbe_msix_other() local 327 void ngbe_down(struct wx *wx) in ngbe_down() argument 337 void ngbe_up(struct wx *wx) in ngbe_up() argument 368 struct wx *wx = netdev_priv(netdev); in ngbe_open() local 423 struct wx *wx = netdev_priv(netdev); in ngbe_close() local 438 struct wx *wx = pci_get_drvdata(pdev); in ngbe_dev_shutdown() local 489 struct wx *wx = netdev_priv(dev); in ngbe_setup_tc() local 546 struct wx *wx = NULL; in ngbe_probe() local [all …]
|
| H A D | ngbe_mdio.c | 17 struct wx *wx = bus->priv; in ngbe_phy_read_reg_internal() local 26 struct wx *wx = bus->priv; in ngbe_phy_write_reg_internal() local 35 struct wx *wx = bus->priv; in ngbe_phy_read_reg_c22() local 49 struct wx *wx = bus->priv; in ngbe_phy_write_reg_c22() local 68 struct wx *wx = phylink_to_wx(config); in ngbe_mac_link_down() local 81 struct wx *wx = phylink_to_wx(config); in ngbe_mac_link_up() local 125 static int ngbe_phylink_init(struct wx *wx) in ngbe_phylink_init() argument 154 int ngbe_mdio_init(struct wx *wx) in ngbe_mdio_init() argument 187 wx->link = 0; in ngbe_mdio_init() 188 wx->speed = 0; in ngbe_mdio_init() [all …]
|
| H A D | ngbe_hw.c | 13 int ngbe_eeprom_chksum_hostif(struct wx *wx) in ngbe_eeprom_chksum_hostif() argument 39 static int ngbe_reset_misc(struct wx *wx) in ngbe_reset_misc() argument 41 wx_reset_misc(wx); in ngbe_reset_misc() 42 if (wx->gpio_ctrl) { in ngbe_reset_misc() 50 void ngbe_sfp_modules_txrx_powerctl(struct wx *wx, bool swi) in ngbe_sfp_modules_txrx_powerctl() argument 64 int ngbe_reset_hw(struct wx *wx) in ngbe_reset_hw() argument 76 wr32(wx, WX_MIS_RST, val | rd32(wx, WX_MIS_RST)); in ngbe_reset_hw() 86 ngbe_reset_misc(wx); in ngbe_reset_hw() 88 wx_clear_hw_cntrs(wx); in ngbe_reset_hw() 91 wx_get_mac_addr(wx, wx->mac.perm_addr); in ngbe_reset_hw() [all …]
|
| H A D | ngbe_ethtool.c | 18 struct wx *wx = netdev_priv(netdev); in ngbe_get_wol() local 20 if (!wx->wol_hw_supported) in ngbe_get_wol() 31 struct wx *wx = netdev_priv(netdev); in ngbe_set_wol() local 34 if (!wx->wol_hw_supported) in ngbe_set_wol() 37 wx->wol = 0; in ngbe_set_wol() 41 wr32(wx, WX_PSR_WKUP_CTL, wx->wol); in ngbe_set_wol() 52 struct wx *wx = netdev_priv(netdev); in ngbe_set_ringparam() local 83 i = max_t(int, wx->num_tx_queues, wx->num_rx_queues); in ngbe_set_ringparam() 90 ngbe_down(wx); in ngbe_set_ringparam() 95 wx_configure(wx); in ngbe_set_ringparam() [all …]
|
| H A D | ngbe_hw.h | 10 int ngbe_eeprom_chksum_hostif(struct wx *wx); 11 void ngbe_sfp_modules_txrx_powerctl(struct wx *wx, bool swi); 12 int ngbe_reset_hw(struct wx *wx);
|
| H A D | ngbe_type.h | 139 void ngbe_down(struct wx *wx); 140 void ngbe_up(struct wx *wx);
|
| /linux-6.15/drivers/net/ethernet/wangxun/txgbe/ |
| H A D | txgbe_main.c | 122 static void txgbe_reset(struct wx *wx) in txgbe_reset() argument 187 void txgbe_down(struct wx *wx) in txgbe_down() argument 200 void txgbe_up(struct wx *wx) in txgbe_up() argument 262 static int txgbe_sw_init(struct wx *wx) in txgbe_sw_init() argument 348 struct wx *wx = netdev_priv(netdev); in txgbe_open() local 413 struct wx *wx = netdev_priv(netdev); in txgbe_close() local 427 struct wx *wx = pci_get_drvdata(pdev); in txgbe_dev_shutdown() local 462 struct wx *wx = netdev_priv(dev); in txgbe_setup_tc() local 511 struct wx *wx = netdev_priv(netdev); in txgbe_do_reset() local 552 struct wx *wx = NULL; in txgbe_probe() local [all …]
|
| H A D | txgbe_hw.c | 23 int txgbe_disable_sec_tx_path(struct wx *wx) in txgbe_disable_sec_tx_path() argument 38 void txgbe_enable_sec_tx_path(struct wx *wx) in txgbe_enable_sec_tx_path() argument 41 WX_WRITE_FLUSH(wx); in txgbe_enable_sec_tx_path() 51 static void txgbe_init_thermal_sensor_thresh(struct wx *wx) in txgbe_init_thermal_sensor_thresh() argument 58 if (wx->bus.func) in txgbe_init_thermal_sensor_thresh() 80 static int txgbe_calc_eeprom_checksum(struct wx *wx, u16 *checksum) in txgbe_calc_eeprom_checksum() argument 148 status = wx_read_ee_hostif(wx, wx->eeprom.sw_region_offset + in txgbe_validate_eeprom_checksum() 168 static void txgbe_reset_misc(struct wx *wx) in txgbe_reset_misc() argument 182 int txgbe_reset_hw(struct wx *wx) in txgbe_reset_hw() argument 195 wr32(wx, WX_MIS_RST, val | rd32(wx, WX_MIS_RST)); in txgbe_reset_hw() [all …]
|
| H A D | txgbe_phy.c | 128 struct wx *wx; in txgbe_mdio_pcs_init() local 131 wx = txgbe->wx; in txgbe_mdio_pcs_init() 265 struct wx *wx = txgbe->wx; in txgbe_phylink_init() local 308 struct wx *wx = txgbe->wx; in txgbe_link_irq_handler() local 375 struct wx *wx; in txgbe_gpio_init() local 378 wx = txgbe->wx; in txgbe_gpio_init() 469 struct wx *wx; in txgbe_i2c_register() local 471 wx = txgbe->wx; in txgbe_i2c_register() 519 struct wx *wx; in txgbe_ext_phy_init() local 522 wx = txgbe->wx; in txgbe_ext_phy_init() [all …]
|
| H A D | txgbe_fdir.c | 158 static int txgbe_fdir_check_cmd_complete(struct wx *wx) in txgbe_fdir_check_cmd_complete() argument 177 static int txgbe_fdir_add_signature_filter(struct wx *wx, in txgbe_fdir_add_signature_filter() argument 392 int txgbe_fdir_write_perfect_filter(struct wx *wx, in txgbe_fdir_write_perfect_filter() argument 433 WX_WRITE_FLUSH(wx); in txgbe_fdir_write_perfect_filter() 453 int txgbe_fdir_erase_perfect_filter(struct wx *wx, in txgbe_fdir_erase_perfect_filter() argument 494 static void txgbe_fdir_enable(struct wx *wx, u32 fdirctrl) in txgbe_fdir_enable() argument 516 static void txgbe_init_fdir_signature(struct wx *wx) in txgbe_init_fdir_signature() argument 545 static void txgbe_init_fdir_perfect(struct wx *wx) in txgbe_init_fdir_perfect() argument 567 static void txgbe_fdir_filter_restore(struct wx *wx) in txgbe_fdir_filter_restore() argument 613 void txgbe_configure_fdir(struct wx *wx) in txgbe_configure_fdir() argument [all …]
|
| H A D | txgbe_irq.c | 19 void txgbe_irq_enable(struct wx *wx, bool queues) in txgbe_irq_enable() argument 26 wx_intr_enable(wx, TXGBE_INTR_QALL(wx)); in txgbe_irq_enable() 35 int txgbe_request_queue_irqs(struct wx *wx) in txgbe_request_queue_irqs() argument 40 if (!wx->pdev->msix_enabled) in txgbe_request_queue_irqs() 69 wx->q_vector[vector]); in txgbe_request_queue_irqs() 109 struct wx *wx = txgbe->wx; in txgbe_misc_irq_handle() local 112 if (wx->pdev->msix_enabled) in txgbe_misc_irq_handle() 126 wr32(wx, WX_PX_INTA, 1); in txgbe_misc_irq_handle() 129 q_vector = wx->q_vector[0]; in txgbe_misc_irq_handle() 138 struct wx *wx = txgbe->wx; in txgbe_misc_irq_thread_fn() local [all …]
|
| H A D | txgbe_ethtool.c | 20 struct wx *wx = netdev_priv(netdev); in txgbe_set_ringparam() local 35 err = wx_set_state_reset(wx); in txgbe_set_ringparam() 39 if (!netif_running(wx->netdev)) { in txgbe_set_ringparam() 51 i = max_t(int, wx->num_tx_queues, wx->num_rx_queues); in txgbe_set_ringparam() 58 txgbe_down(wx); in txgbe_set_ringparam() 63 txgbe_up(wx); in txgbe_set_ringparam() 175 struct wx *wx = netdev_priv(dev); in txgbe_get_rxnfc() local 176 struct txgbe *txgbe = wx->priv; in txgbe_get_rxnfc() 266 struct wx *wx = txgbe->wx; in txgbe_update_ethtool_fdir_entry() local 330 struct wx *wx = txgbe->wx; in txgbe_add_ethtool_fdir_entry() local [all …]
|
| H A D | txgbe_fdir.h | 10 int txgbe_fdir_set_input_mask(struct wx *wx, union txgbe_atr_input *input_mask); 11 int txgbe_fdir_write_perfect_filter(struct wx *wx, 14 int txgbe_fdir_erase_perfect_filter(struct wx *wx, 17 void txgbe_configure_fdir(struct wx *wx); 18 void txgbe_fdir_filter_exit(struct wx *wx);
|
| H A D | txgbe_hw.h | 7 int txgbe_disable_sec_tx_path(struct wx *wx); 8 void txgbe_enable_sec_tx_path(struct wx *wx); 9 int txgbe_validate_eeprom_checksum(struct wx *wx, u16 *checksum_val); 10 int txgbe_reset_hw(struct wx *wx);
|
| H A D | txgbe_irq.h | 4 void txgbe_irq_enable(struct wx *wx, bool queues); 5 int txgbe_request_queue_irqs(struct wx *wx);
|
| H A D | txgbe_type.h | 290 void txgbe_down(struct wx *wx); 291 void txgbe_up(struct wx *wx); 343 struct wx *wx; member
|
| /linux-6.15/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
| H A D | SchedGui.py | 12 import wx 17 class RootFrame(wx.Frame): 90 top_color = wx.Colour(r, g, b) 91 brush = wx.Brush(top_color, wx.SOLID) 98 color = wx.Colour(r, g, b) 99 brush = wx.Brush(color, wx.SOLID) 109 dc = wx.PaintDC(self.scroll_panel) 177 if key == wx.WXK_RIGHT: 179 elif key == wx.WXK_LEFT: 181 elif key == wx.WXK_DOWN: [all …]
|