Lines Matching refs:skge_hw
96 static int xm_phy_write(struct skge_hw *hw, int port, u16 reg, u16 val);
97 static int gm_phy_write(struct skge_hw *hw, int port, u16 reg, u16 val);
100 static void yukon_init(struct skge_hw *hw, int port);
101 static void genesis_mac_init(struct skge_hw *hw, int port);
114 static inline bool is_genesis(const struct skge_hw *hw) in is_genesis()
150 static u32 wol_supported(const struct skge_hw *hw) in wol_supported()
163 struct skge_hw *hw = skge->hw; in skge_wol_init()
246 struct skge_hw *hw = skge->hw; in skge_set_wol()
262 static u32 skge_supported_modes(const struct skge_hw *hw) in skge_supported_modes()
297 struct skge_hw *hw = skge->hw; in skge_get_link_ksettings()
325 const struct skge_hw *hw = skge->hw; in skge_set_link_ksettings()
600 static inline u32 hwkhz(const struct skge_hw *hw) in hwkhz()
606 static inline u32 skge_clk2usec(const struct skge_hw *hw, u32 ticks) in skge_clk2usec()
612 static inline u32 skge_usecs2clk(const struct skge_hw *hw, u32 usec) in skge_usecs2clk()
621 struct skge_hw *hw = skge->hw; in skge_get_coalesce()
645 struct skge_hw *hw = skge->hw; in skge_set_coalesce()
683 struct skge_hw *hw = skge->hw; in skge_led()
984 struct skge_hw *hw = skge->hw; in skge_rx_clean()
1074 static void xm_link_down(struct skge_hw *hw, int port) in xm_link_down()
1085 static int __xm_phy_read(struct skge_hw *hw, int port, u16 reg, u16 *val) in __xm_phy_read()
1108 static u16 xm_phy_read(struct skge_hw *hw, int port, u16 reg) in xm_phy_read()
1116 static int xm_phy_write(struct skge_hw *hw, int port, u16 reg, u16 val) in xm_phy_write()
1138 static void genesis_init(struct skge_hw *hw) in genesis_init()
1166 static void genesis_reset(struct skge_hw *hw, int port) in genesis_reset()
1210 static void bcom_check_link(struct skge_hw *hw, int port) in bcom_check_link()
1278 struct skge_hw *hw = skge->hw; in bcom_phy_init()
1384 struct skge_hw *hw = skge->hw; in xm_phy_init()
1419 struct skge_hw *hw = skge->hw; in xm_check_link()
1493 struct skge_hw *hw = skge->hw; in xm_link_timer()
1526 static void genesis_mac_init(struct skge_hw *hw, int port) in genesis_mac_init()
1686 struct skge_hw *hw = skge->hw; in genesis_stop()
1734 struct skge_hw *hw = skge->hw; in genesis_get_stats()
1760 static void genesis_mac_intr(struct skge_hw *hw, int port) in genesis_mac_intr()
1782 struct skge_hw *hw = skge->hw; in genesis_link_up()
1866 struct skge_hw *hw = skge->hw; in bcom_phy_intr()
1894 static int gm_phy_write(struct skge_hw *hw, int port, u16 reg, u16 val) in gm_phy_write()
1912 static int __gm_phy_read(struct skge_hw *hw, int port, u16 reg, u16 *val) in __gm_phy_read()
1932 static u16 gm_phy_read(struct skge_hw *hw, int port, u16 reg) in gm_phy_read()
1941 static void yukon_init(struct skge_hw *hw, int port) in yukon_init()
2028 static void yukon_reset(struct skge_hw *hw, int port) in yukon_reset()
2042 static int is_yukon_lite_a0(struct skge_hw *hw) in is_yukon_lite_a0()
2057 static void yukon_mac_init(struct skge_hw *hw, int port) in yukon_mac_init()
2208 static void yukon_suspend(struct skge_hw *hw, int port) in yukon_suspend()
2228 struct skge_hw *hw = skge->hw; in yukon_stop()
2248 struct skge_hw *hw = skge->hw; in yukon_get_stats()
2262 static void yukon_mac_intr(struct skge_hw *hw, int port) in yukon_mac_intr()
2283 static u16 yukon_speed(const struct skge_hw *hw, u16 aux) in yukon_speed()
2297 struct skge_hw *hw = skge->hw; in yukon_link_up()
2318 struct skge_hw *hw = skge->hw; in yukon_link_down()
2340 struct skge_hw *hw = skge->hw; in yukon_phy_intr()
2416 struct skge_hw *hw = skge->hw; in skge_phy_reset()
2441 struct skge_hw *hw = skge->hw; in skge_ioctl()
2479 static void skge_ramset(struct skge_hw *hw, u16 q, u32 start, size_t len) in skge_ramset()
2513 struct skge_hw *hw = skge->hw; in skge_qset()
2530 struct skge_hw *hw = skge->hw; in skge_up()
2637 static void skge_rx_stop(struct skge_hw *hw, int port) in skge_rx_stop()
2648 struct skge_hw *hw = skge->hw; in skge_down()
2737 struct skge_hw *hw = skge->hw; in skge_xmit_frame()
2930 struct skge_hw *hw = skge->hw; in genesis_set_multicast()
2969 struct skge_hw *hw = skge->hw; in yukon_set_multicast()
3011 static inline u16 phy_length(const struct skge_hw *hw, u32 status) in phy_length()
3019 static inline int bad_phy_status(const struct skge_hw *hw, u32 status) in bad_phy_status()
3193 struct skge_hw *hw = skge->hw; in skge_poll()
3240 static void skge_mac_parity(struct skge_hw *hw, int port) in skge_mac_parity()
3256 static void skge_mac_intr(struct skge_hw *hw, int port) in skge_mac_intr()
3265 static void skge_error_irq(struct skge_hw *hw) in skge_error_irq()
3343 struct skge_hw *hw = from_tasklet(hw, t, phy_task); in skge_extirq()
3370 struct skge_hw *hw = dev_id; in skge_intr()
3449 struct skge_hw *hw = skge->hw; in skge_set_mac_address()
3495 static const char *skge_board_name(const struct skge_hw *hw) in skge_board_name()
3513 static int skge_reset(struct skge_hw *hw) in skge_reset()
3689 const struct skge_hw *hw = skge->hw; in skge_debug_show()
3803 static struct net_device *skge_devinit(struct skge_hw *hw, int port, in skge_devinit()
3877 struct skge_hw *hw; in skge_probe()
4016 struct skge_hw *hw = pci_get_drvdata(pdev); in skge_remove()
4057 struct skge_hw *hw = dev_get_drvdata(dev); in skge_suspend()
4081 struct skge_hw *hw = dev_get_drvdata(dev); in skge_resume()
4118 struct skge_hw *hw = pci_get_drvdata(pdev); in skge_shutdown()