Lines Matching refs:skge_hw

95 static int xm_phy_write(struct skge_hw *hw, int port, u16 reg, u16 val);
96 static int gm_phy_write(struct skge_hw *hw, int port, u16 reg, u16 val);
99 static void yukon_init(struct skge_hw *hw, int port);
100 static void genesis_mac_init(struct skge_hw *hw, int port);
113 static inline bool is_genesis(const struct skge_hw *hw) in is_genesis()
149 static u32 wol_supported(const struct skge_hw *hw) in wol_supported()
162 struct skge_hw *hw = skge->hw; in skge_wol_init()
245 struct skge_hw *hw = skge->hw; in skge_set_wol()
261 static u32 skge_supported_modes(const struct skge_hw *hw) in skge_supported_modes()
296 struct skge_hw *hw = skge->hw; in skge_get_link_ksettings()
324 const struct skge_hw *hw = skge->hw; in skge_set_link_ksettings()
603 static inline u32 hwkhz(const struct skge_hw *hw) in hwkhz()
609 static inline u32 skge_clk2usec(const struct skge_hw *hw, u32 ticks) in skge_clk2usec()
615 static inline u32 skge_usecs2clk(const struct skge_hw *hw, u32 usec) in skge_usecs2clk()
626 struct skge_hw *hw = skge->hw; in skge_get_coalesce()
652 struct skge_hw *hw = skge->hw; in skge_set_coalesce()
690 struct skge_hw *hw = skge->hw; in skge_led()
991 struct skge_hw *hw = skge->hw; in skge_rx_clean()
1081 static void xm_link_down(struct skge_hw *hw, int port) in xm_link_down()
1092 static int __xm_phy_read(struct skge_hw *hw, int port, u16 reg, u16 *val) in __xm_phy_read()
1115 static u16 xm_phy_read(struct skge_hw *hw, int port, u16 reg) in xm_phy_read()
1123 static int xm_phy_write(struct skge_hw *hw, int port, u16 reg, u16 val) in xm_phy_write()
1145 static void genesis_init(struct skge_hw *hw) in genesis_init()
1173 static void genesis_reset(struct skge_hw *hw, int port) in genesis_reset()
1217 static void bcom_check_link(struct skge_hw *hw, int port) in bcom_check_link()
1285 struct skge_hw *hw = skge->hw; in bcom_phy_init()
1391 struct skge_hw *hw = skge->hw; in xm_phy_init()
1426 struct skge_hw *hw = skge->hw; in xm_check_link()
1500 struct skge_hw *hw = skge->hw; in xm_link_timer()
1533 static void genesis_mac_init(struct skge_hw *hw, int port) in genesis_mac_init()
1693 struct skge_hw *hw = skge->hw; in genesis_stop()
1741 struct skge_hw *hw = skge->hw; in genesis_get_stats()
1767 static void genesis_mac_intr(struct skge_hw *hw, int port) in genesis_mac_intr()
1789 struct skge_hw *hw = skge->hw; in genesis_link_up()
1873 struct skge_hw *hw = skge->hw; in bcom_phy_intr()
1901 static int gm_phy_write(struct skge_hw *hw, int port, u16 reg, u16 val) in gm_phy_write()
1919 static int __gm_phy_read(struct skge_hw *hw, int port, u16 reg, u16 *val) in __gm_phy_read()
1939 static u16 gm_phy_read(struct skge_hw *hw, int port, u16 reg) in gm_phy_read()
1948 static void yukon_init(struct skge_hw *hw, int port) in yukon_init()
2035 static void yukon_reset(struct skge_hw *hw, int port) in yukon_reset()
2049 static int is_yukon_lite_a0(struct skge_hw *hw) in is_yukon_lite_a0()
2064 static void yukon_mac_init(struct skge_hw *hw, int port) in yukon_mac_init()
2215 static void yukon_suspend(struct skge_hw *hw, int port) in yukon_suspend()
2235 struct skge_hw *hw = skge->hw; in yukon_stop()
2255 struct skge_hw *hw = skge->hw; in yukon_get_stats()
2269 static void yukon_mac_intr(struct skge_hw *hw, int port) in yukon_mac_intr()
2290 static u16 yukon_speed(const struct skge_hw *hw, u16 aux) in yukon_speed()
2304 struct skge_hw *hw = skge->hw; in yukon_link_up()
2325 struct skge_hw *hw = skge->hw; in yukon_link_down()
2347 struct skge_hw *hw = skge->hw; in yukon_phy_intr()
2423 struct skge_hw *hw = skge->hw; in skge_phy_reset()
2448 struct skge_hw *hw = skge->hw; in skge_ioctl()
2486 static void skge_ramset(struct skge_hw *hw, u16 q, u32 start, size_t len) in skge_ramset()
2520 struct skge_hw *hw = skge->hw; in skge_qset()
2537 struct skge_hw *hw = skge->hw; in skge_up()
2644 static void skge_rx_stop(struct skge_hw *hw, int port) in skge_rx_stop()
2655 struct skge_hw *hw = skge->hw; in skge_down()
2744 struct skge_hw *hw = skge->hw; in skge_xmit_frame()
2937 struct skge_hw *hw = skge->hw; in genesis_set_multicast()
2977 struct skge_hw *hw = skge->hw; in yukon_set_multicast()
3019 static inline u16 phy_length(const struct skge_hw *hw, u32 status) in phy_length()
3027 static inline int bad_phy_status(const struct skge_hw *hw, u32 status) in bad_phy_status()
3201 struct skge_hw *hw = skge->hw; in skge_poll()
3248 static void skge_mac_parity(struct skge_hw *hw, int port) in skge_mac_parity()
3264 static void skge_mac_intr(struct skge_hw *hw, int port) in skge_mac_intr()
3273 static void skge_error_irq(struct skge_hw *hw) in skge_error_irq()
3351 struct skge_hw *hw = from_tasklet(hw, t, phy_task); in skge_extirq()
3378 struct skge_hw *hw = dev_id; in skge_intr()
3457 struct skge_hw *hw = skge->hw; in skge_set_mac_address()
3503 static const char *skge_board_name(const struct skge_hw *hw) in skge_board_name()
3521 static int skge_reset(struct skge_hw *hw) in skge_reset()
3697 const struct skge_hw *hw = skge->hw; in skge_debug_show()
3811 static struct net_device *skge_devinit(struct skge_hw *hw, int port, in skge_devinit()
3887 struct skge_hw *hw; in skge_probe()
4026 struct skge_hw *hw = pci_get_drvdata(pdev); in skge_remove()
4067 struct skge_hw *hw = dev_get_drvdata(dev); in skge_suspend()
4091 struct skge_hw *hw = dev_get_drvdata(dev); in skge_resume()
4128 struct skge_hw *hw = pci_get_drvdata(pdev); in skge_shutdown()