/linux/drivers/net/ethernet/wangxun/libwx/ |
H A D | wx_hw.c | 19 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 D | wx_vf_common.c | 17 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 D | wx_ptp.c | 34 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 D | wx_mbx.c | 15 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 D | wx_vf.c | 12 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 D | txgbe_aml.c | 18 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 D | txgbe_hw.c | 23 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 D | txgbe_irq.c | 22 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 D | txgbe_type.h | 432 struct wx *wx; 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() 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/input/touchscreen/ |
H A D | raydium_i2c_ts.c | 874 u8 wx, wy; in raydium_mt_event() local
|
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
H A D | display_mode_vba_util_32.c | 53 unsigned int pixelsPerClock, lstall, D, initalXmitDelay, w, s, ix, wx, p, l0, a, ax, L, in dml32_dscceComputeDelay() local
|