Lines Matching defs:hp
110 static __inline__ void tx_add_log(struct happy_meal *hp, unsigned int a, unsigned int s) in tx_add_log()
138 static __inline__ void tx_dump_ring(struct happy_meal *hp) in tx_dump_ring()
154 #define tx_add_log(hp, a, s) do { } while(0) argument
156 #define tx_dump_ring(hp) do { } while(0) argument
304 static inline u32 hme_read_desc32(struct happy_meal *hp, hme32 *p) in hme_read_desc32()
321 static void BB_PUT_BIT(struct happy_meal *hp, void __iomem *tregs, int bit) in BB_PUT_BIT()
345 static u32 BB_GET_BIT2(struct happy_meal *hp, void __iomem *tregs, int internal) in BB_GET_BIT2()
363 static int happy_meal_bb_read(struct happy_meal *hp, in happy_meal_bb_read()
409 static void happy_meal_bb_write(struct happy_meal *hp, in happy_meal_bb_write()
454 static int happy_meal_tcvr_read(struct happy_meal *hp, in happy_meal_tcvr_read()
486 static void happy_meal_tcvr_write(struct happy_meal *hp, in happy_meal_tcvr_write()
546 static int try_next_permutation(struct happy_meal *hp, void __iomem *tregs) in try_next_permutation()
570 static void display_link_mode(struct happy_meal *hp, void __iomem *tregs) in display_link_mode()
592 static void display_forced_link_mode(struct happy_meal *hp, void __iomem *tregs) in display_forced_link_mode()
611 static int set_happy_link_modes(struct happy_meal *hp, void __iomem *tregs) in set_happy_link_modes()
673 static int is_lucent_phy(struct happy_meal *hp) in is_lucent_phy()
690 struct happy_meal *hp = (struct happy_meal *) data; in happy_meal_timer() local
872 static void happy_meal_tx_reset(struct happy_meal *hp, void __iomem *bregs) in happy_meal_tx_reset()
892 static void happy_meal_rx_reset(struct happy_meal *hp, void __iomem *bregs) in happy_meal_rx_reset()
914 static void happy_meal_stop(struct happy_meal *hp, void __iomem *gregs) in happy_meal_stop()
934 static void happy_meal_get_counters(struct happy_meal *hp, void __iomem *bregs) in happy_meal_get_counters()
957 static void happy_meal_poll_stop(struct happy_meal *hp, void __iomem *tregs) in happy_meal_poll_stop()
992 static int happy_meal_tcvr_reset(struct happy_meal *hp, void __iomem *tregs) in happy_meal_tcvr_reset()
1090 static void happy_meal_transceiver_check(struct happy_meal *hp, void __iomem *tregs) in happy_meal_transceiver_check()
1197 static void happy_meal_clean_rings(struct happy_meal *hp) in happy_meal_clean_rings()
1249 static void happy_meal_init_rings(struct happy_meal *hp) in happy_meal_init_rings()
1297 static void happy_meal_begin_auto_negotiation(struct happy_meal *hp, in happy_meal_begin_auto_negotiation()
1421 static int happy_meal_init(struct happy_meal *hp) in happy_meal_init()
1711 static void happy_meal_set_initial_advertisement(struct happy_meal *hp) in happy_meal_set_initial_advertisement()
1771 static int happy_meal_is_not_so_happy(struct happy_meal *hp, u32 status) in happy_meal_is_not_so_happy()
1885 static void happy_meal_mif_interrupt(struct happy_meal *hp) in happy_meal_mif_interrupt()
1919 static void happy_meal_tx(struct happy_meal *hp) in happy_meal_tx()
1991 static void happy_meal_rx(struct happy_meal *hp, struct net_device *dev) in happy_meal_rx()
2101 struct happy_meal *hp = netdev_priv(dev); in happy_meal_interrupt() local
2144 struct happy_meal *hp = netdev_priv(dev); in quattro_sbus_interrupt() local
2189 struct happy_meal *hp = netdev_priv(dev); in happy_meal_open() local
2222 struct happy_meal *hp = netdev_priv(dev); in happy_meal_close() local
2251 struct happy_meal *hp = netdev_priv(dev); in happy_meal_tx_timeout() local
2267 static void unmap_partial_tx_skb(struct happy_meal *hp, u32 first_mapping, in unmap_partial_tx_skb()
2289 struct happy_meal *hp = netdev_priv(dev); in happy_meal_start_xmit() local
2392 struct happy_meal *hp = netdev_priv(dev); in happy_meal_get_stats() local
2403 struct happy_meal *hp = netdev_priv(dev); in happy_meal_set_multicast() local
2439 struct happy_meal *hp = netdev_priv(dev); in hme_get_settings() local
2483 struct happy_meal *hp = netdev_priv(dev); in hme_set_settings() local
2507 struct happy_meal *hp = netdev_priv(dev); in hme_get_drvinfo() local
2530 struct happy_meal *hp = netdev_priv(dev); in hme_get_link() local
2682 struct happy_meal *hp; in happy_meal_sbus_probe_one() local
2987 struct happy_meal *hp; in happy_meal_pci_probe() local
3214 struct happy_meal *hp = pci_get_drvdata(pdev); in happy_meal_pci_remove() local
3284 struct happy_meal *hp = platform_get_drvdata(op); in hme_sbus_remove() local