Lines Matching refs:u_long
659 #define DE4X5_ALIGN4 ((u_long)4 - 1) /* 1 longword align */
660 #define DE4X5_ALIGN8 ((u_long)8 - 1) /* 2 longword align */
661 #define DE4X5_ALIGN16 ((u_long)16 - 1) /* 4 longword align */
662 #define DE4X5_ALIGN32 ((u_long)32 - 1) /* 8 longword align */
663 #define DE4X5_ALIGN64 ((u_long)64 - 1) /* 16 longword align */
664 #define DE4X5_ALIGN128 ((u_long)128 - 1) /* 32 longword align */
789 u_long interrupt; /* Aligned ISR flag */
826 u_long lock; /* Lock the cache accesses */
910 static int de4x5_hw_init(struct net_device *dev, u_long iobase, struct device *gendev);
955 static void DevicePresent(struct net_device *dev, u_long iobase);
956 static void enet_addr_rst(u_long aprom_addr);
958 static short srom_rd(u_long address, u_char offset);
959 static void srom_latch(u_int command, u_long address);
960 static void srom_command(u_int command, u_long address);
961 static void srom_address(u_int command, u_long address, u_char offset);
962 static short srom_data(u_int command, u_long address);
964 static void sendto_srom(u_int command, u_long addr);
965 static int getfrom_srom(u_long addr);
970 static int mii_rd(u_char phyreg, u_char phyaddr, u_long ioaddr);
971 static void mii_wr(int data, u_char phyreg, u_char phyaddr, u_long ioaddr);
972 static int mii_rdata(u_long ioaddr);
973 static void mii_wdata(int data, int len, u_long ioaddr);
974 static void mii_ta(u_long rw, u_long ioaddr);
976 static void mii_address(u_char addr, u_long ioaddr);
977 static void sendto_mii(u32 command, int data, u_long ioaddr);
978 static int getfrom_mii(u32 command, u_long ioaddr);
979 static int mii_get_oui(u_char phyaddr, u_long ioaddr);
1094 de4x5_hw_init(struct net_device *dev, u_long iobase, struct device *gendev) in de4x5_hw_init()
1292 u_long iobase = dev->base_addr; in de4x5_open()
1382 u_long iobase = dev->base_addr; in de4x5_sw_reset()
1460 u_long iobase = dev->base_addr; in de4x5_queue_pkt()
1461 u_long flags = 0; in de4x5_queue_pkt()
1481 if (netif_queue_stopped(dev) || (u_long) lp->tx_skb[lp->tx_new] > 1) { in de4x5_queue_pkt()
1488 …(DE4X5_STS), netif_queue_stopped(dev), inl(DE4X5_IMR), inl(DE4X5_OMR), ((u_long) lp->tx_skb[lp->tx… in de4x5_queue_pkt()
1498 (u_long) lp->tx_skb[lp->tx_new] <= 1) { in de4x5_queue_pkt()
1541 u_long iobase; in de4x5_interrupt()
1604 u_long iobase = dev->base_addr; in de4x5_rx()
1682 if ((u_long) lp->tx_skb[entry] > 1) in de4x5_free_tx_buff()
1694 u_long iobase = dev->base_addr; in de4x5_tx()
1772 u_long iobase = dev->base_addr; in de4x5_txur()
1795 u_long iobase = dev->base_addr; in de4x5_rx_ovfc()
1816 u_long iobase = dev->base_addr; in de4x5_close()
1852 u_long iobase = dev->base_addr; in de4x5_get_stats()
1920 u_long iobase = dev->base_addr; in set_multicast_list()
1951 u_long iobase = dev->base_addr; in SetMulticastFilter()
1997 u_long iobase; in de4x5_eisa_probe()
2083 u_long iobase; in de4x5_eisa_remove()
2126 u_long iobase = 0; /* Clear upper 32 bits in Alphas */ in srom_search()
2200 u_long iobase = 0; /* Clear upper 32 bits in Alphas */ in de4x5_pci_probe()
2319 u_long iobase; in de4x5_pci_remove()
2362 u_long iobase = dev->base_addr; in autoconf_media()
2392 u_long iobase = dev->base_addr; in dc21040_autoconf()
2546 u_long iobase = dev->base_addr; in dc21041_autoconf()
2750 u_long imr, omr, iobase = dev->base_addr; in dc21140m_autoconf()
2932 u_long iobase = dev->base_addr; in dc2114x_autoconf()
3267 u_long iobase = dev->base_addr; in de4x5_init_connection()
3268 u_long flags = 0; in de4x5_init_connection()
3294 u_long iobase = dev->base_addr; in de4x5_reset_phy()
3328 u_long iobase = dev->base_addr; in test_media()
3366 u_long iobase = dev->base_addr; in test_tp()
3449 u_long iobase = dev->base_addr; in test_mii_reg()
3471 u_long iobase = dev->base_addr; in is_spd_100()
3495 u_long iobase = dev->base_addr; in is_100_up()
3516 u_long iobase = dev->base_addr; in is_10_up()
3539 u_long iobase = dev->base_addr; in is_anc_capable()
3558 u_long iobase = dev->base_addr; in ping_media()
3603 u_long i=0, tmp; in de4x5_alloc_rx_buff()
3616 if ((u_long) ret > 1) { in de4x5_alloc_rx_buff()
3648 if ((u_long) lp->rx_skb[i] > 1) { in de4x5_free_rx_buffs()
3683 u_long iobase = dev->base_addr; in de4x5_save_skbs()
3702 u_long iobase = dev->base_addr; in de4x5_rst_desc_ring()
3733 u_long iobase = dev->base_addr; in de4x5_cache_state()
3789 u_long iobase = dev->base_addr; in test_ans()
3817 u_long iobase = dev->base_addr; in de4x5_setup_intr()
3836 u_long iobase = dev->base_addr; in reset_init_sia()
3951 DevicePresent(struct net_device *dev, u_long aprom_addr) in DevicePresent()
3990 enet_addr_rst(u_long aprom_addr) in enet_addr_rst()
4030 u_long iobase = dev->base_addr; in get_hw_addr()
4201 srom_rd(u_long addr, u_char offset) in srom_rd()
4213 srom_latch(u_int command, u_long addr) in srom_latch()
4221 srom_command(u_int command, u_long addr) in srom_command()
4229 srom_address(u_int command, u_long addr, u_char offset) in srom_address()
4243 srom_data(u_int command, u_long addr) in srom_data()
4277 sendto_srom(u_int command, u_long addr) in sendto_srom()
4284 getfrom_srom(u_long addr) in getfrom_srom()
4389 u_long iobase = dev->base_addr; in srom_exec()
4808 mii_rd(u_char phyreg, u_char phyaddr, u_long ioaddr) in mii_rd()
4821 mii_wr(int data, u_char phyreg, u_char phyaddr, u_long ioaddr) in mii_wr()
4834 mii_rdata(u_long ioaddr) in mii_rdata()
4848 mii_wdata(int data, int len, u_long ioaddr) in mii_wdata()
4859 mii_address(u_char addr, u_long ioaddr) in mii_address()
4871 mii_ta(u_long rw, u_long ioaddr) in mii_ta()
4896 sendto_mii(u32 command, int data, u_long ioaddr) in sendto_mii()
4908 getfrom_mii(u32 command, u_long ioaddr) in getfrom_mii()
4922 mii_get_oui(u_char phyaddr, u_long ioaddr) in mii_get_oui()
4972 u_long iobase = dev->base_addr; in mii_get_phy()
5075 u_long iobase = dev->base_addr; in de4x5_switch_mac_port()
5111 u_long iobase = dev->base_addr; in gep_wr()
5124 u_long iobase = dev->base_addr; in gep_rd()
5139 u_long iobase = dev->base_addr; in yawn()
5230 printk("\t0x%8.8lx 0x%8.8lx\n",(u_long)lp->rx_ring,(u_long)lp->tx_ring); in de4x5_dbg_open()
5234 printk("0x%8.8lx ",(u_long)&lp->rx_ring[i].status); in de4x5_dbg_open()
5237 printk("...0x%8.8lx\n",(u_long)&lp->rx_ring[i].status); in de4x5_dbg_open()
5241 printk("0x%8.8lx ", (u_long)&lp->tx_ring[i].status); in de4x5_dbg_open()
5244 printk("...0x%8.8lx\n", (u_long)&lp->tx_ring[i].status); in de4x5_dbg_open()
5269 u_long iobase = dev->base_addr; in de4x5_dbg_mii()
5366 u_long iobase = dev->base_addr; in de4x5_ioctl()
5374 u_long flags = 0; in de4x5_ioctl()