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)
149 static u32 wol_supported(const struct skge_hw *hw)
162 struct skge_hw *hw = skge->hw;
245 struct skge_hw *hw = skge->hw;
261 static u32 skge_supported_modes(const struct skge_hw *hw)
296 struct skge_hw *hw = skge->hw;
324 const struct skge_hw *hw = skge->hw;
603 static inline u32 hwkhz(const struct skge_hw *hw)
609 static inline u32 skge_clk2usec(const struct skge_hw *hw, u32 ticks)
615 static inline u32 skge_usecs2clk(const struct skge_hw *hw, u32 usec)
626 struct skge_hw *hw = skge->hw;
652 struct skge_hw *hw = skge->hw;
690 struct skge_hw *hw = skge->hw;
991 struct skge_hw *hw = skge->hw;
1081 static void xm_link_down(struct skge_hw *hw, int port)
1092 static int __xm_phy_read(struct skge_hw *hw, int port, u16 reg, u16 *val)
1115 static u16 xm_phy_read(struct skge_hw *hw, int port, u16 reg)
1123 static int xm_phy_write(struct skge_hw *hw, int port, u16 reg, u16 val)
1145 static void genesis_init(struct skge_hw *hw)
1173 static void genesis_reset(struct skge_hw *hw, int port)
1217 static void bcom_check_link(struct skge_hw *hw, int port)
1285 struct skge_hw *hw = skge->hw;
1391 struct skge_hw *hw = skge->hw;
1426 struct skge_hw *hw = skge->hw;
1500 struct skge_hw *hw = skge->hw;
1533 static void genesis_mac_init(struct skge_hw *hw, int port)
1693 struct skge_hw *hw = skge->hw;
1741 struct skge_hw *hw = skge->hw;
1767 static void genesis_mac_intr(struct skge_hw *hw, int port)
1789 struct skge_hw *hw = skge->hw;
1873 struct skge_hw *hw = skge->hw;
1901 static int gm_phy_write(struct skge_hw *hw, int port, u16 reg, u16 val)
1919 static int __gm_phy_read(struct skge_hw *hw, int port, u16 reg, u16 *val)
1939 static u16 gm_phy_read(struct skge_hw *hw, int port, u16 reg)
1948 static void yukon_init(struct skge_hw *hw, int port)
2035 static void yukon_reset(struct skge_hw *hw, int port)
2049 static int is_yukon_lite_a0(struct skge_hw *hw)
2064 static void yukon_mac_init(struct skge_hw *hw, int port)
2215 static void yukon_suspend(struct skge_hw *hw, int port)
2235 struct skge_hw *hw = skge->hw;
2255 struct skge_hw *hw = skge->hw;
2269 static void yukon_mac_intr(struct skge_hw *hw, int port)
2290 static u16 yukon_speed(const struct skge_hw *hw, u16 aux)
2304 struct skge_hw *hw = skge->hw;
2325 struct skge_hw *hw = skge->hw;
2347 struct skge_hw *hw = skge->hw;
2423 struct skge_hw *hw = skge->hw;
2448 struct skge_hw *hw = skge->hw;
2486 static void skge_ramset(struct skge_hw *hw, u16 q, u32 start, size_t len)
2520 struct skge_hw *hw = skge->hw;
2537 struct skge_hw *hw = skge->hw;
2644 static void skge_rx_stop(struct skge_hw *hw, int port)
2655 struct skge_hw *hw = skge->hw;
2744 struct skge_hw *hw = skge->hw;
2937 struct skge_hw *hw = skge->hw;
2977 struct skge_hw *hw = skge->hw;
3019 static inline u16 phy_length(const struct skge_hw *hw, u32 status)
3027 static inline int bad_phy_status(const struct skge_hw *hw, u32 status)
3201 struct skge_hw *hw = skge->hw;
3248 static void skge_mac_parity(struct skge_hw *hw, int port)
3264 static void skge_mac_intr(struct skge_hw *hw, int port)
3273 static void skge_error_irq(struct skge_hw *hw)
3351 struct skge_hw *hw = from_tasklet(hw, t, phy_task);
3378 struct skge_hw *hw = dev_id;
3457 struct skge_hw *hw = skge->hw;
3503 static const char *skge_board_name(const struct skge_hw *hw)
3521 static int skge_reset(struct skge_hw *hw)
3697 const struct skge_hw *hw = skge->hw;
3811 static struct net_device *skge_devinit(struct skge_hw *hw, int port,
3887 struct skge_hw *hw;
4026 struct skge_hw *hw = pci_get_drvdata(pdev);
4067 struct skge_hw *hw = dev_get_drvdata(dev);
4091 struct skge_hw *hw = dev_get_drvdata(dev);
4128 struct skge_hw *hw = pci_get_drvdata(pdev);