Lines Matching refs:sky2_hw

150 static int gm_phy_write(struct sky2_hw *hw, unsigned port, u16 reg, u16 val)
177 static int __gm_phy_read(struct sky2_hw *hw, unsigned port, u16 reg, u16 *val)
204 static inline u16 gm_phy_read(struct sky2_hw *hw, unsigned port, u16 reg)
212 static void sky2_power_on(struct sky2_hw *hw)
261 static void sky2_power_aux(struct sky2_hw *hw)
283 static void sky2_gmac_reset(struct sky2_hw *hw, unsigned port)
325 static void sky2_phy_init(struct sky2_hw *hw, unsigned port)
695 static void sky2_phy_power_up(struct sky2_hw *hw, unsigned port)
716 static void sky2_phy_power_down(struct sky2_hw *hw, unsigned port)
788 struct sky2_hw *hw = sky2->hw;
809 struct sky2_hw *hw = sky2->hw;
878 static void sky2_set_tx_stfwd(struct sky2_hw *hw, unsigned port)
897 static void sky2_mac_init(struct sky2_hw *hw, unsigned port)
1036 static void sky2_ramset(struct sky2_hw *hw, u16 q, u32 start, u32 space)
1076 static void sky2_qset(struct sky2_hw *hw, u16 q)
1087 static void sky2_prefetch_init(struct sky2_hw *hw, u32 qaddr,
1125 static inline void sky2_put_idx(struct sky2_hw *hw, unsigned q, u16 idx)
1284 struct sky2_hw *hw = sky2->hw;
1325 struct sky2_hw *hw = sky2->hw;
1369 struct sky2_hw *hw = sky2->hw;
1406 struct sky2_hw *hw = sky2->hw;
1431 static inline unsigned sky2_rx_pad(const struct sky2_hw *hw)
1486 struct sky2_hw *hw = sky2->hw;
1519 struct sky2_hw *hw = sky2->hw;
1593 struct sky2_hw *hw = sky2->hw;
1624 struct sky2_hw *hw = sky2->hw;
1648 struct sky2_hw *hw = sky2->hw;
1711 static int sky2_setup_irq(struct sky2_hw *hw, const char *name)
1737 struct sky2_hw *hw = sky2->hw;
1827 struct sky2_hw *hw = sky2->hw;
2039 static void sky2_tx_reset(struct sky2_hw *hw, unsigned port)
2065 struct sky2_hw *hw = sky2->hw;
2114 struct sky2_hw *hw = sky2->hw;
2149 static u16 sky2_phy_speed(const struct sky2_hw *hw, u16 aux)
2173 struct sky2_hw *hw = sky2->hw;
2205 struct sky2_hw *hw = sky2->hw;
2235 struct sky2_hw *hw = sky2->hw;
2296 static void sky2_phy_intr(struct sky2_hw *hw, unsigned port)
2337 static void sky2_qlink_intr(struct sky2_hw *hw)
2363 struct sky2_hw *hw = sky2->hw;
2379 struct sky2_hw *hw = sky2->hw;
2638 static inline void sky2_rx_done(struct sky2_hw *hw, unsigned port,
2702 static int sky2_status_intr(struct sky2_hw *hw, int to_do, u16 idx)
2802 static void sky2_hw_error(struct sky2_hw *hw, unsigned port, u32 status)
2842 static void sky2_hw_intr(struct sky2_hw *hw)
2889 static void sky2_mac_intr(struct sky2_hw *hw, unsigned port)
2915 static void sky2_le_error(struct sky2_hw *hw, unsigned port, u16 q)
2930 struct sky2_hw *hw = sky2->hw;
2962 struct sky2_hw *hw = from_timer(hw, t, watchdog_timer);
2993 static void sky2_err_intr(struct sky2_hw *hw, u32 status)
3022 struct sky2_hw *hw = container_of(napi, struct sky2_hw, napi);
3055 struct sky2_hw *hw = dev_id;
3082 static u32 sky2_mhz(const struct sky2_hw *hw)
3109 static inline u32 sky2_us2clk(const struct sky2_hw *hw, u32 us)
3114 static inline u32 sky2_clk2us(const struct sky2_hw *hw, u32 clk)
3120 static int sky2_init(struct sky2_hw *hw)
3228 static void sky2_reset(struct sky2_hw *hw)
3456 static void sky2_all_down(struct sky2_hw *hw)
3481 static void sky2_all_up(struct sky2_hw *hw)
3509 struct sky2_hw *hw = container_of(work, struct sky2_hw, restart_work);
3520 static inline u8 sky2_wol_supported(const struct sky2_hw *hw)
3536 struct sky2_hw *hw = sky2->hw;
3558 static u32 sky2_supported_modes(const struct sky2_hw *hw)
3579 struct sky2_hw *hw = sky2->hw;
3611 const struct sky2_hw *hw = sky2->hw;
3760 struct sky2_hw *hw = sky2->hw;
3811 struct sky2_hw *hw = sky2->hw;
3844 struct sky2_hw *hw = sky2->hw;
3890 struct sky2_hw *hw = sky2->hw;
3934 struct sky2_hw *hw = sky2->hw;
4056 struct sky2_hw *hw = sky2->hw;
4091 struct sky2_hw *hw = sky2->hw;
4182 static int sky2_reg_access_ok(struct sky2_hw *hw, unsigned int b)
4256 struct sky2_hw *hw = sky2->hw;
4263 static int sky2_vpd_wait(const struct sky2_hw *hw, int cap, u16 busy)
4279 static int sky2_vpd_read(struct sky2_hw *hw, int cap, void *data,
4303 static int sky2_vpd_write(struct sky2_hw *hw, int cap, const void *data,
4359 const struct sky2_hw *hw = sky2->hw;
4459 static void sky2_show_vpd(struct seq_file *seq, struct sky2_hw *hw)
4521 struct sky2_hw *hw = sky2->hw;
4723 static struct net_device *sky2_init_netdev(struct sky2_hw *hw, unsigned port,
4830 struct sky2_hw *hw = dev_id;
4847 static int sky2_test_msi(struct sky2_hw *hw)
4951 struct sky2_hw *hw;
5142 struct sky2_hw *hw = pci_get_drvdata(pdev);
5184 struct sky2_hw *hw = dev_get_drvdata(dev);
5214 struct sky2_hw *hw = pci_get_drvdata(pdev);
5250 struct sky2_hw *hw = pci_get_drvdata(pdev);