Home
last modified time | relevance | path

Searched defs:wx (Results 1 – 12 of 12) 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_ptp.c34 static u64 wx_ptp_timecounter_cyc2time(struct wx *wx, u64 timestamp) in wx_ptp_timecounter_cyc2time()
47 static u64 wx_ptp_readtime(struct wx *wx, struct ptp_system_timestamp *sts) in wx_ptp_readtime()
67 struct wx *wx = container_of(ptp, struct wx, ptp_caps); in wx_ptp_adjfine() local
86 struct wx *wx = container_of(ptp, struct wx, ptp_caps); in wx_ptp_adjtime() local
103 struct wx *wx = container_of(ptp, struct wx, ptp_caps); in wx_ptp_gettimex64() local
116 struct wx *wx = container_of(ptp, struct wx, ptp_caps); in wx_ptp_settime64() local
140 static void wx_ptp_clear_tx_timestamp(struct wx *wx) in wx_ptp_clear_tx_timestamp()
167 static void wx_ptp_convert_to_hwtstamp(struct wx *wx, in wx_ptp_convert_to_hwtstamp()
185 static void wx_ptp_tx_hwtstamp(struct wx *wx) in wx_ptp_tx_hwtstamp()
203 static int wx_ptp_tx_hwtstamp_work(struct wx *wx) in wx_ptp_tx_hwtstamp_work()
[all …]
H A Dwx_sriov.c15 struct wx *wx = pci_get_drvdata(pdev); in wx_vf_configuration() local
22 static int wx_alloc_vf_macvlans(struct wx *wx, u8 num_vfs) in wx_alloc_vf_macvlans()
49 static void wx_sriov_clear_data(struct wx *wx) in wx_sriov_clear_data()
73 static int __wx_enable_sriov(struct wx *wx, u8 num_vfs) in __wx_enable_sriov()
130 static void wx_sriov_reinit(struct wx *wx) in wx_sriov_reinit()
137 void wx_disable_sriov(struct wx *wx) in wx_disable_sriov()
152 struct wx *wx = pci_get_drvdata(dev); in wx_pci_sriov_enable() local
186 struct wx *wx = pci_get_drvdata(dev); in wx_pci_sriov_disable() local
202 struct wx *wx = pci_get_drvdata(pdev); in wx_pci_sriov_configure() local
221 static int wx_set_vf_mac(struct wx *wx, u16 vf, const u8 *mac_addr) in wx_set_vf_mac()
[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_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_lib.c399 struct wx *wx = rx_ring->q_vector->wx; in wx_is_non_eop() local
637 struct wx *wx = netdev_priv(rx_ring->netdev); in wx_process_skb_fields() local
756 struct wx *wx = netdev_priv(tx_ring->netdev); in wx_clean_tx_irq() local
930 struct wx *wx = q_vector->wx; in wx_poll() local
1576 struct wx *wx = netdev_priv(tx_ring->netdev); in wx_xmit_frame_ring() local
1662 struct wx *wx = netdev_priv(netdev); in wx_xmit_frame() local
1686 struct wx *wx = q_vector->wx; in wx_set_itr() local
1743 void wx_napi_enable_all(struct wx *wx) in wx_napi_enable_all()
1760 void wx_napi_disable_all(struct wx *wx) in wx_napi_disable_all()
1774 static bool wx_set_vmdq_queues(struct wx *wx) in wx_set_vmdq_queues()
[all …]
/linux/drivers/net/ethernet/wangxun/txgbe/
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()
109 static int txgbe_identify_module_hostif(struct wx *wx, in txgbe_identify_module_hostif()
122 static int txgbe_set_phy_link_hostif(struct wx *wx, int speed, int autoneg, int duplex) in txgbe_set_phy_link_hostif()
154 static void txgbe_get_link_capabilities(struct wx *wx, int *speed, in txgbe_get_link_capabilities()
172 static void txgbe_get_mac_link(struct wx *wx, int *speed) in txgbe_get_mac_link()
189 int txgbe_set_phy_link(struct wx *wx) in txgbe_set_phy_link()
204 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()
H A Dtxgbe_type.h457 struct wx *wx; member
/linux/drivers/net/ethernet/wangxun/ngbe/
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()
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/
H A Ddisplay_mode_core.c859 dml_uint_t pixelsPerClock, lstall, D, initalXmitDelay, w, s, ix, wx, p, l0, a, ax, L, in dscceComputeDelay() local