Lines Matching refs:skge_hw
108 static int xm_phy_write(struct skge_hw *hw, int port, u16 reg, u16 val);
109 static int gm_phy_write(struct skge_hw *hw, int port, u16 reg, u16 val);
112 static void yukon_init(struct skge_hw *hw, int port);
113 static void genesis_mac_init(struct skge_hw *hw, int port);
126 static inline bool is_genesis(const struct skge_hw *hw) in is_genesis()
160 static u32 wol_supported(const struct skge_hw *hw) in wol_supported()
173 struct skge_hw *hw = skge->hw; in skge_wol_init()
256 struct skge_hw *hw = skge->hw; in skge_set_wol()
272 static u32 skge_supported_modes(const struct skge_hw *hw) in skge_supported_modes()
307 struct skge_hw *hw = skge->hw; in skge_get_link_ksettings()
335 const struct skge_hw *hw = skge->hw; in skge_set_link_ksettings()
610 static inline u32 hwkhz(const struct skge_hw *hw) in hwkhz()
616 static inline u32 skge_clk2usec(const struct skge_hw *hw, u32 ticks) in skge_clk2usec()
622 static inline u32 skge_usecs2clk(const struct skge_hw *hw, u32 usec) in skge_usecs2clk()
631 struct skge_hw *hw = skge->hw; in skge_get_coalesce()
655 struct skge_hw *hw = skge->hw; in skge_set_coalesce()
693 struct skge_hw *hw = skge->hw; in skge_led()
993 struct skge_hw *hw = skge->hw; in skge_rx_clean()
1083 static void xm_link_down(struct skge_hw *hw, int port) in xm_link_down()
1094 static int __xm_phy_read(struct skge_hw *hw, int port, u16 reg, u16 *val) in __xm_phy_read()
1117 static u16 xm_phy_read(struct skge_hw *hw, int port, u16 reg) in xm_phy_read()
1125 static int xm_phy_write(struct skge_hw *hw, int port, u16 reg, u16 val) in xm_phy_write()
1147 static void genesis_init(struct skge_hw *hw) in genesis_init()
1175 static void genesis_reset(struct skge_hw *hw, int port) in genesis_reset()
1219 static void bcom_check_link(struct skge_hw *hw, int port) in bcom_check_link()
1287 struct skge_hw *hw = skge->hw; in bcom_phy_init()
1393 struct skge_hw *hw = skge->hw; in xm_phy_init()
1428 struct skge_hw *hw = skge->hw; in xm_check_link()
1502 struct skge_hw *hw = skge->hw; in xm_link_timer()
1535 static void genesis_mac_init(struct skge_hw *hw, int port) in genesis_mac_init()
1695 struct skge_hw *hw = skge->hw; in genesis_stop()
1743 struct skge_hw *hw = skge->hw; in genesis_get_stats()
1769 static void genesis_mac_intr(struct skge_hw *hw, int port) in genesis_mac_intr()
1791 struct skge_hw *hw = skge->hw; in genesis_link_up()
1875 struct skge_hw *hw = skge->hw; in bcom_phy_intr()
1903 static int gm_phy_write(struct skge_hw *hw, int port, u16 reg, u16 val) in gm_phy_write()
1921 static int __gm_phy_read(struct skge_hw *hw, int port, u16 reg, u16 *val) in __gm_phy_read()
1941 static u16 gm_phy_read(struct skge_hw *hw, int port, u16 reg) in gm_phy_read()
1950 static void yukon_init(struct skge_hw *hw, int port) in yukon_init()
2037 static void yukon_reset(struct skge_hw *hw, int port) in yukon_reset()
2051 static int is_yukon_lite_a0(struct skge_hw *hw) in is_yukon_lite_a0()
2066 static void yukon_mac_init(struct skge_hw *hw, int port) in yukon_mac_init()
2217 static void yukon_suspend(struct skge_hw *hw, int port) in yukon_suspend()
2237 struct skge_hw *hw = skge->hw; in yukon_stop()
2257 struct skge_hw *hw = skge->hw; in yukon_get_stats()
2271 static void yukon_mac_intr(struct skge_hw *hw, int port) in yukon_mac_intr()
2292 static u16 yukon_speed(const struct skge_hw *hw, u16 aux) in yukon_speed()
2306 struct skge_hw *hw = skge->hw; in yukon_link_up()
2327 struct skge_hw *hw = skge->hw; in yukon_link_down()
2349 struct skge_hw *hw = skge->hw; in yukon_phy_intr()
2425 struct skge_hw *hw = skge->hw; in skge_phy_reset()
2450 struct skge_hw *hw = skge->hw; in skge_ioctl()
2488 static void skge_ramset(struct skge_hw *hw, u16 q, u32 start, size_t len) in skge_ramset()
2522 struct skge_hw *hw = skge->hw; in skge_qset()
2539 struct skge_hw *hw = skge->hw; in skge_up()
2646 static void skge_rx_stop(struct skge_hw *hw, int port) in skge_rx_stop()
2657 struct skge_hw *hw = skge->hw; in skge_down()
2745 struct skge_hw *hw = skge->hw; in skge_xmit_frame()
2944 struct skge_hw *hw = skge->hw; in genesis_set_multicast()
2983 struct skge_hw *hw = skge->hw; in yukon_set_multicast()
3025 static inline u16 phy_length(const struct skge_hw *hw, u32 status) in phy_length()
3033 static inline int bad_phy_status(const struct skge_hw *hw, u32 status) in bad_phy_status()
3208 struct skge_hw *hw = skge->hw; in skge_poll()
3255 static void skge_mac_parity(struct skge_hw *hw, int port) in skge_mac_parity()
3271 static void skge_mac_intr(struct skge_hw *hw, int port) in skge_mac_intr()
3280 static void skge_error_irq(struct skge_hw *hw) in skge_error_irq()
3358 struct skge_hw *hw = (struct skge_hw *) arg; in skge_extirq()
3385 struct skge_hw *hw = dev_id; in skge_intr()
3464 struct skge_hw *hw = skge->hw; in skge_set_mac_address()
3510 static const char *skge_board_name(const struct skge_hw *hw) in skge_board_name()
3528 static int skge_reset(struct skge_hw *hw) in skge_reset()
3704 const struct skge_hw *hw = skge->hw; in skge_debug_show()
3851 static struct net_device *skge_devinit(struct skge_hw *hw, int port, in skge_devinit()
3925 struct skge_hw *hw; in skge_probe()
4064 struct skge_hw *hw = pci_get_drvdata(pdev); in skge_remove()
4106 struct skge_hw *hw = pci_get_drvdata(pdev); in skge_suspend()
4131 struct skge_hw *hw = pci_get_drvdata(pdev); in skge_resume()
4168 struct skge_hw *hw = pci_get_drvdata(pdev); in skge_shutdown()