Lines Matching refs:gem
139 static u16 __phy_read(struct gem *gp, int phy_addr, int reg) in __phy_read()
167 struct gem *gp = netdev_priv(dev); in _phy_read()
171 static inline u16 phy_read(struct gem *gp, int reg) in phy_read()
176 static void __phy_write(struct gem *gp, int phy_addr, int reg, u16 val) in __phy_write()
200 struct gem *gp = netdev_priv(dev); in _phy_write()
204 static inline void phy_write(struct gem *gp, int reg, u16 val) in phy_write()
209 static inline void gem_enable_ints(struct gem *gp) in gem_enable_ints()
215 static inline void gem_disable_ints(struct gem *gp) in gem_disable_ints()
221 static void gem_get_cell(struct gem *gp) in gem_get_cell()
235 static void gem_put_cell(struct gem *gp) in gem_put_cell()
248 static void gem_handle_mif_event(struct gem *gp, u32 reg_val, u32 changed_bits) in gem_handle_mif_event()
254 static int gem_pcs_interrupt(struct net_device *dev, struct gem *gp, u32 gem_status) in gem_pcs_interrupt()
309 static int gem_txmac_interrupt(struct net_device *dev, struct gem *gp, u32 gem_status) in gem_txmac_interrupt()
364 static int gem_rxmac_reset(struct gem *gp) in gem_rxmac_reset()
469 static int gem_rxmac_interrupt(struct net_device *dev, struct gem *gp, u32 gem_status) in gem_rxmac_interrupt()
504 static int gem_mac_interrupt(struct net_device *dev, struct gem *gp, u32 gem_status) in gem_mac_interrupt()
525 static int gem_mif_interrupt(struct net_device *dev, struct gem *gp, u32 gem_status) in gem_mif_interrupt()
538 static int gem_pci_interrupt(struct net_device *dev, struct gem *gp, u32 gem_status) in gem_pci_interrupt()
608 static int gem_abnormal_irq(struct net_device *dev, struct gem *gp, u32 gem_status) in gem_abnormal_irq()
667 static __inline__ void gem_tx(struct net_device *dev, struct gem *gp, u32 gem_status) in gem_tx()
727 static __inline__ void gem_post_rxds(struct gem *gp, int limit) in gem_post_rxds()
757 static int gem_rx(struct gem *gp, int work_to_do) in gem_rx()
884 struct gem *gp = container_of(napi, struct gem, napi); in gem_poll()
935 struct gem *gp = netdev_priv(dev); in gem_interrupt()
981 struct gem *gp = netdev_priv(dev); in gem_tx_timeout()
1020 struct gem *gp = netdev_priv(dev); in gem_start_xmit()
1144 static void gem_pcs_reset(struct gem *gp) in gem_pcs_reset()
1165 static void gem_pcs_reinit_adv(struct gem *gp) in gem_pcs_reinit_adv()
1211 static void gem_reset(struct gem *gp) in gem_reset()
1240 static void gem_start_dma(struct gem *gp) in gem_start_dma()
1265 static void gem_stop_dma(struct gem *gp) in gem_stop_dma()
1287 static void gem_begin_auto_negotiation(struct gem *gp, struct ethtool_cmd *ep) in gem_begin_auto_negotiation()
1374 static int gem_set_link_modes(struct gem *gp) in gem_set_link_modes()
1483 static int gem_mdio_link_not_up(struct gem *gp) in gem_mdio_link_not_up()
1533 struct gem *gp = (struct gem *) data; in gem_link_timer()
1619 static void gem_clean_rings(struct gem *gp) in gem_clean_rings()
1670 static void gem_init_rings(struct gem *gp) in gem_init_rings()
1720 static void gem_init_phy(struct gem *gp) in gem_init_phy()
1796 static void gem_init_dma(struct gem *gp) in gem_init_dma()
1834 static u32 gem_setup_multicast(struct gem *gp) in gem_setup_multicast()
1876 static void gem_init_mac(struct gem *gp) in gem_init_mac()
1959 static void gem_init_pause_thresholds(struct gem *gp) in gem_init_pause_thresholds()
2003 static int gem_check_invariants(struct gem *gp) in gem_check_invariants()
2112 static void gem_reinit_chip(struct gem *gp) in gem_reinit_chip()
2133 static void gem_stop_phy(struct gem *gp, int wol) in gem_stop_phy()
2210 struct gem *gp = netdev_priv(dev); in gem_do_start()
2261 struct gem *gp = netdev_priv(dev); in gem_do_stop()
2302 struct gem *gp = container_of(work, struct gem, reset_task); in gem_reset_task()
2336 struct gem *gp = netdev_priv(dev); in gem_open()
2353 struct gem *gp = netdev_priv(dev); in gem_close()
2372 struct gem *gp = netdev_priv(dev); in gem_suspend()
2436 struct gem *gp = netdev_priv(dev); in gem_resume()
2508 struct gem *gp = netdev_priv(dev); in gem_get_stats()
2544 struct gem *gp = netdev_priv(dev); in gem_set_mac_address()
2572 struct gem *gp = netdev_priv(dev); in gem_set_multicast()
2621 struct gem *gp = netdev_priv(dev); in gem_change_mtu()
2652 struct gem *gp = netdev_priv(dev); in gem_get_drvinfo()
2661 struct gem *gp = netdev_priv(dev); in gem_get_settings()
2722 struct gem *gp = netdev_priv(dev); in gem_set_settings()
2753 struct gem *gp = netdev_priv(dev); in gem_nway_reset()
2770 struct gem *gp = netdev_priv(dev); in gem_get_msglevel()
2776 struct gem *gp = netdev_priv(dev); in gem_set_msglevel()
2788 struct gem *gp = netdev_priv(dev); in gem_get_wol()
2802 struct gem *gp = netdev_priv(dev); in gem_set_wol()
2824 struct gem *gp = netdev_priv(dev); in gem_ioctl()
2928 static int __devinit gem_get_device_address(struct gem *gp) in gem_get_device_address()
2956 struct gem *gp = netdev_priv(dev); in gem_remove_one()
3014 struct gem *gp; in gem_init_one()