Lines Matching refs:eth_device

144 static void  sendto_srom(struct eth_device* dev, u_int command, u_long addr);
145 static int getfrom_srom(struct eth_device* dev, u_long addr);
146 static int do_eeprom_cmd(struct eth_device *dev, u_long ioaddr,int cmd,int cmd_len);
147 static int do_read_eeprom(struct eth_device *dev,u_long ioaddr,int location,int addr_len);
150 static int write_srom(struct eth_device *dev, u_long ioaddr, int index, int new_value);
151 static void update_srom(struct eth_device *dev, bd_t *bis);
154 static int read_srom(struct eth_device *dev, u_long ioaddr, int index);
155 static void read_hw_addr(struct eth_device* dev, bd_t * bis);
157 static void send_setup_frame(struct eth_device* dev, bd_t * bis);
159 static int dc21x4x_init(struct eth_device* dev, bd_t* bis);
160 static int dc21x4x_send(struct eth_device *dev, void *packet, int length);
161 static int dc21x4x_recv(struct eth_device* dev);
162 static void dc21x4x_halt(struct eth_device* dev);
164 extern void dc21x4x_select_media(struct eth_device* dev);
173 static int INL(struct eth_device* dev, u_long addr) in INL()
178 static void OUTL(struct eth_device* dev, int command, u_long addr) in OUTL()
201 struct eth_device* dev; in dc21x4x_initialize()
265 dev = (struct eth_device*) malloc(sizeof *dev); in dc21x4x_initialize()
306 static int dc21x4x_init(struct eth_device* dev, bd_t* bis) in dc21x4x_init()
377 static int dc21x4x_send(struct eth_device *dev, void *packet, int length) in dc21x4x_send()
423 static int dc21x4x_recv(struct eth_device* dev) in dc21x4x_recv()
469 static void dc21x4x_halt(struct eth_device* dev) in dc21x4x_halt()
479 static void send_setup_frame(struct eth_device* dev, bd_t *bis) in send_setup_frame()
527 sendto_srom(struct eth_device* dev, u_int command, u_long addr) in sendto_srom()
534 getfrom_srom(struct eth_device* dev, u_long addr) in getfrom_srom()
545 static int do_read_eeprom(struct eth_device *dev, u_long ioaddr, int location, int addr_len) in do_read_eeprom()
604 static int do_eeprom_cmd(struct eth_device *dev, u_long ioaddr, int cmd, int cmd_len) in do_eeprom_cmd()
642 static int read_srom(struct eth_device *dev, u_long ioaddr, int index) in read_srom()
653 static int write_srom(struct eth_device *dev, u_long ioaddr, int index, int new_value) in write_srom()
699 static void read_hw_addr(struct eth_device *dev, bd_t *bis) in read_hw_addr()
727 static void update_srom(struct eth_device *dev, bd_t *bis) in update_srom()