Lines Matching defs:gp

117 static u16 __sungem_phy_read(struct gem *gp, int phy_addr, int reg)  in __sungem_phy_read()
145 struct gem *gp = netdev_priv(dev); in _sungem_phy_read() local
149 static inline u16 sungem_phy_read(struct gem *gp, int reg) in sungem_phy_read()
154 static void __sungem_phy_write(struct gem *gp, int phy_addr, int reg, u16 val) in __sungem_phy_write()
178 struct gem *gp = netdev_priv(dev); in _sungem_phy_write() local
182 static inline void sungem_phy_write(struct gem *gp, int reg, u16 val) in sungem_phy_write()
187 static inline void gem_enable_ints(struct gem *gp) in gem_enable_ints()
193 static inline void gem_disable_ints(struct gem *gp) in gem_disable_ints()
200 static void gem_get_cell(struct gem *gp) in gem_get_cell()
214 static void gem_put_cell(struct gem *gp) in gem_put_cell()
227 static inline void gem_netif_stop(struct gem *gp) in gem_netif_stop()
234 static inline void gem_netif_start(struct gem *gp) in gem_netif_start()
244 static void gem_schedule_reset(struct gem *gp) in gem_schedule_reset()
250 static void gem_handle_mif_event(struct gem *gp, u32 reg_val, u32 changed_bits) in gem_handle_mif_event()
256 static int gem_pcs_interrupt(struct net_device *dev, struct gem *gp, u32 gem_status) in gem_pcs_interrupt()
306 static int gem_txmac_interrupt(struct net_device *dev, struct gem *gp, u32 gem_status) in gem_txmac_interrupt()
359 static int gem_rxmac_reset(struct gem *gp) in gem_rxmac_reset()
459 static int gem_rxmac_interrupt(struct net_device *dev, struct gem *gp, u32 gem_status) in gem_rxmac_interrupt()
493 static int gem_mac_interrupt(struct net_device *dev, struct gem *gp, u32 gem_status) in gem_mac_interrupt()
514 static int gem_mif_interrupt(struct net_device *dev, struct gem *gp, u32 gem_status) in gem_mif_interrupt()
527 static int gem_pci_interrupt(struct net_device *dev, struct gem *gp, u32 gem_status) in gem_pci_interrupt()
578 static int gem_abnormal_irq(struct net_device *dev, struct gem *gp, u32 gem_status) in gem_abnormal_irq()
631 static __inline__ void gem_tx(struct net_device *dev, struct gem *gp, u32 gem_status) in gem_tx()
702 static __inline__ void gem_post_rxds(struct gem *gp, int limit) in gem_post_rxds()
746 static int gem_rx(struct gem *gp, int work_to_do) in gem_rx()
876 struct gem *gp = container_of(napi, struct gem, napi); in gem_poll() local
927 struct gem *gp = netdev_priv(dev); in gem_interrupt() local
954 struct gem *gp = netdev_priv(dev); in gem_tx_timeout() local
982 struct gem *gp = netdev_priv(dev); in gem_start_xmit() local
1098 static void gem_pcs_reset(struct gem *gp) in gem_pcs_reset()
1118 static void gem_pcs_reinit_adv(struct gem *gp) in gem_pcs_reinit_adv()
1163 static void gem_reset(struct gem *gp) in gem_reset()
1191 static void gem_start_dma(struct gem *gp) in gem_start_dma()
1215 static void gem_stop_dma(struct gem *gp) in gem_stop_dma()
1236 static void gem_begin_auto_negotiation(struct gem *gp, in gem_begin_auto_negotiation()
1327 static int gem_set_link_modes(struct gem *gp) in gem_set_link_modes()
1438 static int gem_mdio_link_not_up(struct gem *gp) in gem_mdio_link_not_up()
1484 struct gem *gp = from_timer(gp, t, link_timer); in gem_link_timer() local
1555 static void gem_clean_rings(struct gem *gp) in gem_clean_rings()
1605 static void gem_init_rings(struct gem *gp) in gem_init_rings()
1654 static void gem_init_phy(struct gem *gp) in gem_init_phy()
1731 static void gem_init_dma(struct gem *gp) in gem_init_dma()
1768 static u32 gem_setup_multicast(struct gem *gp) in gem_setup_multicast()
1800 static void gem_init_mac(struct gem *gp) in gem_init_mac()
1882 static void gem_init_pause_thresholds(struct gem *gp) in gem_init_pause_thresholds()
1926 static int gem_check_invariants(struct gem *gp) in gem_check_invariants()
2042 static void gem_reinit_chip(struct gem *gp) in gem_reinit_chip()
2062 static void gem_stop_phy(struct gem *gp, int wol) in gem_stop_phy()
2131 struct gem *gp = netdev_priv(dev); in gem_do_start() local
2170 struct gem *gp = netdev_priv(dev); in gem_do_stop() local
2215 struct gem *gp = container_of(work, struct gem, reset_task); in gem_reset_task() local
2262 struct gem *gp = netdev_priv(dev); in gem_open() local
2291 struct gem *gp = netdev_priv(dev); in gem_close() local
2309 struct gem *gp = netdev_priv(dev); in gem_suspend() local
2350 struct gem *gp = netdev_priv(dev); in gem_resume() local
2386 struct gem *gp = netdev_priv(dev); in gem_get_stats() local
2424 struct gem *gp = netdev_priv(dev); in gem_set_mac_address() local
2448 struct gem *gp = netdev_priv(dev); in gem_set_multicast() local
2489 struct gem *gp = netdev_priv(dev); in gem_change_mtu() local
2512 struct gem *gp = netdev_priv(dev); in gem_get_drvinfo() local
2522 struct gem *gp = netdev_priv(dev); in gem_get_link_ksettings() local
2587 struct gem *gp = netdev_priv(dev); in gem_set_link_ksettings() local
2622 struct gem *gp = netdev_priv(dev); in gem_nway_reset() local
2638 struct gem *gp = netdev_priv(dev); in gem_get_msglevel() local
2644 struct gem *gp = netdev_priv(dev); in gem_set_msglevel() local
2656 struct gem *gp = netdev_priv(dev); in gem_get_wol() local
2670 struct gem *gp = netdev_priv(dev); in gem_set_wol() local
2692 struct gem *gp = netdev_priv(dev); in gem_ioctl() local
2773 static int gem_get_device_address(struct gem *gp) in gem_get_device_address()
2804 struct gem *gp = netdev_priv(dev); in gem_remove_one() local
2837 struct gem *gp; in gem_init_one() local