/linux-6.6.21/drivers/net/ethernet/wangxun/libwx/ |
D | wx_hw.c | 15 static void wx_intr_disable(struct wx *wx, u64 qmask) in wx_intr_disable() argument 21 wr32(wx, WX_PX_IMS(0), mask); in wx_intr_disable() 23 if (wx->mac.type == wx_mac_sp) { in wx_intr_disable() 26 wr32(wx, WX_PX_IMS(1), mask); in wx_intr_disable() 30 void wx_intr_enable(struct wx *wx, u64 qmask) in wx_intr_enable() argument 36 wr32(wx, WX_PX_IMC(0), mask); in wx_intr_enable() 37 if (wx->mac.type == wx_mac_sp) { in wx_intr_enable() 40 wr32(wx, WX_PX_IMC(1), mask); in wx_intr_enable() 49 void wx_irq_disable(struct wx *wx) in wx_irq_disable() argument 51 struct pci_dev *pdev = wx->pdev; in wx_irq_disable() [all …]
|
D | wx_hw.h | 7 void wx_intr_enable(struct wx *wx, u64 qmask); 8 void wx_irq_disable(struct wx *wx); 9 int wx_check_flash_load(struct wx *wx, u32 check_bit); 10 void wx_control_hw(struct wx *wx, bool drv); 11 int wx_mng_present(struct wx *wx); 12 int wx_host_interface_command(struct wx *wx, u32 *buffer, 14 int wx_read_ee_hostif(struct wx *wx, u16 offset, u16 *data); 15 int wx_read_ee_hostif_buffer(struct wx *wx, 17 void wx_init_eeprom_params(struct wx *wx); 18 void wx_get_mac_addr(struct wx *wx, u8 *mac_addr); [all …]
|
D | wx_lib.h | 14 void wx_napi_enable_all(struct wx *wx); 15 void wx_napi_disable_all(struct wx *wx); 16 void wx_reset_interrupt_capability(struct wx *wx); 17 void wx_clear_interrupt_scheme(struct wx *wx); 18 int wx_init_interrupt_scheme(struct wx *wx); 20 void wx_free_irq(struct wx *wx); 21 int wx_setup_isb_resources(struct wx *wx); 22 void wx_free_isb_resources(struct wx *wx); 23 u32 wx_misc_isb(struct wx *wx, enum wx_isb_idx idx); 24 void wx_configure_vectors(struct wx *wx); [all …]
|
D | wx_lib.c | 581 ethertype = ring->q_vector->wx->tpid[idx]; in wx_rx_vlan() 706 unsigned int budget = q_vector->wx->tx_work_limit; in wx_clean_tx_irq() 831 struct wx *wx = q_vector->wx; in wx_poll() local 866 if (netif_running(wx->netdev)) in wx_poll() 867 wx_intr_enable(wx, WX_INTR_Q(q_vector->v_idx)); in wx_poll() 1508 struct wx *wx = netdev_priv(netdev); in wx_xmit_frame() local 1522 if (r_idx >= wx->num_tx_queues) in wx_xmit_frame() 1523 r_idx = r_idx % wx->num_tx_queues; in wx_xmit_frame() 1524 tx_ring = wx->tx_ring[r_idx]; in wx_xmit_frame() 1530 void wx_napi_enable_all(struct wx *wx) in wx_napi_enable_all() argument [all …]
|
D | wx_ethtool.c | 12 struct wx *wx = netdev_priv(netdev); in wx_get_drvinfo() local 14 strscpy(info->driver, wx->driver_name, sizeof(info->driver)); in wx_get_drvinfo() 15 strscpy(info->fw_version, wx->eeprom_id, sizeof(info->fw_version)); in wx_get_drvinfo() 16 strscpy(info->bus_info, pci_name(wx->pdev), sizeof(info->bus_info)); in wx_get_drvinfo()
|
D | wx_type.h | 820 struct wx *wx; member 846 struct wx { struct 935 rd32m(struct wx *wx, u32 reg, u32 mask) in rd32m() argument 939 val = rd32(wx, reg); in rd32m() 944 wr32m(struct wx *wx, u32 reg, u32 mask, u32 field) in wr32m() argument 948 val = rd32(wx, reg); in wr32m() 951 wr32(wx, reg, val); in wr32m() 959 #define wx_err(wx, fmt, arg...) \ argument 960 dev_err(&(wx)->pdev->dev, fmt, ##arg) 962 #define wx_dbg(wx, fmt, arg...) \ argument [all …]
|
/linux-6.6.21/drivers/net/ethernet/wangxun/ngbe/ |
D | ngbe_main.c | 50 static void ngbe_init_type_code(struct wx *wx) in ngbe_init_type_code() argument 55 wx->mac.type = wx_mac_em; in ngbe_init_type_code() 56 type_mask = (u16)(wx->subsystem_device_id & NGBE_OEM_MASK); in ngbe_init_type_code() 57 ncsi_mask = wx->subsystem_device_id & NGBE_NCSI_MASK; in ngbe_init_type_code() 58 wol_mask = wx->subsystem_device_id & NGBE_WOL_MASK; in ngbe_init_type_code() 60 val = rd32(wx, WX_CFG_PORT_ST); in ngbe_init_type_code() 61 wx->mac_type = (val & BIT(7)) >> 7 ? in ngbe_init_type_code() 65 wx->wol_hw_supported = (wol_mask == NGBE_WOL_SUP) ? 1 : 0; in ngbe_init_type_code() 66 wx->ncsi_enabled = (ncsi_mask == NGBE_NCSI_MASK || in ngbe_init_type_code() 74 wx->gpio_ctrl = 1; in ngbe_init_type_code() [all …]
|
D | ngbe_mdio.c | 16 struct wx *wx = bus->priv; in ngbe_phy_read_reg_internal() local 20 return (u16)rd32(wx, NGBE_PHY_CONFIG(regnum)); in ngbe_phy_read_reg_internal() 25 struct wx *wx = bus->priv; in ngbe_phy_write_reg_internal() local 28 wr32(wx, NGBE_PHY_CONFIG(regnum), value); in ngbe_phy_write_reg_internal() 35 struct wx *wx = bus->priv; in ngbe_phy_read_reg_mdi_c22() local 38 wr32(wx, NGBE_MDIO_CLAUSE_SELECT, 0xF); in ngbe_phy_read_reg_mdi_c22() 43 wr32(wx, WX_MSCA, command); in ngbe_phy_read_reg_mdi_c22() 47 wr32(wx, WX_MSCC, command); in ngbe_phy_read_reg_mdi_c22() 51 100000, false, wx, WX_MSCC); in ngbe_phy_read_reg_mdi_c22() 53 wx_err(wx, "Mdio read c22 command did not complete.\n"); in ngbe_phy_read_reg_mdi_c22() [all …]
|
D | ngbe_hw.c | 13 int ngbe_eeprom_chksum_hostif(struct wx *wx) in ngbe_eeprom_chksum_hostif() argument 28 status = wx_host_interface_command(wx, (u32 *)&buffer, sizeof(buffer), in ngbe_eeprom_chksum_hostif() 33 tmp = rd32a(wx, WX_MNG_MBOX, 1); in ngbe_eeprom_chksum_hostif() 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() 44 wr32(wx, NGBE_GPIO_DDR, 0x1); in ngbe_reset_misc() 45 ngbe_sfp_modules_txrx_powerctl(wx, false); in ngbe_reset_misc() 50 void ngbe_sfp_modules_txrx_powerctl(struct wx *wx, bool swi) in ngbe_sfp_modules_txrx_powerctl() argument 53 wr32(wx, NGBE_GPIO_DR, swi ? 0 : NGBE_GPIO_DR_0); in ngbe_sfp_modules_txrx_powerctl() [all …]
|
D | ngbe_ethtool.c | 15 struct wx *wx = netdev_priv(netdev); in ngbe_get_wol() local 17 if (!wx->wol_hw_supported) in ngbe_get_wol() 21 if (wx->wol & WX_PSR_WKUP_CTL_MAG) in ngbe_get_wol() 28 struct wx *wx = netdev_priv(netdev); in ngbe_set_wol() local 29 struct pci_dev *pdev = wx->pdev; in ngbe_set_wol() 31 if (!wx->wol_hw_supported) in ngbe_set_wol() 34 wx->wol = 0; in ngbe_set_wol() 36 wx->wol = WX_PSR_WKUP_CTL_MAG; in ngbe_set_wol() 37 netdev->wol_enabled = !!(wx->wol); in ngbe_set_wol() 38 wr32(wx, WX_PSR_WKUP_CTL, wx->wol); in ngbe_set_wol()
|
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);
|
D | ngbe_mdio.h | 10 int ngbe_phy_connect(struct wx *wx); 11 int ngbe_mdio_init(struct wx *wx);
|
/linux-6.6.21/drivers/net/ethernet/wangxun/txgbe/ |
D | txgbe_main.c | 41 static void txgbe_check_minimum_link(struct wx *wx) in txgbe_check_minimum_link() argument 45 pdev = wx->pdev; in txgbe_check_minimum_link() 58 static int txgbe_enumerate_functions(struct wx *wx) in txgbe_enumerate_functions() argument 60 struct pci_dev *entry, *pdev = wx->pdev; in txgbe_enumerate_functions() 84 static void txgbe_irq_enable(struct wx *wx, bool queues) in txgbe_irq_enable() argument 86 wr32(wx, WX_PX_MISC_IEN, TXGBE_PX_MISC_IEN_MASK); in txgbe_irq_enable() 89 wx_intr_enable(wx, TXGBE_INTR_MISC(wx)); in txgbe_irq_enable() 91 wx_intr_enable(wx, TXGBE_INTR_QALL(wx)); in txgbe_irq_enable() 102 struct wx *wx = data; in txgbe_intr() local 106 q_vector = wx->q_vector[0]; in txgbe_intr() [all …]
|
D | txgbe_hw.c | 23 int txgbe_disable_sec_tx_path(struct wx *wx) in txgbe_disable_sec_tx_path() argument 27 wr32m(wx, WX_TSC_CTL, WX_TSC_CTL_TX_DIS, WX_TSC_CTL_TX_DIS); in txgbe_disable_sec_tx_path() 29 1000, 20000, false, wx, WX_TSC_ST); in txgbe_disable_sec_tx_path() 38 void txgbe_enable_sec_tx_path(struct wx *wx) in txgbe_enable_sec_tx_path() argument 40 wr32m(wx, WX_TSC_CTL, WX_TSC_CTL_TX_DIS, 0); in txgbe_enable_sec_tx_path() 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 53 struct wx_thermal_sensor_data *data = &wx->mac.sensor; in txgbe_init_thermal_sensor_thresh() 58 if (wx->bus.func) in txgbe_init_thermal_sensor_thresh() 61 wr32(wx, TXGBE_TS_CTL, TXGBE_TS_CTL_EVAL_MD); in txgbe_init_thermal_sensor_thresh() [all …]
|
D | txgbe_phy.c | 26 struct pci_dev *pdev = txgbe->wx->pdev; in txgbe_swnodes_register() 86 struct wx *wx = bus->priv; in txgbe_pcs_read() local 95 wr32(wx, TXGBE_XPCS_IDA_ADDR, offset); in txgbe_pcs_read() 98 val = rd32(wx, TXGBE_XPCS_IDA_DATA); in txgbe_pcs_read() 105 struct wx *wx = bus->priv; in txgbe_pcs_write() local 114 wr32(wx, TXGBE_XPCS_IDA_ADDR, offset); in txgbe_pcs_write() 117 wr32(wx, TXGBE_XPCS_IDA_DATA, val); in txgbe_pcs_write() 127 struct wx *wx; in txgbe_mdio_pcs_init() local 130 wx = txgbe->wx; in txgbe_mdio_pcs_init() 131 pdev = wx->pdev; in txgbe_mdio_pcs_init() [all …]
|
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_read_pba_string(struct wx *wx, u8 *pba_num, u32 pba_num_size); 10 int txgbe_validate_eeprom_checksum(struct wx *wx, u16 *checksum_val); 11 int txgbe_reset_hw(struct wx *wx);
|
D | txgbe_type.h | 140 struct wx *wx = netdev_priv(netdev); in netdev_to_txgbe() local 142 return wx->priv; in netdev_to_txgbe() 181 struct wx *wx; member
|
/linux-6.6.21/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
D | SchedGui.py | 12 import wx 17 class RootFrame(wx.Frame): 24 wx.Frame.__init__(self, parent, id, title) 26 (self.screen_width, self.screen_height) = wx.GetDisplaySize() 39 self.panel = wx.Panel(self, size=(self.screen_width, self.screen_height)) 42 self.scroll = wx.ScrolledWindow(self.panel) 48 self.scroll_panel = wx.Panel(self.scroll, size=(self.screen_width - 15, self.screen_height / 2)) 49 self.scroll_panel.Bind(wx.EVT_PAINT, self.on_paint) 50 self.scroll_panel.Bind(wx.EVT_KEY_DOWN, self.on_key_press) 51 self.scroll_panel.Bind(wx.EVT_LEFT_DOWN, self.on_mouse_down) [all …]
|
/linux-6.6.21/drivers/input/rmi4/ |
D | rmi_2d_sensor.c | 87 swap(obj->wx, obj->wy); in rmi_2d_sensor_abs_report() 89 wide = (obj->wx > obj->wy); in rmi_2d_sensor_abs_report() 90 major = max(obj->wx, obj->wy); in rmi_2d_sensor_abs_report() 91 minor = min(obj->wx, obj->wy); in rmi_2d_sensor_abs_report() 108 obj->wx, obj->wy); in rmi_2d_sensor_abs_report()
|
D | rmi_2d_sensor.h | 24 u8 wx; member
|
D | rmi_f12.c | 179 obj->wx = data1[6]; in rmi_f12_process_objects()
|
/linux-6.6.21/drivers/net/pcs/ |
D | Makefile | 4 pcs_xpcs-$(CONFIG_PCS_XPCS) := pcs-xpcs.o pcs-xpcs-nxp.o pcs-xpcs-wx.o
|
/linux-6.6.21/drivers/input/touchscreen/ |
D | raydium_i2c_ts.c | 874 u8 wx, wy; in raydium_mt_event() local 889 wx = contact[RM_CONTACT_WIDTH_X_POS]; in raydium_mt_event() 892 input_report_abs(ts->input, ABS_MT_TOUCH_MAJOR, max(wx, wy)); in raydium_mt_event() 893 input_report_abs(ts->input, ABS_MT_TOUCH_MINOR, min(wx, wy)); in raydium_mt_event()
|
/linux-6.6.21/Documentation/security/ |
D | sak.rst | 58 l-wx------ 1 root root 64 Mar 18 00:46 /proc/579/fd/0 -> /dev/console
|
/linux-6.6.21/tools/perf/scripts/python/ |
D | sched-migration.py | 367 app = wx.App(False)
|