Lines Matching refs:skge_hw

63 static int xm_phy_write(struct skge_hw *hw, int port, u16 reg, u16 val);
64 static int gm_phy_write(struct skge_hw *hw, int port, u16 reg, u16 val);
65 static void yukon_init(struct skge_hw *hw, int port);
66 static void genesis_mac_init(struct skge_hw *hw, int port);
69 static void skge_phyirq(struct skge_hw *hw);
92 static u32 skge_supported_modes(const struct skge_hw *hw) in skge_supported_modes()
121 static inline u32 hwkhz(const struct skge_hw *hw) in hwkhz()
127 static inline u32 skge_usecs2clk(const struct skge_hw *hw, u32 usec) in skge_usecs2clk()
135 struct skge_hw *hw = skge->hw; in skge_led()
415 static void xm_link_down(struct skge_hw *hw, int port) in xm_link_down()
426 static int __xm_phy_read(struct skge_hw *hw, int port, u16 reg, u16 *val) in __xm_phy_read()
449 static u16 xm_phy_read(struct skge_hw *hw, int port, u16 reg) in xm_phy_read()
458 static int xm_phy_write(struct skge_hw *hw, int port, u16 reg, u16 val) in xm_phy_write()
480 static void genesis_init(struct skge_hw *hw) in genesis_init()
508 static void genesis_reset(struct skge_hw *hw, int port) in genesis_reset()
553 static void bcom_check_link(struct skge_hw *hw, int port) in bcom_check_link()
623 struct skge_hw *hw = skge->hw; in bcom_phy_init()
720 struct skge_hw *hw = skge->hw; in xm_phy_init()
755 struct skge_hw *hw = skge->hw; in xm_check_link()
830 struct skge_hw *hw = skge->hw; in xm_link_timer()
852 static void genesis_mac_init(struct skge_hw *hw, int port) in genesis_mac_init()
1000 struct skge_hw *hw = skge->hw; in genesis_stop()
1047 struct skge_hw *hw = skge->hw; in genesis_link_up()
1131 struct skge_hw *hw = skge->hw; in bcom_phy_intr()
1159 static int gm_phy_write(struct skge_hw *hw, int port, u16 reg, u16 val) in gm_phy_write()
1179 static int __gm_phy_read(struct skge_hw *hw, int port, u16 reg, u16 *val) in __gm_phy_read()
1199 static u16 gm_phy_read(struct skge_hw *hw, int port, u16 reg) in gm_phy_read()
1210 static void yukon_init(struct skge_hw *hw, int port) in yukon_init()
1297 static void yukon_reset(struct skge_hw *hw, int port) in yukon_reset()
1311 static int is_yukon_lite_a0(struct skge_hw *hw) in is_yukon_lite_a0()
1326 static void yukon_mac_init(struct skge_hw *hw, int port) in yukon_mac_init()
1474 static void yukon_suspend(struct skge_hw *hw, int port) in yukon_suspend()
1494 struct skge_hw *hw = skge->hw; in yukon_stop()
1512 static u16 yukon_speed(const struct skge_hw *hw __unused, u16 aux) in yukon_speed()
1526 struct skge_hw *hw = skge->hw; in yukon_link_up()
1547 struct skge_hw *hw = skge->hw; in yukon_link_down()
1569 struct skge_hw *hw = skge->hw; in yukon_phy_intr()
1644 static void skge_ramset(struct skge_hw *hw, u16 q, u32 start, size_t len) in skge_ramset()
1678 struct skge_hw *hw = skge->hw; in skge_qset()
1710 struct skge_hw *hw = skge->hw; in skge_up()
1782 static void skge_rx_stop(struct skge_hw *hw, int port) in skge_rx_stop()
1793 struct skge_hw *hw = skge->hw; in skge_down()
1866 struct skge_hw *hw = skge->hw; in skge_xmit_frame()
1922 static inline u16 phy_length(const struct skge_hw *hw, u32 status) in phy_length()
1930 static inline int bad_phy_status(const struct skge_hw *hw, u32 status) in bad_phy_status()
2054 struct skge_hw *hw = skge->hw; in skge_poll()
2082 static void skge_phyirq(struct skge_hw *hw) in skge_phyirq()
2111 static const char *skge_board_name(const struct skge_hw *hw) in skge_board_name()
2129 static int skge_reset(struct skge_hw *hw) in skge_reset()
2292 static struct net_device *skge_devinit(struct skge_hw *hw, int port, in skge_devinit()
2335 struct skge_hw *hw; in skge_probe()
2409 struct skge_hw *hw = pci_get_drvdata(pdev); in skge_remove()
2449 struct skge_hw *hw = skge->hw; in skge_net_irq()