| /linux/drivers/net/ethernet/wangxun/libwx/ |
| H A D | wx_ptp.c | 34 static u64 wx_ptp_timecounter_cyc2time(struct wx *wx, u64 timestamp) in wx_ptp_timecounter_cyc2time() argument 40 seq = read_seqbegin(&wx->hw_tc_lock); in wx_ptp_timecounter_cyc2time() 41 ns = timecounter_cyc2time(&wx->hw_tc, timestamp); in wx_ptp_timecounter_cyc2time() 42 } while (read_seqretry(&wx->hw_tc_lock, seq)); in wx_ptp_timecounter_cyc2time() 47 static u64 wx_ptp_readtime(struct wx *wx, struct ptp_system_timestamp *sts) in wx_ptp_readtime() argument 51 timeh1 = rd32ptp(wx, WX_TSC_1588_SYSTIMH); in wx_ptp_readtime() 53 timel = rd32ptp(wx, WX_TSC_1588_SYSTIML); in wx_ptp_readtime() 55 timeh2 = rd32ptp(wx, WX_TSC_1588_SYSTIMH); in wx_ptp_readtime() 59 timel = rd32ptp(wx, WX_TSC_1588_SYSTIML); in wx_ptp_readtime() 67 struct wx *wx = container_of(ptp, struct wx, ptp_caps); in wx_ptp_adjfine() local [all …]
|
| H A D | wx_hw.c | 19 struct wx *wx = bus->priv; in wx_phy_read_reg_mdi() local 27 wr32(wx, WX_MSCA, command); in wx_phy_read_reg_mdi() 30 if (wx->mac.type == wx_mac_em) in wx_phy_read_reg_mdi() 32 wr32(wx, WX_MSCC, command); in wx_phy_read_reg_mdi() 36 100000, false, wx, WX_MSCC); in wx_phy_read_reg_mdi() 38 wx_err(wx, "Mdio read c22 command did not complete.\n"); in wx_phy_read_reg_mdi() 42 return (u16)rd32(wx, WX_MSCC); in wx_phy_read_reg_mdi() 48 struct wx *wx in wx_phy_write_reg_mdi() local 74 struct wx *wx = bus->priv; wx_phy_read_reg_mdi_c22() local 83 struct wx *wx = bus->priv; wx_phy_write_reg_mdi_c22() local 92 struct wx *wx = bus->priv; wx_phy_read_reg_mdi_c45() local 102 struct wx *wx = bus->priv; wx_phy_write_reg_mdi_c45() local 109 wx_intr_disable(struct wx * wx,u64 qmask) wx_intr_disable() argument 124 wx_intr_enable(struct wx * wx,u64 qmask) wx_intr_enable() argument 149 wx_irq_disable(struct wx * wx) wx_irq_disable() argument 173 wx_fmgr_cmd_op(struct wx * wx,u32 cmd,u32 cmd_addr) wx_fmgr_cmd_op() argument 186 wx_flash_read_dword(struct wx * wx,u32 addr,u32 * data) wx_flash_read_dword() argument 218 wx_control_hw(struct wx * wx,bool drv) wx_control_hw() argument 232 wx_mng_present(struct wx * wx) wx_mng_present() argument 255 wx_release_sw_sync(struct wx * wx,u32 mask) wx_release_sw_sync() argument 270 wx_acquire_sw_sync(struct wx * wx,u32 mask) wx_acquire_sw_sync() argument 289 wx_host_interface_command_s(struct wx * wx,u32 * buffer,u32 length,u32 timeout,bool return_data) wx_host_interface_command_s() argument 377 wx_poll_fw_reply(struct wx * wx,u32 * buffer,u8 send_cmd) wx_poll_fw_reply() argument 398 wx_host_interface_command_r(struct wx * wx,u32 * buffer,u32 length,u32 timeout,bool return_data) wx_host_interface_command_r() argument 495 wx_host_interface_command(struct wx * wx,u32 * buffer,u32 length,u32 timeout,bool return_data) wx_host_interface_command() argument 517 wx_set_pps(struct wx * wx,bool enable,u64 nsec,u64 cycles) wx_set_pps() argument 545 wx_read_ee_hostif_data(struct wx * wx,u16 offset,u16 * data) wx_read_ee_hostif_data() argument 582 wx_read_ee_hostif(struct wx * wx,u16 offset,u16 * data) wx_read_ee_hostif() argument 605 wx_read_ee_hostif_buffer(struct wx * wx,u16 offset,u16 words,u16 * data) wx_read_ee_hostif_buffer() argument 679 wx_init_eeprom_params(struct wx * wx) wx_init_eeprom_params() argument 728 wx_get_mac_addr(struct wx * wx,u8 * mac_addr) wx_get_mac_addr() argument 756 wx_set_rar(struct wx * wx,u32 index,u8 * addr,u64 pools,u32 enable_addr) wx_set_rar() argument 810 wx_clear_rar(struct wx * wx,u32 index) wx_clear_rar() argument 845 wx_clear_vmdq(struct wx * wx,u32 rar,u32 __maybe_unused vmdq) wx_clear_vmdq() argument 874 wx_init_uta_tables(struct wx * wx) wx_init_uta_tables() argument 892 wx_init_rx_addrs(struct wx * wx) wx_init_rx_addrs() argument 941 wx_sync_mac_table(struct wx * wx) wx_sync_mac_table() argument 960 wx_full_sync_mac_table(struct wx * wx) wx_full_sync_mac_table() argument 978 wx_mac_set_default_filter(struct wx * wx,u8 * addr) wx_mac_set_default_filter() argument 989 wx_flush_sw_mac_table(struct wx * wx) wx_flush_sw_mac_table() argument 1006 wx_add_mac_filter(struct wx * wx,u8 * addr,u16 pool) wx_add_mac_filter() argument 1037 wx_del_mac_filter(struct wx * wx,u8 * addr,u16 pool) wx_del_mac_filter() argument 1061 wx_available_rars(struct wx * wx) wx_available_rars() argument 1085 struct wx *wx = netdev_priv(netdev); wx_write_uc_addr_list() local 1116 wx_mta_vector(struct wx * wx,u8 * mc_addr) wx_mta_vector() argument 1150 wx_set_mta(struct wx * wx,u8 * mc_addr) wx_set_mta() argument 1182 wx_update_mc_addr_list(struct wx * wx,struct net_device * netdev) wx_update_mc_addr_list() argument 1219 wx_restore_vf_multicasts(struct wx * wx) wx_restore_vf_multicasts() argument 1258 struct wx *wx = netdev_priv(netdev); wx_write_mc_addr_list() local 1280 struct wx *wx = netdev_priv(netdev); wx_set_mac() local 1298 wx_disable_rx(struct wx * wx) wx_disable_rx() argument 1326 wx_enable_rx(struct wx * wx) wx_enable_rx() argument 1349 wx_set_rxpba(struct wx * wx) wx_set_rxpba() argument 1377 wx_hpbthresh(struct wx * wx) wx_hpbthresh() argument 1418 wx_lpbthresh(struct wx * wx) wx_lpbthresh() argument 1439 wx_pbthresh_setup(struct wx * wx) wx_pbthresh_setup() argument 1449 wx_set_ethertype_anti_spoofing(struct wx * wx,bool enable,int vf) wx_set_ethertype_anti_spoofing() argument 1467 struct wx *wx = netdev_priv(netdev); wx_set_vf_spoofchk() local 1484 wx_configure_virtualization(struct wx * wx) wx_configure_virtualization() argument 1528 wx_configure_port(struct wx * wx) wx_configure_port() argument 1572 wx_disable_sec_rx_path(struct wx * wx) wx_disable_sec_rx_path() argument 1590 wx_enable_sec_rx_path(struct wx * wx) wx_enable_sec_rx_path() argument 1597 wx_vlan_strip_control(struct wx * wx,bool enable) wx_vlan_strip_control() argument 1610 wx_vlan_promisc_enable(struct wx * wx) wx_vlan_promisc_enable() argument 1643 wx_scrub_vfta(struct wx * wx) wx_scrub_vfta() argument 1671 wx_vlan_promisc_disable(struct wx * wx) wx_vlan_promisc_disable() argument 1689 struct wx *wx = netdev_priv(netdev); wx_set_rx_mode() local 1779 wx_set_rx_buffer_len(struct wx * wx) wx_set_rx_buffer_len() argument 1818 struct wx *wx = netdev_priv(netdev); wx_change_mtu() local 1828 wx_disable_rx_queue(struct wx * wx,struct wx_ring * ring) wx_disable_rx_queue() argument 1851 wx_enable_rx_queue(struct wx * wx,struct wx_ring * ring) wx_enable_rx_queue() argument 1869 wx_configure_srrctl(struct wx * wx,struct wx_ring * rx_ring) wx_configure_srrctl() argument 1888 wx_configure_rscctl(struct wx * wx,struct wx_ring * ring) wx_configure_rscctl() argument 1904 wx_configure_tx_ring(struct wx * wx,struct wx_ring * ring) wx_configure_tx_ring() argument 1958 wx_configure_rx_ring(struct wx * wx,struct wx_ring * ring) wx_configure_rx_ring() argument 2014 wx_configure_tx(struct wx * wx) wx_configure_tx() argument 2036 wx_restore_vlan(struct wx * wx) wx_restore_vlan() argument 2046 wx_rss_indir_tbl_entries(struct wx * wx) wx_rss_indir_tbl_entries() argument 2054 wx_store_reta(struct wx * wx) wx_store_reta() argument 2077 wx_store_rsskey(struct wx * wx) wx_store_rsskey() argument 2093 wx_setup_reta(struct wx * wx) wx_setup_reta() argument 2124 wx_config_rss_field(struct wx * wx) wx_config_rss_field() argument 2149 wx_enable_rss(struct wx * wx,bool enable) wx_enable_rss() argument 2170 wx_setup_psrtype(struct wx * wx) wx_setup_psrtype() argument 2196 wx_setup_mrqc(struct wx * wx) wx_setup_mrqc() argument 2212 wx_configure_rx(struct wx * wx) wx_configure_rx() argument 2262 wx_configure_isb(struct wx * wx) wx_configure_isb() argument 2270 wx_configure(struct wx * wx) wx_configure() argument 2296 wx_disable_pcie_master(struct wx * wx) wx_disable_pcie_master() argument 2327 wx_stop_adapter(struct wx * wx) wx_stop_adapter() argument 2369 wx_reset_mac(struct wx * wx) wx_reset_mac() argument 2385 wx_reset_misc(struct wx * wx) wx_reset_misc() argument 2423 wx_get_pcie_msix_counts(struct wx * wx,u16 * msix_count,u16 max_msix_count) wx_get_pcie_msix_counts() argument 2455 wx_init_rss_key(struct wx * wx) wx_init_rss_key() argument 2471 wx_sw_init(struct wx * wx) wx_sw_init() argument 2537 wx_find_vlvf_slot(struct wx * wx,u32 vlan) wx_find_vlvf_slot() argument 2579 wx_set_vlvf(struct wx * wx,u32 vlan,u32 vind,bool vlan_on,bool * vfta_changed) wx_set_vlvf() argument 2647 wx_set_vfta(struct wx * wx,u32 vlan,u32 vind,bool vlan_on) wx_set_vfta() argument 2700 wx_clear_vfta(struct wx * wx) wx_clear_vfta() argument 2720 struct wx *wx = netdev_priv(netdev); wx_vlan_rx_add_vid() local 2732 struct wx *wx = netdev_priv(netdev); wx_vlan_rx_kill_vid() local 2743 wx_enable_rx_drop(struct wx * wx,struct wx_ring * ring) wx_enable_rx_drop() argument 2754 wx_disable_rx_drop(struct wx * wx,struct wx_ring * ring) wx_disable_rx_drop() argument 2765 wx_fc_enable(struct wx * wx,bool tx_pause,bool rx_pause) wx_fc_enable() argument 2850 wx_update_xoff_rx_lfc(struct wx * wx) wx_update_xoff_rx_lfc() argument 2869 wx_update_stats(struct wx * wx) wx_update_stats() argument 2969 wx_clear_hw_cntrs(struct wx * wx) wx_clear_hw_cntrs() argument 3016 wx_start_hw(struct wx * wx) wx_start_hw() argument [all...] |
| H A D | wx_vf_common.c | 17 struct wx *wx = pci_get_drvdata(pdev); in wxvf_suspend() local 19 netif_device_detach(wx->netdev); in wxvf_suspend() 20 wx_clear_interrupt_scheme(wx); in wxvf_suspend() 36 struct wx *wx = pci_get_drvdata(pdev); in wxvf_resume() local 39 wx_init_interrupt_scheme(wx); in wxvf_resume() 40 netif_device_attach(wx->netdev); in wxvf_resume() 48 struct wx *wx in wxvf_remove() local 67 struct wx *wx = data; wx_msix_misc_vf() local 77 wx_request_msix_irqs_vf(struct wx * wx) wx_request_msix_irqs_vf() argument 122 wx_negotiate_api_vf(struct wx * wx) wx_negotiate_api_vf() argument 140 wx_reset_vf(struct wx * wx) wx_reset_vf() argument 158 struct wx *wx = netdev_priv(netdev); wx_set_rx_mode_vf() local 189 wx_configure_rx_vf(struct wx * wx) wx_configure_rx_vf() argument 216 wx_configure_vf(struct wx * wx) wx_configure_vf() argument 226 struct wx *wx = netdev_priv(netdev); wx_set_mac_vf() local 249 wxvf_watchdog_update_link(struct wx * wx) wxvf_watchdog_update_link() argument 267 wxvf_irq_enable(struct wx * wx) wxvf_irq_enable() argument 272 wxvf_up_complete(struct wx * wx) wxvf_up_complete() argument 292 struct wx *wx = netdev_priv(netdev); wxvf_open() local 326 wxvf_down(struct wx * wx) wxvf_down() argument 341 wxvf_reinit_locked(struct wx * wx) wxvf_reinit_locked() argument 355 wxvf_reset_subtask(struct wx * wx) wxvf_reset_subtask() argument 373 struct wx *wx = netdev_priv(netdev); wxvf_close() local 383 wxvf_link_config_subtask(struct wx * wx) wxvf_link_config_subtask() argument 404 struct wx *wx = container_of(work, struct wx, service_task); wxvf_service_task() local 411 wxvf_init_service(struct wx * wx) wxvf_init_service() argument [all...] |
| H A D | wx_sriov.c | 15 struct wx *wx = pci_get_drvdata(pdev); in wx_vf_configuration() local 19 eth_zero_addr(wx->vfinfo[vfn].vf_mac_addr); in wx_vf_configuration() 22 static int wx_alloc_vf_macvlans(struct wx *wx, u8 num_vfs) in wx_alloc_vf_macvlans() argument 28 INIT_LIST_HEAD(&wx->vf_mvs.mvlist); in wx_alloc_vf_macvlans() 30 num_vf_macvlans = wx->mac.num_rar_entries - in wx_alloc_vf_macvlans() 42 list_add(&mv_list[i].mvlist, &wx->vf_mvs.mvlist); in wx_alloc_vf_macvlans() 44 wx->mv_list = mv_list; in wx_alloc_vf_macvlans() 49 static void wx_sriov_clear_data(struct wx *w argument 73 __wx_enable_sriov(struct wx * wx,u8 num_vfs) __wx_enable_sriov() argument 130 wx_sriov_reinit(struct wx * wx) wx_sriov_reinit() argument 137 wx_disable_sriov(struct wx * wx) wx_disable_sriov() argument 152 struct wx *wx = pci_get_drvdata(dev); wx_pci_sriov_enable() local 186 struct wx *wx = pci_get_drvdata(dev); wx_pci_sriov_disable() local 202 struct wx *wx = pci_get_drvdata(pdev); wx_pci_sriov_configure() local 221 wx_set_vf_mac(struct wx * wx,u16 vf,const u8 * mac_addr) wx_set_vf_mac() argument 237 wx_set_vmolr(struct wx * wx,u16 vf,bool aupe) wx_set_vmolr() argument 249 wx_set_vmvir(struct wx * wx,u16 vid,u16 qos,u16 vf) wx_set_vmvir() argument 257 wx_set_vf_vlan(struct wx * wx,int add,int vid,u16 vf) wx_set_vf_vlan() argument 265 wx_set_vlan_anti_spoofing(struct wx * wx,bool enable,int vf) wx_set_vlan_anti_spoofing() argument 278 wx_write_qde(struct wx * wx,u32 vf,u32 qde) wx_write_qde() argument 298 wx_clear_vmvir(struct wx * wx,u32 vf) wx_clear_vmvir() argument 303 wx_ping_vf(struct wx * wx,int vf) wx_ping_vf() argument 312 wx_set_vf_rx_tx(struct wx * wx,int vf) wx_set_vf_rx_tx() argument 339 wx_get_vf_queues(struct wx * wx,u32 * msgbuf,u32 vf) wx_get_vf_queues() argument 358 wx_vf_reset_event(struct wx * wx,u16 vf) wx_vf_reset_event() argument 392 wx_vf_reset_msg(struct wx * wx,u16 vf) wx_vf_reset_msg() argument 440 wx_set_vf_mac_addr(struct wx * wx,u32 * msgbuf,u16 vf) wx_set_vf_mac_addr() argument 465 wx_set_vf_multicasts(struct wx * wx,u32 * msgbuf,u32 vf) wx_set_vf_multicasts() argument 493 wx_set_vf_lpe(struct wx * wx,u32 max_frame,u32 vf) wx_set_vf_lpe() argument 514 wx_find_vlvf_entry(struct wx * wx,u32 vlan) wx_find_vlvf_entry() argument 538 wx_set_vf_macvlan(struct wx * wx,u16 vf,int index,unsigned char * mac_addr) wx_set_vf_macvlan() argument 581 wx_set_vf_vlan_msg(struct wx * wx,u32 * msgbuf,u16 vf) wx_set_vf_vlan_msg() argument 639 wx_set_vf_macvlan_msg(struct wx * wx,u32 * msgbuf,u16 vf) wx_set_vf_macvlan_msg() argument 675 wx_negotiate_vf_api(struct wx * wx,u32 * msgbuf,u32 vf) wx_negotiate_vf_api() argument 689 wx_get_vf_link_state(struct wx * wx,u32 * msgbuf,u32 vf) wx_get_vf_link_state() argument 696 wx_get_fw_version(struct wx * wx,u32 * msgbuf,u32 vf) wx_get_fw_version() argument 709 wx_update_vf_xcast_mode(struct wx * wx,u32 * msgbuf,u32 vf) wx_update_vf_xcast_mode() argument 755 wx_rcv_msg_from_vf(struct wx * wx,u16 vf) wx_rcv_msg_from_vf() argument 836 wx_rcv_ack_from_vf(struct wx * wx,u16 vf) wx_rcv_ack_from_vf() argument 845 wx_msg_task(struct wx * wx) wx_msg_task() argument 865 wx_disable_vf_rx_tx(struct wx * wx) wx_disable_vf_rx_tx() argument 876 wx_ping_all_vfs_with_link_status(struct wx * wx,bool link_up) wx_ping_all_vfs_with_link_status() argument 896 wx_set_vf_link_state(struct wx * wx,int vf,int state) wx_set_vf_link_state() argument 920 wx_set_all_vfs(struct wx * wx) wx_set_all_vfs() argument [all...] |
| H A D | wx_mbx.c | 15 static int wx_obtain_mbx_lock_pf(struct wx *wx, u16 vf) in wx_obtain_mbx_lock_pf() argument 22 wr32(wx, WX_PXMAILBOX(vf), WX_PXMAILBOX_PFU); in wx_obtain_mbx_lock_pf() 25 mailbox = rd32(wx, WX_PXMAILBOX(vf)); in wx_obtain_mbx_lock_pf() 31 wx_err(wx, "Failed to obtain mailbox lock for PF%d", 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() argument 38 u32 mbvficr = rd32(wx, WX_MBVFICR(index)); in wx_check_for_bit_pf() 42 wr32(wx, WX_MBVFICR(index), mask); in wx_check_for_bit_pf() 54 int wx_check_for_ack_pf(struct wx *wx, u16 vf) in wx_check_for_ack_pf() argument 58 return wx_check_for_bit_pf(wx, in wx_check_for_ack_pf() 71 int wx_check_for_msg_pf(struct wx *wx, u16 vf) in wx_check_for_msg_pf() argument [all …]
|
| H A D | wx_vf.c | 12 static void wx_virt_clr_reg(struct wx *wx) in wx_virt_clr_reg() argument 22 wr32m(wx, WX_VXRXDCTL(i), in wx_virt_clr_reg() 26 rd32(wx, WX_VXSTATUS); in wx_virt_clr_reg() 35 void wx_init_hw_vf(struct wx *wx) in wx_init_hw_vf() argument 37 wx_get_mac_addr_vf(wx, wx->mac.addr); 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() argument 46 ret = wx_write_posted_mbx(wx, req_buf, size); in wx_mbx_write_and_read_reply() 50 return wx_read_posted_mbx(wx, resp_buf, size); in wx_mbx_write_and_read_reply() 62 int wx_reset_hw_vf(struct wx *wx) in wx_reset_hw_vf() argument 64 struct wx_mbx_info *mbx = &wx->mbx; in wx_reset_hw_vf() [all …]
|
| H A D | wx_lib.c | 399 struct wx *wx = rx_ring->q_vector->wx; in wx_is_non_eop() local 409 if (test_bit(WX_FLAG_RSC_ENABLED, wx->flags)) { in wx_is_non_eop() 590 ethertype = ring->q_vector->wx->tpid[idx]; in wx_rx_vlan() 637 struct wx *wx = netdev_priv(rx_ring->netdev); in wx_process_skb_fields() local 639 if (test_bit(WX_FLAG_RSC_CAPABLE, wx->flags)) in wx_process_skb_fields() 645 if (unlikely(test_bit(WX_FLAG_RX_HWTSTAMP_ENABLED, wx->flags)) && in wx_process_skb_fields() 647 wx_ptp_rx_hwtstamp(rx_ring->q_vector->wx, sk in wx_process_skb_fields() 756 struct wx *wx = netdev_priv(tx_ring->netdev); wx_clean_tx_irq() local 930 struct wx *wx = q_vector->wx; wx_poll() local 1576 struct wx *wx = netdev_priv(tx_ring->netdev); wx_xmit_frame_ring() local 1662 struct wx *wx = netdev_priv(netdev); wx_xmit_frame() local 1686 struct wx *wx = q_vector->wx; wx_set_itr() local 1743 wx_napi_enable_all(struct wx * wx) wx_napi_enable_all() argument 1760 wx_napi_disable_all(struct wx * wx) wx_napi_disable_all() argument 1774 wx_set_vmdq_queues(struct wx * wx) wx_set_vmdq_queues() argument 1841 wx_set_rss_queues(struct wx * wx) wx_set_rss_queues() argument 1877 wx_set_num_queues(struct wx * wx) wx_set_num_queues() argument 1898 wx_acquire_msix_vectors(struct wx * wx) wx_acquire_msix_vectors() argument 1963 wx_set_interrupt_capability(struct wx * wx) wx_set_interrupt_capability() argument 2003 wx_cache_ring_vmdq(struct wx * wx) wx_cache_ring_vmdq() argument 2053 wx_cache_ring_rss(struct wx * wx) wx_cache_ring_rss() argument 2086 wx_alloc_q_vector(struct wx * wx,unsigned int v_count,unsigned int v_idx,unsigned int txr_count,unsigned int txr_idx,unsigned int rxr_count,unsigned int rxr_idx) wx_alloc_q_vector() argument 2202 wx_free_q_vector(struct wx * wx,int v_idx) wx_free_q_vector() argument 2225 wx_alloc_q_vectors(struct wx * wx) wx_alloc_q_vectors() argument 2272 wx_free_q_vectors(struct wx * wx) wx_free_q_vectors() argument 2284 wx_reset_interrupt_capability(struct wx * wx) wx_reset_interrupt_capability() argument 2308 wx_clear_interrupt_scheme(struct wx * wx) wx_clear_interrupt_scheme() argument 2315 wx_init_interrupt_scheme(struct wx * wx) wx_init_interrupt_scheme() argument 2362 wx_free_irq(struct wx * wx) wx_free_irq() argument 2395 wx_setup_isb_resources(struct wx * wx) wx_setup_isb_resources() argument 2421 wx_free_isb_resources(struct wx * wx) wx_free_isb_resources() argument 2431 wx_misc_isb(struct wx * wx,enum wx_isb_idx idx) wx_misc_isb() argument 2450 wx_set_ivar(struct wx * wx,s8 direction,u16 queue,u16 msix_vector) wx_set_ivar() argument 2486 struct wx *wx = q_vector->wx; wx_write_eitr() local 2515 wx_configure_vectors(struct wx * wx) wx_configure_vectors() argument 2615 wx_clean_all_rx_rings(struct wx * wx) wx_clean_all_rx_rings() argument 2657 wx_free_all_rx_resources(struct wx * wx) wx_free_all_rx_resources() argument 2731 wx_clean_all_tx_rings(struct wx * wx) wx_clean_all_tx_rings() argument 2779 wx_free_all_tx_resources(struct wx * wx) wx_free_all_tx_resources() argument 2787 wx_free_resources(struct wx * wx) wx_free_resources() argument 2889 wx_setup_all_rx_resources(struct wx * wx) wx_setup_all_rx_resources() argument 2912 struct wx *wx = netdev_priv(tx_ring->netdev); wx_setup_headwb_resources() local 2992 wx_setup_all_tx_resources(struct wx * wx) wx_setup_all_tx_resources() argument 3013 wx_setup_resources(struct wx * wx) wx_setup_resources() argument 3050 struct wx *wx = netdev_priv(netdev); wx_get_stats64() local 3103 struct wx *wx = netdev_priv(netdev); wx_set_features() local 3181 struct wx *wx = netdev_priv(netdev); wx_fix_features() local 3227 struct wx *wx = netdev_priv(netdev); wx_features_check() local 3249 wx_set_ring(struct wx * wx,u32 new_tx_count,u32 new_rx_count,struct wx_ring * temp_ring) wx_set_ring() argument 3315 wx_service_event_schedule(struct wx * wx) wx_service_event_schedule() argument 3322 wx_service_event_complete(struct wx * wx) wx_service_event_complete() argument 3335 struct wx *wx = timer_container_of(wx, t, service_timer); wx_service_timer() local [all...] |
| H A D | wx_mbx.h | 85 int wx_write_mbx_pf(struct wx *wx, u32 *msg, u16 size, u16 vf); 86 int wx_read_mbx_pf(struct wx *wx, u32 *msg, u16 size, u16 vf); 87 int wx_check_for_rst_pf(struct wx *wx, u16 mbx_id); 88 int wx_check_for_msg_pf(struct wx *wx, u16 mbx_id); 89 int wx_check_for_ack_pf(struct wx *wx, u16 mbx_id); 91 int wx_read_posted_mbx(struct wx *wx, u32 *msg, u16 size); 92 int wx_write_posted_mbx(struct wx *wx, u32 *msg, u16 size); 93 int wx_check_for_rst_vf(struct wx *wx); 94 int wx_check_for_msg_vf(struct wx *wx); 95 int wx_read_mbx_vf(struct wx *wx, u32 *msg, u16 size); [all …]
|
| H A D | wx_ptp.h | 7 void wx_ptp_check_pps_event(struct wx *wx); 8 void wx_ptp_reset_cyclecounter(struct wx *wx); 9 void wx_ptp_reset(struct wx *wx); 10 void wx_ptp_init(struct wx *wx); 11 void wx_ptp_suspend(struct wx *wx); 12 void wx_ptp_stop(struct wx *wx); 13 void wx_ptp_rx_hwtstamp(struct wx *wx, struct sk_buff *skb);
|
| H A D | wx_vf_common.h | 11 int wx_request_msix_irqs_vf(struct wx *wx); 12 void wx_negotiate_api_vf(struct wx *wx); 13 void wx_reset_vf(struct wx *wx); 15 void wx_configure_vf(struct wx *wx); 17 void wxvf_watchdog_update_link(struct wx *wx); 20 void wxvf_init_service(struct wx *wx);
|
| /linux/drivers/net/ethernet/wangxun/txgbe/ |
| H A 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 …]
|
| H A D | txgbe_aml.c | 18 void txgbe_gpio_init_aml(struct wx *wx) in txgbe_gpio_init_aml() argument 22 if (wx->mac.type == wx_mac_aml40) in txgbe_gpio_init_aml() 27 wr32(wx, WX_GPIO_INTTYPE_LEVEL, mod_rst); in txgbe_gpio_init_aml() 28 wr32(wx, WX_GPIO_INTEN, mod_rst); in txgbe_gpio_init_aml() 30 status = rd32(wx, WX_GPIO_INTSTATUS); in txgbe_gpio_init_aml() 33 wr32(wx, WX_GPIO_EOI, BIT(i)); in txgbe_gpio_init_aml() 40 struct wx *wx = txgbe->wx; in txgbe_gpio_irq_handler_aml() local 60 txgbe_test_hostif(struct wx * wx) txgbe_test_hostif() argument 76 txgbe_read_eeprom_hostif(struct wx * wx,struct txgbe_hic_i2c_read * buffer,u32 length,u8 * data) txgbe_read_eeprom_hostif() argument 109 txgbe_identify_module_hostif(struct wx * wx,struct txgbe_hic_get_module_info * buffer) txgbe_identify_module_hostif() argument 122 txgbe_set_phy_link_hostif(struct wx * wx,int speed,int autoneg,int duplex) txgbe_set_phy_link_hostif() argument 154 txgbe_get_link_capabilities(struct wx * wx,int * speed,int * autoneg,int * duplex) txgbe_get_link_capabilities() argument 172 txgbe_get_mac_link(struct wx * wx,int * speed) txgbe_get_mac_link() argument 189 txgbe_set_phy_link(struct wx * wx) txgbe_set_phy_link() argument 204 txgbe_sfp_to_linkmodes(struct wx * wx,struct txgbe_sff_id * id) txgbe_sfp_to_linkmodes() argument 271 txgbe_qsfp_to_linkmodes(struct wx * wx,struct txgbe_sff_id * id) txgbe_qsfp_to_linkmodes() argument 336 txgbe_identify_module(struct wx * wx) txgbe_identify_module() argument 374 txgbe_setup_link(struct wx * wx) txgbe_setup_link() argument 388 struct wx *wx = phylink_to_wx(config); txgbe_get_link_state() local 397 txgbe_reconfig_mac(struct wx * wx) txgbe_reconfig_mac() argument 423 struct wx *wx = phylink_to_wx(config); txgbe_mac_link_up_aml() local 463 struct wx *wx = phylink_to_wx(config); txgbe_mac_link_down_aml() local 490 struct wx *wx = txgbe->wx; txgbe_phylink_init_aml() local [all...] |
| H A D | txgbe_fdir.h | 10 int txgbe_fdir_set_input_mask(struct wx *wx, union txgbe_atr_input *input_mask); 11 int txgbe_fdir_write_perfect_filter(struct wx *wx, 14 int txgbe_fdir_erase_perfect_filter(struct wx *wx, 17 void txgbe_configure_fdir(struct wx *wx); 18 void txgbe_fdir_filter_exit(struct wx *wx);
|
| H A 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_validate_eeprom_checksum(struct wx *wx, u16 *checksum_val); 10 int txgbe_reset_hw(struct wx *wx);
|
| H A D | txgbe_irq.h | 4 void txgbe_irq_enable(struct wx *wx, bool queues); 5 int txgbe_request_queue_irqs(struct wx *wx);
|
| H A D | txgbe_type.h | 313 void txgbe_down(struct wx *wx); 314 void txgbe_up(struct wx *wx); 460 struct wx *wx; 457 struct wx *wx; global() member
|
| /linux/drivers/net/ethernet/wangxun/ngbe/ |
| H A 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 …]
|
| H A 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);
|
| H A D | ngbe_mdio.h | 10 int ngbe_mdio_init(struct wx *wx);
|
| /linux/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
| H A 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/drivers/net/pcs/ |
| H A D | Makefile | 5 pcs-xpcs-nxp.o pcs-xpcs-wx.o
|
| /linux/Documentation/security/ |
| H A D | sak.rst | 58 l-wx------ 1 root root 64 Mar 18 00:46 /proc/579/fd/0 -> /dev/console
|
| /linux/tools/perf/scripts/python/ |
| H A D | sched-migration.py | 367 app = wx.App(False)
|
| /linux/drivers/input/rmi4/ |
| H A D | rmi_f12.c | 229 obj->wx = data1[6]; in rmi_f12_attention()
|
| H A D | rmi_f11.c | 582 obj->wx = pos_data[3] & 0x0f; in rmi_f11_abs_pos_process()
|