Home
last modified time | relevance | path

Searched defs:wx (Results 1 – 16 of 16) sorted by relevance

/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_hw.c19 struct wx *wx = bus->priv; in wx_phy_read_reg_mdi() local
48 struct wx *wx = bus->priv; in wx_phy_write_reg_mdi() local
74 struct wx *wx = bus->priv; in wx_phy_read_reg_mdi_c22() local
83 struct wx *wx = bus->priv; in wx_phy_write_reg_mdi_c22() local
92 struct wx *wx = bus->priv; in wx_phy_read_reg_mdi_c45() local
102 struct wx *wx = bus->priv; in wx_phy_write_reg_mdi_c45() local
109 static void wx_intr_disable(struct wx *wx, u64 qmask) in wx_intr_disable()
124 void wx_intr_enable(struct wx *wx, u64 qmask) in wx_intr_enable()
149 void wx_irq_disable(struct wx *wx) in wx_irq_disable()
173 static int wx_fmgr_cmd_op(struct wx *wx, u32 cmd, u32 cmd_addr) in wx_fmgr_cmd_op()
[all …]
H A Dwx_vf_common.c17 struct wx *wx = pci_get_drvdata(pdev); in wxvf_suspend() local
36 struct wx *wx = pci_get_drvdata(pdev); in wxvf_resume() local
48 struct wx *wx = pci_get_drvdata(pdev); in wxvf_remove() local
67 struct wx *wx = data; in wx_msix_misc_vf() local
77 int wx_request_msix_irqs_vf(struct wx *wx) in wx_request_msix_irqs_vf()
122 void wx_negotiate_api_vf(struct wx *wx) in wx_negotiate_api_vf()
140 void wx_reset_vf(struct wx *wx) in wx_reset_vf()
158 struct wx *wx = netdev_priv(netdev); in wx_set_rx_mode_vf() local
189 static void wx_configure_rx_vf(struct wx *wx) in wx_configure_rx_vf()
216 void wx_configure_vf(struct wx *wx) in wx_configure_vf()
[all …]
H A Dwx_err.c26 struct wx *wx = pci_get_drvdata(pdev); in wx_io_error_detected() local
64 struct wx *wx = pci_get_drvdata(pdev); in wx_io_slot_reset() local
98 struct wx *wx = pci_get_drvdata(pdev); in wx_io_resume() local
123 static bool wx_check_pcie_error(struct wx *wx) in wx_check_pcie_error()
137 static void wx_pf_reset_subtask(struct wx *wx) in wx_pf_reset_subtask()
149 struct wx *wx = container_of(work, struct wx, reset_task); in wx_reset_task() local
179 void wx_check_err_subtask(struct wx *wx) in wx_check_err_subtask()
186 int wx_init_err_task(struct wx *wx) in wx_init_err_task()
200 static bool wx_ring_tx_pending(struct wx *wx) in wx_ring_tx_pending()
214 static bool wx_vf_tx_pending(struct wx *wx) in wx_vf_tx_pending()
[all …]
H A Dwx_mbx.c15 static int wx_obtain_mbx_lock_pf(struct wx *wx, u16 vf) in wx_obtain_mbx_lock_pf()
36 static int wx_check_for_bit_pf(struct wx *wx, u32 mask, int index) in wx_check_for_bit_pf()
54 int wx_check_for_ack_pf(struct wx *wx, u16 vf) in wx_check_for_ack_pf()
71 int wx_check_for_msg_pf(struct wx *wx, u16 vf) in wx_check_for_msg_pf()
90 int wx_write_mbx_pf(struct wx *wx, u32 *msg, u16 size, u16 vf) in wx_write_mbx_pf()
131 int wx_read_mbx_pf(struct wx *wx, u32 *msg, u16 size, u16 vf) in wx_read_mbx_pf()
164 int wx_check_for_rst_pf(struct wx *wx, u16 vf) in wx_check_for_rst_pf()
178 static u32 wx_read_v2p_mailbox(struct wx *wx) in wx_read_v2p_mailbox()
188 static u32 wx_mailbox_get_lock_vf(struct wx *wx) in wx_mailbox_get_lock_vf()
200 static int wx_obtain_mbx_lock_vf(struct wx *wx) in wx_obtain_mbx_lock_vf()
[all …]
H A Dwx_ethtool.c79 struct wx *wx = netdev_priv(netdev); in wx_get_sset_count() local
97 struct wx *wx = netdev_priv(netdev); in wx_get_strings() local
129 struct wx *wx = netdev_priv(netdev); in wx_get_ethtool_stats() local
193 struct wx *wx = netdev_priv(netdev); in wx_get_mac_stats() local
209 struct wx *wx = netdev_priv(netdev); in wx_get_pause_stats() local
223 struct wx *wx = netdev_priv(netdev); in wx_get_drvinfo() local
243 struct wx *wx = netdev_priv(netdev); in wx_nway_reset() local
252 struct wx *wx = netdev_priv(netdev); in wx_get_link_ksettings() local
261 struct wx *wx = netdev_priv(netdev); in wx_set_link_ksettings() local
270 struct wx *wx = netdev_priv(netdev); in wx_get_wol() local
[all …]
H A Dwx_vf.c12 static void wx_virt_clr_reg(struct wx *wx) in wx_virt_clr_reg()
35 void wx_init_hw_vf(struct wx *wx) in wx_init_hw_vf()
41 static int wx_mbx_write_and_read_reply(struct wx *wx, u32 *req_buf, in wx_mbx_write_and_read_reply()
62 int wx_reset_hw_vf(struct wx *wx) in wx_reset_hw_vf()
136 void wx_stop_adapter_vf(struct wx *wx) in wx_stop_adapter_vf()
174 int wx_set_rar_vf(struct wx *wx, u32 index, u8 *addr, u32 enable_addr) in wx_set_rar_vf()
207 int wx_update_mc_addr_list_vf(struct wx *wx, struct net_device *netdev) in wx_update_mc_addr_list_vf()
242 int wx_update_xcast_mode_vf(struct wx *wx, int xcast_mode) in wx_update_xcast_mode_vf()
270 int wx_get_link_state_vf(struct wx *wx, u16 *link_state) in wx_get_link_state_vf()
301 int wx_set_vfta_vf(struct wx *wx, u32 vlan, u32 vind, bool vlan_on, in wx_set_vfta_vf()
[all …]
H A Dwx_vf_lib.c15 struct wx *wx = q_vector->wx; in wx_write_eitr_vf() local
40 static void wx_set_ivar_vf(struct wx *wx, s8 direction, u8 queue, in wx_set_ivar_vf()
63 void wx_configure_msix_vf(struct wx *wx) in wx_configure_msix_vf()
92 struct wx *wx = netdev_priv(netdev); in wx_write_uc_addr_list_vf() local
118 static void wx_configure_tx_ring_vf(struct wx *wx, struct wx_ring *ring) in wx_configure_tx_ring_vf()
173 void wx_configure_tx_vf(struct wx *wx) in wx_configure_tx_vf()
182 static void wx_configure_srrctl_vf(struct wx *wx, struct wx_ring *ring, in wx_configure_srrctl_vf()
196 void wx_setup_psrtype_vf(struct wx *wx) in wx_setup_psrtype_vf()
208 void wx_setup_vfmrqc_vf(struct wx *wx) in wx_setup_vfmrqc_vf()
247 void wx_configure_rx_ring_vf(struct wx *wx, struct wx_ring *ring) in wx_configure_rx_ring_vf()
H A Dwx_lib.c400 struct wx *wx = rx_ring->q_vector->wx; in wx_is_non_eop() local
638 struct wx *wx = netdev_priv(rx_ring->netdev); in wx_process_skb_fields() local
788 struct wx *wx = netdev_priv(tx_ring->netdev); in wx_clean_tx_irq() local
967 struct wx *wx = q_vector->wx; in wx_poll() local
1613 struct wx *wx = netdev_priv(tx_ring->netdev); in wx_xmit_frame_ring() local
1701 struct wx *wx = netdev_priv(netdev); in wx_xmit_frame() local
1725 struct wx *wx = q_vector->wx; in wx_set_itr() local
1782 void wx_napi_enable_all(struct wx *wx) in wx_napi_enable_all()
1799 void wx_napi_disable_all(struct wx *wx) in wx_napi_disable_all()
1813 static bool wx_set_vmdq_queues(struct wx *wx) in wx_set_vmdq_queues()
[all …]
/linux/drivers/net/ethernet/wangxun/ngbe/
H A Dngbe_main.c50 static void ngbe_down_suspend(struct wx *wx) in ngbe_down_suspend()
68 static void ngbe_init_type_code(struct wx *wx) in ngbe_init_type_code()
104 static int ngbe_sw_init(struct wx *wx) in ngbe_sw_init()
164 struct wx *wx = container_of(work, struct wx, service_task); in ngbe_service_task() local
173 static void ngbe_init_service(struct wx *wx) in ngbe_init_service()
185 static void ngbe_irq_enable(struct wx *wx, bool queues) in ngbe_irq_enable()
216 struct wx *wx = data; in ngbe_intr() local
250 static irqreturn_t __ngbe_msix_misc(struct wx *wx, u32 eicr) in __ngbe_msix_misc()
267 struct wx *wx = data; in ngbe_msix_misc() local
278 struct wx *wx = data; in ngbe_misc_and_queue() local
[all …]
H A Dngbe_hw.c13 int ngbe_eeprom_chksum_hostif(struct wx *wx) in ngbe_eeprom_chksum_hostif()
39 static int ngbe_reset_misc(struct wx *wx) in ngbe_reset_misc()
50 void ngbe_sfp_modules_txrx_powerctl(struct wx *wx, bool swi) in ngbe_sfp_modules_txrx_powerctl()
64 int ngbe_reset_hw(struct wx *wx) in ngbe_reset_hw()
H A Dngbe_ethtool.c20 struct wx *wx = netdev_priv(netdev); in ngbe_set_ringparam() local
/linux/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_main.c55 static void txgbe_check_minimum_link(struct wx *wx) in txgbe_check_minimum_link()
72 static int txgbe_enumerate_functions(struct wx *wx) in txgbe_enumerate_functions()
93 static void txgbe_module_detection_subtask(struct wx *wx) in txgbe_module_detection_subtask()
120 static void txgbe_link_config_subtask(struct wx *wx) in txgbe_link_config_subtask()
138 struct wx *wx = container_of(work, struct wx, service_task); in txgbe_service_task() local
149 static void txgbe_init_service(struct wx *wx) in txgbe_init_service()
156 static void txgbe_up_complete(struct wx *wx) in txgbe_up_complete()
204 static void txgbe_reset(struct wx *wx) in txgbe_reset()
227 static void txgbe_disable_device(struct wx *wx) in txgbe_disable_device()
287 void txgbe_down(struct wx *wx) in txgbe_down()
[all …]
H A Dtxgbe_aml.c18 void txgbe_gpio_init_aml(struct wx *wx) in txgbe_gpio_init_aml()
40 struct wx *wx = txgbe->wx; in txgbe_gpio_irq_handler_aml() local
60 int txgbe_test_hostif(struct wx *wx) in txgbe_test_hostif()
76 int txgbe_read_eeprom_hostif(struct wx *wx, in txgbe_read_eeprom_hostif()
111 static int txgbe_identify_module_hostif(struct wx *wx, in txgbe_identify_module_hostif()
124 static int txgbe_set_phy_link_hostif(struct wx *wx, int speed, int autoneg, int duplex) in txgbe_set_phy_link_hostif()
156 static void txgbe_get_link_capabilities(struct wx *wx, int *speed, in txgbe_get_link_capabilities()
174 static void txgbe_get_mac_link(struct wx *wx, int *speed) in txgbe_get_mac_link()
191 void txgbe_set_phy_link(struct wx *wx) in txgbe_set_phy_link()
202 static int txgbe_sfp_to_linkmodes(struct wx *wx, struct txgbe_sff_id *id) in txgbe_sfp_to_linkmodes()
[all …]
H A Dtxgbe_hw.c23 int txgbe_disable_sec_tx_path(struct wx *wx) in txgbe_disable_sec_tx_path()
38 void txgbe_enable_sec_tx_path(struct wx *wx) in txgbe_enable_sec_tx_path()
51 static void txgbe_init_thermal_sensor_thresh(struct wx *wx) in txgbe_init_thermal_sensor_thresh()
80 static int txgbe_calc_eeprom_checksum(struct wx *wx, u16 *checksum) in txgbe_calc_eeprom_checksum()
127 int txgbe_validate_eeprom_checksum(struct wx *wx, u16 *checksum_val) in txgbe_validate_eeprom_checksum()
168 static void txgbe_reset_misc(struct wx *wx) in txgbe_reset_misc()
182 int txgbe_reset_hw(struct wx *wx) in txgbe_reset_hw()
/linux/drivers/input/rmi4/
H A Drmi_2d_sensor.h27 u8 wx; member
/linux/drivers/input/touchscreen/
H A Draydium_i2c_ts.c866 u8 wx, wy; in raydium_mt_event() local