Lines Matching defs:hw
161 static int gm_phy_write(struct sky2_hw *hw, unsigned port, u16 reg, u16 val) in gm_phy_write()
188 static int __gm_phy_read(struct sky2_hw *hw, unsigned port, u16 reg, u16 *val) in __gm_phy_read()
215 static inline u16 gm_phy_read(struct sky2_hw *hw, unsigned port, u16 reg) in gm_phy_read()
223 static void sky2_power_on(struct sky2_hw *hw) in sky2_power_on()
272 static void sky2_power_aux(struct sky2_hw *hw) in sky2_power_aux()
294 static void sky2_gmac_reset(struct sky2_hw *hw, unsigned port) in sky2_gmac_reset()
336 static void sky2_phy_init(struct sky2_hw *hw, unsigned port) in sky2_phy_init()
706 static void sky2_phy_power_up(struct sky2_hw *hw, unsigned port) in sky2_phy_power_up()
727 static void sky2_phy_power_down(struct sky2_hw *hw, unsigned port) in sky2_phy_power_down()
799 struct sky2_hw *hw = sky2->hw; in sky2_enable_rx_tx() local
820 struct sky2_hw *hw = sky2->hw; in sky2_wol_init() local
889 static void sky2_set_tx_stfwd(struct sky2_hw *hw, unsigned port) in sky2_set_tx_stfwd()
908 static void sky2_mac_init(struct sky2_hw *hw, unsigned port) in sky2_mac_init()
1047 static void sky2_ramset(struct sky2_hw *hw, u16 q, u32 start, u32 space) in sky2_ramset()
1087 static void sky2_qset(struct sky2_hw *hw, u16 q) in sky2_qset()
1098 static void sky2_prefetch_init(struct sky2_hw *hw, u32 qaddr, in sky2_prefetch_init()
1136 static inline void sky2_put_idx(struct sky2_hw *hw, unsigned q, u16 idx) in sky2_put_idx()
1297 struct sky2_hw *hw = sky2->hw; in rx_set_rss() local
1338 struct sky2_hw *hw = sky2->hw; in sky2_rx_stop() local
1383 struct sky2_hw *hw = sky2->hw; in sky2_ioctl() local
1420 struct sky2_hw *hw = sky2->hw; in sky2_vlan_mode() local
1445 static inline unsigned sky2_rx_pad(const struct sky2_hw *hw) in sky2_rx_pad()
1500 struct sky2_hw *hw = sky2->hw; in sky2_alloc_rx_skbs() local
1533 struct sky2_hw *hw = sky2->hw; in sky2_rx_start() local
1607 struct sky2_hw *hw = sky2->hw; in sky2_alloc_buffers() local
1639 struct sky2_hw *hw = sky2->hw; in sky2_free_buffers() local
1663 struct sky2_hw *hw = sky2->hw; in sky2_hw_up() local
1726 static int sky2_setup_irq(struct sky2_hw *hw, const char *name) in sky2_setup_irq()
1752 struct sky2_hw *hw = sky2->hw; in sky2_open() local
1844 struct sky2_hw *hw = sky2->hw; in sky2_xmit_frame() local
2055 static void sky2_tx_reset(struct sky2_hw *hw, unsigned port) in sky2_tx_reset()
2081 struct sky2_hw *hw = sky2->hw; in sky2_hw_down() local
2130 struct sky2_hw *hw = sky2->hw; in sky2_close() local
2165 static u16 sky2_phy_speed(const struct sky2_hw *hw, u16 aux) in sky2_phy_speed()
2189 struct sky2_hw *hw = sky2->hw; in sky2_link_up() local
2221 struct sky2_hw *hw = sky2->hw; in sky2_link_down() local
2251 struct sky2_hw *hw = sky2->hw; in sky2_autoneg_done() local
2312 static void sky2_phy_intr(struct sky2_hw *hw, unsigned port) in sky2_phy_intr()
2353 static void sky2_qlink_intr(struct sky2_hw *hw) in sky2_qlink_intr()
2379 struct sky2_hw *hw = sky2->hw; in sky2_tx_timeout() local
2395 struct sky2_hw *hw = sky2->hw; in sky2_change_mtu() local
2665 static inline void sky2_rx_done(struct sky2_hw *hw, unsigned port, in sky2_rx_done()
2729 static int sky2_status_intr(struct sky2_hw *hw, int to_do, u16 idx) in sky2_status_intr()
2829 static void sky2_hw_error(struct sky2_hw *hw, unsigned port, u32 status) in sky2_hw_error()
2869 static void sky2_hw_intr(struct sky2_hw *hw) in sky2_hw_intr()
2916 static void sky2_mac_intr(struct sky2_hw *hw, unsigned port) in sky2_mac_intr()
2942 static void sky2_le_error(struct sky2_hw *hw, unsigned port, u16 q) in sky2_le_error()
2957 struct sky2_hw *hw = sky2->hw; in sky2_rx_hung() local
2989 struct sky2_hw *hw = (struct sky2_hw *) arg; in sky2_watchdog() local
3020 static void sky2_err_intr(struct sky2_hw *hw, u32 status) in sky2_err_intr()
3049 struct sky2_hw *hw = container_of(napi, struct sky2_hw, napi); in sky2_poll() local
3082 struct sky2_hw *hw = dev_id; in sky2_intr() local
3109 static u32 sky2_mhz(const struct sky2_hw *hw) in sky2_mhz()
3136 static inline u32 sky2_us2clk(const struct sky2_hw *hw, u32 us) in sky2_us2clk()
3141 static inline u32 sky2_clk2us(const struct sky2_hw *hw, u32 clk) in sky2_clk2us()
3147 static int sky2_init(struct sky2_hw *hw) in sky2_init()
3255 static void sky2_reset(struct sky2_hw *hw) in sky2_reset()
3483 static void sky2_all_down(struct sky2_hw *hw) in sky2_all_down()
3508 static void sky2_all_up(struct sky2_hw *hw) in sky2_all_up()
3536 struct sky2_hw *hw = container_of(work, struct sky2_hw, restart_work); in sky2_restart() local
3547 static inline u8 sky2_wol_supported(const struct sky2_hw *hw) in sky2_wol_supported()
3563 struct sky2_hw *hw = sky2->hw; in sky2_set_wol() local
3585 static u32 sky2_supported_modes(const struct sky2_hw *hw) in sky2_supported_modes()
3605 struct sky2_hw *hw = sky2->hw; in sky2_get_settings() local
3630 const struct sky2_hw *hw = sky2->hw; in sky2_set_settings() local
3775 struct sky2_hw *hw = sky2->hw; in sky2_phy_stats() local
3826 struct sky2_hw *hw = sky2->hw; in sky2_set_mac_address() local
3859 struct sky2_hw *hw = sky2->hw; in sky2_set_multicast() local
3905 struct sky2_hw *hw = sky2->hw; in sky2_get_stats() local
3951 struct sky2_hw *hw = sky2->hw; in sky2_led() local
4073 struct sky2_hw *hw = sky2->hw; in sky2_get_coalesce() local
4108 struct sky2_hw *hw = sky2->hw; in sky2_set_coalesce() local
4199 static int sky2_reg_access_ok(struct sky2_hw *hw, unsigned int b) in sky2_reg_access_ok()
4273 struct sky2_hw *hw = sky2->hw; in sky2_get_eeprom_len() local
4280 static int sky2_vpd_wait(const struct sky2_hw *hw, int cap, u16 busy) in sky2_vpd_wait()
4296 static int sky2_vpd_read(struct sky2_hw *hw, int cap, void *data, in sky2_vpd_read()
4320 static int sky2_vpd_write(struct sky2_hw *hw, int cap, const void *data, in sky2_vpd_write()
4376 const struct sky2_hw *hw = sky2->hw; in sky2_fix_features() local
4472 static void sky2_show_vpd(struct seq_file *seq, struct sky2_hw *hw) in sky2_show_vpd()
4534 struct sky2_hw *hw = sky2->hw; in sky2_debug_show() local
4748 static struct net_device *sky2_init_netdev(struct sky2_hw *hw, unsigned port, in sky2_init_netdev()
4847 struct sky2_hw *hw = dev_id; in sky2_test_intr() local
4864 static int sky2_test_msi(struct sky2_hw *hw) in sky2_test_msi()
4929 struct sky2_hw *hw; in sky2_probe() local
5115 struct sky2_hw *hw = pci_get_drvdata(pdev); in sky2_remove() local
5157 struct sky2_hw *hw = pci_get_drvdata(pdev); in sky2_suspend() local
5187 struct sky2_hw *hw = pci_get_drvdata(pdev); in sky2_resume() local