Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/wangxun/libwx/
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_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 …]
/linux/drivers/net/ethernet/wangxun/txgbe/
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/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()