Lines Matching refs:u_long
146 static void sendto_srom(struct eth_device* dev, u_int command, u_long addr);
147 static int getfrom_srom(struct eth_device* dev, u_long addr);
148 static int do_eeprom_cmd(struct eth_device *dev, u_long ioaddr,int cmd,int cmd_len);
149 static int do_read_eeprom(struct eth_device *dev,u_long ioaddr,int location,int addr_len);
152 static int write_srom(struct eth_device *dev, u_long ioaddr, int index, int new_value);
156 static int read_srom(struct eth_device *dev, u_long ioaddr, int index);
175 static int INL(struct eth_device* dev, u_long addr) in INL()
177 return le32_to_cpu(*(volatile u_long *)(addr + dev->iobase)); in INL()
180 static void OUTL(struct eth_device* dev, int command, u_long addr) in OUTL()
182 *(volatile u_long *)(addr + dev->iobase) = cpu_to_le32(command); in OUTL()
529 sendto_srom(struct eth_device* dev, u_int command, u_long addr) in sendto_srom()
536 getfrom_srom(struct eth_device* dev, u_long addr) in getfrom_srom()
547 static int do_read_eeprom(struct eth_device *dev, u_long ioaddr, int location, int addr_len) in do_read_eeprom()
606 static int do_eeprom_cmd(struct eth_device *dev, u_long ioaddr, int cmd, int cmd_len) in do_eeprom_cmd()
644 static int read_srom(struct eth_device *dev, u_long ioaddr, int index) in read_srom()
655 static int write_srom(struct eth_device *dev, u_long ioaddr, int index, int new_value) in write_srom()