Home
last modified time | relevance | path

Searched defs:wx (Results 1 – 22 of 22) 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
66 struct wx *wx = data; in wx_msix_misc_vf() local
76 int wx_request_msix_irqs_vf(struct wx *wx) in wx_request_msix_irqs_vf()
121 void wx_negotiate_api_vf(struct wx *wx) in wx_negotiate_api_vf()
139 void wx_reset_vf(struct wx *wx) in wx_reset_vf()
157 struct wx *wx = netdev_priv(netdev); in wx_set_rx_mode_vf() local
188 static void wx_configure_rx_vf(struct wx *wx) in wx_configure_rx_vf()
215 void wx_configure_vf(struct wx *wx) in wx_configure_vf()
[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()
50 static void wx_sriov_clear_data(struct wx *wx) in wx_sriov_clear_data()
74 static int __wx_enable_sriov(struct wx *wx, u8 num_vfs) in __wx_enable_sriov()
128 static void wx_sriov_reinit(struct wx *wx) in wx_sriov_reinit()
135 void wx_disable_sriov(struct wx *wx) in wx_disable_sriov()
150 struct wx *wx = pci_get_drvdata(dev); in wx_pci_sriov_enable() local
178 struct wx *wx = pci_get_drvdata(dev); in wx_pci_sriov_disable() local
186 struct wx *wx = pci_get_drvdata(pdev); in wx_pci_sriov_configure() local
207 static int wx_set_vf_mac(struct wx *wx, u16 vf, const u8 *mac_addr) in wx_set_vf_mac()
[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_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.c598 struct wx *wx = netdev_priv(rx_ring->netdev); in wx_process_skb_fields() local
715 struct wx *wx = netdev_priv(tx_ring->netdev); in wx_clean_tx_irq() local
846 struct wx *wx = q_vector->wx; in wx_poll() local
1486 struct wx *wx = netdev_priv(tx_ring->netdev); in wx_xmit_frame_ring() local
1572 struct wx *wx = netdev_priv(netdev); in wx_xmit_frame() local
1594 void wx_napi_enable_all(struct wx *wx) in wx_napi_enable_all()
1606 void wx_napi_disable_all(struct wx *wx) in wx_napi_disable_all()
1618 static bool wx_set_vmdq_queues(struct wx *wx) in wx_set_vmdq_queues()
1685 static void wx_set_rss_queues(struct wx *wx) in wx_set_rss_queues()
1721 static void wx_set_num_queues(struct wx *wx) in wx_set_num_queues()
[all …]
H A Dwx_vf_lib.c15 struct wx *wx = q_vector->wx; in wx_write_eitr_vf() local
29 static void wx_set_ivar_vf(struct wx *wx, s8 direction, u8 queue, in wx_set_ivar_vf()
52 void wx_configure_msix_vf(struct wx *wx) in wx_configure_msix_vf()
81 struct wx *wx = netdev_priv(netdev); in wx_write_uc_addr_list_vf() local
107 static void wx_configure_tx_ring_vf(struct wx *wx, struct wx_ring *ring) in wx_configure_tx_ring_vf()
153 void wx_configure_tx_vf(struct wx *wx) in wx_configure_tx_vf()
162 static void wx_configure_srrctl_vf(struct wx *wx, struct wx_ring *ring, in wx_configure_srrctl_vf()
176 void wx_setup_psrtype_vf(struct wx *wx) in wx_setup_psrtype_vf()
188 void wx_setup_vfmrqc_vf(struct wx *wx) in wx_setup_vfmrqc_vf()
227 void wx_configure_rx_ring_vf(struct wx *wx, struct wx_ring *ring) in wx_configure_rx_ring_vf()
H A Dwx_type.h1080 struct wx *wx; member
1212 struct wx { struct
1222 struct wx_bus_info bus; argument
1223 struct wx_mbx_info mbx; argument
1224 struct wx_mac_info mac; argument
1226 enum wx_media_type media_type; argument
1227 struct wx_eeprom_info eeprom; argument
1228 struct wx_addr_filter_info addr_ctrl; argument
1229 struct wx_fc_info fc; argument
1230 struct wx_mac_addr *mac_table; argument
[all …]
/linux/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_main.c54 static void txgbe_check_minimum_link(struct wx *wx) in txgbe_check_minimum_link()
71 static int txgbe_enumerate_functions(struct wx *wx) in txgbe_enumerate_functions()
92 static void txgbe_sfp_detection_subtask(struct wx *wx) in txgbe_sfp_detection_subtask()
109 static void txgbe_link_config_subtask(struct wx *wx) in txgbe_link_config_subtask()
129 struct wx *wx = container_of(work, struct wx, service_task); in txgbe_service_task() local
137 static void txgbe_init_service(struct wx *wx) in txgbe_init_service()
144 static void txgbe_up_complete(struct wx *wx) in txgbe_up_complete()
195 static void txgbe_reset(struct wx *wx) in txgbe_reset()
215 static void txgbe_disable_device(struct wx *wx) in txgbe_disable_device()
272 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()
35 struct wx *wx = txgbe->wx; in txgbe_gpio_irq_handler_aml() local
55 int txgbe_test_hostif(struct wx *wx) in txgbe_test_hostif()
71 static int txgbe_identify_sfp_hostif(struct wx *wx, struct txgbe_hic_i2c_read *buffer) in txgbe_identify_sfp_hostif()
83 static int txgbe_set_phy_link_hostif(struct wx *wx, int speed, int autoneg, int duplex) in txgbe_set_phy_link_hostif()
109 static void txgbe_get_link_capabilities(struct wx *wx) in txgbe_get_link_capabilities()
124 static void txgbe_get_phy_link(struct wx *wx, int *speed) in txgbe_get_phy_link()
139 int txgbe_set_phy_link(struct wx *wx) in txgbe_set_phy_link()
166 static int txgbe_sfp_to_linkmodes(struct wx *wx, struct txgbe_sfp_id *id) in txgbe_sfp_to_linkmodes()
210 int txgbe_identify_sfp(struct wx *wx) in txgbe_identify_sfp()
[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_irq.c22 void txgbe_irq_enable(struct wx *wx, bool queues) in txgbe_irq_enable()
45 int txgbe_request_queue_irqs(struct wx *wx) in txgbe_request_queue_irqs()
126 struct wx *wx = txgbe->wx; in txgbe_misc_irq_handle() local
164 struct wx *wx = txgbe->wx; in txgbe_misc_irq_thread_fn() local
219 struct wx *wx = txgbe->wx; in txgbe_setup_misc_irq() local
H A Dtxgbe_type.h432 struct wx *wx; member
/linux/drivers/net/ethernet/wangxun/ngbe/
H A Dngbe_main.c53 static void ngbe_init_type_code(struct wx *wx) in ngbe_init_type_code()
89 static int ngbe_sw_init(struct wx *wx) in ngbe_sw_init()
146 static void ngbe_irq_enable(struct wx *wx, bool queues) in ngbe_irq_enable()
175 struct wx *wx = data; in ngbe_intr() local
209 static irqreturn_t __ngbe_msix_misc(struct wx *wx, u32 eicr) in __ngbe_msix_misc()
226 struct wx *wx = data; in ngbe_msix_misc() local
237 struct wx *wx = data; in ngbe_misc_and_queue() local
260 static int ngbe_request_msix_irqs(struct wx *wx) in ngbe_request_msix_irqs()
320 static int ngbe_request_irq(struct wx *wx) in ngbe_request_irq()
341 static void ngbe_disable_device(struct wx *wx) in ngbe_disable_device()
[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.c18 struct wx *wx = netdev_priv(netdev); in ngbe_get_wol() local
31 struct wx *wx = netdev_priv(netdev); in ngbe_set_wol() local
52 struct wx *wx = netdev_priv(netdev); in ngbe_set_ringparam() local
/linux/drivers/net/ethernet/wangxun/txgbevf/
H A Dtxgbevf_main.c48 static void txgbevf_set_num_queues(struct wx *wx) in txgbevf_set_num_queues()
81 static void txgbevf_init_type_code(struct wx *wx) in txgbevf_init_type_code()
102 static int txgbevf_sw_init(struct wx *wx) in txgbevf_sw_init()
183 struct wx *wx = NULL; in txgbevf_probe() local
/linux/drivers/net/ethernet/wangxun/ngbevf/
H A Dngbevf_main.c52 static void ngbevf_set_num_queues(struct wx *wx) in ngbevf_set_num_queues()
59 static int ngbevf_sw_init(struct wx *wx) in ngbevf_sw_init()
138 struct wx *wx = NULL; in ngbevf_probe() local
/linux/drivers/input/rmi4/
H A Drmi_2d_sensor.h24 u8 wx; member
/linux/drivers/input/touchscreen/
H A Draydium_i2c_ts.c874 u8 wx, wy; in raydium_mt_event() local
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A Ddisplay_mode_vba_util_32.c53 unsigned int pixelsPerClock, lstall, D, initalXmitDelay, w, s, ix, wx, p, l0, a, ax, L, in dml32_dscceComputeDelay() local