Lines Matching defs:hw
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() local
256 struct skge_hw *hw = skge->hw; in skge_set_wol() local
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_settings() local
328 const struct skge_hw *hw = skge->hw; in skge_set_settings() local
599 static inline u32 hwkhz(const struct skge_hw *hw) in hwkhz()
605 static inline u32 skge_clk2usec(const struct skge_hw *hw, u32 ticks) in skge_clk2usec()
611 static inline u32 skge_usecs2clk(const struct skge_hw *hw, u32 usec) in skge_usecs2clk()
620 struct skge_hw *hw = skge->hw; in skge_get_coalesce() local
644 struct skge_hw *hw = skge->hw; in skge_set_coalesce() local
682 struct skge_hw *hw = skge->hw; in skge_led() local
982 struct skge_hw *hw = skge->hw; in skge_rx_clean() local
1072 static void xm_link_down(struct skge_hw *hw, int port) in xm_link_down()
1083 static int __xm_phy_read(struct skge_hw *hw, int port, u16 reg, u16 *val) in __xm_phy_read()
1106 static u16 xm_phy_read(struct skge_hw *hw, int port, u16 reg) in xm_phy_read()
1114 static int xm_phy_write(struct skge_hw *hw, int port, u16 reg, u16 val) in xm_phy_write()
1136 static void genesis_init(struct skge_hw *hw) in genesis_init()
1164 static void genesis_reset(struct skge_hw *hw, int port) in genesis_reset()
1208 static void bcom_check_link(struct skge_hw *hw, int port) in bcom_check_link()
1276 struct skge_hw *hw = skge->hw; in bcom_phy_init() local
1382 struct skge_hw *hw = skge->hw; in xm_phy_init() local
1417 struct skge_hw *hw = skge->hw; in xm_check_link() local
1491 struct skge_hw *hw = skge->hw; in xm_link_timer() local
1524 static void genesis_mac_init(struct skge_hw *hw, int port) in genesis_mac_init()
1684 struct skge_hw *hw = skge->hw; in genesis_stop() local
1732 struct skge_hw *hw = skge->hw; in genesis_get_stats() local
1758 static void genesis_mac_intr(struct skge_hw *hw, int port) in genesis_mac_intr()
1780 struct skge_hw *hw = skge->hw; in genesis_link_up() local
1864 struct skge_hw *hw = skge->hw; in bcom_phy_intr() local
1892 static int gm_phy_write(struct skge_hw *hw, int port, u16 reg, u16 val) in gm_phy_write()
1910 static int __gm_phy_read(struct skge_hw *hw, int port, u16 reg, u16 *val) in __gm_phy_read()
1930 static u16 gm_phy_read(struct skge_hw *hw, int port, u16 reg) in gm_phy_read()
1939 static void yukon_init(struct skge_hw *hw, int port) in yukon_init()
2026 static void yukon_reset(struct skge_hw *hw, int port) in yukon_reset()
2040 static int is_yukon_lite_a0(struct skge_hw *hw) in is_yukon_lite_a0()
2055 static void yukon_mac_init(struct skge_hw *hw, int port) in yukon_mac_init()
2206 static void yukon_suspend(struct skge_hw *hw, int port) in yukon_suspend()
2226 struct skge_hw *hw = skge->hw; in yukon_stop() local
2246 struct skge_hw *hw = skge->hw; in yukon_get_stats() local
2260 static void yukon_mac_intr(struct skge_hw *hw, int port) in yukon_mac_intr()
2281 static u16 yukon_speed(const struct skge_hw *hw, u16 aux) in yukon_speed()
2295 struct skge_hw *hw = skge->hw; in yukon_link_up() local
2316 struct skge_hw *hw = skge->hw; in yukon_link_down() local
2338 struct skge_hw *hw = skge->hw; in yukon_phy_intr() local
2414 struct skge_hw *hw = skge->hw; in skge_phy_reset() local
2439 struct skge_hw *hw = skge->hw; in skge_ioctl() local
2477 static void skge_ramset(struct skge_hw *hw, u16 q, u32 start, size_t len) in skge_ramset()
2511 struct skge_hw *hw = skge->hw; in skge_qset() local
2528 struct skge_hw *hw = skge->hw; in skge_up() local
2635 static void skge_rx_stop(struct skge_hw *hw, int port) in skge_rx_stop()
2646 struct skge_hw *hw = skge->hw; in skge_down() local
2734 struct skge_hw *hw = skge->hw; in skge_xmit_frame() local
2936 struct skge_hw *hw = skge->hw; in genesis_set_multicast() local
2975 struct skge_hw *hw = skge->hw; in yukon_set_multicast() local
3017 static inline u16 phy_length(const struct skge_hw *hw, u32 status) in phy_length()
3025 static inline int bad_phy_status(const struct skge_hw *hw, u32 status) in bad_phy_status()
3200 struct skge_hw *hw = skge->hw; in skge_poll() local
3249 static void skge_mac_parity(struct skge_hw *hw, int port) in skge_mac_parity()
3265 static void skge_mac_intr(struct skge_hw *hw, int port) in skge_mac_intr()
3274 static void skge_error_irq(struct skge_hw *hw) in skge_error_irq()
3352 struct skge_hw *hw = (struct skge_hw *) arg; in skge_extirq() local
3379 struct skge_hw *hw = dev_id; in skge_intr() local
3458 struct skge_hw *hw = skge->hw; in skge_set_mac_address() local
3504 static const char *skge_board_name(const struct skge_hw *hw) in skge_board_name()
3522 static int skge_reset(struct skge_hw *hw) in skge_reset()
3698 const struct skge_hw *hw = skge->hw; in skge_debug_show() local
3845 static struct net_device *skge_devinit(struct skge_hw *hw, int port, in skge_devinit()
3915 struct skge_hw *hw; in skge_probe() local
4054 struct skge_hw *hw = pci_get_drvdata(pdev); in skge_remove() local
4097 struct skge_hw *hw = pci_get_drvdata(pdev); in skge_suspend() local
4122 struct skge_hw *hw = pci_get_drvdata(pdev); in skge_resume() local
4159 struct skge_hw *hw = pci_get_drvdata(pdev); in skge_shutdown() local